/* ==========================================================================
   BLOWFISH BY JAX — main stylesheet

   1.  Fonts
   2.  Tokens
   3.  Themes
   4.  Base
   5.  Typography
   6.  Layout
   7.  Components   (header, mobile nav, buttons, links, frames, menu lists)
   8.  Home         (hero → reservation)
   9.  Menu page
   10. Gallery page
   11. Footer
   12. Motion       (reveals — driven by assets/js/main.js)
   13. Reduced motion
   ========================================================================== */


/* 1. Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Noto Serif Display";
  src: url("../fonts/noto-serif-display-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif Display";
  src: url("../fonts/noto-serif-display-latin-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}


/* 2. Tokens --------------------------------------------------------------- */

:root {
  /* Brand — sampled from the supplied Illustrator artwork */
  --green: #0a251a;
  --gold: #cdb82e;

  /* Supporting palette */
  --ink: #0b0f0d;
  /* Light grounds are pulled toward the bottle green rather than a warm
     default beige, so shell reads as the logo's paper, not stock cream. */
  --shell: #e9e7dc;
  --linen: #f5f4ee;
  --stone-200: #d9d7cb;
  --stone-600: #5e5c53;   /* 5.4:1 on shell */
  --mist: #a3b2aa;           /* secondary text on green */
  --fog: #9b988f;            /* secondary text on ink */

  --serif: "Noto Serif Display", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 4.2vw, 72px);
  --col-gap: clamp(12px, 2vw, 32px);
  --header-h: 64px;
  --section-y: clamp(112px, 18vh, 220px);

  --fs-label: 11px;
  --fs-small: 13px;
  --fs-body: clamp(15px, 1.05vw, 17px);
  --fs-lede: clamp(21px, 1.8vw, 30px);
  --fs-h3: clamp(24px, 2.3vw, 36px);
  --fs-h2: clamp(44px, 6.2vw, 108px);
  --fs-display-s: clamp(52px, 6.8vw, 124px);
  --fs-display: clamp(64px, 16.5vw, 290px);

  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 767px) {
  /* widest display line (“LOBSTER.”) is 3.55em — 23vw keeps it inside the gutters */
  :root { --fs-display: clamp(64px, 23vw, 180px); }
}

@media (min-width: 1100px) {
  :root { --header-h: 76px; }
}


/* 3. Themes --------------------------------------------------------------- */

.t-linen,
.t-shell {
  --fg: var(--green);
  --muted: var(--stone-600);
  --rule: rgb(10 37 26 / .16);
  --accent: var(--green);
  --on-accent: var(--linen);
  --frame-bg: var(--stone-200);
}
.t-linen { --bg: var(--linen); }
.t-shell { --bg: var(--shell); }

.t-green,
.t-ink {
  --fg: var(--linen);
  --rule: rgb(247 244 237 / .17);
  --accent: var(--gold);
  --on-accent: var(--green);
  --frame-bg: #17201c;
}
.t-green { --bg: var(--green); --muted: var(--mist); }
.t-ink   { --bg: var(--ink);   --muted: var(--fog); }

.t-linen, .t-shell, .t-green, .t-ink {
  background-color: var(--bg);
  color: var(--fg);
}


/* 4. Base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--green);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }

main { display: block; overflow-x: clip; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--green); }

/* Surfaces the browser would otherwise paint in its own defaults */
html {
  caret-color: var(--green);
  accent-color: var(--gold);
  scrollbar-color: rgb(10 37 26 / .32) transparent;
}
a[href]:not([class]) {
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--green);
  font: 500 var(--fs-label)/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }


/* 5. Typography ----------------------------------------------------------- */

.label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Captions, meta lines and asides. Sentence case: uppercase is for short
   labels only (nav, buttons, field names), never for a readable phrase. */
.note {
  font-family: var(--sans);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
}

.display {
  font-family: var(--serif);
  font-size: var(--fs-display);
  font-weight: 300;
  font-stretch: 66%;
  line-height: .8;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.display--s {
  font-size: var(--fs-display-s);
  line-height: .86;
}

.h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 320;
  font-stretch: 82%;
  line-height: .96;
  letter-spacing: -.018em;
}

