/* =============================================================================
   Africa World Market — styles
   Idea: the Cyrville storefront becomes the page. Its yellow pillars, charcoal
   fascia and the logo's red become full-width colour chapters; the condensed
   lettering of the sign becomes the type.
   ============================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colour, taken from the store and its logo */
  --paper: #F4F2EC;        /* page ground */
  --paper-2: #E9E6DD;      /* one tone step for surfaces */
  --ink: #232428;          /* running text and headings */
  --ink-2: #4E4F55;        /* secondary notes only */
  --red: #A62D34;          /* logo deep red: the action colour (6.9:1 with white) */
  --red-2: #8C242A;
  --signal: #F5C518;       /* the yellow of the storefront pillars */
  --char: #2B2C30;         /* the charcoal of the sign */
  --char-2: #37383D;
  --on-dark: #F4F2EC;
  --on-dark-2: #C9C6BE;
  --open: #1E6E46;
  --closed: #A62D34;

  /* Type: condensed sign lettering for display, its text sibling for reading */
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --s-hero: clamp(2.3rem, 0.9rem + 4.1vw, 4.75rem);
  --s-h2: clamp(1.9rem, 1.2rem + 2.2vw, 3.25rem);
  --s-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem);
  --s-body: 1.0625rem;
  --s-small: 0.9375rem;

  /* Space */
  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1440px;
  --section: clamp(3.25rem, 2.2rem + 3.6vw, 6rem);
  --header-h: 72px;
  --cut: 14px;        /* the shelf-tag notch on buttons */
  --cut-img: 28px;    /* and on photographs */

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: var(--s-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 0.95; text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul[role="list"], .social, .footer-list, .footer-hours, .trust-line, .mobile-nav, .primary-nav ul, .dish-list, .cat-grid { list-style: none; padding: 0; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.chapter-dark :focus-visible, .chapter-red :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .announcement :focus-visible { outline-color: var(--signal); }
.chapter-yellow :focus-visible { outline-color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 200; background: var(--char); color: var(--on-dark); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { flex: none; width: 1.1em; height: 1.1em; }

/* ---------- Chapters (full-width fields of one colour) ---------- */
.chapter { padding-block: var(--section); }
.chapter-paper { background: var(--paper); color: var(--ink); }
.chapter-tone { background: var(--paper-2); color: var(--ink); }
.chapter-yellow { background: var(--signal); color: var(--ink); }
.chapter-dark { background: var(--char); color: var(--on-dark); }
.chapter-red { background: var(--red); color: #fff; }
/* Two neighbouring chapters of the same colour read as one field: don't double the gap */
.chapter-paper + .chapter-paper { padding-top: 0; }

/* ---------- Type helpers ---------- */
.h2 { font-size: var(--s-h2); text-transform: uppercase; letter-spacing: -0.005em; }
.h3 { font-size: var(--s-h3); font-weight: 600; line-height: 1.05; }
.lead { font-size: var(--s-h3); font-family: var(--display); font-weight: 500; line-height: 1.15; max-width: 30ch; }
.body { max-width: 62ch; }
.note { font-size: var(--s-small); color: var(--ink-2); }
.chapter-dark .note, .site-footer .note { color: var(--on-dark-2); }
.chapter-red .note { color: rgba(255, 255, 255, 0.85); }
.label { font-size: 1rem; font-weight: 600; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.7rem 1.6rem 0.7rem 1.4rem; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--display); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; background: var(--red); color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn:hover { background: var(--red-2); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--signal); }
.btn-signal:focus-visible, .btn-light:focus-visible { box-shadow: inset 0 0 0 3px var(--ink); }
.btn .icon { transition: transform var(--t-hover) var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: #FFD43A; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em;
  transition: text-underline-offset var(--t-hover) var(--ease-out);
}
.link:hover { text-underline-offset: 0.45em; }

/* ---------- Announcement ---------- */
.announcement { background: var(--char); color: var(--on-dark); font-size: var(--s-small); }
.announcement-link { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 44px; text-decoration: none; font-weight: 500; text-align: center; }
.announcement-link:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.announcement-dot { width: 8px; height: 8px; background: var(--signal); flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); transition: background-color var(--t-ui) ease; }
.site-header.is-scrolled { background: var(--paper-2); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.logo { width: auto; height: 46px; mix-blend-mode: multiply; }
@media (min-width: 600px) { .logo { height: 54px; } }
.logo-footer { margin: 0; padding: 10px 14px; background: #fff; }
.logo-footer .logo { height: 60px; mix-blend-mode: normal; }
.wordmark { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; margin-right: auto; }
.wordmark-since { display: none; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 0.25rem; margin: 0; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; text-decoration: none; font-weight: 500; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 9px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.35rem; }
.header-cta { display: none; min-height: 46px; padding: 0.5rem 1.1rem; font-size: 1.1rem; }
.lang-toggle { display: inline-flex; align-items: center; }
.lang-btn { min-width: 44px; min-height: 44px; padding: 0 0.3rem; border: 0; background: none; cursor: pointer; font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--ink-2); transition: color var(--t-hover) ease; }
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); text-underline-offset: 0.35em; }
.lang-sep { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 46px; min-width: 46px; padding: 0 0.9rem; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.menu-toggle:active { transform: scale(0.97); }
.burger { display: grid; gap: 5px; width: 18px; }
.burger span { display: block; height: 2px; background: currentColor; }
.menu-toggle-label { display: none; }
@media (min-width: 400px) { .menu-toggle-label { display: inline; } }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1160px) {
  .primary-nav { display: block; margin-inline: auto; }
  .menu-toggle { display: none; }
  .logo-link { margin-right: 0; }
}

/* Mobile menu: a charcoal sheet that drops from the top */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--char); color: var(--on-dark); overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path 420ms var(--ease-in-out); }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: calc(1rem + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; min-height: var(--header-h); }
.mobile-menu .lang-btn { color: var(--on-dark-2); }
.mobile-menu .lang-btn[aria-pressed="true"] { color: var(--on-dark); text-decoration-color: var(--signal); }
.menu-close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: var(--char-2); color: var(--on-dark); cursor: pointer; }
.mobile-nav { margin: 1.5rem 0 2rem; display: grid; gap: 0.25rem; }
.mobile-nav-link { display: flex; align-items: center; min-height: 60px; text-decoration: none; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.75rem, 7.5vw, 2.5rem); line-height: 1; transition: color var(--t-hover) ease, transform var(--t-ui) var(--ease-out); }
.mobile-nav-link:hover { color: var(--signal); transform: translateX(6px); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu .mobile-nav li { opacity: 0; transform: translateY(14px); transition: opacity 360ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 140ms); }
  .mobile-menu.is-open .mobile-nav li { opacity: 1; transform: none; }
}
.mobile-menu-foot { margin-top: auto; display: grid; gap: 1.25rem; }
.mobile-menu-store { display: grid; gap: 0.3rem; font-size: var(--s-small); color: var(--on-dark-2); }
.mobile-menu .link { color: var(--on-dark); }
.mobile-menu .status.is-open { color: #9FD9B5; }
.mobile-menu .status.is-closed { color: #F2B7A4; }

/* ---------- Status ---------- */
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.status.is-open { color: var(--open); }
.status.is-closed { color: var(--closed); }
.status .status-detail { color: var(--ink-2); }
.chapter-dark .status.is-open { color: #9FD9B5; }
.chapter-dark .status.is-closed { color: #F2B7A4; }
.chapter-dark .status .status-detail { color: var(--on-dark-2); }
@media (prefers-reduced-motion: no-preference) {
  .status.is-open .status-dot { animation: pulse 2.4s var(--ease-soft) infinite; }
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 110, 70, 0.35); } 50% { box-shadow: 0 0 0 6px rgba(30, 110, 70, 0); } }

/* ---------- Hero: the headline, then the storefront itself ---------- */
.hero { padding-top: clamp(1.75rem, 1rem + 3vw, 4rem); background: var(--paper); }
.hero-title { font-size: var(--s-hero); text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.9; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title [data-line] { display: block; }
.hero-title .line-accent { color: var(--red); }
.hero-row { display: grid; gap: 1.75rem; margin-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .hero-row { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; } }
.hero-sub { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.2rem); max-width: 42ch; }
.hero-actions { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .hero-actions { justify-items: end; text-align: right; } }
.hero-now { display: grid; gap: 0.35rem; font-size: var(--s-small); }
@media (min-width: 900px) { .hero-now { justify-items: end; } }
.hero-now-title { font-weight: 600; }
.trust-line { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--s-small); font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) { .trust-line { justify-content: flex-end; } }
/* Hero slider: the storefront, the food, and drawings of the store's own things */
.slider { position: relative; background: var(--char); color: var(--on-dark); }
.slider-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--char); touch-action: pan-y; }
@media (min-width: 700px) { .slider-stage { aspect-ratio: 21 / 9; max-height: 64vh; width: 100%; } }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 0s linear 900ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms ease, visibility 0s; z-index: 1; }
.slide-media, .slide-media img, .slide-media svg { width: 100%; height: 100%; display: block; }
.slide-media img { object-fit: cover; object-position: 50% 48%; }
.slider-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; min-height: 72px; padding-block: 0.75rem; }
.slider-captions { min-width: 0; flex: 1 1 22rem; }
.slider-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; font-size: 1.0625rem; }
.slider-caption .link { color: var(--signal); }
.slider-controls { display: flex; align-items: center; gap: 0.25rem; }
.slider-count { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-right: 0.75rem; font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.slider-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: var(--char-2); color: var(--on-dark); cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.slider-btn:hover { background: var(--signal); color: var(--ink); }
.slider-btn:active { transform: scale(0.94); }
.icon-flip { transform: scaleX(-1); }
.slider-progress { position: relative; width: 72px; height: 4px; margin-left: 0.75rem; background: var(--char-2); overflow: hidden; }
.slider-progress span { position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  .slider.is-playing .slider-progress span { animation: progress 6500ms linear forwards; }
  .slide.is-active .slide-media img { animation: drift-in 7000ms var(--ease-soft) both; }
  .slide.is-active .slide-drawing svg { animation: drift-in 7000ms var(--ease-soft) both; }
}
@keyframes progress { to { transform: scaleX(1); } }
@keyframes drift-in { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Categories: a grid of aisles (yellow, like the pillars) ---------- */
.cats-head { display: grid; gap: 1.25rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .cats-head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.cats-intro { display: grid; gap: 1.25rem; justify-items: start; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem) clamp(0.75rem, 1.6vw, 1.25rem); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat figure { display: grid; gap: 0.7rem; }
.cat-media { --cut-img: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: rgba(0, 0, 0, 0.08); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft); }
.cat:hover .cat-media img { transform: scale(1.05); }
.cat-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); line-height: 1.05; }
.cats-note { margin-top: 1.5rem; color: var(--ink); opacity: 0.75; }

