@charset "utf-8";
/* ==========================================================================
   NONNA MONDA — Delicatessen Italiana, Plaza Blanca, Sotogrande
   Built on the existing identity: sage, lemon yellow, olive ink, cream.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Sampled from the supplied logo and opening-hours artwork */
  --paper: #fbf8f1;
  --paper-deep: #f2ece0;
  --sage: #b4c6b8;
  --sage-soft: #d6e0d8;
  --sage-deep: #7d9384;
  --ink: #2b312b;
  --ink-soft: #5d665d;
  --ink-faint: #646c64;
  --olive: #3e463e;
  --olive-deep: #2d332d;
  --lemon: #ffcf21;
  --lemon-deep: #c8920a;
  --terracotta: #b0604a;

  --rule: color-mix(in srgb, var(--ink) 16%, transparent);
  --rule-strong: color-mix(in srgb, var(--ink) 34%, transparent);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.17rem, 1.09rem + 0.38vw, 1.4rem);
  --step-2: clamp(1.37rem, 1.23rem + 0.68vw, 1.78rem);
  --step-3: clamp(1.6rem, 1.37rem + 1.14vw, 2.3rem);
  --step-4: clamp(1.88rem, 1.5rem + 1.9vw, 3.03rem);
  --step-5: clamp(2.2rem, 1.59rem + 3.04vw, 4.05rem);
  --step-6: clamp(2.57rem, 1.6rem + 4.85vw, 5.5rem);

  /* Space */
  --gap: clamp(1.1rem, 0.8rem + 1.4vw, 2rem);
  --pad: clamp(1.15rem, 0.6rem + 2.6vw, 3.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --section-tight: clamp(3rem, 2rem + 4.5vw, 5.5rem);

  --measure: 36ch;
  --shell: 1320px;

  --ease: cubic-bezier(0.22, 0.68, 0.34, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
svg { display: block; max-width: 100%; }

img,
video { height: auto; }

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection {
  background: var(--lemon);
  color: var(--olive-deep);
}

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  padding: 0.7em 1.2em;
  background: var(--olive);
  color: var(--paper);
  font: 500 var(--step--1) / 1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 120;
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); }

h4 {
  font-size: var(--step-1);
  line-height: 1.22;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 36;
}

p { text-wrap: pretty; }

