@charset "utf-8";
/* ==========================================================================
   La Ortolana Pizza & Ristorante
   Design direction — "The Enamel Sign"
   Everything is derived from the storefront logo: a deep green enamel oval
   (#004323) and keylined crimson display type (#CC0E23). The light ground is
   the pale grey-green of a flour-dusted steel counter; the dark ground is the
   mahogany of the dining-room tables in the photographs (#4F1D15).
   Display: Fraunces (opsz/SOFT/WONK) · Text: Archivo · both self-hosted.
   ========================================================================== */

/* --------------------------------------------------------------- 1. fonts */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- 2. reset */

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

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }

ul[class], ol[class] { list-style: none; padding: 0; }

img, picture, svg { display: block; max-width: 100%; }

img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; }

:target { scroll-margin-top: 8.5rem; }

/* --------------------------------------------------------------- 3. tokens */

:root {
  /* — ground: flour-dusted steel counter, biased green — */
  --ground: #eff1ea;
  --ground-sunk: #e4e8dd;
  --panel: #fafbf7;
  --panel-2: #f2f4ec;
  --line: #d2d8c8;
  --line-strong: #b6c0a8;

  /* — ink: warm green-black, never a neutral grey — */
  --ink: #171a15;
  --ink-2: #4b5345;
  --ink-3: #626b5a;

  /* — brand, sampled from the logo artwork — */
  --basil: #004323;
  --basil-lift: #0b6236;
  --basil-wash: #dde8de;
  --pomodoro: #cc0e23;
  --pomodoro-deep: #a20a1b;
  --pomodoro-wash: #f8dfe1;
  --crust: #b5791f;

  /* — mahogany, sampled from the dining-room tables — */
  --mahogany: #4f1d15;
  --mahogany-deep: #250e09;
  --mahogany-lit: #7a2b1d;

  /* — roles — */
  --cta-bg: var(--pomodoro);
  --cta-bg-hover: var(--pomodoro-deep);
  --cta-fg: #fff;
  --plate-bg: var(--basil);
  --plate-fg: #f4f7f0;
  --status-open: var(--basil);
  --status-shut: #8a5320;
  --focus: #0b6236;
  --shadow-plate: 0 1px 0 rgb(23 26 21 / 0.05), 0 2px 10px -4px rgb(23 26 21 / 0.14);
  --shadow-lift: 0 2px 4px -2px rgb(23 26 21 / 0.1), 0 14px 32px -12px rgb(23 26 21 / 0.24);

  /* — type — */
  --sans: "Archivo", ui-sans-serif, "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --step--2: clamp(0.72rem, 0.7rem + 0.09vw, 0.775rem);
  --step--1: clamp(0.83rem, 0.81rem + 0.12vw, 0.905rem);
  --step-0: clamp(1rem, 0.975rem + 0.13vw, 1.075rem);
  --step-1: clamp(1.14rem, 1.09rem + 0.26vw, 1.3rem);
  --step-2: clamp(1.33rem, 1.22rem + 0.55vw, 1.68rem);
  --step-3: clamp(1.62rem, 1.38rem + 1.14vw, 2.35rem);
  --step-4: clamp(2rem, 1.55rem + 2.2vw, 3.4rem);
  --step-5: clamp(2.5rem, 1.62rem + 3.5vw, 4.5rem);

  /* — measure & rhythm — */
  --wrap: 74rem;
  --wrap-narrow: 42rem;
  --gutter: clamp(1.15rem, 4.5vw, 3rem);
  --bay: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 3px;
  --radius-lg: 6px;

  color-scheme: light;
}

/* — dark: the mahogany room — */
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17100c;
    --ground-sunk: #100b08;
    --panel: #221711;
    --panel-2: #1b120e;
    --line: #3a291f;
    --line-strong: #553d2e;

    --ink: #f4efe6;
    --ink-2: #cbbcaa;
    --ink-3: #a2907e;

    --basil: #4aa66d;
    --basil-lift: #63bd85;
    --basil-wash: #14261a;
    --pomodoro: #f4646a;
    --pomodoro-deep: #ff8085;
    --pomodoro-wash: #331312;
    --crust: #dda451;

    --cta-bg: #cf1f2c;
    --cta-bg-hover: #e2323e;
    --cta-fg: #fff;
    --plate-bg: #0d5730;
    --plate-fg: #eaf3ea;
    --status-open: #4aa66d;
    --status-shut: #d09a4e;
    --focus: #63bd85;
    --shadow-plate: 0 1px 0 rgb(0 0 0 / 0.4), 0 2px 12px -4px rgb(0 0 0 / 0.55);
    --shadow-lift: 0 2px 6px -2px rgb(0 0 0 / 0.5), 0 18px 40px -14px rgb(0 0 0 / 0.7);

    color-scheme: dark;
  }
}

