/* ==========================================================================
   The Kitchen Collection — main stylesheet
   Built to Brand Guidelines v1.0 (Oct 2026). Mobile-first.
   Colour in proportion: mostly Bone, then Verdant. Brass is a seasoning —
   hairlines, the knife, labels. Never an area.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette (guidelines v1.1 §13) */
  --verdant: #21332A;
  --bone:    #EEE8D9;
  --brass:   #A08148;
  --sage:    #566258;
  --pine:    #16221C;
  --mist:    #DAD6C8;
  --paper:   #F6F3EB;              /* a 50% Bone/white step for alternating grounds */

  /* Type (guidelines §15–16) */
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", Arial, Helvetica, sans-serif;

  --fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 5.5rem);
  --fs-h2:      clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);   /* Cormorant section titles */
  --fs-h3:      clamp(1.35rem, 1.2rem + .6vw, 1.75rem);
  --fs-sub:     clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body:    1rem;
  --fs-small:   .875rem;
  --fs-label:   .75rem;

  /* Space & layout */
  --gutter: clamp(1rem, .5rem + 2.4vw, 3rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --max: 1240px;
  --measure: 66ch;
  --radius: 2px;                     /* a stamp, not a button: near-square corners */

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--verdant);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--verdant); color: var(--bone); padding: .75rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- 3. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--night { background: var(--verdant); color: var(--bone); }
.section--pine  { background: var(--pine); color: var(--bone); }

/* ---------- 4. Type roles ---------- */
.label {                                  /* Label: Instrument Sans 600, 0.24em, uppercase, Brass */
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass); line-height: 1.4;
}
.label::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.label--plain::before { display: none; }

.caption { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }

.display {                                /* Cormorant 400 — never below 18pt */
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-display);
  line-height: 1.02; letter-spacing: -.012em;
}
.h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.01em; }
.h3 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
.sub { font-size: var(--fs-sub); line-height: 1.6; font-weight: 500; color: var(--sage); max-width: 44ch; }
.body { max-width: var(--measure); color: var(--sage); }
.body p + p { margin-top: 1.1em; }
.section--night .sub, .section--night .body, .section--pine .body { color: rgba(238, 232, 217, .78); }
.section--night .caption, .section--pine .caption { color: rgba(238, 232, 217, .6); }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --bg: var(--verdant); --fg: var(--bone);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.25rem; padding: 0 1.6rem;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: var(--radius);
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --bg: var(--pine); }
.btn--ghost { background: transparent; color: var(--verdant); border-color: rgba(33, 51, 42, .35); }
.btn--ghost:hover { background: var(--verdant); color: var(--bone); border-color: var(--verdant); }
.btn--bone { --bg: var(--bone); --fg: var(--verdant); }
.btn--bone:hover { --bg: #fff; }
.btn--ghost-bone { background: transparent; color: var(--bone); border-color: rgba(238, 232, 217, .4); }
.btn--ghost-bone:hover { background: var(--bone); color: var(--verdant); border-color: var(--bone); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn .arrow--out { transform: none; }
.btn:hover .arrow--out { transform: translate(2px, -2px); }

.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding-block: .35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- 6. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(238, 232, 217, 0); border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.header.is-stuck { background: rgba(238, 232, 217, .92); border-color: var(--mist); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; text-decoration: none; flex-shrink: 0; }
/* Guidelines v1.1 §21: the seal at 40px high in the header; swaps to the monogram below 640px,
   where the arc text stops being readable. There is no horizontal lockup. */
.brand__seal { display: none; width: 64px; height: 64px; }
.brand__mono { width: 48px; height: 48px; }
@media (min-width: 640px) { :root { --header-h: 88px; } .brand__seal { display: block; } .brand__mono { display: none; } }

.nav { display: none; }
.nav__list { display: flex; gap: 2.25rem; list-style: none; padding: 0; margin: 0; }
.nav__list a { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--verdant); opacity: .8; transition: opacity .25s; position: relative; }
.nav__list a:hover, .nav__list a[aria-current="true"] { opacity: 1; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: .5rem; }
.header__actions .btn { min-height: 2.75rem; padding: 0 1.1rem; font-size: .6875rem; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-toggle__bars { position: relative; width: 22px; height: 9px; display: block; }
.menu-toggle__bars span { position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--verdant); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 7.5px; }
.menu-open .menu-toggle__bars span:first-child { top: 3.75px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child  { top: 3.75px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bone);
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mist); }
.mobile-nav li { border-bottom: 1px solid var(--mist); }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; text-decoration: none; }
.mobile-nav li a span { font-family: var(--sans); font-size: .6875rem; letter-spacing: .2em; color: var(--brass); font-weight: 600; }
.menu-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 6rem)); padding-bottom: clamp(3.5rem, 2rem + 6vw, 7rem); position: relative; }
.hero__grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 5rem); }
.hero__copy { display: grid; gap: 1.6rem; align-content: center; }
.hero__copy .display { max-width: 13ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero__ctas .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__ctas .btn { flex: 0 0 auto; } }