.h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 380;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.italic,
.h2 em,
.h3 em,
.lede em {
  font-style: italic;
  font-stretch: 100%;
  font-weight: 300;
}

.lede {
  font-family: var(--serif);
  font-size: var(--fs-lede);
  font-weight: 360;
  line-height: 1.3;
  letter-spacing: -.004em;
  max-width: 28ch;
}

.body { max-width: 40ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); line-height: 1.6; }

.gold-dot { color: var(--gold); }

.line { display: block; }


/* 6. Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1760px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.full { grid-column: 1 / -1; }


/* 7. Components ----------------------------------------------------------- */

/* 7.1 Header */

.site-header {
  --h-fg: var(--linen);
  --h-bg: var(--green);
  --h-accent: var(--gold);
  --h-on-accent: var(--green);
  --h-rule: rgb(247 244 237 / .12);

  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--h-fg);
  transition: color 500ms var(--ease);
}
.site-header[data-theme="ink"]   { --h-bg: var(--ink); }
.site-header[data-theme="light"] {
  --h-fg: var(--green);
  --h-bg: var(--linen);
  --h-accent: var(--green);
  --h-on-accent: var(--linen);
  --h-rule: rgb(10 37 26 / .1);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--h-bg);
  border-bottom: 1px solid var(--h-rule);
  opacity: 0;
  transition: opacity 500ms var(--ease), background-color 500ms var(--ease);
}
.site-header.is-solid::before { opacity: 1; }

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.site-header__nav ul {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
}

.site-header__logo {
  display: block;
  padding: 8px;
  color: var(--h-fg);
  transition: opacity 600ms var(--ease), color 500ms var(--ease);
}
.site-header__logo svg { width: auto; height: 34px; }
.site-header[data-theme="green"] .site-header__logo,
.site-header[data-theme="ink"] .site-header__logo { color: var(--gold); }
.site-header.hide-logo .site-header__logo { opacity: 0; pointer-events: none; }

.site-header__end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 16px 0;
  font: 500 var(--fs-label)/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--h-accent, currentColor);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 600ms var(--ease-out);
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: -12px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 500ms var(--ease-out);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .site-header__nav,
  .site-header__end .nav-link { display: none; }
  .nav-toggle { display: block; }
  .site-header__logo svg { height: 28px; }
}

/* Header while the mobile navigation is open */
.nav-open .site-header {
  --h-fg: var(--linen);
  --h-accent: var(--gold);
  --h-on-accent: var(--green);
}
.nav-open .site-header::before { opacity: 0; }
.nav-open .site-header__logo { opacity: 1; color: var(--gold); pointer-events: auto; }
.nav-open body { overflow: hidden; }

/* 7.2 Mobile navigation */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 8vh) var(--gutter) 32px;
  background: var(--green);
  color: var(--linen);
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
}
.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms var(--ease);
}

.mobile-nav__list li { border-top: 1px solid rgb(247 244 237 / .14); }
.mobile-nav__list li:last-child { border-bottom: 1px solid rgb(247 244 237 / .14); }
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0 10px;
  font-family: var(--serif);
  font-size: clamp(44px, 13vw, 88px);
  font-weight: 300;
  font-stretch: 66%;
  line-height: .9;
  text-transform: uppercase;
}
.mobile-nav__list a .label { color: var(--gold); }
.mobile-nav__foot { display: grid; gap: 6px; color: var(--mist); }

/* 7.3 Buttons & links */

.btn {
  --c: var(--accent);
  --on: var(--on-accent);

  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid var(--c);
  color: var(--c);
  font: 500 var(--fs-label)/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 550ms var(--ease-out), border-color 500ms var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 550ms var(--ease-out), background-color 500ms var(--ease);
}
.btn:hover,
.btn:focus-visible { color: var(--on); }
.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }

/* Filled on the element itself, so the label never depends on a pseudo-element
   painting to stay legible. */
.btn--solid {
  color: var(--on);
  background: var(--c);
  transition: background-color 450ms var(--ease), color 450ms var(--ease);
}
.btn--solid::before { display: none; }
.btn--solid:hover,
.btn--solid:focus-visible { color: var(--c); background: transparent; }