/* — explicit user choice must win over the media query in both directions — */
:root[data-theme="dark"] {
  --ground: #17100c;
  --ground-sunk: #100b08;
  --panel: #221711;
  --panel-2: #1b120e;
  --line: #3a291f;
  --line-strong: #553d2e;
  --ink: #f4efe6;
  --ink-2: #cbbcaa;
  --ink-3: #a2907e;
  --basil: #4aa66d;
  --basil-lift: #63bd85;
  --basil-wash: #14261a;
  --pomodoro: #f4646a;
  --pomodoro-deep: #ff8085;
  --pomodoro-wash: #331312;
  --crust: #dda451;
  --cta-bg: #cf1f2c;
  --cta-bg-hover: #e2323e;
  --cta-fg: #fff;
  --plate-bg: #0d5730;
  --plate-fg: #eaf3ea;
  --status-open: #4aa66d;
  --status-shut: #d09a4e;
  --focus: #63bd85;
  --shadow-plate: 0 1px 0 rgb(0 0 0 / 0.4), 0 2px 12px -4px rgb(0 0 0 / 0.55);
  --shadow-lift: 0 2px 6px -2px rgb(0 0 0 / 0.5), 0 18px 40px -14px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --ground: #eff1ea;
  --ground-sunk: #e4e8dd;
  --panel: #fafbf7;
  --panel-2: #f2f4ec;
  --line: #d2d8c8;
  --line-strong: #b6c0a8;
  --ink: #171a15;
  --ink-2: #4b5345;
  --ink-3: #626b5a;
  --basil: #004323;
  --basil-lift: #0b6236;
  --basil-wash: #dde8de;
  --pomodoro: #cc0e23;
  --pomodoro-deep: #a20a1b;
  --pomodoro-wash: #f8dfe1;
  --crust: #b5791f;
  --cta-bg: var(--pomodoro);
  --cta-bg-hover: var(--pomodoro-deep);
  --cta-fg: #fff;
  --plate-bg: var(--basil);
  --plate-fg: #f4f7f0;
  --status-open: var(--basil);
  --status-shut: #8a5320;
  --focus: #0b6236;
  --shadow-plate: 0 1px 0 rgb(23 26 21 / 0.05), 0 2px 10px -4px rgb(23 26 21 / 0.14);
  --shadow-lift: 0 2px 4px -2px rgb(23 26 21 / 0.1), 0 14px 32px -12px rgb(23 26 21 / 0.24);
  color-scheme: light;
}

/* ----------------------------------------------------------------- 4. base */

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-variation-settings: "wght" 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "SOFT" 28, "WONK" 1;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.021em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { text-wrap: pretty; }

strong, b { font-variation-settings: "wght" 650; }

:where(a):hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--pomodoro); color: #fff; }

.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--basil);
  color: #fff;
  border-radius: var(--radius);
  font-variation-settings: "wght" 650;
  transition: top 0.16s ease;
}
.skip:focus { top: 0.5rem; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ----------------------------------------------------------- 5. primitives */

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

.wrap--narrow { max-width: var(--wrap-narrow); }

.bay { padding-block: var(--bay); }

/* Section eyebrow — a small enamel plate, the sign motif at label scale. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-size: var(--step--2);
  font-variation-settings: "wght" 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plate-fg);
  background: var(--plate-bg);
  padding: 0.42em 0.85em 0.38em;
  border-radius: 999px;
}

.eyebrow--bare {
  background: none;
  color: var(--basil);
  padding-inline: 0;
}

/* Breadcrumb links are small type; pad the box so they are still tappable. */
.eyebrow--bare a,
.hero__eyebrow a {
  display: inline-block;
  padding-block: 0.42rem;
  text-decoration: none;
}
.eyebrow--bare a:hover,
.hero__eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }

.lede {
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.5;
}

/* Sign-painter rule: a heavy stroke and a hairline, the way a painted border
   is built up on a storefront window. */