/* Small caps label — echoes the condensed caps of the wordmark */
.eyebrow {
  display: block;
  font: 500 var(--step--1) / 1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.eyebrow--rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.lede {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.38;
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 48;
}

.prose > * + * { margin-top: 1em; }
.prose { max-width: var(--measure); color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }

.prose--quote {
  max-width: 40ch;
  color: inherit;
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.5;
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 48;
}

.prose--quote > * + * { margin-top: 0.7em; }
.prose--quote strong { font-weight: 500; font-style: italic; }

.serif-em {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 48;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.shell {
  width: min(100% - (var(--pad) * 2), var(--shell));
  margin-inline: auto;
}

.shell--narrow { --shell: 860px; }
.shell--wide { --shell: 1560px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section--flush-top { padding-top: 0; }

.section--paper-deep { background: var(--paper-deep); }
.section--sage { background: var(--sage); }

.section--olive {
  background: var(--olive);
  color: var(--paper);
}

.section--olive .eyebrow,
.section--olive .prose { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.section--olive .prose strong { color: var(--paper); }

/* The sage stripe, lifted from the opening-hours artwork.
   --stripe sets the pitch; --stripe-a / --stripe-b the two bands. */
.stripes {
  --stripe-a: var(--sage);
  --stripe-b: color-mix(in srgb, var(--sage) 28%, var(--paper));
  background-image: repeating-linear-gradient(
    90deg,
    var(--stripe-a) 0 calc(var(--stripe, 34px) * 0.62),
    var(--stripe-b) calc(var(--stripe, 34px) * 0.62) var(--stripe, 34px)
  );
}

.rule {
  height: 1px;
  border: 0;
  background: var(--rule);
}

/* --------------------------------------------------------------------------
   5. Links & buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-ink: var(--ink);
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.05em 2.1em;
  border: 1px solid var(--btn-ink);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 500 var(--step--1) / 1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  --btn-bg: var(--btn-ink);
  color: var(--paper);
}

.btn--solid {
  --btn-bg: var(--olive);
  --btn-ink: var(--olive);
  color: var(--paper);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  --btn-bg: transparent;
  color: var(--olive);
}

.btn--light {
  --btn-ink: color-mix(in srgb, var(--paper) 55%, transparent);
  color: var(--paper);
}

.btn--light:hover,
.btn--light:focus-visible {
  --btn-bg: var(--paper);
  --btn-ink: var(--paper);
  color: var(--olive);
}

/* Text link with a rule that draws in from the left */
.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font: 500 var(--step--1) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.45em;
  position: relative;
  color: inherit;
}

.arrow-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  transform-origin: left;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.arrow-link:hover::after,
.arrow-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1.06);
}

.arrow-link span[aria-hidden] { transition: transform 0.3s var(--ease); }
.arrow-link:hover span[aria-hidden] { transform: translateX(0.3em); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. Lemon divider — the brand's own motif, used as punctuation
   -------------------------------------------------------------------------- */

.lemon-rule {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: min(100%, 20rem);
  color: var(--rule-strong);
}

.lemon-rule::before,
.lemon-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.lemon-rule svg { width: 38px; height: auto; flex: none; }

/* --------------------------------------------------------------------------
   7. Figures & media
   -------------------------------------------------------------------------- */

figure { position: relative; }

.media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.media--portrait { aspect-ratio: 3 / 4; }
.media--tall { aspect-ratio: 9 / 14; }
.media--square { aspect-ratio: 1 / 1; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 10; }
.media--reel { aspect-ratio: 9 / 16; }

.caption {
  margin-top: 0.85rem;
  font: 400 var(--step--1) / 1.45 var(--sans);
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

.section--olive .caption { color: color-mix(in srgb, var(--paper) 72%, transparent); }

/* A photograph that slowly settles as it enters the frame */
.media > img { transition: transform 1.2s var(--ease); }
.media:hover > img { transform: scale(1.03); }

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease);
}

/* The tint and blur live on their own layer rather than on the header itself:
   backdrop-filter would otherwise make .site-header the containing block for
   the position:fixed mobile nav, trapping the overlay inside the header bar. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.site-header[data-stuck="true"] { border-bottom-color: var(--rule); }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-block: clamp(0.8rem, 0.55rem + 1.1vw, 1.3rem);
}

.brand {
  display: block;
  flex: none;
  line-height: 0;
}

.brand img {
  width: clamp(142px, 11vw, 196px);
  height: auto;
}

.nav { display: flex; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 0.3rem + 1.7vw, 2.3rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  display: block;
  font: 500 var(--step--1) / 1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.5em;
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.65em;
  padding: 0.55em 0;
  border: 0;
  background: none;
  font: 500 var(--step--1) / 1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 22px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

[data-nav-open="true"] .nav-toggle__bars::before { transform: translateY(4.25px) rotate(45deg); }
[data-nav-open="true"] .nav-toggle__bars::after { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 62rem) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    align-content: center;
    padding: var(--pad);
    background: var(--olive);
    color: var(--paper);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  [data-nav-open="true"] .nav { visibility: visible; opacity: 1; }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    width: min(100%, var(--shell));
    margin-inline: auto;
  }

  .nav__list li { width: 100%; border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); }

  .nav__link {
    font-family: var(--display);
    font-size: var(--step-3);
    font-weight: 300;
    letter-spacing: -0.01em;
    text-transform: none;
    padding-block: 0.52em;
    font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 72;
  }

  .nav__link::after { display: none; }

  .nav-toggle { display: inline-flex; z-index: 120; position: relative; }
  [data-nav-open="true"] .nav-toggle { color: var(--paper); }
  [data-nav-open="true"] body { overflow: hidden; }
}

@media (min-width: 62.0625rem) {
  .header__cta { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; }

.hero__grid {
  display: grid;
  gap: var(--gap);
  align-items: end;
  padding-block: clamp(2.5rem, 1.4rem + 4.5vw, 5rem) 0;
}

.hero__copy { max-width: 32ch; }

.hero__title {
  margin-block: 0.42em 0;
  font-weight: 300;
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 144;
}

.hero__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 55, "WONK" 1, "opsz" 144;
}

.hero__standfirst {
  margin-top: 1.4rem;
  max-width: 33ch;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.55;
}

.hero__actions { margin-top: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }

.hero__media { position: relative; }

.hero__media .media { --focus: 50% 42%; position: relative; }

/* Backing panel, offset down and right so it reads as a deliberate frame
   rather than a sliver showing past the edge of the photograph. */
.hero__media-stripes {
  display: none;
  position: absolute;
  --stripe: 30px;
  top: clamp(2rem, 3.5vw, 3.2rem);
  right: clamp(-2.6rem, -2.2vw, -1.2rem);
  bottom: clamp(-2.6rem, -2.2vw, -1.2rem);
  width: 62%;
}

@media (min-width: 52rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 1rem + 4vw, 5rem);
    padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) 0;
  }

  .hero__copy { padding-bottom: clamp(1rem, 3vw, 3.5rem); }
  .hero__media-stripes { display: block; }
}