/* The shelf-tag notch, carried onto photographs and blocks */
.cat-media, .story-media, .restaurant-hero, .loc-media, .recipe-media, .flyer-wa, .loc-soon, .flyer-empty {
  clip-path: polygon(0 0, calc(100% - var(--cut-img)) 0, 100% var(--cut-img), 100% 100%, 0 100%);
}

/* Stock-photo honesty tag */
.illustrative { position: absolute; left: 0; bottom: 0; padding: 0.3rem 0.65rem; background: rgba(35, 36, 40, 0.82); color: #fff; font-size: 0.8125rem; font-weight: 500; }

/* ---------- Flyer ---------- */
.flyer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .flyer-grid { grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: end; } }
.flyer-main { display: grid; gap: 1.5rem; align-content: start; }
.flyer-valid { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.flyer-viewer { height: min(76vh, 820px); background: var(--paper); }
.flyer-viewer iframe { width: 100%; height: 100%; border: 0; }
.flyer-cover { position: relative; display: block; text-decoration: none; background: var(--char); }
.flyer-cover img { width: 100%; height: auto; }
.flyer-cover-fallback { display: block; aspect-ratio: 3 / 4; background: var(--char); }
.flyer-cover-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; }
.flyer-empty { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper-2); }
.flyer-empty .h3 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem); font-weight: 700; text-transform: uppercase; }
.flyer-loading { display: flex; align-items: center; gap: 0.75rem; min-height: 160px; color: var(--ink-2); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--paper); border-top-color: var(--red); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flyer-wa { display: grid; gap: 1.25rem; align-content: end; padding: clamp(1.75rem, 3vw, 3rem); background: var(--red); color: #fff; }
.flyer-wa .h3 { font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem); font-weight: 700; text-transform: uppercase; line-height: 0.98; }
.flyer-wa p { max-width: 36ch; }

