/* =============================================================
   Arlin Amsterdam — stylesheet

   Order of business:
     @layer reset    element normalisation
     @layer tokens   the design system (custom properties)
     @layer base     element defaults and typography helpers
     (unlayered)     components and sections — always win over the above

   Layers are used only for the foundation. Component rules are deliberately
   left unlayered so they cannot be beaten by a base style, which keeps the
   specificity of everyday work at a single class.
   Palette taken from the brand: indigo #501010, sand #E5D9D0,
   burgundy #501010.
   ============================================================= */

@layer tokens {
:root {
  /* Burgundy is the brand. It is the ground of every dark section and the
     accent on every light one; sand and paper are its two grounds. */
  --wine:        #501010;   /* the primary — dark sections, accents on light */
  --wine-deep:   #2d0d0d;   /* deeper ground: reservations, the sea floor */
  --wine-bright: #7a2420;   /* hover and focus */
  --rose:        #d8a0a0;   /* the accent that reads on a dark ground */
  --sand:        #E5D9D0;
  --paper:       #F7F2ED;
  --ink:         #2a1210;   /* body text on light */

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out-soft: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 1440px;
  --header-h: 84px;
}
}  /* end @layer tokens */

/* ── Reset ─────────────────────────────────────────────────── */
@layer reset {
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* so an in-page jump never parks its target under the fixed header */
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
/* <picture> is only a format switch: it should not become a layout box. */
picture { display: contents; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
/* `hidden` must win over the display values set on components below. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--wine-bright);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--wine); color: var(--sand);
  padding: .75rem 1.25rem; border-radius: 0 0 6px 6px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

}  /* end @layer reset */

/* ── Typography helpers ────────────────────────────────────── */
.h2 {
  font-size: clamp(2.35rem, 1.3rem + 4.4vw, 5rem);
  letter-spacing: -.015em;
}
.h2 em, .hero__title em { font-style: italic; color: var(--wine); }
.eyebrow, .section-label {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 1.4rem;
}
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, .9rem + 2.6vw, 3.1rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  max-width: 22ch;
}

/* ── Buttons & links ───────────────────────────────────────── */
.btn {
  --btn-fg: var(--sand);
  --btn-bg: var(--wine);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.1rem;
  font-family: var(--font-ui);
  font-size: .78rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--btn-fg);
  text-decoration: none;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg);
  transform: translateY(0);
  transition: transform .55s var(--ease-out-soft);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(101%); }