@media (max-width: 51.9375rem) {
  .hero__media .media { aspect-ratio: 4 / 5; }
}

/* Hours strip under the hero */
.hours-strip {
  border-block: 1px solid var(--rule);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.hours-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem var(--gap);
  padding-block: 1.1rem;
  font: 500 var(--step--1) / 1.5 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hours-strip__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--ink);
}

.hours-strip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex: none;
}

.hours-strip__status[data-open="true"] .hours-strip__dot { background: #4f8a4f; }
.hours-strip__status[data-open="false"] .hours-strip__dot { background: var(--terracotta); }

.hours-strip__sep { color: var(--rule-strong); }
.hours-strip__detail { color: var(--ink-soft); letter-spacing: 0.13em; }
.hours-strip__link { margin-left: auto; }

/* --------------------------------------------------------------------------
   10. Statement block
   -------------------------------------------------------------------------- */

.statement {
  display: grid;
  gap: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  justify-items: start;
  max-width: 46ch;
}

.statement__text {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1.33;
  font-variation-settings: "SOFT" 45, "WONK" 0, "opsz" 72;
}

.statement__text em {
  font-style: italic;
  font-variation-settings: "SOFT" 55, "WONK" 1, "opsz" 72;
}

/* --------------------------------------------------------------------------
   11. Editorial rows (Eat / Shop / Experience)
   -------------------------------------------------------------------------- */

.reasons {
  display: grid;
  gap: var(--section-tight);
}

.reason {
  display: grid;
  gap: var(--gap) clamp(1.5rem, 0.5rem + 3.5vw, 4rem);
  align-items: center;
}

.reason__media { position: relative; }

.reason__body { display: grid; gap: 1.1rem; justify-items: start; }
.reason__body h2 { max-width: 14ch; font-size: var(--step-3); }
.reason__body .prose { max-width: 34ch; }

@media (min-width: 46rem) {
  .reason { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
  .reason:nth-child(even) .reason__media { order: 2; }
  .reason:nth-child(even) .reason__body { justify-self: end; }
}

/* --------------------------------------------------------------------------
   12. Split section — image beside copy, with optional stripe
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(1.8rem, 1rem + 3.5vw, 4.5rem);
  align-items: center;
}

.split__body { display: grid; gap: 1.3rem; justify-items: start; max-width: 42ch; }

@media (min-width: 52rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse .split__media { order: 2; }
  .split--wide-media { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .split--wide-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}

/* Overlapping pair: a tall plate with a smaller one tucked over its corner */
.pair { position: relative; }

.pair__back { --stripe: 26px; }

.pair__front {
  position: absolute;
  right: clamp(-1rem, -2vw, 0rem);
  bottom: clamp(-1.6rem, -3vw, -0.8rem);
  width: clamp(38%, 34% + 6vw, 46%);
  border: clamp(5px, 1vw, 10px) solid var(--paper);
  z-index: 2;
}

.section--sage .pair__front { border-color: var(--sage); }
.section--olive .pair__front { border-color: var(--olive); }
.section--paper-deep .pair__front { border-color: var(--paper-deep); }

.pair--left .pair__front { right: auto; left: clamp(-1rem, -2vw, 0rem); }

/* --------------------------------------------------------------------------
   13. Mosaic — asymmetric photo cluster
   -------------------------------------------------------------------------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.mosaic > * { min-width: 0; }
.mosaic__offset { margin-top: clamp(1.5rem, 4vw, 4rem); }

@media (min-width: 52rem) {
  .mosaic--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mosaic--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mosaic--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   14. Pull quote
   -------------------------------------------------------------------------- */

.quote { max-width: 24ch; }

.quote__text {
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 300;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 55, "WONK" 1, "opsz" 120;
  text-wrap: balance;
}

.quote__cite {
  display: block;
  margin-top: 1.4rem;
  font: 500 var(--step--1) / 1.4 var(--sans);
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section--olive .quote__cite { color: color-mix(in srgb, var(--paper) 72%, transparent); }

/* --------------------------------------------------------------------------
   15. Hours & contact panels
   -------------------------------------------------------------------------- */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.hours th,
.hours td {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}

.hours th {
  font: 500 var(--step--1) / 1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-right: var(--gap);
  white-space: nowrap;
}

.hours td { font-size: var(--step-0); }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }

.hours small {
  display: block;
  font-size: var(--step--1);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.section--sage .hours th,
.section--sage .hours td { border-bottom-color: color-mix(in srgb, var(--olive) 22%, transparent); }

.section--sage .hours small { color: var(--olive); }

.section--olive .hours th,
.section--olive .hours td { border-bottom-color: color-mix(in srgb, var(--paper) 18%, transparent); }

.section--olive .hours small { color: color-mix(in srgb, var(--paper) 62%, transparent); }

.detail-list {
  display: grid;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list dt,
.detail-list .detail-list__label {
  font: 500 var(--step--1) / 1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.detail-list dd { margin: 0; }
.detail-list a { text-decoration-thickness: 1px; text-underline-offset: 0.25em; }

.section--olive .detail-list dt { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.section--sage .detail-list dt { color: var(--olive); }

/* Sage is a mid tone: tighten the supporting text so it keeps its contrast */
.section--sage .prose { color: color-mix(in srgb, var(--ink) 82%, transparent); }
.section--sage .eyebrow { color: var(--olive); }
.section--sage .eyebrow--rule::after,
.section--sage .lemon-rule { color: color-mix(in srgb, var(--olive) 32%, transparent); }
.section--sage .eyebrow--rule::after { background: color-mix(in srgb, var(--olive) 32%, transparent); }

/* --------------------------------------------------------------------------
   16. Menu
   -------------------------------------------------------------------------- */

.menu-group + .menu-group { margin-top: var(--section-tight); }

.menu-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-strong);
}

.menu-group__note {
  font: 400 var(--step--1) / 1.5 var(--sans);
  color: var(--ink-faint);
  text-align: right;
  max-width: 28ch;
}

.menu-list {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1.2rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.menu-item__name {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.2;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 36;
}

.menu-item__price {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

.menu-item__desc {
  grid-column: 1 / -1;
  max-width: 48ch;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 52rem) {
  .menu-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(2rem, 1rem + 4vw, 5rem);
    align-items: start;
  }

  .menu-columns > .menu-group { margin-top: var(--section-tight); }
  .menu-columns > .menu-group:nth-child(-n + 2) { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   17. Gallery
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.filter {
  padding: 0.65em 1.25em;
  border: 1px solid var(--rule-strong);
  background: none;
  font: 500 var(--step--1) / 1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

.filter:hover { border-color: var(--ink); }

.filter[aria-pressed="true"] {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--paper);
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid-gallery li { min-width: 0; }
.grid-gallery li[hidden] { display: none; }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
}

.shot .media { aspect-ratio: 3 / 4; }

.gallery-empty {
  padding-block: 3rem;
  color: var(--ink-faint);
  font-family: var(--display);
  font-size: var(--step-2);
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  /* the UA rule that hides a closed dialog is a display declaration, so the
     grid has to be scoped to [open] or the lightbox sits over every page */
  display: none;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(0.8rem, 2vw, 2rem);
  background: color-mix(in srgb, var(--olive-deep) 96%, transparent);
  color: var(--paper);
  border: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
}

.lightbox[open] { display: grid; }

.lightbox::backdrop { background: var(--olive-deep); }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.lightbox__count {
  font: 500 var(--step--1) / 1 var(--sans);
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
}

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: 2.4em;
}

.lightbox__caption {
  font: 400 var(--step--1) / 1.5 var(--sans);
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  max-width: 48ch;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid color-mix(in srgb, var(--paper) 32%, transparent);
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn:hover:not(:disabled) { background: var(--paper); color: var(--olive-deep); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }

.lightbox__nav { display: flex; gap: 0.6rem; }

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.5rem; }

.field { display: grid; gap: 0.5rem; }

.field > label {
  font: 500 var(--step--1) / 1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95em 1em;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--paper);
  transition: border-color 0.25s var(--ease);
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-soft); }

.field textarea { min-height: 9rem; resize: vertical; }

.field--pair { display: grid; gap: 1.5rem; }

@media (min-width: 40rem) {
  .field--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form__note {
  font-size: var(--step--1);
  color: var(--ink-faint);
  max-width: 52ch;
}

.form__status {
  font-size: var(--step--1);
  padding: 0.9em 1.1em;
  border-left: 3px solid var(--sage-deep);
  background: color-mix(in srgb, var(--sage) 28%, var(--paper));
}

.form__status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   19. Map panel
   -------------------------------------------------------------------------- */

.map {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: var(--pad);
  text-align: center;
  background-color: var(--sage-soft);
  /* a wide, low-contrast stripe here: this is a backdrop, not a pattern swatch */
  --stripe: 72px;
  --stripe-a: color-mix(in srgb, var(--sage) 52%, var(--paper));
  --stripe-b: color-mix(in srgb, var(--sage) 26%, var(--paper));
  overflow: hidden;
}

.map__inner { display: grid; gap: 1.1rem; justify-items: center; position: relative; z-index: 1; }

.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--olive);
  color: var(--paper);
  padding-block: var(--section-tight) 2.5rem;
}

.site-footer a { color: inherit; }

.footer__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
}

@media (min-width: 46rem) {
  .footer__grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
}

.footer__brand img { width: clamp(180px, 16vw, 230px); }

.footer__blurb {
  margin-top: 1.5rem;
  max-width: 32ch;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  font-size: var(--step--1);
  line-height: 1.7;
}

.footer__heading {
  font: 500 var(--step--1) / 1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  margin-bottom: 1.1rem;
}

.footer__list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--step--1);
}

.footer__list a {
  text-decoration: none;
  color: color-mix(in srgb, var(--paper) 86%, transparent);
  transition: color 0.25s var(--ease);
}

.footer__list a:hover { color: var(--paper); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem var(--gap);
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.footer__bottom a { text-decoration-thickness: 1px; text-underline-offset: 0.25em; }

/* --------------------------------------------------------------------------
   21. Page header (interior pages)
   -------------------------------------------------------------------------- */

.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section-tight); }

.page-head__inner { display: grid; gap: 1.4rem; justify-items: start; }
.page-head__title { max-width: 16ch; }
.page-head .lede { max-width: 42ch; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   22. Reveal on scroll
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   23. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .hero__media,
  video,
  .filters { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1.2rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