.btn--large { min-height: 60px; padding: 0 40px; }

.site-header .btn { --c: var(--h-accent); --on: var(--h-on-accent); }

/* A link, not a label trailing a decorative dash: the rule is its underline. */
.link-rule {
  display: inline-block;
  padding: 12px 0;
  font: 500 var(--fs-label)/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .5em;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 400ms var(--ease);
}
.link-rule:hover,
.link-rule:focus-visible { text-decoration-color: var(--accent); }

/* 7.4 Photographic frames
   .frame          clipping window (sets the aspect ratio)
   .frame__media   oversized layer moved by the parallax engine
   picture         scaled by the reveal
   img             scaled on hover                                          */

.frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar, 4 / 5);
  background: var(--frame-bg, var(--stone-200));
}

.frame__media {
  position: absolute;
  inset: calc(var(--bleed, 14%) * -1) 0;   /* headroom for the parallax travel */
  will-change: transform;
}

.frame picture,
.frame img {
  width: 100%;
  height: 100%;
}

.frame img {
  object-fit: cover;
  transition: transform 1800ms var(--ease-out);
}

@media (hover: hover) {
  .frame--hover:hover img { transform: scale(1.018); }
}

.caption {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
}

/* 7.5 Menu typography — shared by the home preview and the menu page */

.menu-list { display: grid; }

.menu-item {
  padding: 18px 0 16px;
  border-top: 1px solid var(--rule);
}
.menu-item:last-child { border-bottom: 1px solid var(--rule); }

.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.menu-item__name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 380;
  line-height: 1.15;
  letter-spacing: -.005em;
}

.menu-item__leader {
  flex: 1;
  min-width: 24px;
  border-bottom: 1px dotted currentColor;
  opacity: .35;
  transform: translateY(-.28em);
}

.menu-item__price {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .02em;
  white-space: nowrap;
}
.menu-item__price small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-item__desc {
  margin-top: 4px;
  max-width: 46ch;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.draft-note {
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  font-family: var(--serif);
}


/* 8. Home ----------------------------------------------------------------- */

/* 8.1 Hero — green, then the photograph surfaces beneath it */

.hero {
  --bg: var(--green);
  --fg: var(--linen);
  --muted: var(--mist);
  position: relative;
  height: 250vh;
  background: var(--green);
}

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__photo,
.hero__mono,
.hero__ink {
  position: absolute;
  inset: 0;
}
.hero__photo picture, .hero__photo img,
.hero__mono picture, .hero__mono img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo,
.hero__mono { transform: scale(1.1); will-change: transform; }

/* Photograph “printed beneath the ink”: desaturated, lower contrast */
.hero__mono img { filter: grayscale(1) contrast(.88) brightness(1.05); }

.hero__ink {
  background: var(--green);
  will-change: opacity;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: var(--header-h) var(--gutter) clamp(24px, 4vh, 40px);
  color: var(--linen);
  will-change: opacity, transform;
}

.hero__lockup {
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4vh, 44px);
}

.hero__mark {
  width: min(62vw, 64vh, 660px);
  aspect-ratio: 215.1 / 143.46;
  color: var(--gold);
}
.hero__mark svg,
.hero__byjax svg { width: 100%; height: 100%; }

.hero__byjax {
  width: clamp(120px, 12vw, 176px);
  aspect-ratio: 132.29 / 24.11;
  color: var(--linen);
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}
.hero__meta .label { color: var(--mist); }

.hero__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  --accent: var(--gold);
  --on-accent: var(--green);
}
.hero__actions .link-rule { color: var(--linen); }

.hero__caption {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(24px, 4vh, 40px);
  color: var(--linen);
  opacity: 0;
  width: fit-content;
  padding: 8px 12px;
  background: var(--green);
}

/* Entrance on load */
.hero__mark    { animation: mark-in 1600ms var(--ease-out) 150ms both; }
.hero__byjax   { animation: fade-up 1100ms var(--ease-out) 900ms both; }
.hero__meta    { animation: fade-in 1200ms var(--ease) 1200ms both; }