.rule {
  border: 0;
  height: 4px;
  background:
    linear-gradient(var(--basil) 0 0) top / 100% 2px no-repeat,
    linear-gradient(var(--line-strong) 0 0) bottom / 100% 1px no-repeat;
  margin: 0;
}

/* ------------------------------------------------------------- 6. controls */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55ch;
  padding: 0.82em 1.35em;
  border-radius: var(--radius);
  font-size: var(--step-0);
  font-variation-settings: "wght" 640;
  letter-spacing: 0.005em;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.16s ease, transform 0.1s ease, color 0.16s ease;
}

/* The keyline: a hairline held a few px inside the edge, like the painted
   inner border on an enamel plate. */
.btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 1px;
  opacity: 0.34;
  pointer-events: none;
}

.btn:active { transform: translateY(1px); }

.btn--order {
  background: var(--cta-bg);
  color: var(--cta-fg);
}
.btn--order:hover { background: var(--cta-bg-hover); }

.btn--call {
  background: var(--plate-bg);
  color: var(--plate-fg);
}
.btn--call:hover { background: var(--basil-lift); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn--ghost::after { opacity: 0.16; }
.btn--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--basil);
  color: var(--basil);
}

.btn--wide { width: 100%; }

.btn[aria-disabled="true"] {
  background: var(--ground-sunk);
  color: var(--ink-3);
  cursor: not-allowed;
  pointer-events: none;
}
.btn[aria-disabled="true"]::after { opacity: 0.2; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------------------------------------------------------- 7. open status */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-size: var(--step--1);
  font-variation-settings: "wght" 600;
  white-space: nowrap;
}

.status__dot {
  width: 0.58em;
  height: 0.58em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.status[data-open="true"] { color: var(--status-open); }
.status[data-open="false"] { color: var(--status-shut); }

.status[data-open="true"] .status__dot { animation: pulse 2.6s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50% { box-shadow: 0 0 0 4px transparent; opacity: 0.72; }
}

/* On the dark utility strip the status sits on green, so it inherits. */
.strip .status[data-open="true"] { color: #9fe0b4; }
.strip .status[data-open="false"] { color: #f2c98a; }

/* ------------------------------------------------------- 8. utility strip */

.strip {
  background: var(--basil);
  color: #e8f1e9;
  font-size: var(--step--1);
}
:root[data-theme="dark"] .strip { background: #0d3a22; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .strip { background: #0d3a22; }
}

.strip__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  padding-block: 0.3rem;
}

.strip__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  text-decoration: none;
  font-variation-settings: "wght" 620;
  font-variant-numeric: tabular-nums;
}
.strip__tel:hover { text-decoration: underline; }

@media (max-width: 40rem) {
  .strip__tel { display: none; }
  .strip__in { justify-content: center; }
}

/* ------------------------------------------------------------- 9. masthead */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.masthead[data-stuck="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -18px rgb(0 0 0 / 0.9);
}

.masthead__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand { display: block; flex: none; line-height: 0; }
.brand img { width: clamp(126px, 15vw, 168px); }

/* The logo is printed dark-on-transparent; on the mahogany ground it needs a
   plate to sit on rather than a filter that would wreck the red. */
:root[data-theme="dark"] .brand img,
:root[data-theme="dark"] .foot__brand img {
  background: #f3f1ea;
  padding: 5px 8px;
  border-radius: var(--radius);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img,
  :root:not([data-theme="light"]) .foot__brand img {
    background: #f3f1ea;
    padding: 5px 8px;
    border-radius: var(--radius);
  }
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1.5rem);
}

.nav__link {
  display: inline-block;
  padding: 0.5rem 0.35rem;
  text-decoration: none;
  font-size: var(--step--1);
  font-variation-settings: "wght" 580;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.nav__link[aria-current="page"] { color: var(--basil); border-bottom-color: var(--basil); }

.nav .btn { padding: 0.6em 1.05em; font-size: var(--step--1); }

.burger {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.2s ease;
}
.burger[aria-expanded="true"] span {
  background: transparent;
  box-shadow: 0 0 0 transparent;
}
.burger[aria-expanded="true"]::before,
.burger[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
}
.burger[aria-expanded="true"]::before { transform: rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: rotate(-45deg); }

@media (max-width: 56.25rem) {
  .burger { display: inline-flex; position: relative; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    display: none;
    margin-left: 0;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--gutter) var(--gutter) calc(var(--gutter) + 0.5rem);
  }
  .nav__list li + li { border-top: 1px solid var(--line); }
  .nav__link {
    padding: 0.95rem 0;
    font-size: var(--step-0);
    border-bottom: 0;
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
  }
  .nav__link[aria-current="page"] { border-bottom-color: transparent; border-left-color: var(--basil); }
  .nav__list li:last-child { border-top: 0; padding-top: 1rem; }
  .nav .btn { width: 100%; font-size: var(--step-0); padding: 0.85em 1.2em; }
}

