@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --palm: #173d32;
  --palm-deep: #102e25;
  --palm-hover: #285647;
  --ivory: #faf7ee;
  --pale: #f1eddf;
  --cream: #f7f0df;
  --ink: #20332a;
  --muted: #505e53;
  --accent: #355d4c;
  --line: #d4ceba;
  --outline: #718073;
  --antique-gold: #b79a60;
  --gold-on-ivory: #826834;
  --soft-ivory: #e0e6d8;
  --outline-on-palm: #a7b6a8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --header: 4.5rem;
  --gutter: clamp(1.3rem, 6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header) + .75rem); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.53 var(--sans); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2 { font: 400 1em/.92 var(--serif); }
em { font-weight: inherit; }
.feature-copy h2[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus-ring, var(--palm)); outline-offset: 5px; }
::selection { background: #d7dfcb; color: var(--palm-deep); }

.shell { width: min(100% - var(--gutter) * 2, 83rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  inset: .55rem auto auto .75rem;
  z-index: 12;
  padding: .65rem 1rem;
  color: var(--ink);
  background: var(--ivory);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  height: var(--header);
  margin-block-end: calc(-1 * var(--header));
  --focus-ring: var(--ivory);
  color: var(--ivory);
  background: #15372df2;
  transition: background-color 170ms ease, color 170ms ease;
}
.site-header[data-paper] { --focus-ring: var(--palm); color: var(--palm); background: #faf7eef5; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { height: 100%; border-bottom: 1px solid color-mix(in srgb, var(--antique-gold) 44%, transparent); }
.brand { flex-shrink: 0; display: inline-flex; text-decoration: none; }
.feature { overflow-anchor: none; --screen: max(100svh, 34rem); --runway: 208svh; }
.feature-stage { position: relative; isolation: isolate; --film-palm: var(--palm); --film-paper: var(--cream); }
.feature-opening {
  position: relative;
  overflow: clip;
  --focus-ring: var(--ivory);
  background: var(--film-palm);
  color: var(--ivory);
}
.opening-layout {
  min-height: var(--screen);
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  padding-block: calc(var(--header) + 1.75rem) 4.4rem;
  gap: 2rem;
}
.feature-kicker {
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}
.opening-copy .feature-kicker { color: var(--soft-ivory); }
.opening-copy h1 {
  margin-block: .78rem .95rem;
  font-size: clamp(6rem, min(12vw, 22.6vh), 12.6rem);
  line-height: .77;
  letter-spacing: -.047em;
}
.opening-copy em { color: #eee7cf; }
.opening-description { max-width: 21rem; margin-block: 1.4rem 1.3rem; color: var(--soft-ivory); font-size: clamp(1rem, 1.7vw, 1.19rem); }
.feature-button, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.8rem;
  padding: .65rem 1.27rem;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.feature-button { color: var(--palm-deep); background: var(--ivory); }
.feature-button:hover { background: var(--pale); }
.opening-copy .intro-advance {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-color: var(--outline-on-palm);
  text-underline-offset: .34em;
}
.opening-copy .intro-advance:hover { text-decoration-color: currentColor; }
.feature-button-outline, .button-outline { border-color: var(--outline); color: var(--palm); background: transparent; }
.feature-button-outline:hover, .button-outline:hover { border-color: var(--palm); background: var(--pale); }
.button:not(.button-outline) { color: var(--ivory); background: var(--palm); }
.button:not(.button-outline):hover { background: var(--palm-hover); }

.scene-still { width: 100%; height: auto; object-fit: contain; }
.opening-copy { position: relative; z-index: 2; }
.feature-ingredients, .feature-served { color: var(--ink); background: var(--cream); }
.ingredient-layout {
  position: relative;
  min-height: var(--screen);
  display: grid;
  grid-template-columns: minmax(0, .76fr) 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: calc(var(--header) + 1.2rem) 4.8rem;
}
.ingredient-copy h2, .served-copy h2 {
  font-size: clamp(4.1rem, 7.5vw, 8.2rem);
  letter-spacing: -.039em;
}
.ingredient-copy em, .served-copy em { color: var(--accent); }
.ingredient-copy em { display: block; }
.ingredient-still { max-height: min(65vh, 41rem); }
.scene-next { position: absolute; inset: auto 0 1.55rem auto; }
.served-layout {
  min-height: var(--screen);
  display: grid;
  justify-items: center;
  align-content: center;
  padding-block: calc(var(--header) + 1.9rem) 3rem;
  text-align: center;
}
.served-still { width: min(100%, 52rem); max-height: 61vh; }
.served-action { position: relative; }
.served-action .feature-button { min-width: 8.8rem; }
.feature-paper { display: none; }

.intro-motion .feature { height: calc(var(--screen) + var(--played-runway, var(--runway))); }
.intro-motion .feature-stage {
  position: sticky;
  inset-block-start: 0;
  height: var(--screen);
  overflow: clip;
  background: var(--film-palm);
}
.intro-motion .feature-paper {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.feature-paper {
  height: calc(100% + 12px);
  background: var(--film-paper);
  transform: translate3d(0, 101%, 0);
  will-change: transform;
}
.feature-paper::before {
  content: "";
  position: absolute;
  inset: -3px 0 auto;
  height: 6px;
  background: linear-gradient(var(--film-palm), var(--film-paper));
}
.feature-art {
  position: absolute;
  inset: 0 0 auto;
  height: var(--screen);
  overflow: clip;
  container-type: inline-size;
  pointer-events: none;
  z-index: 1;
}
.film-frame, .film-poster, .film-source, .film-frames { position: absolute; inset: 0 auto auto 0; }
.film-frame {
  /* The poster and the moving film share this first-frame composition. */
  --shot-width: min(69cqw, calc(var(--screen) * .96), 1020px);
  width: var(--shot-width);
  aspect-ratio: 3 / 4;
  left: max(calc(68% - var(--shot-width) * .443), calc(100% - var(--shot-width) * .985));
  top: min(calc(49.6% - var(--shot-width) * .539), calc(var(--header) - 1px));
  transform-origin: 0 0;
  will-change: transform;
}
.film-frame[data-feather] { mask-image: linear-gradient(transparent, black var(--top-feather), black); }
.film-poster, .film-source, .film-frames {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 1.3%, black 98.7%, transparent);
}
.film-poster { z-index: 2; }
.film-frames { z-index: 1; }
.intro-motion .film-frame[data-drawn] .film-poster { visibility: hidden; }
html:not(.intro-motion) .film-source, html:not(.intro-motion) .film-frames { display: none; }
.intro-motion .served-action { opacity: var(--booking-reveal, 0); visibility: hidden; }
.intro-motion .feature-stage[data-booking-ready] .served-action { visibility: visible; }

.intro-motion .feature-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
  will-change: transform, opacity;
}
.intro-motion .feature-ingredients, .intro-motion .feature-served { visibility: hidden; opacity: 0; }
.intro-motion .feature-scene[data-current] a { pointer-events: auto; }
.intro-motion .scene-still { display: none; }
.intro-motion .opening-layout, .intro-motion .ingredient-layout, .intro-motion .served-layout { height: 100%; min-height: 0; }
.intro-motion .opening-copy { grid-column: 1; }
.intro-motion .ingredient-layout { display: block; padding-block: 0; }
.intro-motion .ingredient-copy { position: absolute; inset: clamp(6.7rem, 18vh, 11rem) auto auto 0; }
.intro-motion .ingredient-copy h2 { font-size: clamp(3.8rem, 6.2vw, 6.4rem); }
.intro-motion .served-layout {
  grid-template-rows: auto 1fr auto;
  align-content: initial;
  padding: clamp(7rem, 16vh, 11rem) 0 clamp(2.15rem, 8vh, 5.25rem);
}
.intro-motion .served-copy h2 { font-size: clamp(3.7rem, 7vw, 7.2rem); }
.intro-motion .served-action { grid-row: 3; }
.intro-pause {
  position: absolute;
  inset: auto auto max(1rem, env(safe-area-inset-bottom)) var(--gutter);
  z-index: 4;
  padding: .6rem 1rem;
  border: 1px solid currentColor;
  border-radius: 99px;
  background: var(--cream);
  color: var(--ink);
}
.intro-pause:not(:focus-visible) {
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  pointer-events: none;
}
.film-source::-webkit-media-controls { display: none !important; }
.film-source::-webkit-media-controls-start-playback-button { display: none !important; }
.film-source::-webkit-media-controls-overlay-play-button { display: none !important; }

@media (max-width: 48rem) {
  :root { --header: 3.8rem; }
  .feature { --screen: max(100svh, 31.25rem); --runway: 184svh; }
  .opening-layout { grid-template-columns: 1fr; align-items: start; gap: .8rem; padding-block: calc(var(--header) + 1.85rem) 3rem; }
  .opening-copy h1 { font-size: clamp(4.65rem, 15.7vw, 7rem); line-height: .79; margin-block: .65rem .9rem; }
  .opening-description { margin-block: .95rem .92rem; }
  .film-frame {
    --shot-width: min(147cqw, calc(var(--screen) * .94));
    left: calc(51% - var(--shot-width) * .443);
    top: calc(66.2% - var(--shot-width) * .539);
  }
  .ingredient-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .65rem; }
  .ingredient-copy em { display: inline; }
  .ingredient-copy h2, .served-copy h2 { font-size: clamp(3.65rem, 11vw, 5.45rem); }
  .ingredient-still { max-height: min(54svh, 28rem); }
  .scene-next { inset: auto auto max(1.05rem, env(safe-area-inset-bottom)) 50%; transform: translateX(-50%); white-space: nowrap; }
  .served-layout { padding-block: calc(var(--header) + 2rem) 2rem; }
  .intro-motion .ingredient-copy {
    inset: calc(var(--header) + 1.05rem) 0 auto;
    isolation: isolate;
  }
  .intro-motion .scene-next { background-color: var(--film-paper); }
  .intro-motion .ingredient-copy h2 { font-size: clamp(3.05rem, 10.6vw, 5.55rem); }
  .intro-motion .served-layout { align-content: initial; padding: calc(var(--header) + clamp(1.6rem, 7svh, 3.6rem)) 0 max(2.3rem, env(safe-area-inset-bottom)); }
  .intro-motion .served-copy h2 { font-size: clamp(3.1rem, 10.7vw, 5.55rem); }
}
@media (max-height: 41rem) and (max-width: 48rem) {
  .opening-layout { padding-block-start: calc(var(--header) + 1.05rem); }
  .opening-copy h1 { font-size: clamp(3.9rem, 13.6vw, 5.7rem); margin-block: .48rem .72rem; }
  .opening-description { margin-block: .72rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (prefers-reduced-motion: reduce) and (width > 48rem) {
  .film-frame { --shot-width: min(65cqw, calc(var(--screen) * .77), 960px); }
}

/* Fine, open leader lines occupy the margins of the suspended serving. */
.ingredient-diagram { position: relative; width: 100%; }
.ingredient-guides { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ingredient-guides path { fill: none; stroke: var(--outline); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.ingredient-guides .leader { stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.ingredient-guides .end-mark { stroke: var(--palm); stroke-width: 1.2; }
.ingredient-labels {
  list-style: none; padding: 0; margin: .7rem 0; display: flex;
  flex-wrap: wrap; justify-content: center; gap: .8rem 1.4rem;
}
.ingredient-labels li { margin: 0; padding: 0; line-height: 1.15; }
.ingredient-labels strong {
  display: block; font: 400 clamp(1.35rem, 2vw, 1.9rem)/1.04 var(--serif);
  letter-spacing: -.015em; color: var(--ink); white-space: nowrap;
}
.ingredient-labels span { display: block; margin-top: .21rem; font-size: .8rem; color: var(--muted); }
.ingredient-diagram[data-placed] .ingredient-guides { display: block; }
.ingredient-diagram[data-placed] .ingredient-labels { position: absolute; inset: 0; display: block; margin: 0; }
.ingredient-diagram[data-placed] li { position: absolute; width: max-content; max-width: var(--label-room); }
.ingredient-diagram[data-placed] [data-side=left] { transform: translate(-100%, -50%); text-align: right; }
.ingredient-diagram[data-placed] [data-side=right] { transform: translateY(-50%); text-align: left; }
.ingredient-still { display: block; width: auto; height: auto; max-width: 100%; max-height: none; margin: 0 auto; }
.ingredient-layout {
  grid-template-columns: 1fr;
  gap: .5rem; align-content: center; padding-bottom: 5.5rem;
}
.ingredient-copy { position: relative; z-index: 1; }
.ingredient-copy em { display: inline; }
.ingredient-copy h2 { font-size: clamp(3rem, 5vw, 4.9rem); }
.ingredient-layout .ingredient-diagram .ingredient-still { width: min(78%, 23rem); }
.intro-motion .ingredient-layout { width: 100%; max-width: none; margin: 0; }
.intro-motion .ingredient-diagram { position: absolute; inset: 0; width: 100%; }
.intro-motion .ingredient-copy {
  inset: calc(var(--header) + clamp(.85rem, 3.8vh, 2.8rem)) auto auto var(--gutter);
  padding: 0; width: auto; background: none; text-align: left;
}
.intro-motion .ingredient-copy h2 { font-size: clamp(2.7rem, 4.6vw, 5.2rem); }
.intro-motion .ingredient-labels li { opacity: var(--reveal, 0); }
.intro-motion .ingredient-guides g { opacity: var(--reveal, 0); }
.intro-motion .ingredient-layout .scene-next { right: var(--gutter); z-index: 2; }
@media (max-width: 48rem) {
  .intro-motion .ingredient-copy h2 { font-size: clamp(2.45rem, 10.5vw, 4rem); }
  .ingredient-labels strong { font-size: clamp(1.01rem, 4.1vw, 1.42rem); }
  .ingredient-labels span { margin-top: .16rem; font-size: clamp(.68rem, 2.7vw, .79rem); }
  .ingredient-labels strong { white-space: normal; }
  .ingredient-guides path { stroke-width: .85; }
  .ingredient-layout .ingredient-diagram .ingredient-still { width: min(91%, 23rem); }
}

html:not(.intro-motion) .ingredient-guides .leader { stroke-dashoffset: 0; }