@keyframes mark-in {
  from { clip-path: inset(0 0 100% 0); transform: translateY(28px); }
  to   { clip-path: inset(0 0 0 0);    transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 767px) {
  .hero { height: 220vh; }
  .hero__mark { width: 78vw; }
  .hero__meta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .hero__actions { justify-content: center; gap: 24px; }
  .hero__caption { right: var(--gutter); }
}

.no-js .hero { height: auto; }

/* 8.2 Statement */

.statement {
  padding-block: var(--section-y) calc(var(--section-y) * .9);
}

.statement__title { grid-column: 1 / -1; }

.statement__text {
  grid-column: 1 / -1;
  display: grid;
  gap: 28px;
  margin-top: 56px;
}

@media (min-width: 768px) {
  .statement__text { grid-column: 6 / span 6; }
}

@media (min-width: 1100px) {
  .statement__text {
    grid-column: 8 / span 4;
    margin-top: calc(var(--fs-display) * -.72);
  }
}

/* 8.3 The daily catch */

.catch {
  padding-block: calc(var(--section-y) * .7) var(--section-y);
}

.catch__grid { row-gap: 64px; }

.catch__intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 32px;
  align-content: start;
}
.catch__intro .h2 { max-width: 9ch; }

.catch__portrait { grid-column: 2 / -1; }

.catch__inset {
  grid-column: 1 / span 3;
  margin-top: -44vw;
  position: relative;
  z-index: 2;
}
.catch__inset {
  padding: clamp(8px, 1vw, 14px);
  background: var(--linen);   /* a linen mat where it overlaps the portrait */
}

.catch__ledger { grid-column: 1 / -1; }

.ledger__title { margin-bottom: 18px; }
.ledger li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0 12px;
  border-top: 1px solid var(--rule);
}
.ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ledger__name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 380;
  line-height: 1.2;
}
.ledger__meta { color: var(--muted); text-align: right; }

.catch__portrait .caption { justify-content: flex-end; margin-left: 46%; text-align: right; }

@media (min-width: 768px) {
  .catch__portrait .caption { margin-left: 0; }
}

@media (min-width: 768px) {
  .catch__intro { grid-column: 1 / span 5; grid-row: 1; padding-top: 4vh; }
  .catch__portrait { grid-column: 7 / -1; grid-row: 1 / span 2; }
  .catch__ledger { grid-column: 1 / span 4; grid-row: 2; align-self: end; }
  /* pulled up so it overlaps the portrait’s lower-left corner */
  .catch__inset { grid-column: 5 / span 3; grid-row: 3; margin-top: -17vw; }
}

@media (min-width: 1100px) {
  .catch__inset { margin-top: -21vw; }
}

/* 8.4 Photographic break */

.break { padding: 0; }

.break__frame {
  --ar: auto;
  --bleed: 16%;
  height: 94vh;
  height: 94svh;
  min-height: 520px;
}

.break__caption {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(20px, 3.5vh, 36px);
  color: var(--linen);
  padding: 8px 12px;
  background: var(--ink);
}

/* 8.5 Colour over photography (raw bar) */

.ink {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ink__media {
  position: absolute;
  inset: -18% 0;
  z-index: -2;
  will-change: transform;
}
.ink__media picture,
.ink__media img { width: 100%; height: 100%; }
.ink__media img {
  object-fit: cover;
  filter: grayscale(1) contrast(.9) brightness(1.15);
}

/* Permanent duotone: the photograph's highlights take the brand green,
   its shadows fall towards black — ink printed over a photograph. */
.ink__tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  mix-blend-mode: multiply;
}

/* Solid green on arrival, thinning as the section settles (see main.js) */
.ink__layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  opacity: .5;
  will-change: opacity;
}

.rawbar {
  padding-block: var(--section-y);
}

.rawbar__grid { row-gap: 40px; }

.rawbar__title { grid-column: 1 / -1; }
.rawbar__title .gold-dot { font-style: normal; }

.rawbar__lede { grid-column: 1 / -1; }

.rawbar__list {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 8vh, 96px);
}

.rawbar__item {
  display: grid;
  gap: 8px 16px;
  padding: 26px 0 24px;
  border-top: 1px solid var(--rule);
}
.rawbar__item:last-child { border-bottom: 1px solid var(--rule); }
.rawbar__item p { color: var(--muted); }