/* ----------------------------------------------------------------- 10. hero
   The pizza in the photograph sits on an aluminium pan on a mahogany table.
   The band behind it is lit the same way, and the photo's edge is feathered
   with a radial mask, so the table in the picture continues into the page. */

.hero {
  position: relative;
  background:
    radial-gradient(120% 100% at 72% 42%, var(--mahogany-lit) 0%, var(--mahogany) 38%, var(--mahogany-deep) 82%);
  color: #f7efe6;
  overflow: hidden;
  isolation: isolate;
}

.hero__in {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

@media (min-width: 52rem) {
  .hero__in {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    padding-block: clamp(3.5rem, 6vw, 6rem);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  font-size: var(--step--2);
  font-variation-settings: "wght" 680;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0c98d;
}

.hero h1 {
  font-size: var(--step-5);
  font-variation-settings: "opsz" 144, "SOFT" 24, "WONK" 1;
  font-weight: 900;
  margin-block: 0.5rem 0.9rem;
  letter-spacing: -0.028em;
  color: #fffdf8;
  /* "Hand-tossed" must never break at its own hyphen. */
  hyphens: none;
  overflow-wrap: normal;
}

.hero h1 em {
  font-style: normal;
  display: block;
  color: #ffc9ba;
}

.hero__lede {
  font-size: var(--step-1);
  color: #e7d2c4;
  max-width: 38ch;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.hero .btn-row { margin-bottom: 1.4rem; }

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  font-size: var(--step--1);
  color: #dcc3b4;
}
.hero__status .status[data-open="true"] { color: #86dea6; }
.hero__status .status[data-open="false"] { color: #f2c98a; }

.hero__pan {
  position: relative;
  margin-inline: auto;
  width: min(112%, 34rem);
  aspect-ratio: 1;
}

.hero__pan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  /* Feather the crop so the table in the photo dissolves into the band. */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 56%, rgb(0 0 0 / 0.55) 68%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 56%, rgb(0 0 0 / 0.55) 68%, transparent 76%);
}

/* The pan's rim, drawn rather than photographed. */
.hero__pan::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(255 244 232 / 0.16), inset 0 0 60px rgb(255 220 190 / 0.05);
  pointer-events: none;
}

@media (max-width: 52rem) {
  .hero__pan { width: min(88%, 22rem); order: -1; }
}

/* ------------------------------------------------------------- 11. sections */

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section__head > div { max-width: 46ch; }
.section__head h2 { margin-top: 0.7rem; }
.section__head p { margin-top: 0.7rem; color: var(--ink-2); }

.band { background: var(--panel-2); }
.band--sunk { background: var(--ground-sunk); }

/* ------------------------------------------------------- 12. category tiles */

/* Two up on a phone, four on a desktop. auto-fit would stack all seven into a
   two-thousand-pixel scroll on a 390px screen, which is nobody's idea of a
   summary. */
.tiles {
  display: grid;
  gap: clamp(0.5rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 44rem) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mahogany-deep);
  text-decoration: none;
  color: #fff;
  aspect-ratio: 1;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.28s ease;
}
@media (min-width: 44rem) { .tile { aspect-ratio: 4 / 3; } }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.tile:hover img { transform: scale(1.045); }

.tile__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 2.6rem 1rem 0.95rem;
  background: linear-gradient(to top, rgb(20 8 5 / 0.88) 12%, rgb(20 8 5 / 0.45) 55%, transparent);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 0.75rem;
}

.tile__name {
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "SOFT" 30, "WONK" 1;
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: #fffdf8;
}

.tile__meta {
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: "wght" 620;
  color: #f0c98d;
  line-height: 1.3;
}

.tile--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 44rem) { .tile--wide { aspect-ratio: 16 / 9; } }

/* -------------------------------------------------- 12b. delivery towns */