/* ---------- Story ---------- */
.story-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .story-grid { grid-template-columns: 0.85fr 1fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; } }
.story-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper-2); }
@media (min-width: 960px) { .story-media { margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); aspect-ratio: 1 / 1; max-height: 560px; } }
.story-media img { width: 100%; height: 112%; object-fit: cover; }
.story-copy { display: grid; gap: 1.5rem; }
.story-copy .h2 { font-size: clamp(1.9rem, 1.1rem + 2vw, 3rem); }
.story-year { display: grid; gap: 0.1rem; margin-top: 0.5rem; }
.story-year-value { font-family: var(--display); font-weight: 700; font-size: clamp(3.25rem, 2.5rem + 2.8vw, 5rem); line-height: 0.82; color: var(--red); letter-spacing: -0.02em; }

/* ---------- Restaurant (charcoal, the sign's fascia) ---------- */
.restaurant-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .restaurant-grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.restaurant-copy { display: grid; gap: 1.5rem; align-content: start; }
.restaurant-name { font-family: var(--display); font-weight: 600; font-size: var(--s-h3); color: var(--signal); line-height: 1; }
.restaurant-details { display: grid; gap: 2rem; }
@media (min-width: 600px) and (max-width: 959px), (min-width: 1240px) { .restaurant-details { grid-template-columns: 1.15fr 1fr; } }
.dish-list { display: grid; gap: 0.7rem; margin-top: 0.75rem; }
.dish-list li { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.12; }
.hours-list { display: grid; gap: 0.2rem; margin-top: 0.75rem; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.65rem; }
.hours-list dt, .hours-list dd { white-space: nowrap; }
.hours-list dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.hours-list .is-today { background: var(--char-2); font-weight: 600; }
.loc-body .hours-list .is-today { background: var(--paper-2); }
.restaurant-status { margin-top: 0.75rem; }
.restaurant-media { display: grid; gap: 0.75rem; }
.restaurant-hero { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--char-2); }
.restaurant-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.restaurant-hero:hover img { transform: scale(1.03); }
/* Print illustration: show the whole print, a little narrower than the column */
.restaurant-hero.is-art { aspect-ratio: auto; width: 82%; justify-self: center; background: none; }
.restaurant-hero.is-art img { height: auto; object-fit: contain; }
.restaurant-hero.is-art:hover img { transform: none; }
.restaurant-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.restaurant-gallery figure { display: grid; gap: 0.4rem; }
.restaurant-gallery .g-img { overflow: hidden; aspect-ratio: 1; background: #fff; }
.restaurant-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.restaurant-gallery figure:hover img { transform: scale(1.06); }
.restaurant-gallery figcaption { font-size: 0.875rem; line-height: 1.3; color: var(--on-dark-2); }
.chapter-dark .link { color: var(--on-dark); }

/* ---------- Recipes ---------- */
.recipes-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.recipe-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 720px) { .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; } }
@media (min-width: 1180px) { .recipe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.5rem; } }
.recipe { display: grid; gap: 0.9rem; }
.recipe-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.recipe-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.recipe:hover .recipe-media img { transform: scale(1.04); }
.recipe-key { color: var(--ink-2); }
.recipe-key strong { color: var(--ink); font-weight: 600; }
.recipe-details summary { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.recipe-details summary::-webkit-details-marker { display: none; }
.summary-icon { transition: transform var(--t-ui) var(--ease-out); }
.recipe-details[open] .summary-icon { transform: rotate(45deg); }
.when-open { display: none; }
.recipe-details[open] .when-open { display: inline; }
.recipe-details[open] .when-closed { display: none; }
.recipe-detail-body { display: grid; gap: 0.6rem; padding: 1.25rem 1.25rem 1.5rem; margin-top: 0.5rem; background: var(--paper-2); }
.recipe-detail-body .label { margin-top: 0.4rem; }
.ing-list, .step-list { padding-left: 1.2rem; display: grid; gap: 0.35rem; }
@media (prefers-reduced-motion: no-preference) { .recipe-details[open] .recipe-detail-body { animation: unfold 320ms var(--ease-out); } }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Reviews (red) ---------- */
.reviews-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.reviews-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: 0.8fr 2fr; gap: clamp(2.5rem, 5vw, 6rem); align-items: start; } }
.rating { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 960px) { .rating { position: sticky; top: calc(var(--header-h) + 2rem); } }
.rating-link { display: grid; gap: 0.5rem; text-decoration: none; color: #fff; }
.rating-value { font-family: var(--display); font-weight: 700; font-size: clamp(3.75rem, 3rem + 3vw, 6rem); line-height: 0.8; letter-spacing: -0.02em; }
.rating-meta { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; max-width: 24ch; transition: text-underline-offset var(--t-hover) var(--ease-out); }
.rating-link:hover .rating-meta { text-underline-offset: 0.45em; }
.stars { position: relative; display: inline-block; font-size: 1.25rem; letter-spacing: 0.1em; line-height: 1; }
.stars-base { color: rgba(255, 255, 255, 0.35); }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--signal); }
.quotes { display: grid; gap: 3rem 2.5rem; }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { display: grid; gap: 1rem; align-content: start; }
.quote blockquote p { font-size: clamp(1rem, 0.97rem + 0.15vw, 1.1rem); line-height: 1.55; }
.quote-translation { display: grid; gap: 0.25rem; font-size: var(--s-small); color: rgba(255, 255, 255, 0.88); padding-left: 1rem; border-left: 3px solid var(--signal); }
.quote-author { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.quote-source { font-size: var(--s-small); color: rgba(255, 255, 255, 0.82); }
.chapter-red .link { color: #fff; }

/* ---------- Locations ---------- */
.locations-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.loc-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .loc-grid.has-soon { grid-template-columns: 2.3fr 1fr; align-items: stretch; } }
@media (min-width: 1000px) { .loc-grid:not(.has-soon) .loc-open { grid-template-columns: 1.25fr 1fr; } .loc-grid:not(.has-soon) .loc-media { min-height: 360px; } }
.loc-open { display: grid; }
@media (min-width: 720px) { .loc-open { grid-template-columns: 1fr 1fr; } }
.loc-media { position: relative; overflow: hidden; min-height: 260px; background: var(--paper-2); }
.loc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.loc-body { display: grid; gap: 0.9rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
@media (min-width: 720px) { .loc-body { padding: 0 0 0 clamp(1.5rem, 3vw, 2.5rem); } }
.loc-name { font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.4rem); text-transform: uppercase; }
.loc-note { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.loc-hours .tz { font-weight: 400; color: var(--ink-2); }
.today-tag { margin-left: 0.4rem; font-size: 0.8125rem; font-weight: 700; color: var(--red); }
.loc-soon-col { display: grid; gap: 2rem; align-content: start; }
.loc-soon { display: grid; gap: 0.75rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper-2); }
.loc-soon .loc-name { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
.loc-badge { font-weight: 700; color: var(--red); }

/* ---------- Community (yellow) ---------- */
.community-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .community-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: end; } }
.community-copy { display: grid; gap: 1.25rem; }
.community-actions { display: grid; gap: 1.25rem; align-content: end; justify-items: start; }
.social { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.social-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1.15rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-underline-offset var(--t-hover) var(--ease-out), color var(--t-hover) ease; }
.social-link:hover { text-underline-offset: 0.45em; }
.delivery-note { font-weight: 600; }