.rawbar__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .rawbar__title { grid-column: 1 / span 8; }
  .rawbar__lede { grid-column: 8 / span 5; align-self: end; margin-top: -20vh; }
  .rawbar__list { grid-column: 4 / -1; }
  .rawbar__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; }
  .rawbar__foot { grid-column: 4 / -1; }
}

@media (min-width: 1100px) {
  .rawbar__lede { grid-column: 9 / span 4; margin-top: -26vh; }
  .rawbar__list { grid-column: 5 / -1; }
  .rawbar__foot { grid-column: 5 / -1; }
}

/* 8.6 Lobster — type crossing the image boundary */

.lobster {
  --fs: var(--fs-display);
  --cut: calc(var(--fs) * .98);                  /* where the image begins, measured from the title top */
  --strip-left: 0px;                              /* strip’s left edge from the viewport edge */
  --sl: calc(var(--strip-left) - var(--gutter));  /* the same, relative to the title */

  padding-block: calc(var(--section-y) * .8) var(--section-y);
}

.lobster__head { row-gap: 24px; margin-bottom: clamp(40px, 8vh, 96px); }
.lobster__note { grid-column: 1 / -1; }

.lobster__stage {
  position: relative;
  padding-top: var(--cut);   /* padding rather than the strip's margin, which would collapse through the stage */
}

.lobster__title {
  position: absolute;
  top: 0;
  left: var(--gutter);
  z-index: 2;
  font-size: var(--fs);
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% var(--cut), var(--sl) var(--cut), var(--sl) 100%, 0 100%);
}
.lobster__title--over {
  color: var(--linen);
  clip-path: inset(var(--cut) 0 0 var(--sl));
}

.lobster__strip {
  --ar: auto;
  --bleed: 18%;
  height: 55vh;
  height: 55svh;
  min-height: 340px;
  margin-left: var(--strip-left);
}
.lobster__strip::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--fs) * .9);
  background: linear-gradient(rgb(11 15 13 / .5) 65%, transparent);
  pointer-events: none;
}

.lobster__foot {
  row-gap: 28px;
  margin-top: clamp(40px, 8vh, 88px);
}
.lobster__foot .lede { grid-column: 1 / -1; }
.lobster__foot-aside { grid-column: 1 / -1; display: grid; gap: 8px; align-content: start; }
.lobster__plate { grid-column: 1 / -1; width: 88%; margin: 0; }
.lobster__plate img { display: block; width: 100%; height: auto; }
.lobster__foot--plated .lobster__foot-aside { gap: 24px; justify-items: start; }

@media (min-width: 768px) {
  .lobster { --strip-left: 22vw; }
  .lobster__note { grid-column: 8 / span 5; }
  .lobster__foot .lede { grid-column: 3 / span 6; }
  .lobster__foot-aside { grid-column: 10 / span 3; }
  .lobster__foot--plated { align-items: center; }
  .lobster__plate { grid-column: 1 / span 6; width: 100%; }
  .lobster__foot--plated .lobster__foot-aside { grid-column: 8 / span 5; }
  .lobster__foot--plated .lobster__foot-aside .lede { grid-column: auto; }
}

@media (min-width: 1100px) {
  .lobster { --strip-left: 30vw; }
  .lobster__note { grid-column: 9 / span 4; }
}

/* 8.7 Menu preview */

.menu-preview {
  padding-block: var(--section-y);
}

.menu-preview__head {
  row-gap: 16px;
  align-items: end;
  margin-bottom: clamp(56px, 11vh, 128px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.menu-preview__head p { grid-column: 1 / -1; }

.menu-preview__cols { row-gap: 88px; }
.menu-col { grid-column: 1 / -1; }
.menu-col__title { margin-bottom: 36px; }

.menu-preview__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(64px, 11vh, 120px);
}

@media (min-width: 768px) {
  .menu-preview__head p { grid-column: 7 / -1; text-align: right; }
  .menu-col:first-child { grid-column: 1 / span 6; }
  .menu-col:last-child { grid-column: 7 / span 6; }
}

@media (min-width: 1100px) {
  .menu-col:first-child { grid-column: 1 / span 5; }
  .menu-col:last-child { grid-column: 7 / span 6; margin-top: 18vh; }
}

/* 8.8 The room — after dark */

.room { padding-top: var(--section-y); }

.room__intro {
  row-gap: 28px;
  margin-bottom: clamp(56px, 10vh, 112px);
}
.room__intro .lede { grid-column: 1 / -1; max-width: 22ch; }

.room__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--frame-bg);
}