.btn:hover, .btn:focus-visible { color: var(--btn-bg); }
.btn--sm { padding: .78rem 1.5rem; font-size: .7rem; }
.btn--light { --btn-fg: var(--wine); --btn-bg: var(--sand); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .3rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow::after { content: "→"; transition: transform .45s var(--ease-out-soft); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover::after { transform: translateX(6px); }

/* ── Intro curtain ─────────────────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--wine);
  /* The lift is CSS, not JS, so the page is never trapped behind the
     curtain if the script fails to load. */
  animation: curtain 1s var(--ease-out-soft) 2.4s forwards;
}
@keyframes curtain {
  to { transform: translateY(-101%); visibility: hidden; }
}
.intro__mark { text-align: center; }
.intro__logo {
  width: clamp(190px, 26vw, 330px); height: auto;
  color: var(--sand);
  --T: 1800ms;
  --pen-anim: write;     /* the intro writes itself on load */
  --pen-dot: dab;
}
.intro__sub {
  display: block;
  margin-top: 1.1rem;
  font-size: .7rem; letter-spacing: .5em; text-transform: uppercase;
  color: rgba(229, 217, 208, .55);
  opacity: 0;
  animation: fadeUp .8s var(--ease) 1s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Handwriting ───────────────────────────────────────────
   The logo is masked by its own centreline, drawn stroke by
   stroke. Each stroke carries its own --s (start) and --d
   (duration) as a fraction of --T; switching --pen-anim on
   restarts the sequence, so it replays on every hover.      */
/* A fully-offset dash still paints its round cap as a dot, which would show
   every stroke's starting point before its turn — so a stroke stays
   transparent until the instant it begins. */
@keyframes write {
  0%     { stroke-dashoffset: 1000; stroke-opacity: 0; }
  0.01%  { stroke-opacity: 1; }
  100%   { stroke-dashoffset: 0; stroke-opacity: 1; }
}
/* The i-dot is too short to hide with a dash — a zero-length dash with a
   round cap still paints a dot — so it fades in on its own beat. */
@keyframes dab { from { stroke-opacity: 0; } }

.logo-ink { overflow: visible; }
.header__logo { --T: 1500ms; }
/* Driven by a class, not :hover — a hover that ended mid-sequence would
   cancel the animation and snap the word to its finished state. */
.header__logo.is-writing { --pen-anim: write; --pen-dot: dab; }
body.is-loading { overflow: hidden; }

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .55s var(--ease), background-color .5s var(--ease),
              box-shadow .5s var(--ease), color .5s var(--ease);
  color: var(--sand);
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.header__logo { flex: 0 0 auto; }
.header__logo svg { width: 92px; height: auto; color: currentColor; transition: color .5s var(--ease); }
.header.is-solid {
  background: rgba(247, 242, 237, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(80, 16, 16, .1);
  color: var(--wine);
}
.header.is-hidden { transform: translateY(-100%); }

.nav { margin-left: auto; }
.nav__reserve { display: none; }
.nav__list { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav__list a {
  position: relative;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: .4rem 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out-soft);
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header__cta { --btn-fg: var(--wine); --btn-bg: var(--sand); flex: 0 0 auto; }
.header.is-solid .header__cta { --btn-fg: var(--sand); --btn-bg: var(--wine); }

.burger {
  display: none;
  position: relative; z-index: 2;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  position: absolute; left: 11px; width: 22px; height: 1px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem;
  background: var(--wine);
  color: var(--sand);
  overflow: hidden;
}
/* Water: a gradient base, a canvas of light and creatures over it,
   then a veil that keeps the headline perfectly legible. */
.hero__bg {
  position: absolute; inset: -6%;
  /* Light falls from the surface: luminous at the top, deepening with every
     metre down, the way open water actually reads. */
  background:
    radial-gradient(95% 52% at 50% -14%, rgba(214, 150, 120, .38), transparent 64%),
    linear-gradient(to bottom,
      #6b201a 0%,
      #571613 26%,
      #431010 54%,
      #2b0c0c 80%,
      #1b0707 100%);
  animation: current 60s ease-in-out infinite alternate;
}
@keyframes current {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.03) translate3d(.8%, -.6%, 0); }
}
.hero__water {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(38, 10, 10, .62) 0%, rgba(38, 10, 10, .26) 40%, transparent 68%),
    linear-gradient(to bottom, transparent 55%, rgba(24, 6, 6, .5) 100%);
}
.hero__inner {
  position: relative;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
.hero__title {
  font-size: clamp(2.9rem, 1.2rem + 5.6vw, 6.6rem);
  letter-spacing: -.025em;
  margin: 0 0 1.4rem;
}
.hero__title em { color: var(--rose); }
.hero .eyebrow { color: var(--rose); margin-bottom: 1.1rem; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; }
.hero__lede {
  max-width: 34ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  color: rgba(229, 217, 208, .78);
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); flex-wrap: wrap; }
.hero__actions .btn { --btn-fg: var(--wine); --btn-bg: var(--sand); }
.hero__actions .link-arrow { color: rgba(229, 217, 208, .85); }

.hero__media { position: relative; }
/* The photograph keeps a crisp edge — it is a window onto the room, and a
   window should have a frame. It is tied to the water by light rather than
   by fading: a fine rim, a halo in the water's own colour, and the same
   shaft of light falling across the glass. */
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 50vw 50vw 4px 4px;
  overflow: hidden;
  filter: saturate(.96);
  box-shadow:
    0 0 0 1px rgba(229, 217, 208, .22),          /* the rim */
    0 0 90px -10px rgba(216, 156, 126, .3),      /* light in the water around it */
    0 46px 90px -34px rgba(20, 5, 5, .72);      /* and its own weight */
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* Only the water's colour gathering in the corners. A directional sheen
     was tried here and read as a grey rectangle laid over the photograph:
     a straight-edged gradient inside a rounded frame always will. */
  background: radial-gradient(120% 92% at 50% 10%, transparent 54%, rgba(48, 12, 12, .42) 100%);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  text-decoration: none;
  color: rgba(229, 217, 208, .6);
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
}
.scroll-cue__line { width: 1px; height: 54px; background: currentColor; opacity: .5; overflow: hidden; position: relative; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--sand);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* ── Marquee ───────────────────────────────────────────────── */
.marquee {
  background: var(--wine);
  color: var(--sand);
  padding: 1.15rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, .9rem + .9vw, 1.9rem);
  font-style: italic;
  animation: slide 42s linear infinite;
  will-change: transform;
}
.marquee__track i { font-style: normal; opacity: .45; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Story ─────────────────────────────────────────────────── */
.story {
  padding: clamp(5rem, 11vw, 10rem) var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
}
.story__statement { max-width: 46rem; margin: 0 auto clamp(4rem, 9vw, 8rem); text-align: center; }
.story__statement .section-label { display: block; }
.statement { margin: 0 auto; max-width: 30ch; }
.statement .w { transition: color .5s linear, opacity .5s linear; }

/* Editorial split: the photograph runs off the left edge of the page,
   the text sits in the right column with room to breathe. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.feature__media {
  position: relative;
  margin: 0 0 0 calc(var(--gutter) * -1);
  overflow: hidden;
  height: min(76vh, 700px);
  /* A single swept corner — the arch motif, without a full arch. */
  border-radius: 0 clamp(90px, 15vw, 240px) 3px 0;
}
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* The toast is in the lower part of this photograph; centring the crop
     filled the frame with the dark above it and cut the table off. */
  object-position: 50% 86%;
}
.feature__panel { position: relative; padding: clamp(0rem, 2vw, 2.5rem) 0; }
.feature__panel p { color: #4a4650; max-width: 44ch; }
.feature__panel .h2 { margin-bottom: 1.8rem; }
.feature__panel .link-arrow { color: var(--wine); margin-top: .6rem; }
.feature__octopus {
  position: absolute; right: 0; bottom: -2.5rem;
  width: clamp(150px, 17vw, 260px);
  opacity: .16;
  pointer-events: none;
}

.pillars {
  margin-top: clamp(4.5rem, 10vw, 9rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid rgba(80, 16, 16, .16);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.pillar__num {
  display: block;
  font-size: .7rem; letter-spacing: .28em; color: var(--wine);
  margin-bottom: 1.2rem;
}
.pillar h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); margin-bottom: .6rem; }
.pillar p { color: #4a4650; font-size: .96rem; margin: 0; }

/* ── Dishes (horizontal passage) ─────────────────────────────
   The sticky frame is exactly one viewport tall and lays itself
   out as a column: heading, then the cards, then the progress
   rule. The cards take the height that is left and the picture
   takes what the caption does not, so a dish name can never end
   up below the fold, whatever the window height.              */
.dishes { background: var(--wine); color: var(--sand); }
.dishes .h2 em { color: var(--rose); }
.dishes__sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; flex-direction: column;
  /* The header reappears on the way back up and would otherwise sit on top
     of the heading, so the frame always keeps its height clear. */
  padding: calc(var(--header-h) + clamp(.75rem, 3vh, 2.25rem)) 0 clamp(1.25rem, 3.5vh, 2.5rem);
  overflow: hidden;
}
.dishes__head {
  flex: 0 0 auto;
  padding: 0 var(--gutter) clamp(1rem, 3.5vh, 3rem);
}
.dishes__head .section-label { color: var(--rose); margin-bottom: clamp(.6rem, 1.5vh, 1.4rem); }
.dishes__head .h2 { font-size: clamp(2rem, .9rem + 3.4vw + 1vh, 4.6rem); }

.dishes__viewport { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.dishes__track {
  display: flex; align-items: stretch;
  height: 100%;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: 0 var(--gutter);
  will-change: transform;
}
.dish {
  flex: 0 0 clamp(200px, 23vw, 330px);
  display: flex; flex-direction: column;
  min-height: 0;
}
.dish__media {
  flex: 1 1 auto; min-height: 0;
  overflow: hidden; border-radius: 3px;
  margin-bottom: clamp(.6rem, 1.4vh, 1.1rem);
}
.dish__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out-soft);
}
.dish:hover .dish__media img { transform: scale(1.05); }
.dish h3 {
  flex: 0 0 auto;
  font-size: clamp(1.15rem, .9rem + .7vw, 1.6rem);
  margin-bottom: .15rem;
}
.dish p {
  flex: 0 0 auto;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(229, 217, 208, .62); margin: 0;
}
.dish--cta {
  justify-content: center; align-items: flex-start;
  gap: clamp(1rem, 2.5vh, 1.8rem);
  padding-right: var(--gutter);
}
.dish--cta p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 1rem + .9vw, 2rem);
  text-transform: none; letter-spacing: 0; line-height: 1.3;
  color: var(--sand);
}
.dishes__progress {
  flex: 0 0 auto;
  margin: clamp(1rem, 3vh, 2.5rem) var(--gutter) 0;
  height: 1px; background: rgba(229, 217, 208, .2);
}
.dishes__progress span {
  display: block; height: 100%; width: 0;
  background: var(--sand);
  transform-origin: left;
}