/* Photo composition: one tall frame, two small. Flat, no shadows. */
.hero__media { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: .75rem; }
.hero__media .frame:nth-child(1) { grid-row: span 2; aspect-ratio: 4 / 5.4; }
.hero__media .frame:nth-child(2) { aspect-ratio: 1 / 1; }
.hero__media .frame:nth-child(3) { aspect-ratio: 1 / 1.05; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .hero__copy .display { max-width: 12ch; }
}

.frame { position: relative; overflow: hidden; background: var(--mist); }
.frame picture { position: absolute; inset: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); will-change: transform; }
.frame.is-in img, .no-js .frame img { transform: scale(1); }
.frame figcaption { position: absolute; left: .75rem; bottom: .65rem; color: var(--bone); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.45); }

/* Kitchen strip under the hero: the restaurants stay the heroes */
.strip { border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.strip__list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.strip__list li + li { border-left: 1px solid var(--mist); }
.strip__item { display: grid; place-items: center; gap: .6rem; padding: 1.4rem .5rem; text-decoration: none; transition: background .35s var(--ease); min-height: 112px; }
.strip__item:hover { background: var(--paper); }
.strip__item img { height: 40px; width: auto; }
.strip__item .omilo-logo { height: 40px; }
.strip__item .avero-logo { height: 26px; }
.strip__item .caption { font-size: .5625rem; letter-spacing: .2em; }
@media (min-width: 640px) { .strip__item img { height: 56px; } .strip__item .omilo-logo { height: 56px; } .strip__item .avero-logo { height: 34px; } .strip__item { padding: 1.9rem 1rem; } .strip__item .caption { font-size: .625rem; } }

/* ---------- 8. The idea ---------- */
.idea { text-align: left; }
.idea__head { display: grid; gap: 1.5rem; max-width: 52rem; }
.idea__head .h2 { max-width: 18ch; }
.knife-rule { display: flex; align-items: center; gap: 1rem; margin-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.knife-rule::before, .knife-rule::after { content: ""; flex: 1; height: 1px; background: var(--mist); }
.knife-rule img { width: 64px; }
.pillars { display: grid; gap: 2.25rem; }
.pillar { display: grid; gap: .65rem; align-content: start; }
.pillar__num { font-family: var(--serif); font-size: 1.25rem; color: var(--brass); letter-spacing: .08em; }
.pillar p { color: var(--sage); max-width: 38ch; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---------- 9. Cinematic band ---------- */
.band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; background: var(--pine); }
.band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band__caption { position: absolute; left: var(--gutter); bottom: 1.25rem; color: var(--bone); }
.band__caption .caption { color: rgba(238, 232, 217, .85); }

/* ---------- 10. Kitchens ---------- */
.kitchens__head { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.kitchens__head .h2 { max-width: 16ch; }
@media (min-width: 960px) { .kitchens__head { grid-template-columns: 1fr 1fr; align-items: end; } .kitchens__head .body { justify-self: end; } }

.kitchen { display: grid; gap: 0; border-top: 1px solid var(--mist); padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.kitchen:last-of-type { border-bottom: 1px solid var(--mist); }
.kitchen__media { position: relative; aspect-ratio: 4 / 3; }
.kitchen__body { display: grid; gap: 1.25rem; align-content: start; padding-top: 1.75rem; }
.kitchen__mark { display: flex; align-items: center; min-height: 72px; }
.kitchen__mark img { width: auto; }
.kitchen__mark .fogo-logo  { height: 88px; }
.kitchen__mark .omilo-logo { height: 74px; }
.kitchen__mark .avero-logo { height: 44px; }
.kitchen__cuisine { display: flex; gap: .75rem; align-items: center; }
.kitchen__lede { font-size: var(--fs-sub); line-height: 1.55; color: var(--verdant); font-weight: 500; max-width: 34ch; }
.kitchen__desc { color: var(--sage); max-width: 52ch; }
.facts { display: grid; gap: .9rem; padding: 1.25rem 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); margin-top: .25rem; }
.facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; font-size: var(--fs-small); }
.facts dt { font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); padding-top: .15em; }
.facts dd a { text-decoration: none; border-bottom: 1px solid var(--mist); }
.facts dd a:hover { border-color: var(--verdant); }
.kitchen__actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; padding-top: .5rem; }
@media (min-width: 900px) {
  .kitchen { grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 1rem + 4vw, 5.5rem); align-items: center; }
  .kitchen__body { padding-top: 0; }
  .kitchen:nth-of-type(even) .kitchen__media { order: 2; }
}