/* ---------- Closing + footer (charcoal) ---------- */
.site-footer { background: var(--char); color: var(--on-dark); overflow: hidden; }
.closing { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) clamp(2rem, 1.5rem + 1.5vw, 3rem); display: grid; gap: 1.5rem; justify-items: start; }
.closing-title { font-size: var(--s-h2); text-transform: uppercase; }
.footer-grid { display: grid; gap: 1.75rem 2rem; padding-block: clamp(1.5rem, 2.5vw, 2.25rem); }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr 1fr; } }
.footer-brand { display: grid; gap: 0.9rem; justify-items: start; align-content: start; }
.footer-title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; margin-bottom: 0.35rem; color: var(--signal); }
.footer-list a, .footer-wa a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--on-dark); transition: color var(--t-hover) ease; }
.footer-list a:hover, .footer-wa a:hover { color: var(--signal); }
.site-footer address { color: var(--on-dark); margin-bottom: 0.25rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; white-space: nowrap; }
.footer-hours li span:last-child { font-variant-numeric: tabular-nums; }
.social-footer { flex-direction: column; gap: 0; }
.social-footer .social-link { text-decoration: none; font-weight: 400; font-size: var(--s-body); min-height: 36px; }
.social-footer .social-link:hover { color: var(--signal); }
.site-footer .lang-btn { color: var(--on-dark-2); }
.site-footer .lang-btn[aria-pressed="true"] { color: var(--on-dark); text-decoration-color: var(--signal); }
.footer-name { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: min(8vw, 7.5rem); line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap; color: var(--signal); padding: 0.5rem 0 0.1em; margin-left: -0.04em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem 2rem; padding-block: 0.9rem 1.25rem; font-size: var(--s-small); color: var(--on-dark-2); }