/* ── Menu ──────────────────────────────────────────────────── */
.menu {
  position: relative;
  background: var(--sand);
  padding: clamp(5rem, 11vw, 10rem) var(--gutter);
  overflow: hidden;
}
.menu__fish {
  position: absolute; pointer-events: none;
  opacity: .28; width: clamp(260px, 34vw, 620px);
  mix-blend-mode: multiply;
}
.menu__fish:not(.menu__fish--tail) { top: 4%; right: -8%; }
.menu__fish--tail { bottom: 2%; left: -10%; width: clamp(240px, 30vw, 540px); }
.menu__head { position: relative; max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.menu__note { color: #5d5866; max-width: 44ch; font-size: .95rem; margin-top: 1.4rem; }

.menu__tabs {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .4rem;
  border-bottom: 1px solid rgba(80, 16, 16, .18);
  padding-bottom: .9rem;
}
.menu__tabs button {
  position: relative;
  background: none; border: 0; cursor: pointer;
  padding: .7rem 1.15rem;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(80, 16, 16, .7);
  border-radius: 999px;
  transition: color .4s var(--ease);
}
.menu__tabs button:hover { color: var(--wine); }
.menu__tabs button[aria-selected="true"] { color: var(--sand); }
.menu__pill {
  position: absolute; z-index: 0;
  top: .2rem; left: 0; height: 2.6rem;
  background: var(--wine);
  border-radius: 999px;
  transition: transform .6s var(--ease-out-soft), width .6s var(--ease-out-soft);
}
.menu__tabs button { z-index: 1; }

.menu__panels { position: relative; max-width: var(--maxw); margin: 0 auto; }
.menu__panel { padding-top: clamp(2.5rem, 5vw, 4rem); }
.menu__panel[hidden] { display: none; }

.dishlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2.5rem, 7vw, 7rem);
}
.dishlist--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dishlist li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  gap: 0 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(80, 16, 16, .12);
  opacity: 0;
  animation: itemIn .6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dishlist h3 {
  grid-column: 1; grid-row: 1;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem);
  font-weight: 500;
  transition: color .35s var(--ease);
}
.dishlist p {
  grid-column: 1; grid-row: 2;
  margin: .25rem 0 0;
  font-size: .9rem; line-height: 1.5;
  color: #5d5866;
  max-width: 48ch;
}
.price {
  grid-column: 2; grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-variant-numeric: lining-nums;
  color: var(--wine);
  white-space: nowrap;
  transition: transform .4s var(--ease-out-soft);
}
.price::after { content: " €"; font-size: .75em; opacity: .6; }
.dishlist li:hover h3 { color: var(--wine); }
.dishlist li:hover .price { transform: translateX(-4px); }
.dishlist__foot {
  margin-top: 1.6rem;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: #5d5866;
}
.menu__pdf { position: relative; max-width: var(--maxw); margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.menu__pdf .link-arrow { color: var(--wine); }

/* ── Reservation ───────────────────────────────────────────── */
.reserve {
  background: var(--wine-deep);
  color: var(--sand);
  padding: clamp(5rem, 11vw, 10rem) var(--gutter);
}
.reserve__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.reserve__copy .section-label { color: var(--rose); }
.reserve__copy .h2 em { color: var(--rose); }
.reserve__copy p { color: rgba(229, 217, 208, .72); max-width: 40ch; margin-top: 1.8rem; }

.reserve__meta { margin: 2.6rem 0 0; display: grid; gap: 0; }
.reserve__meta > div {
  display: grid; grid-template-columns: 7rem 1fr;
  gap: 1rem; align-items: baseline;
  padding: .95rem 0;
  border-top: 1px solid rgba(229, 217, 208, .14);
}
.reserve__meta > div:last-child { border-bottom: 1px solid rgba(229, 217, 208, .14); }
.reserve__meta dt {
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(229, 217, 208, .6);
}
.reserve__meta dd { margin: 0; font-size: .98rem; color: rgba(229, 217, 208, .9); }
.reserve__meta a { text-decoration: none; border-bottom: 1px solid rgba(229, 217, 208, .3); }
.reserve__meta a:hover { border-color: var(--sand); }

/* ── Booking card ──────────────────────────────────────────── */
.booking {
  position: relative;
  background: rgba(229, 217, 208, .045);
  border: 1px solid rgba(229, 217, 208, .16);
  border-radius: 4px;
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  box-shadow: 0 30px 70px -50px rgba(0, 0, 0, .9);
}
.bform { display: grid; gap: 1.5rem; }
.bform__head { display: grid; gap: .45rem; }
.bform__head h3 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  letter-spacing: -.01em;
}
.bform__head p { margin: 0; font-size: .92rem; color: rgba(229, 217, 208, .6); }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.bfield { display: grid; gap: .5rem; align-content: start; }
.bfield > label {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(229, 217, 208, .62);
}
.bfield > label span {
  letter-spacing: .06em; text-transform: none;
  font-size: .72rem; color: rgba(229, 217, 208, .6);
}