/* The fourth door */
.next {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  display: grid; gap: 1.5rem; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border: 1px dashed rgba(160, 129, 72, .6); background: transparent;
}
.next .h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
@media (min-width: 900px) { .next { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- 11. Story (night version — reversed on Verdant) ---------- */
.story__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.story__media { position: relative; }
.story__media .frame { aspect-ratio: 4 / 5; }
.story__seal { position: absolute; right: -1rem; bottom: -1.75rem; width: 132px; padding: 14px; background: var(--verdant); } /* seal sits on a flat panel, never on the photo */
.story__copy { display: grid; gap: 1.75rem; align-content: start; }
.story__copy .h2 { color: var(--bone); }
.story__copy .body { font-size: 1.0625rem; }
.founders { display: grid; gap: 1px; background: rgba(238, 232, 217, .14); border: 1px solid rgba(238, 232, 217, .14); margin-top: .75rem; }
.founder { background: var(--verdant); padding: 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.founder__ring { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--bone); display: grid; place-items: center; position: relative; overflow: hidden; }
.founder__ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(238, 232, 217, .7); }
.founder__ring span { font-family: var(--serif); font-size: 1.75rem; line-height: 1; color: var(--bone); letter-spacing: .04em; }
.founder__ring img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--bone); }
.founder .label { margin: .35rem 0 .6rem; }
.founder p { color: rgba(238, 232, 217, .75); font-size: var(--fs-small); line-height: 1.65; }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.2; color: var(--bone); padding-left: 1.25rem; border-left: 1px solid var(--brass); max-width: 24ch; }
@media (min-width: 640px) { .founders { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .story__grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .story__media { position: sticky; top: calc(var(--header-h) + 2rem); }
  .story__seal { right: -2.25rem; width: 156px; }
}

/* ---------- 12. Book ---------- */
.book__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.book__list { display: grid; gap: 1px; background: var(--mist); border: 1px solid var(--mist); list-style: none; padding: 0; margin: 0; }
.book__item { background: var(--bone); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem; text-decoration: none; transition: background .35s var(--ease); min-height: 104px; }
.book__item:hover { background: var(--paper); }
.book__item img { width: auto; }
.book__item .fogo-logo { height: 52px; }
.book__item .omilo-logo { height: 48px; }
.book__item .avero-logo { height: 28px; }
.book__go { display: inline-flex; align-items: center; gap: .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.book__go svg { transition: transform .35s var(--ease); }
.book__item:hover .book__go svg { transform: translate(2px, -2px); }
.book__note { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--sage); }
@media (min-width: 900px) {
  .book__list { grid-template-columns: repeat(3, 1fr); }
  .book__item { grid-template-columns: 1fr; justify-items: start; gap: 2.25rem; padding: 2rem; min-height: 230px; align-content: space-between; }
  .book__item .fogo-logo { height: 76px; } .book__item .omilo-logo { height: 66px; } .book__item .avero-logo { height: 40px; }
}

/* ---------- 13. Work with us + form ---------- */
.work__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); }
.work__intro { display: grid; gap: 1.5rem; align-content: start; }
.doors { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--mist); }
.door { padding: 1.25rem 0; border-bottom: 1px solid var(--mist); display: grid; gap: .35rem; }
.door h3 { font-size: 1rem; font-weight: 600; }
.door p { color: var(--sage); font-size: var(--fs-small); }
@media (min-width: 960px) { .work__grid { grid-template-columns: 1fr 1.1fr; } }