.noscript { padding: 1.5rem var(--gutter); background: var(--paper-2); }

/* =============================================================================
   Motion. Content is always visible without script: hidden start states apply
   only under html.js, and never under reduced motion.
   ============================================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* The intro plays once per visit; html.settled (set on a language switch) skips it */
  /* Signature: the headline rises line by line from behind its baseline */
  .js:not(.settled) .hero-title [data-line] { transform: translateY(105%); animation: line-up 950ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js:not(.settled) [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 520ms); }
  /* The slider opens like a shutter */
  .js:not(.settled) .slider-stage { clip-path: inset(100% 0 0 0); animation: shutter 1150ms var(--ease-in-out) 380ms forwards; }
  

  /* Section entrances, in reading order, once */
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js .is-in [data-reveal] { opacity: 1; transform: none; }
  /* Pictures open from a mask instead of sliding */
  .js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: polygon(0 0, calc(100% - var(--cut-img)) 0, 100% 0, 100% 0, 0 0); transition: clip-path 1000ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js .is-in [data-reveal="mask"] { clip-path: polygon(0 0, calc(100% - var(--cut-img)) 0, 100% var(--cut-img), 100% 100%, 0 100%); }
  /* Rows of a list arrive one by one, from the side */
  .js [data-reveal="row"] { transform: translateX(-18px); }
  /* Big figures rise further */
  .js [data-reveal="big"] { transform: translateY(60px); }
  .js .is-in [data-reveal="row"], .js .is-in [data-reveal="big"] { transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes shutter { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: scale(1); } }