.towns {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.towns a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.towns a:hover {
  border-color: var(--basil);
  transform: translateY(-1px);
}
.towns strong { font-variation-settings: "wght" 640; }
.towns span {
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* What-to-order list on the area pages. */
.picks { display: grid; gap: 0.55rem; font-size: var(--step--1); color: var(--ink-2); }
.picks a { color: var(--ink); font-variation-settings: "wght" 620; text-underline-offset: 3px; }
.picks a:hover { color: var(--basil); }

/* --------------------------------------------------------- 13. location card */

.locations {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.loc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-plate);
}

.loc[data-state="closed"] { background: var(--panel-2); }

.loc__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.loc__name {
  font-size: var(--step-2);
  margin: 0;
}
.loc__name a { text-decoration: none; }
.loc__name a:hover { color: var(--basil); text-decoration: underline; text-underline-offset: 3px; }

.loc__note {
  display: block;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-variation-settings: "wght" 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-top: 0.3rem;
}

.loc__facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-2);
}

.loc__facts div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
}

.loc__facts dt {
  font-variation-settings: "wght" 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--step--2);
  color: var(--ink-3);
  padding-top: 0.15em;
}

.loc__facts dd { margin: 0; }
.loc__facts a {
  display: inline-block;
  padding-block: 0.3rem;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
}
.loc__facts a:hover { color: var(--basil); }

.loc .btn-row { margin-top: auto; padding-top: 0.35rem; }
.loc .btn { flex: 1 1 9rem; }

/* Closed notice — amber, so it never reads as the crimson order button. */
.notice {
  display: flex;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--status-shut) 12%, var(--panel));
  border-left: 3px solid var(--status-shut);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.notice strong { color: var(--ink); display: block; }

/* ------------------------------------------------------------- 14. hours */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.hours th {
  font-variation-settings: "wght" 560;
  color: var(--ink-2);
  width: 45%;
}

.hours td { text-align: right; color: var(--ink); }

.hours tr[data-today="true"] th,
.hours tr[data-today="true"] td {
  color: var(--basil);
  font-variation-settings: "wght" 680;
}

.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------- 15. menu page */

.menubar {
  position: sticky;
  top: 4.25rem;
  z-index: 60;
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.menubar__in {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.6rem;
}

.chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  padding-block: 0.2rem;
  -webkit-overflow-scrolling: touch;
  /* Fade the trailing edge so a half-clipped chip reads as "more this way"
     rather than as a layout bug. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
}
.chips::-webkit-scrollbar { height: 4px; }
.chips::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

.chip {
  flex: none;
  scroll-snap-align: start;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: var(--step--1);
  font-variation-settings: "wght" 580;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink-2);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--basil); color: var(--basil); }
.chip[aria-current="true"] {
  background: var(--plate-bg);
  border-color: var(--plate-bg);
  color: var(--plate-fg);
}

.finder {
  flex: none;
  position: relative;
  width: min(15rem, 40vw);
}
.finder input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2rem;
  font-size: var(--step--1);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.finder input::placeholder { color: var(--ink-3); }
.finder svg {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  translate: 0 -50%;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--ink-3);
  pointer-events: none;
}
/* A 143-dish menu needs its search box most on a phone, so it gets its own
   row above the chips rather than being dropped. */
@media (max-width: 48rem) {
  .menubar__in {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.45rem;
    padding-block: 0.5rem;
  }
  .finder { width: 100%; }
  .finder input { padding-block: 0.42rem; }
  .chips { padding-block: 0; }
}

.menu-course + .menu-course { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

/* Clear the masthead and the (two-row, on a phone) section rail when a chip
   jumps to an anchor. */
.menu-course { scroll-margin-top: 10.25rem; }
@media (min-width: 48rem) { .menu-course { scroll-margin-top: 8.5rem; } }

.menu-course__head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--basil);
}

.menu-course__head h2 {
  font-size: var(--step-2);
  margin: 0;
}

.menu-course__count {
  margin-left: auto;
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variation-settings: "wght" 600;
  white-space: nowrap;
}

.dishes {
  display: grid;
  gap: 0.15rem 3rem;
}
@media (min-width: 46rem) { .dishes { grid-template-columns: 1fr 1fr; } }

.dish {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  align-content: start;
}

.dish__line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.dish__name {
  font-family: var(--sans);
  font-size: var(--step-0);
  font-variation-settings: "wght" 620;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
}

.dish__leader {
  flex: 1 1 auto;
  min-width: 1.25rem;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-0.3em);
}

.dish__price {
  font-variation-settings: "wght" 640;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}

.dish__desc {
  font-size: var(--step--1);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 54ch;
}

.tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-variation-settings: "wght" 700;
  padding: 0.18em 0.5em;
  border-radius: 2px;
  vertical-align: 0.12em;
  margin-left: 0.15rem;
}
.tag--pop { background: var(--pomodoro-wash); color: var(--pomodoro-deep); }
.tag--new { background: var(--basil-wash); color: var(--basil-lift); }
.tag--sold {
  background: color-mix(in srgb, var(--status-shut) 16%, var(--panel));
  color: var(--status-shut);
}

/* Sold out right now — greyed, but still legible; people want to know what
   they are missing, and it comes back tomorrow. */
.dish[data-sold-out="true"] .dish__name,
.dish[data-sold-out="true"] .dish__desc { color: var(--ink-3); }
.dish[data-sold-out="true"] .dish__price {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* A price the live check corrected: flash once so the change is noticed. */
.dish__price[data-updated] { animation: price-settle 1.6s ease-out 1; }
@keyframes price-settle {
  0%, 30% { background: var(--basil-wash); box-shadow: 0 0 0 4px var(--basil-wash); }
  100% { background: transparent; box-shadow: 0 0 0 4px transparent; }
}

/* Freshness read-out under the menu. */
.freshness {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5ch;
}
.freshness__dot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--ink-3);
  flex: none;
  translate: 0 -0.1em;
}
.freshness[data-live="true"] { color: var(--ink-2); }
.freshness[data-live="true"] .freshness__dot {
  background: var(--status-open);
  animation: pulse 2.6s ease-in-out infinite;
}

.dish[hidden] { display: none; }

.menu-note {
  font-size: var(--step--1);
  color: var(--ink-3);
  max-width: 62ch;
}

.no-hits {
  padding: 2.5rem 0;
  font-size: var(--step-1);
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- 16. faq */

.faq { display: grid; gap: 0.5rem; max-width: 52rem; }

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.1rem;
}
.faq details[open] { border-color: var(--line-strong); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-variation-settings: "wght" 620;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 0.62rem;
  height: 0.62rem;
  border-right: 2px solid var(--basil);
  border-bottom: 2px solid var(--basil);
  rotate: 45deg;
  translate: 0 -0.15rem;
  transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 0.12rem; }

.faq__body {
  padding-bottom: 1.1rem;
  color: var(--ink-2);
  max-width: 62ch;
}
.faq__body a { color: var(--basil); }

/* ------------------------------------------------------------- 17. footer */

.foot {
  background: var(--mahogany-deep);
  color: #dcc9bd;
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  font-size: var(--step--1);
}

.foot__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-bottom: 2rem;
}