.form { display: grid; gap: 1.1rem; background: var(--bone); padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); border: 1px solid var(--mist); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .8rem .95rem; background: var(--paper);
  border: 1px solid var(--mist); border-radius: var(--radius); color: var(--verdant); font-size: 1rem;
  transition: border-color .25s, background .25s;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2321332A' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verdant); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #9a3b2a; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: var(--fs-small); color: var(--sage); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--verdant); }
.form .btn { justify-self: start; }
.hp { display: none; }

/* ---------- 14. Footer (Pine — deep ground for night use) ---------- */
.footer { background: var(--pine); color: var(--bone); padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.footer__top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(238, 232, 217, .14); }
.footer__brand { display: grid; gap: 1.5rem; align-content: start; }
.footer__brand img { width: 120px; }
.footer__brand p { color: rgba(238, 232, 217, .7); max-width: 32ch; font-size: var(--fs-small); }
.footer__cols { display: grid; gap: 2rem; }
.footer h2 { font-size: .6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; font-size: var(--fs-small); }
.footer li span { display: block; color: rgba(238, 232, 217, .6); font-size: .8125rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: .75rem; color: rgba(238, 232, 217, .55); letter-spacing: .04em; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1fr 2fr; } .footer__cols { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- 15. Simple pages (thanks / 404) ---------- */
.plain { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter); }
.plain__inner { display: grid; gap: 1.5rem; justify-items: center; max-width: 36rem; }
.plain__inner img { width: 120px; }

/* ---------- 16. Motion: reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .frame img { transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   17. Interaction layer
   ========================================================================== */

/* Scroll progress: a brass hairline under the header */
.header__progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Hero headline: words rise in on load (JS adds the spans; without JS the text simply shows) */
[data-rise] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-rise] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 120ms); }
[data-rise].is-in .w > span { transform: none; }

/* Kitchen chooser */
.chooser { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); position: relative; }
.chooser__list { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--mist); }
.chooser__list li { border-bottom: 1px solid var(--mist); }
.chooser__row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "word arrow" "meta meta"; gap: .6rem 1rem; align-items: center;
  padding: 1.25rem 0; text-decoration: none; color: var(--verdant); position: relative;
  transition: opacity .4s var(--ease), padding .5s var(--ease-out);
}
.chooser__word { grid-area: word; font-family: var(--serif); font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5.75rem); line-height: 1; letter-spacing: -.015em; }
.chooser__dot { color: var(--brass); }
.chooser__meta { grid-area: meta; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.chooser__meta img { height: 26px; width: auto; }
.chooser__meta .fogo-logo { height: 34px; }
.chooser__meta .avero-logo { height: 18px; }
.chooser__arrow { grid-area: arrow; transition: transform .45s var(--ease-out); }
.chooser__row:hover .chooser__arrow, .chooser__row:focus-visible .chooser__arrow { transform: translateX(6px); }
.chooser__list:hover .chooser__row:not(:hover) { opacity: .35; }
@media (min-width: 900px) {
  .chooser__row { grid-template-columns: 1fr auto auto; grid-template-areas: "word meta arrow"; padding: 1.6rem 0; }
  .chooser__row:hover { padding-left: 1.25rem; }
  .chooser__meta { justify-content: flex-end; gap: 1.5rem; }
  .chooser__meta img { height: 34px; } .chooser__meta .fogo-logo { height: 44px; } .chooser__meta .avero-logo { height: 24px; }
}
/* Live open/closed status */
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mist); box-shadow: 0 0 0 0 transparent; }
.status.is-open { color: var(--verdant); }
.status.is-open::before { background: #4E8A5E; animation: pulse 2.4s var(--ease) infinite; }
.status.is-closed::before { background: var(--brass); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(78, 138, 94, .45); } 70% { box-shadow: 0 0 0 7px rgba(78, 138, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 138, 94, 0); } }
.kitchen__status { margin-bottom: -.5rem; }

/* Kitchen photos: slow zoom on hover */
.kitchen__media img { transition: transform 1.2s var(--ease-out); }
.kitchen:hover .kitchen__media.is-in img { transform: scale(1.035); }

/* Magnetic primary buttons get a subtle offset from JS */
.btn { transform: translate3d(var(--mx, 0), var(--my, 0), 0); }

@media (prefers-reduced-motion: reduce) {
  [data-rise] .w > span { transform: none; }
  .status.is-open::before { animation: none; }
}
.status:not(.is-open):not(.is-closed)::before { display: none; }