/* Scroll-linked drift on the story photograph and the footer name (where supported) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story-media img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .footer-name { animation: name-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes drift { from { transform: translateY(-10%); } to { transform: translateY(0); } }
@keyframes name-in { from { transform: translateY(35%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =============================================================================
   CONCEPT: Hand-printed market
   The store's world printed like a linocut and risograph poster: three inks on
   paper, slight misregistration, paper grain over everything.
   ============================================================================= */

/* Paper grain across the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.17 0 0 0 0 0.19 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Misregistered ink on display type, like a riso pass that slipped */
.hero-title [data-line] { text-shadow: 0.04em 0.035em 0 var(--signal), -0.018em -0.012em 0 rgba(166, 45, 52, 0.75); }
.h2, .closing-title { text-shadow: 0.035em 0.03em 0 rgba(245, 197, 24, 0.9); }
.chapter-yellow .h2 { text-shadow: 0.035em 0.03em 0 rgba(166, 45, 52, 0.55); }
.chapter-dark .h2, .chapter-red .h2, .closing-title { text-shadow: 0.035em 0.03em 0 rgba(245, 197, 24, 0.45); }

/* Printed artwork in the slider sits on paper */
.slide-art { background: var(--paper); }
.slide-art img { object-fit: cover; object-position: 50% 50%; }
.art-tag { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: 14px; padding: 0.25rem 0.6rem; background: var(--ink); color: var(--paper); font-size: 0.8125rem; font-weight: 500; z-index: 2; }

