@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Zilla Slab";
  src: url("assets/zilla-slab-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #0b2a5e;
  --deep: #002050;
  --blue: #10306b;
  --gold: #d0a070;
  --cream: #fff5e7;
  --edge: clamp(16px, 5vw, 76px);
  --display: Montserrat, system-ui, sans-serif;
  color: var(--cream);
  background: var(--navy);
  font: 400 1.125rem/1.35 "Zilla Slab", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.skip {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .5rem;
  background: var(--deep);
  transform: translateY(-200%);
}

.skip:focus { transform: none; }
.shell { width: min(100% - 2 * var(--edge), 1280px); margin-inline: auto; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 64px;
  padding: .55rem var(--edge);
  border-bottom: 1px solid var(--gold);
  background: var(--deep);
}

.brand img, .stamp { border-radius: 50%; }
.bar nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.65rem, 3vw, 2.4rem); }
.bar nav a { padding-block: .4rem; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1fr .82fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(24px, 5vw, 72px);
}

.intro { text-align: center; }
.hero-seal { width: clamp(96px, 13vw, 180px); margin: 0 auto 1rem; }
.eyebrow {
  color: var(--gold);
  font: 800 .7rem/1.25 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, .cup h2, .visit h2 {
  margin-block: .65rem;
  font: 800 clamp(1.55rem, 3.5vw, 3.6rem)/1.04 var(--display);
  letter-spacing: -.055em;
}

.hero-window { overflow: clip; background: var(--deep); }
.hero-photo { width: 100%; }

.press { background: var(--deep); }
.chapter { padding-block: 1.65rem; border-bottom: 1px solid var(--gold); }
.poster:nth-of-type(even) { background: var(--blue); }

.poster-frame {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(9px, 2vh, 24px);
  padding-block: clamp(16px, 3vh, 35px);
}

.poster h3 {
  padding-top: .45em;
  width: 100%;
  overflow: clip;
  text-align: center;
  text-transform: uppercase;
  font: 800 clamp(1.6rem, 6.6vw, 6rem)/1 var(--display);
  letter-spacing: -.065em;
}

.poster-word, .letter { display: inline-block; }
.baguette {
  display: block;
  margin-top: .55rem;
  color: var(--gold);
  font-size: .73rem;
  letter-spacing: .23em;
}

.plate {
  width: min(100%, 820px, 116svh);
  aspect-ratio: 1.95;
  overflow: clip;
}

.plate img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.stamp { width: clamp(44px, 8svh, 76px); justify-self: end; margin-right: max(0px, (100% - min(820px, 116svh)) / 2); }

.case { background: var(--blue); }
.case-frame { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 1rem; padding-block: 2rem; }
.case-copy p { margin-top: .35rem; font-size: clamp(1.25rem, 3.5vw, 2rem); }
.case-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-track img { width: 100%; }

.cup {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(32px, 8vw, 105px);
}

.cup-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.cup-photos img + img { margin-top: 12%; }

.visit { background: var(--deep); padding-block: clamp(32px, 6vw, 85px); }
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 4vw, 56px); margin-block: 1.5rem; }
.branches article { border-top: 1px solid var(--gold); padding-top: .8rem; }
.branches h3 { font: 800 clamp(1rem, 2.6vw, 1.7rem)/1.2 var(--display); }
.branches a { display: table; margin-top: .45rem; }
.visit-links { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
footer { padding-block: 1.35rem; }
footer p { max-width: 70ch; font-size: .9rem; }

@media (max-width: 680px) {
  .bar { min-height: 58px; font-size: .87rem; }
  .hero, .cup { grid-template-columns: 1fr; }
  .hero { gap: 18px; padding-block: 20px 30px; }
  .hero-seal { margin-bottom: .65rem; }
  .hero h1 { font-size: clamp(1.42rem, 6.35vw, 2.2rem); }
  .hero-photo { aspect-ratio: 1; object-fit: cover; }
  .case-track { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) and (min-height: 580px) {
  .motion .poster { min-height: 166svh; }
  .motion .poster-frame, .motion .case-frame { position: sticky; }
  .motion .poster-frame { top: 0; min-height: 100svh; }
  .motion .case { min-height: 205svh; }
  .motion .case-frame { top: 0; min-height: 100svh; }
  .motion .case-window { overflow: clip; }
  .motion .case-track {
    display: flex;
    gap: clamp(12px, 2vw, 26px);
    width: max-content;
  }

  .motion .case-track img {
    width: min(52vw, 54svh, 560px);
    max-width: none;
  }
}

@media (prefers-reduced-motion: no-preference) and (min-height: 580px) and (max-width: 680px) {
  .motion .poster-frame, .motion .case-frame { top: 14svh; min-height: 0; }
  .motion .poster { min-height: 71svh; }
  .motion .case { min-height: 120svh; }
  .motion .case-frame { top: 9svh; }
  .motion .case-track img { width: min(calc(100vw - 2 * var(--edge)), 48svh); }
}