.foot__brand img { width: 158px; margin-bottom: 1rem; }
.foot__brand p { max-width: 32ch; color: #b79c8d; }

.foot h2 {
  font-family: var(--sans);
  font-size: var(--step--2);
  font-variation-settings: "wght" 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0c98d;
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.foot ul { display: grid; gap: 0.15rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Footer links sit close together on a phone; give each one a thumb-sized
   box rather than a 15px line of text. */
.foot ul a,
.foot address a {
  display: inline-block;
  padding-block: 0.42rem;
}

.foot address { font-style: normal; line-height: 1.7; }

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: #9c8375;
  font-size: var(--step--2);
}

/* Ordering runs on JetFood; the badge credits it and links to the app. */
.poweredby {
  display: inline-block;
  line-height: 0;
  opacity: 0.82;
  border-radius: var(--radius);
  transition: opacity 0.15s ease;
}
.poweredby:hover { opacity: 1; }
.poweredby img { width: 150px; height: auto; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variation-settings: "wght" 620;
  color: #dcc9bd;
  transition: box-shadow 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.45); color: #fff; }
.theme-toggle svg { width: 0.95rem; height: 0.95rem; }

/* --------------------------------------------------- 18. mobile action bar
   A pizzeria is decided on a phone in under a minute. The two things that
   matter never leave the screen. */

.actionbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: none;
  gap: 0.5rem;
  padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.actionbar .btn { flex: 1; padding: 0.78em 0.5em; font-size: var(--step--1); }

@media (max-width: 56.25rem) {
  .actionbar { display: flex; }
  body { padding-bottom: 4.5rem; }
  .menubar { top: 4.25rem; }
}

/* --------------------------------------------------------------- 19. promo
   Phone: a sheet rising from the bottom over roughly a third of the screen,
   leaving the page readable and scrollable behind it. Desktop: a centred
   modal. Google's intrusive-interstitial rule is a mobile rule, and the sheet
   stays the right side of it. */

.promo[hidden] { display: none; }

.promo {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.promo__scrim {
  position: absolute;
  inset: 0;
  background: rgb(20 8 5 / 0.5);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: auto;
}
.promo[data-open="true"] .promo__scrim { opacity: 1; }

/* No scrim on a phone — the sheet is a banner, not a takeover. */
@media (max-width: 47.9375rem) {
  .promo__scrim { background: transparent; pointer-events: none; }
}

.promo__card {
  position: relative;
  pointer-events: auto;
  width: min(100%, 30rem);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel);
  border-top: 3px solid var(--basil);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lift);
  transform: translateY(102%);
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.3, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.promo[data-open="true"] .promo__card { transform: none; }

.promo__x {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgb(20 8 5 / 0.55);
  backdrop-filter: blur(4px);
  transition: background-color 0.15s ease;
}
.promo__x:hover { background: rgb(20 8 5 / 0.8); }
.promo__x svg { width: 1.05rem; height: 1.05rem; }

.promo__shot {
  width: 100%;
  height: 4.5rem;
  object-fit: cover;
  display: block;
}

.promo__body {
  padding: 1rem clamp(1.1rem, 4vw, 1.6rem) 0.75rem;
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.promo__body h2 { font-size: var(--step-1); }
.promo__text { color: var(--ink-2); font-size: var(--step--1); }
.promo__body .btn-row { width: 100%; margin-top: 0.2rem; gap: 0.5rem; }
.promo__body .btn { flex: 1 1 8rem; padding: 0.7em 0.9em; font-size: var(--step--1); }

.promo__later {
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: "wght" 620;
  color: var(--ink-3);
  padding: 0.5rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promo__later:hover { color: var(--ink); }

/* The phone sheet stays under a third of the screen: the page behind it is
   still the thing on screen, which is what keeps it a banner and not an
   interstitial. */
@media (max-width: 47.9375rem) {
  /* No photo on a phone: at this height it is a sliver, and dropping it keeps
     the sheet down around a quarter of the screen. */
  .promo__shot { display: none; }
  /* With no photo behind it the close button sits on the panel, so it needs
     panel colours and room of its own beside the eyebrow. */
  .promo__x {
    background: var(--ground-sunk);
    color: var(--ink-2);
    backdrop-filter: none;
    width: 2.1rem;
    height: 2.1rem;
  }
  .promo__x:hover { background: var(--line); color: var(--ink); }
  .promo__body { gap: 0.4rem; padding-top: 0.85rem; padding-right: 3.4rem; }
  .promo__body h2 { font-size: var(--step-0); }
  .promo__text {
    font-size: var(--step--2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .promo__later { padding: 0.35rem 0; }
}

@media (min-width: 48rem) {
  .promo { align-items: center; }
  .promo__card {
    border-radius: var(--radius-lg);
    transform: translateY(14px) scale(0.97);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.24s ease;
  }
  .promo[data-open="true"] .promo__card { transform: none; opacity: 1; }
  .promo__shot { height: 11rem; }
  .promo__body { padding: clamp(1.1rem, 4vw, 1.6rem); gap: 0.75rem; }
  .promo__body h2 { font-size: var(--step-2); }
}

/* Sitting above the phone action bar, the sheet needs to clear it. */
@media (max-width: 56.25rem) {
  .promo__card { margin-bottom: 4.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .promo__card { transform: none; opacity: 1; }
  .promo__scrim { opacity: 1; }
}

/* ------------------------------------------------------------- 20. motion */

/* Gated on .js — with scripting off, or if site.js fails to load, the content
   is simply there. Never hide anything the page needs behind an observer. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

html { scroll-behavior: smooth; }

/* -------------------------------------------------------------- 21. print
   Staff print the menu for the counter; make that come out right. */

@media print {
  .strip, .masthead, .actionbar, .menubar, .hero__pan, .foot__bottom,
  .theme-toggle, .btn, .promo { display: none !important; }
  body { background: #fff; color: #000; font-size: 10pt; padding: 0; }
  .dishes { grid-template-columns: 1fr 1fr; }
  .menu-course { break-inside: avoid; }
  .dish { break-inside: avoid; }
  .bay { padding-block: 0.5rem; }
  a[href^="http"]::after { content: ""; }
}