.room__media {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}

.room__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1800ms var(--ease);
}
.room__slide.is-current { opacity: 1; }
.room__stage--still .room__slide img { transition: none; }
.menu-coming { max-width: 960px; }
.menu-coming .body { margin: 32px 0; max-width: 34ch; }
.seafood-story .rawbar__foot { max-width: 38rem; }
#dining-room img { object-position: 70% center; }
.room__slide picture,
.room__slide img { width: 100%; height: 100%; }
.room__slide img {
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 9000ms linear;
}
.room__slide.is-current img { transform: scale(1); }

/* A functional scrim keeps the captions readable over light photographs. */
.room__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgb(11 15 13 / .82));
  pointer-events: none;
}

.room__overlay {
  z-index: 1;
  position: absolute;
  inset: auto 0 0;
  display: grid;
  row-gap: 24px;
  padding-bottom: clamp(24px, 5vh, 56px);
  color: var(--linen);
}
.room__overlay .display { grid-column: 1 / -1; }

.room__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.room__counter { display: flex; gap: 14px; }
.room__counter > :last-child { text-wrap: balance; }
/* Position in the sequence: the one number on the page that carries information */
.room__counter .counter__pos {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.room__buttons { display: flex; gap: 24px; }
.room__buttons button {
  min-height: 44px;
  min-width: 44px;
  font: 500 var(--fs-label)/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--linen);
  opacity: .8;
  transition: opacity 400ms var(--ease);
}
.room__buttons button:hover { opacity: 1; }

.room__text {
  row-gap: 56px;
  padding-block: var(--section-y);
}
.room__block {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  align-content: start;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.room__block .label { color: var(--gold); }
.room__block p:last-child { color: var(--muted); }

@media (min-width: 768px) {
  .room__intro .lede { grid-column: 6 / span 7; }
  .room__overlay .display { grid-column: 1 / span 7; }
  .room__controls { grid-column: 8 / -1; align-self: end; }
  .room__block:nth-child(1) { grid-column: 2 / span 4; }
  .room__block:nth-child(2) { grid-column: 8 / span 4; margin-top: 16vh; }
}

/* 8.9 By JAX */

.byjax {
  padding-block: calc(var(--section-y) * 1.1);
}

.byjax__grid { row-gap: 48px; }

.byjax__sig {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(170px, 16vw, 240px);
  aspect-ratio: 132.29 / 24.11;
  margin-bottom: clamp(24px, 8vh, 96px);
}
.byjax__sig svg { width: 100%; height: 100%; }

.byjax__title { grid-column: 1 / -1; }
.byjax__text { grid-column: 1 / -1; display: grid; gap: 24px; align-content: start; }
.byjax__image { grid-column: 3 / -1; }

@media (min-width: 768px) {
  .byjax__title { grid-column: 2 / span 7; grid-row: 2; }
  .byjax__text { grid-column: 2 / span 5; grid-row: 3; }
  .byjax__image { grid-column: 9 / span 3; grid-row: 2 / span 2; align-self: end; }
}

/* 8.10 Reservation */

.reserve {
  padding-block: var(--section-y) calc(var(--section-y) * .8);
}

.reserve__grid { row-gap: 40px; }
.reserve__title { grid-column: 1 / -1; }

.reserve__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}
.reserve__actions .link-rule { color: var(--linen); }