/* One field shape for every control, so the rows line up. */
.bfield input,
.bfield select,
.bfield textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: .7rem .95rem;
  font-family: var(--font-ui);
  font-size: 1rem; font-weight: 300;
  color: var(--sand);
  background: rgba(45, 13, 13, .5);
  border: 1px solid rgba(229, 217, 208, .2);
  border-radius: 3px;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
  appearance: none;
}
.bfield textarea { min-height: 0; line-height: 1.6; resize: vertical; }
.bfield input::placeholder,
.bfield textarea::placeholder { color: rgba(229, 217, 208, .3); }
.bfield input:hover,
.bfield select:hover,
.bfield textarea:hover { border-color: rgba(229, 217, 208, .38); }
.bfield input:focus,
.bfield select:focus,
.bfield textarea:focus {
  outline: none;
  border-color: var(--sand);
  background: rgba(45, 13, 13, .85);
}
.bfield input[aria-invalid="true"],
.bfield select[aria-invalid="true"] { border-color: #d98080; }
.bfield input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); opacity: .45; cursor: pointer;
}
.bfield input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: .8; }

.bselect { position: relative; display: block; }
.bselect::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid rgba(229, 217, 208, .6);
  border-bottom: 1px solid rgba(229, 217, 208, .6);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.bselect select { padding-right: 2.6rem; cursor: pointer; }