/* Risograph duotone for stock photography; the hand reveals the real colour */
.riso { position: relative; isolation: isolate; }
.riso-red { background: var(--red); }
.riso-yellow { background: var(--signal); }
.riso img { filter: grayscale(1) contrast(1.12) brightness(1.32); mix-blend-mode: multiply; transition: filter 500ms var(--ease-soft), transform 700ms var(--ease-soft); }
.riso::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.22; transition: opacity 400ms ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='1.2' fill='%232B2C30'/%3E%3C/svg%3E");
}
@media (hover: hover) {
  .cat:hover .riso img, .recipe:hover .riso img { filter: none; mix-blend-mode: normal; }
  .cat:hover .riso::after, .recipe:hover .riso::after { opacity: 0; }
}

/* The story print is portrait art; show it whole on paper */
.story-media { background: var(--paper); }
.story-media img { object-fit: cover; object-position: 50% 40%; }

/* Community band carries the platter print */
@media (min-width: 960px) {
  .community-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy art" "actions art"; align-items: start; row-gap: 2rem; }
  .community-copy { grid-area: copy; }
  .community-actions { grid-area: actions; align-content: start; }
  .community-art { grid-area: art; align-self: center; }
}
.community-art { position: relative; margin: 0; overflow: hidden; background: var(--paper); clip-path: polygon(0 0, calc(100% - var(--cut-img)) 0, 100% var(--cut-img), 100% 100%, 0 100%); }
.community-art img { width: 100%; height: auto; }