.reserve__info {
  grid-column: 1 / -1;
  display: grid;
  gap: 40px var(--col-gap);
  margin-top: clamp(40px, 10vh, 120px);
}
.reserve__info > div {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.reserve__info dt { color: var(--gold); }
.reserve__info dd { color: var(--linen); }
.reserve__info dd + dd { color: var(--mist); }
.reserve__info a { border-bottom: 1px solid rgb(247 244 237 / .25); transition: border-color 400ms var(--ease); }
.reserve__info a:hover { border-color: var(--gold); }

@media (min-width: 768px) {
  .reserve__actions { grid-column: 1 / span 6; }
  .reserve__info { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .reserve__actions {
    grid-column: 8 / span 5;
    align-self: end;
    justify-content: flex-end;
    margin-top: calc(var(--fs-display) * -.6);
  }
}


/* 9. Menu page ------------------------------------------------------------ */

.menu-hero {
  padding-block: calc(var(--header-h) + 14vh) clamp(56px, 10vh, 112px);
}
.menu-hero__grid { row-gap: 32px; }
.menu-hero__title { grid-column: 1 / -1; }
.menu-hero__aside { grid-column: 1 / -1; display: grid; gap: 14px; align-content: end; }
.menu-hero__aside .label { color: var(--mist); }

@media (min-width: 768px) {
  .menu-hero__title { grid-column: 1 / span 7; }
  .menu-hero__aside { grid-column: 8 / span 5; }
}

.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  border-bottom: 1px solid var(--rule);
}
.menu-nav ul {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 4px;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  --h-accent: var(--green);
  white-space: nowrap;
  padding: 16px 0;
}
.menu-nav a::after { bottom: 10px; }

.menu-section {
  padding-block: clamp(72px, 13vh, 150px);
  scroll-margin-top: calc(var(--header-h) + 52px);
}
.menu-section + .menu-section:not(.t-green) { border-top: 1px solid var(--rule); }

.menu-section__grid { row-gap: 36px; }

.menu-section__head {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  align-content: start;
}
.menu-section__note {
  max-width: 26ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.35;
  color: var(--muted);
}
.menu-section__items { grid-column: 1 / -1; }

.menu-section__sub {
  margin: 48px 0 8px;
  color: var(--muted);
}
.menu-section__sub:first-child { margin-top: 0; }

@media (min-width: 900px) {
  .menu-section__head {
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--header-h) + 88px);
    align-self: start;
  }
  .menu-section__items { grid-column: 6 / span 7; }
}

.menu-interlude { padding-block: 0 clamp(72px, 13vh, 150px); }
.menu-interlude .frame { --ar: 21 / 9; }
.menu-interlude__shot { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .menu-interlude__shot { grid-column: 4 / -1; }
  .menu-interlude__shot--left { grid-column: 1 / span 7; }
  .menu-interlude__shot--left .frame { --ar: 16 / 10; }
}

.menu-notes {
  padding-block: clamp(72px, 12vh, 140px);
}
.menu-notes__grid { row-gap: 32px; }
.menu-notes__grid > * { grid-column: 1 / -1; }
.menu-notes ul { display: grid; gap: 12px; }
.menu-notes li { max-width: 60ch; }
@media (min-width: 768px) {
  .menu-notes__grid > :first-child { grid-column: 1 / span 4; }
  .menu-notes__grid > :last-child { grid-column: 6 / span 7; }
}


/* 10. Gallery page -------------------------------------------------------- */

.gallery-hero .room__stage { height: 100vh; height: 100svh; }
.gallery-hero .room__overlay { padding-bottom: clamp(24px, 5vh, 56px); }

.gallery-intro {
  padding-block: var(--section-y) calc(var(--section-y) * .6);
}
.gallery-intro__grid { row-gap: 28px; }
.gallery-intro .lede { grid-column: 1 / -1; max-width: 24ch; }
@media (min-width: 768px) {
  .gallery-intro .lede { grid-column: 2 / span 8; }
}

.plates { padding-bottom: var(--section-y); }
.plates__row { row-gap: 20px; margin-bottom: clamp(72px, 16vh, 200px); }
.plates__row:last-child { margin-bottom: 0; }
.plate { grid-column: 1 / -1; }
.plate--full { padding-inline: 0; }
.plate--full .frame { --ar: auto; height: 86vh; height: 86svh; min-height: 420px; }
.plate--full .caption { padding-inline: var(--gutter); }