.bfield select option { background: var(--wine); color: var(--sand); }

.bfield__err {
  margin: 0; min-height: 0;
  font-size: .8rem; color: #e0a0a0;
}
.bfield__err:empty { display: none; }

/* Guests: pills read faster than a stepper and cost one click. */
.bguests { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.bguests legend {
  padding: 0;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(229, 217, 208, .62);
}
.bguests__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.bguests__pills input { position: absolute; opacity: 0; pointer-events: none; }
.bguests__pills label {
  display: grid; place-items: center;
  min-width: 3rem; height: 3rem; padding: 0 .75rem;
  font-size: .95rem;
  color: rgba(229, 217, 208, .8);
  background: rgba(45, 13, 13, .5);
  border: 1px solid rgba(229, 217, 208, .2);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
}
.bguests__pills label:hover { border-color: rgba(229, 217, 208, .5); }
.bguests__pills input:checked + label {
  background: var(--sand); color: var(--wine); border-color: var(--sand);
}
.bguests__pills input:focus-visible + label {
  outline: 2px solid var(--sand); outline-offset: 3px;
}
.bguests__note { margin: 0; font-size: .85rem; color: rgba(229, 217, 208, .55); }

.bsummary {
  margin: 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(229, 217, 208, .14);
  font-family: var(--font-display);
  font-size: 1.2rem; font-style: italic;
  color: rgba(229, 217, 208, .85);
}
.bform__submit { justify-self: stretch; width: 100%; }
.bform__status { margin: -.4rem 0 0; font-size: .88rem; color: #e0a0a0; }
.bform__status:empty { display: none; }

/* Confirmation state */
.bdone { display: grid; gap: .9rem; justify-items: start; padding: .5rem 0; }
.bdone__mark {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin-bottom: .4rem;
  border: 1px solid rgba(229, 217, 208, .4); border-radius: 50%;
  color: var(--sand); font-size: 1.1rem;
}
.bdone h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.bdone p { margin: 0; color: rgba(229, 217, 208, .75); }
.bdone #bdoneSummary { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--sand); }
.bdone__hint { font-size: .9rem; max-width: 46ch; }
.bdone__hint a { color: var(--sand); }
.bdone #bdoneBack {
  margin-top: .6rem;
  background: none; border: 0; padding: 0 0 .3rem;
  color: rgba(229, 217, 208, .8); cursor: pointer;
}

/* ── Visit ─────────────────────────────────────────────────── */
.visit {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) var(--gutter);
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.visit__copy p { color: #4a4650; max-width: 38ch; margin-top: 1.8rem; }
.visit__list { margin-top: 2.4rem; display: grid; gap: 1rem; }
.visit__list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px solid rgba(80, 16, 16, .12); }
.visit__list span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); }
.visit__list a { text-decoration: none; border-bottom: 1px solid rgba(80, 16, 16, .25); }
.visit__list a:hover { border-color: var(--wine); }
.visit__map {
  position: relative; overflow: hidden;
  border-radius: 3px; aspect-ratio: 4 / 3;
  background: var(--wine);
}
.visit__mapframe {
  width: 100%; height: 100%; border: 0;
  /* Warmed and calmed so the map sits inside the palette; full colour on hover. */
  filter: saturate(.62) sepia(.14) contrast(.96) brightness(1.02);
  transition: filter .7s var(--ease);
}
.visit__map:hover .visit__mapframe,
.visit__map:focus-within .visit__mapframe { filter: none; }