/* ==========================================================================
   18. Cinematic hero — full-bleed, one kitchen per slide (opening order)
   Reversed "night version" (guidelines §10): Bone type over Pine-shaded photography.
   The seal never sits on the photograph; it stays in the header.
   ========================================================================== */
.cinema { position: relative; min-height: 100svh; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; background: var(--pine); color: var(--bone); overflow: hidden; isolation: isolate; }
.cinema__slides { position: absolute; inset: 0; z-index: -2; }
.cinema__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.cinema__slide.is-active { opacity: 1; }
.cinema__slide picture, .cinema__slide img { width: 100%; height: 100%; display: block; }
.cinema__slide img { object-fit: cover; transform: scale(1.12); transition: transform 9s linear; will-change: transform; }
.cinema__slide.is-active img { transform: scale(1.0); }
.cinema__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22, 34, 28, .62) 0%, rgba(22, 34, 28, .18) 28%, rgba(22, 34, 28, .25) 52%, rgba(22, 34, 28, .92) 100%),
    linear-gradient(90deg, rgba(22, 34, 28, .78) 0%, rgba(22, 34, 28, .45) 45%, rgba(22, 34, 28, .05) 80%),
    radial-gradient(120% 80% at 20% 90%, rgba(22, 34, 28, .55), transparent 60%); }
@media (max-width: 699px) { .cinema__shade { background: linear-gradient(180deg, rgba(22, 34, 28, .55) 0%, rgba(22, 34, 28, .55) 30%, rgba(22, 34, 28, .8) 60%, rgba(22, 34, 28, .95) 100%); } }

.cinema__content { display: grid; gap: 1.4rem; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.cinema__label { color: var(--bone); opacity: .9; }
.cinema__label::before { background: var(--brass); }
.cinema__title { font-family: var(--serif); font-weight: 400; color: var(--bone); font-size: clamp(3.4rem, 1.5rem + 8.6vw, 10.5rem); line-height: .92; letter-spacing: -.02em; max-width: 11ch; text-wrap: balance; }
.cinema__sub { font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); line-height: 1.55; color: rgba(238, 232, 217, .82); max-width: 42ch; font-weight: 400; }
.cinema__ctas { margin-top: .35rem; }

/* Kitchen rail: three tabs that also drive the slideshow */
.cinema__rail { border-top: 1px solid rgba(238, 232, 217, .18); background: linear-gradient(180deg, rgba(22, 34, 28, .0), rgba(22, 34, 28, .55)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cinema__tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 0; }
.cinema__tab { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "num name" "num cuisine" "status status"; gap: .15rem .9rem; align-items: baseline; text-align: left; background: none; border: 0; color: var(--bone); cursor: pointer; padding: 1.1rem .75rem 1.25rem 0; opacity: .55; transition: opacity .4s var(--ease); }
.cinema__tab + .cinema__tab { padding-left: clamp(.75rem, .4rem + 1.5vw, 1.75rem); border-left: 1px solid rgba(238, 232, 217, .14); }
.cinema__tab:hover, .cinema__tab.is-active { opacity: 1; }
.cinema__num { grid-area: num; font-family: var(--serif); font-size: 1rem; color: var(--brass); letter-spacing: .06em; }
.cinema__name { grid-area: name; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.05; }
.cinema__cuisine { grid-area: cuisine; font-size: .625rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(238, 232, 217, .7); }
.cinema__tab .status { grid-area: status; margin-top: .55rem; color: rgba(238, 232, 217, .8); font-size: .5625rem; }
.cinema__tab .status.is-open { color: var(--bone); }
.cinema__bar { position: absolute; left: 0; right: 0; top: -1px; height: 1px; overflow: hidden; }
.cinema__tab + .cinema__tab .cinema__bar { left: 0; }
.cinema__bar i { display: block; height: 100%; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.cinema__tab.is-active .cinema__bar i { animation: slidebar var(--slide-ms, 6500ms) linear forwards; }
.cinema.is-paused .cinema__tab.is-active .cinema__bar i { animation-play-state: paused; }
@keyframes slidebar { to { transform: scaleX(1); } }
@media (max-width: 639px) {
  .cinema__tab { grid-template-columns: 1fr; grid-template-areas: "num" "name" "cuisine"; padding-right: .5rem; }
  .cinema__tab .status { display: none; }
}

/* Scroll cue */
.cinema__scroll { position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: 7.5rem; width: 1px; height: 64px; background: rgba(238, 232, 217, .25); overflow: hidden; display: none; }
.cinema__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bone); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 900px) { .cinema__scroll { display: block; } }