@media (min-width: 768px) {
  .plate--a { grid-column: 2 / span 5; }
  .plate--b { grid-column: 9 / span 3; align-self: end; }
  .plate--c { grid-column: 1 / -1; }
  .plate--d { grid-column: 1 / span 4; align-self: end; }
  .plate--e { grid-column: 6 / span 7; }
  .plate--f { grid-column: 3 / span 4; }
  .plate--g { grid-column: 8 / span 5; margin-top: 24vh; }
}


/* 11. Footer -------------------------------------------------------------- */

.footer {
  padding-block: clamp(64px, 12vh, 120px) 28px;
}

.footer__grid { row-gap: 48px; }

.footer__brand {
  grid-column: 1 / -1;
  display: grid;
  gap: 20px;
  align-content: start;
  color: var(--gold);
}
.footer__brand .mark { width: 120px; aspect-ratio: 215.1 / 143.46; }
.footer__brand .sig { width: 96px; aspect-ratio: 132.29 / 24.11; color: var(--linen); }
.footer__brand svg { width: 100%; height: 100%; }

.footer__col {
  grid-column: span 3;
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: var(--fs-small);
}
.footer__col .label { margin-bottom: 8px; color: var(--gold); }
.footer__col a { color: var(--linen); transition: color 400ms var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__col p { color: var(--fog); }

.footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(24px, 8vh, 80px);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--fog);
}

@media (min-width: 768px) {
  .footer__brand { grid-column: 1 / span 4; }
  .footer__col { grid-column: span 2; }
  .footer__col--first { grid-column: 7 / span 2; }
}


/* 12. Motion -------------------------------------------------------------- */

/* Small copy */
.js [data-reveal="fade"] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 900ms var(--ease) var(--d, 0ms),
    transform 1000ms var(--ease-out) var(--d, 0ms);
}
.js [data-reveal="fade"].is-in { opacity: 1; transform: none; }

/* Headlines — each line rises out of its own mask */
.js [data-reveal="lines"] .line {
  overflow: hidden;
  padding: 0 .12em .07em 0;
  margin: 0 -.12em -.07em 0;
}
.js [data-reveal="lines"] .line > span {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1100ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0ms));
}
.js [data-reveal="lines"].is-in .line > span { transform: none; }

/* Photographs — a narrow horizontal window that opens */
.js [data-reveal="window"] {
  clip-path: inset(24% 0 24% 0);
  transition: clip-path 1500ms var(--ease-out) var(--d, 0ms);
}
.js [data-reveal="window"] picture {
  transform: scale(1.07);
  transition: transform 2000ms var(--ease-out) var(--d, 0ms);
}
.js [data-reveal="window"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="window"].is-in picture { transform: none; }

/* Full-bleed photographs — the page margin gives way */
.js [data-reveal="inset"] {
  clip-path: inset(7% var(--gutter) 7% var(--gutter));
  transition: clip-path 1700ms var(--ease-out);
}
.js [data-reveal="inset"].is-in { clip-path: inset(0 0 0 0); }


/* 13. Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] picture,
  .js [data-reveal] .line > span { transform: none !important; }

  .hero__photo, .hero__mono { transform: none; }
  .room__slide img { transform: none !important; }

  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; display: flex; flex-direction: column; }
  .hero__content { position: relative; order: -1; min-height: 100svh; }
  .hero__photo { position: relative; height: 65svh; }
  .hero__mono, .hero__ink { display: none; }
  .hero__caption { opacity: 1; }
}

/* The same readable entrance when the interaction script is unavailable. */
.no-js .hero { height: auto; }
.no-js .hero__stage { position: relative; height: auto; display: flex; flex-direction: column; }
.no-js .hero__content { position: relative; order: -1; min-height: 100svh; }
.no-js .hero__photo { position: relative; height: 65svh; transform: none; }
.no-js .hero__mono, .no-js .hero__ink { display: none; }
.no-js .hero__caption { opacity: 1; }

@media (max-width: 767px) {
  .room__controls { flex-wrap: wrap; gap: 12px 24px; }
  .room__counter { min-width: 0; }
  .room__buttons { margin-left: auto; }
  .footer__col a { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 767px) {
  #experience .room__stage--still img { object-position: 24% center; }
  .gallery-hero .room__stage--still img { object-position: 70% center; }
  #lobster img { object-position: 70% center; }
}