/* Address panel floats over the top of the map. It must not swallow
   drags meant for the map, so only the button takes pointer events. */
.mapcard {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
  padding: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem) 2.4rem;
  background: linear-gradient(to bottom, rgba(45, 13, 13, .92) 35%, rgba(45, 13, 13, 0));
  color: var(--sand);
  pointer-events: none;
}
.mapcard__addr {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem);
  line-height: 1.15; margin: 0;
}
.mapcard__addr span { color: rgba(229, 217, 208, .62); font-style: italic; }
.mapcard__actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.mapcard .btn { --btn-fg: var(--wine); --btn-bg: var(--sand); pointer-events: auto; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--wine); color: var(--sand);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2.5rem;
}
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: baseline; gap: 2rem; flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(229, 217, 208, .18);
}
.footer__logo { width: clamp(150px, 20vw, 260px); height: auto; color: var(--sand); }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: rgba(229, 217, 208, .7); margin: 0; }
.footer__cols {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.footer__cols h3 {
  font-family: var(--font-ui);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(229, 217, 208, .6);
  margin-bottom: 1rem;
}
.footer__cols p { color: rgba(229, 217, 208, .85); margin: 0; line-height: 1.9; }
.footer__cols a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__cols a:hover { border-color: rgba(229, 217, 208, .6); }
.footer__base {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(229, 217, 208, .18);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; letter-spacing: .1em;
  color: rgba(229, 217, 208, .62);
}
.footer__base p { margin: 0; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--sand); }