/* ---------- Leave a review (reviews chapter) ---------- */
.leave-review { display: grid; gap: 0.75rem; justify-items: start; margin-top: 0.75rem; padding: 1.25rem 1.25rem 1.4rem; background: rgba(0, 0, 0, 0.16); border-left: 3px solid var(--signal); }
.leave-review-title { font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; line-height: 1; color: #fff; }
.leave-review p:not(.leave-review-title) { max-width: 30ch; }

/* ---------- Flyer & newsletter sign-up ---------- */
button.link, .footer-nl { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.flyer-wa .link { color: #fff; }
.footer-nl { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; margin-top: 0.4rem; color: var(--signal); font-weight: 600; text-decoration: underline; text-underline-offset: 0.3em; }
.footer-nl:hover { color: #fff; }

.nl {
  width: min(34rem, calc(100% - 2 * var(--gutter))); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0;
  background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain;
  clip-path: polygon(0 0, calc(100% - var(--cut-img)) 0, 100% var(--cut-img), 100% 100%, 0 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.nl::backdrop { background: rgba(35, 36, 40, 0.6); }
.nl[open] { animation: nl-in 420ms var(--ease-out); }
.nl[open]::backdrop { animation: nl-fade 300ms ease; }
@keyframes nl-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes nl-fade { from { opacity: 0; } }
@media (max-width: 599px) {
  .nl { width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh; clip-path: none; }
  @keyframes nl-in { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .nl[open], .nl[open]::backdrop { animation: none; } }
.nl-open-body { overflow: hidden; }

.nl-form, .nl-done { display: grid; gap: 0.9rem; padding: clamp(1.5rem, 4vw, 2.25rem); padding-top: clamp(1.75rem, 4vw, 2.5rem); }
.nl-done { justify-items: start; padding-block: 2.5rem; }
.nl-done:focus { outline: none; }
.nl-close { position: absolute; top: 0.6rem; right: 1.6rem; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; z-index: 1; }
.nl-close:hover { color: var(--red); }
.nl-close:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.nl-eyebrow { justify-self: start; padding: 0.2rem 0.6rem; background: var(--signal); font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nl-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.35rem); line-height: 0.95; text-transform: uppercase; padding-right: 2rem; text-shadow: 0.035em 0.03em 0 rgba(245, 197, 24, 0.9); }
.nl-text { color: var(--ink-2); max-width: 40ch; }
.nl-fields { display: grid; gap: 0.6rem 0.9rem; margin-top: 0.25rem; }
@media (min-width: 480px) { .nl-fields { grid-template-columns: 1fr 1fr; } }
.nl-field { display: grid; gap: 0.3rem; align-content: start; }
.nl-field label { font-weight: 600; font-size: 0.95rem; }
.nl-opt { font-weight: 400; color: var(--ink-2); }
.nl-field input {
  width: 100%; min-height: 48px; padding: 0.6rem 0.8rem; border: 2px solid var(--ink); border-radius: 0;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.nl-field input:focus { outline: 3px solid var(--signal); outline-offset: 0; }
.nl-field input[aria-invalid="true"] { border-color: var(--red); }
.nl-err { color: var(--red); font-size: 0.875rem; font-weight: 600; }
.nl-err:empty { display: none; }
.nl-consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.9375rem; line-height: 1.45; }
.nl-consent input { width: 22px; height: 22px; margin-top: 0.1rem; accent-color: var(--red); }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 0.25rem; }
.nl-actions .btn[disabled] { opacity: 0.7; cursor: progress; }
.nl-privacy { font-size: 0.8125rem; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }
.contact-info { display: grid; gap: 1.25rem; align-content: start; }
.contact-intro { max-width: 44ch; }
.contact-list { display: grid; gap: 1.25rem; margin-top: 0.5rem; }
.contact-list dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; }
.contact-list dd { margin: 0.2rem 0 0; }
.contact-list address { font-style: normal; }
.contact-card { position: relative; background: var(--paper); clip-path: polygon(0 0, calc(100% - var(--cut-img)) 0, 100% var(--cut-img), 100% 100%, 0 100%); }
.contact-form, .contact-done { display: grid; gap: 0.9rem; padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.contact-done { justify-items: start; }
.contact-done:focus { outline: none; }
.nl-wide { grid-column: 1 / -1; }
.nl-field select, .nl-field textarea {
  width: 100%; min-height: 48px; padding: 0.6rem 0.8rem; border: 2px solid var(--ink); border-radius: 0;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.nl-field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.nl-field select:focus, .nl-field textarea:focus { outline: 3px solid var(--signal); outline-offset: 0; }
.nl-field textarea[aria-invalid="true"] { border-color: var(--red); }
