@font-face {
  font-family: "Germania One";
  src: url("GermaniaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #faf9f4;
  --ink: #152f40;
  --body: #43555d;
  --blue: #285e78;
  --wash: #e9f0ef;
  --rule: #c5cecc;
  --band: #183e50;
  --gutter: clamp(1.125rem, 5vw, 5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14242b;
    --ink: #f5f3e8;
    --body: #cad5d5;
    --blue: #a5d6e9;
    --wash: #213840;
    --rule: #485c63;
    --band: #203f4d;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.55 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.8vw, 3rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); letter-spacing: -.03em; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.page-width {
  width: min(calc(100% - 2 * var(--gutter)), 77rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
}
.logo { font: 400 1.875rem/1 "Germania One", Georgia, serif; }
.motto {
  color: var(--blue);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.opening {
  display: grid;
  grid-template-columns: minmax(0, 48rem) auto;
  grid-template-areas: "headline coaster" "download coaster";
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem clamp(1.25rem, 5vw, 5rem);
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
}
.opening h1 {
  grid-area: headline;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  letter-spacing: -.04em;
}
.opening h1 em {
  color: var(--blue);
  font: 400 1.08em/1 "Germania One", Georgia, serif;
  letter-spacing: -.025em;
}
.coaster {
  grid-area: coaster;
  position: relative;
  isolation: isolate;
  width: clamp(4rem, 13vw, 10rem);
  margin-inline: 1.25rem;
  transform: rotate(-9deg);
}
.coaster img, .coaster::before {
  display: block;
  border-radius: 18%;
  box-shadow: 0 2px #c8ae81, 0 5px 9px #42321930;
}
.coaster img { width: 100%; height: auto; }
.coaster::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translate(7%, 5%) rotate(18deg);
  border: 2px solid #eee3c4;
  background: repeating-conic-gradient(from 30deg, #83aabc 0 25%, #eee5ce 0 50%) 0 0 / 20% 32%;
}
.download {
  grid-area: download;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.25rem;
}
.download h2 { font-size: 1.25rem; letter-spacing: -.025em; }
.cta-row, .chips, footer { display: flex; flex-wrap: wrap; gap: .65rem; }
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 48px;
  padding: .7rem 1.05rem;
  border-radius: .65rem;
  background: var(--band);
  color: #fffaf0;
  font-weight: 680;
  text-decoration: none;
}
.store-link::after {
  content: "";
  width: .55em;
  height: .55em;
  border-top: .12em solid;
  border-right: .12em solid;
  background: linear-gradient(135deg, transparent 43%, currentColor 44% 56%, transparent 57%);
}
.store-link:hover { background: #25576d; }
.store-link:active { background: #102f3e; }
.store-link:focus-visible { outline-color: var(--blue); }
.instagram-link a, .mini-footer a { color: var(--blue); font-weight: 650; }
.mini-footer { display: none; }

.intro-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2vw, 2rem);
  padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.intro-gallery figure { margin: 0; }
.intro-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.18;
  object-fit: contain;
  object-position: center bottom;
  background: var(--wash);
  border-radius: .85rem;
}
.intro-gallery figcaption { margin-top: 1rem; }
.intro-gallery h2 { font-size: 1.45rem; letter-spacing: -.03em; text-wrap: initial; }
.intro-gallery p { margin-top: .55rem; color: var(--body); }

@media (max-width: 64em) {
  .intro-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36em) {
  .intro-gallery { grid-template-columns: 1fr; }
  .intro-gallery img { aspect-ratio: 1.4; }
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
}
.timeline { padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(.8rem, 2vw, 1.5rem);
}
.step + .step { padding-top: 1.7rem; border-top: 1px solid var(--rule); margin-top: 1.7rem; }
.step-number {
  display: grid;
  place-items: center;
  align-self: start;
  min-width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--wash);
  color: var(--blue);
  font: 400 1.4rem/1 "Germania One", Georgia, serif;
}
.step h3 { padding-top: .2rem; }
.guide-intro p, .step p, .closing p { margin-top: .55rem; color: var(--body); }
.substep {
  display: flex;
  gap: .7rem;
  padding-left: 1rem;
  border-left: 2px solid var(--rule);
  margin-top: 1.25rem;
}
.substep svg { width: 1.1rem; height: 1.1rem; fill: var(--blue); vertical-align: middle; }
.substep p { margin-top: .15rem; }
.chips { margin-top: 1rem; }
.chip {
  border-radius: .45rem;
  padding: .25rem .55rem;
  background: var(--wash);
  color: var(--ink);
  font-weight: 600;
  font-size: .875rem;
}
.chip.active { background: var(--blue); color: var(--paper); }

.closing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.3rem, 4vw, 3rem);
  background: var(--wash);
  border-radius: 1rem;
}
.closing h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.contact-inline { margin-top: .55rem; }
.contact-inline a { display: table; padding-block: .3rem; font-weight: 650; color: var(--blue); }
footer { padding-block: 1.2rem; gap: .25rem 1.5rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--body); }

@media (max-width: 54em) {
  .guide { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 42em) {
  .closing { grid-template-columns: 1fr; }
}
@media (max-width: 37.5em) {
  .masthead { align-items: flex-start; flex-direction: column; padding-block: .75rem; }
  .opening {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "headline coaster" "download download";
    column-gap: .85rem;
  }
  .coaster { width: clamp(3.25rem, 15vw, 5.25rem); margin-inline: 0 .5rem; }
  .cta-row { width: 100%; }
  .store-link { flex: 1 1 auto; padding-inline: .5rem; font-size: 1rem; text-align: center; }
  .store-link::after { display: none; }
  .mini-footer { display: block; flex-basis: 100%; }
}