/* ── Scroll reveals ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .95s var(--ease-out-soft), transform .95s var(--ease-out-soft);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out-soft); }
[data-reveal="media"] img { transform: scale(1.14); transition: transform 1.5s var(--ease-out-soft); transition-delay: var(--d, 0ms); }
[data-reveal="media"].is-in { clip-path: inset(0 0 0 0); }
[data-reveal="media"].is-in img { transform: none; }
[data-line] { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out-soft); transition-delay: var(--d, 0ms); }
[data-line].is-in { transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
  .feature__media { height: min(64vh, 560px); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav {
    position: fixed; inset: 0;
    background: var(--wine);
    display: grid; place-items: center;
    clip-path: circle(0% at 92% 4%);
    transition: clip-path .8s var(--ease-out-soft);
    pointer-events: none;
  }
  .nav.is-open { clip-path: circle(140% at 92% 4%); pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: center; gap: 1.5rem; }
  .nav__list a {
    font-family: var(--font-display);
    font-size: 2.2rem; letter-spacing: 0; text-transform: none;
    color: var(--sand);
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .nav.is-open a { opacity: 1; transform: none; transition-delay: calc(.22s + var(--i, 0) * 70ms); }
  .nav__reserve { display: block; margin-top: 1.4rem; }
  .nav__list .nav__reserve a {
    font-family: var(--font-ui);
    font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--wine);
  }
  .nav__list .nav__reserve a::after { display: none; }

  /* A backdrop-filter on the header would make it the containing block for
     the fixed nav overlay, trapping the menu inside the header bar. */
  .header.is-solid { backdrop-filter: none; background: rgba(247, 242, 237, .97); }

  .burger { display: block; }
  .header__cta { display: none; }
  .header.is-solid .burger { color: var(--wine); }
  /* Keep the logo above the full-screen overlay. */
  .header__logo { position: relative; z-index: 2; }
  body.nav-open .header,
  body.nav-open .header.is-solid {
    color: var(--sand); background: transparent;
    box-shadow: none; backdrop-filter: none;
  }
  body.nav-open .header.is-solid .burger { color: var(--sand); }

  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; max-width: 66vw; }
  .hero__title { margin-bottom: 1.2rem; }
  .scroll-cue { display: none; }

  /* Single column: the photograph bleeds to both edges. */
  .feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature__media {
    margin: 0 calc(var(--gutter) * -1);
    height: min(62vh, 480px);
    border-radius: 0 clamp(70px, 22vw, 150px) 0 0;
  }
  /* It would sit over the photograph like a smudge at this width. */
  .feature__octopus { display: none; }
  .pillars { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Phones get an ordinary swipeable carousel, so the column layout that
     fits the cards to the viewport height is undone here. */
  .dishes__sticky {
    position: static; height: auto;
    padding: clamp(4rem, 8vw, 6rem) 0 3rem;
  }
  .dishes__viewport {
    flex: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .dishes__viewport::-webkit-scrollbar { display: none; }
  .dishes__track { transform: none !important; height: auto; padding-right: var(--gutter); }
  .dish { flex-basis: 68vw; scroll-snap-align: center; }
  .dish__media { flex: none; height: 82vw; }
  .dish--cta { flex-basis: 74vw; }
  .dishes__progress { display: none; }

  .dishlist, .dishlist--wide, .bform__row, .reserve__inner, .visit, .footer__cols {
    grid-template-columns: 1fr;
  }
  .footer__cols { gap: 2.2rem; }
  .visit__map { aspect-ratio: 3 / 2; }
}

@media (max-width: 520px) {
  .menu__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .7rem; }
  .menu__tabs::-webkit-scrollbar { display: none; }
  .menu__tabs button { white-space: nowrap; }
  .visit__list li { grid-template-columns: 1fr; gap: .2rem; }
  .btn { padding: .95rem 1.7rem; }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], [data-line] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .header__logo, .intro__logo { --pen-anim: none !important; --pen-dot: none !important; }
  [data-reveal="media"] img { transform: none !important; }
  .intro { display: none; }
  .marquee__track { animation: none; }
}