/* Header over the hero: transparent, reversed marks and Bone links */
.brand--rev { display: none !important; }
.header.on-dark .brand__seal:not(.brand--rev), .header.on-dark .brand__mono:not(.brand--rev) { display: none !important; }
.header.on-dark .brand__mono.brand--rev { display: block !important; }
@media (min-width: 640px) {
  .header.on-dark .brand__mono.brand--rev { display: none !important; }
  .header.on-dark .brand__seal.brand--rev { display: block !important; }
}
.header.on-dark .nav__list a { color: var(--bone); }
.header.on-dark .btn { --bg: var(--bone); --fg: var(--verdant); }
.header.on-dark.is-stuck { background: rgba(22, 34, 28, .55); border-color: rgba(238, 232, 217, .12); }
.header.on-dark .header__progress { opacity: 0; }
.header.on-dark .menu-toggle__bars span { background: var(--bone); }
.menu-open .header.on-dark .menu-toggle__bars span { background: var(--verdant); }

@media (prefers-reduced-motion: reduce) {
  .cinema__slide img { transform: none !important; transition: none; }
  .cinema__tab.is-active .cinema__bar i { animation: none; transform: scaleX(1); }
  .cinema__scroll span { animation: none; }
}

/* Hero v2: the shopfront sits in its own panel so the signage is never under the headline.
   Desktop: text on Pine at left, shopfront panel at right. Phone: shopfront band on top, text below. */
.cinema__slides { inset: auto; left: 0; right: 0; top: 0; height: 46svh; min-height: 300px; }
.cinema__slide img { object-position: center; }
.cinema__shade { background: linear-gradient(180deg, rgba(22, 34, 28, .55) 0%, rgba(22, 34, 28, 0) 22%), linear-gradient(180deg, transparent calc(46svh - 120px), var(--pine) 46svh); }
@media (max-width: 899px) { .cinema__content { padding-top: calc(46svh - 1.5rem); } }
@media (min-width: 900px) {
  .cinema__slides { left: 46%; height: auto; bottom: 0; }
  .cinema__shade { background:
      linear-gradient(90deg, var(--pine) 46%, rgba(22, 34, 28, .35) 48.5%, rgba(22, 34, 28, 0) 52%),
      linear-gradient(180deg, rgba(22, 34, 28, .6) 0%, rgba(22, 34, 28, 0) 18%, rgba(22, 34, 28, 0) 70%, rgba(22, 34, 28, .85) 100%); }
  .cinema__content { padding-top: calc(var(--header-h) + 4rem); }
  .cinema__content > * { max-width: 40%; }
  .cinema__title { font-size: clamp(3.4rem, 1rem + 5.4vw, 7.25rem); max-width: 9ch; }
  .cinema__sub { max-width: 34ch; }
}
.cinema__slide[data-slide="0"] img { object-position: 50% 30%; }
.cinema__slide[data-slide="1"] img { object-position: 50% 20%; }
.cinema__slide[data-slide="2"] img { object-position: 50% 55%; }
@media (min-width: 900px) {
  /* Fogo's sign runs edge to edge, so show the whole frame on Pine rather than cropping it */
  .cinema__slide[data-slide="1"] img { object-position: 50% 20%; }
}
@media (max-width: 899px) {
  .cinema__slide[data-slide="0"] img { object-position: 50% 22%; }
  .cinema__slide[data-slide="1"] img { object-position: 50% 12%; }
  .cinema__slide[data-slide="2"] img { object-position: 50% 48%; }
}
@media (max-width: 899px) {
  /* Phone: shopfront sits below the header so the sign is never under it */
  .cinema__slides { top: var(--header-h); height: 42svh; min-height: 280px; }
  .cinema__shade { background: linear-gradient(180deg, var(--pine) 0, var(--pine) var(--header-h), transparent calc(var(--header-h) + 1px), transparent calc(var(--header-h) + 42svh - 90px), var(--pine) calc(var(--header-h) + 42svh)); }
  .cinema__content { padding-top: calc(var(--header-h) + 42svh - .5rem); }
  .cinema__slide[data-slide="0"] img { object-position: 50% 8%; }
  .cinema__slide[data-slide="1"] img { object-position: 50% 6%; }
  .cinema__slide[data-slide="2"] img { object-position: 50% 40%; }
}
