/* ==========================================================================
   Umeko Sushi & Poke — 418 Bank St, Ottawa
   --------------------------------------------------------------------------
   Palette sampled from the client's own assets:
     rice   #F0EEE9  the ground, warm off-white (never #fff)
     nori   #171C18  ink, a green-black taken from toasted seaweed
     aria   #4FA935  sampled from the logo pixels — the accent, used sparingly
     salmon #D58F71  sampled from the salmon in their own photograph
     stone  #818280  sampled from the plate in the header image — hairlines
   Type: Newsreader (display + italic) / Schibsted Grotesk (body, meta, prices)
   The hero display face is the client's own brushed wordmark, traced to vector.
   ========================================================================== */

:root {
  --rice:        #F0EEE9;
  --rice-deep:   #E5E2DA;
  --rice-warm:   #F7F5F1;
  --nori:        #171C18;
  --nori-soft:   #3D453F;
  --nori-mute:   #636A63;
  --stone:       #818280;
  --hair:        rgba(23, 28, 24, 0.14);
  --hair-soft:   rgba(23, 28, 24, 0.08);
  --aria:        #4FA935;
  --aria-text:   #2F6720;
  --aria-deep:   #23511A;
  --salmon:      #D58F71;

  --measure: 1280px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);

  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0:  1.0625rem;
  --step-1:  clamp(1.15rem, 0.5vw + 1rem, 1.35rem);
  --step-2:  clamp(1.45rem, 1.2vw + 1.1rem, 2rem);
  --step-3:  clamp(1.9rem, 2.4vw + 1.2rem, 3rem);
  --step-4:  clamp(2.4rem, 4.4vw + 1rem, 4.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--rice);
  color: var(--nori);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

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

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

/* ---------- shared bits ---------- */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.meta {
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nori-mute);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--nori-soft);
  max-width: 34ch;
}

.prose { max-width: 62ch; color: var(--nori-soft); }
.prose p + p { margin-top: 1.1em; }

.skip {
  position: absolute; left: -9999px;
  background: var(--nori); color: var(--rice);
  padding: 0.75rem 1.25rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* numbers in columns get typeset, not just typed */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--nori);
  background: var(--nori);
  color: var(--rice);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--aria-deep); border-color: var(--aria-deep); }

.btn--ghost { background: transparent; color: var(--nori); }
.btn--ghost:hover { background: var(--nori); color: var(--rice); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--rice);
  border-bottom: 1px solid var(--hair-soft);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  min-height: 68px;
}
/* the logo badge, driven by a CSS mask so one file serves every colourway */
.badge {
  display: block;
  background: currentColor;
  -webkit-mask: url("img/umeko-badge.svg") center / contain no-repeat;
          mask: url("img/umeko-badge.svg") center / contain no-repeat;
  aspect-ratio: 2476 / 2466;
  flex: none;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; color: var(--nori); }
.brand .badge { width: 38px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__sub {
  font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--nori-mute);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-block: 0.4rem;
  position: relative;
  color: var(--nori-soft);
  transition: color 0.25s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--aria);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--nori); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.head-call {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  text-decoration: none; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap;
}
.head-call span { color: var(--nori-mute); font-weight: 500; }

.burger {
  display: none;
  background: none; border: 1px solid var(--hair);
  width: 42px; height: 38px; padding: 0;
  align-items: center; justify-content: center; cursor: pointer;
}
.burger i { display: block; width: 17px; height: 1px; background: var(--nori); position: relative; transition: background .2s; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1px; background: var(--nori);
  transition: transform 0.35s var(--ease);
}
.burger i::before { top: -5px; }
.burger i::after  { top: 5px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] i::after  { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   Hero — the wordmark at full measure, the plate cutting through it
   ========================================================================== */
.hero { padding-top: clamp(1.5rem, 4vw, 3rem); }

.hero__figure {
  position: relative;
  isolation: isolate;
  background: #d8d7d7;   /* the marble's own mid tone, so loading is not a flash */
  margin-inline: auto;
  max-width: 1500px;
}
.hero__bg { width: 100%; }

/* the client's own brushed wordmark, traced to vector */
.hero__mark { margin: 0; line-height: 0; }
.hero__mark img { width: 100%; }
.hero__mark {
  position: absolute;
  left: 4%;
  bottom: 15%;
  width: 50%;
  z-index: 2;          /* above the grain layer (z1), so the mark stays crisp */
  filter: drop-shadow(0 2px 14px rgba(23, 28, 24, 0.13));
}
/* the plate, cut from the same photograph at the same scale, laid back over
   its own position — so the picture is unchanged and the type tucks behind it */
.hero__plate {
  position: absolute;
  left: 46.5417%;
  top: 17.0984%;
  width: 38.0833%;
  z-index: 3;
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  right: 4%;
  bottom: 7%;
  z-index: 4;
  text-align: right;
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--nori-soft);
  max-width: 24ch;
  line-height: 1.35;
}

.hero__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.hero__say {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.28;
  letter-spacing: -0.018em;
  max-width: 22ch;
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* --- colophon: the strip that says a real business runs here --- */
/* Only the two things a local-business visitor actually scans for. The phone
   lives in the nav and the footer; the rating is a sentence on the About page. */
.colophon {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--nori);
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
}
.colophon > div {
  padding: 1.4rem 1.75rem 1.5rem 0;
  border-right: 1px solid var(--hair);
}
.colophon > div + div { padding-left: 1.75rem; }
.colophon > div:last-child { border-right: 0; padding-right: 0; }
.colophon dt { margin-bottom: 0.6rem; }
.colophon dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--nori);
}
.colophon dd a { text-decoration: none; display: inline-block; padding-block: 0.22rem; }
.colophon dd a:hover { color: var(--aria-text); }
.colophon .now { color: var(--aria-text); font-weight: 600; }

/* ==========================================================================
   Sections
   ========================================================================== */
.sect { padding-block: clamp(4.5rem, 10vw, 9rem); }
.sect--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.sect--dark { background: var(--nori); color: var(--rice-warm); }
.sect--dark .meta { color: rgba(240, 238, 233, 0.55); }
.sect--dark .prose { color: rgba(240, 238, 233, 0.78); }

.rule { border: 0; border-top: 1px solid var(--hair); margin: 0; }

.sect-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sect-head h2 { font-size: var(--step-3); }
.sect-head--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}
@media (max-width: 800px) { .sect-head--split { grid-template-columns: 1fr; } }

/* ==========================================================================
   The gluten-free claim — the reason this restaurant is different
   ========================================================================== */
.claim__head {
  font-family: var(--f-display);
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.claim__grid {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  border-top: 1px solid rgba(240, 238, 233, 0.22);
}
.claim__item {
  padding: 1.75rem 1.75rem 0 0;
  border-right: 1px solid rgba(240, 238, 233, 0.15);
}
.claim__item + .claim__item { padding-left: 1.75rem; }
.claim__item:last-child { border-right: 0; padding-right: 0; }
.claim__item h3 {
  font-family: var(--f-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}
.claim__item p { font-size: 0.9375rem; line-height: 1.55; color: rgba(240, 238, 233, 0.72); }
@media (max-width: 700px) {
  .claim__item,
  .claim__item + .claim__item {
    border-right: 0;
    border-bottom: 1px solid rgba(240, 238, 233, 0.15);
    padding: 1.6rem 0;
  }
  .claim__item:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Signature dishes — deliberately not a three-card grid
   ========================================================================== */
/* A display case, not a feature grid: four plates across, photographs kept at
   roughly their native size so they stay sharp, every other one dropped down
   so the row has a rhythm instead of a ruler line. */
.dishes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  align-items: start;
}
.dish:nth-child(even) { margin-top: clamp(1.75rem, 5vw, 4.25rem); }

.dish__fig { margin: 0; }
/* one ratio across the row so the price rules line up; the native shots are all
   within a couple of percent of 4:5, so the crop takes almost nothing */
.dish__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.dish__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--nori);
}
.dish__name { font-size: 1.1875rem; letter-spacing: -0.018em; }
.dish__price {
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dish__desc {
  margin-top: 0.8rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--nori-mute);
}
.dish__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.9rem; }

.tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--hair);
  color: var(--nori-mute);
}
.tag--gf { border-color: var(--aria); color: var(--aria-text); }
.tag--ve { border-color: var(--aria); color: var(--aria-text); }

@media (max-width: 900px) {
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 2.5rem) 1.25rem; }
  .dish:nth-child(even) { margin-top: 0; }
  .dish:nth-child(2) { margin-top: clamp(1.5rem, 6vw, 3rem); }
  .dish:nth-child(4) { margin-top: clamp(1.5rem, 6vw, 3rem); }
}
@media (max-width: 460px) {
  .dishes { grid-template-columns: 1fr; }
  .dish:nth-child(n) { margin-top: 0; }
}

/* ==========================================================================
   The board — real items, real prices, on hairlines
   ========================================================================== */
.board { border-top: 1px solid var(--nori); }

.board__group + .board__group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.board__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.85rem;
  border-bottom: 1px solid var(--nori);
}
.board__title h2,
.board__title h3 { font-size: var(--step-2); }
.board__count { font-size: 0.75rem; color: var(--nori-mute); font-variant-numeric: tabular-nums; }

.board__list { list-style: none; margin: 0; padding: 0; }
.board__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hair-soft);
}
.board__row.is-hidden { display: none; }

.board__nm {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.board__pc {
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.board__ds {
  grid-column: 1 / 2;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--nori-mute);
  max-width: 58ch;
  margin-top: 0.3rem;
}

/* small square dietary marks — not emoji, not an icon library */
.mk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem; height: 1.1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--aria);
  color: var(--aria-text);
  translate: 0 -0.08em;
}
.mk--ve { background: var(--aria-deep); border-color: var(--aria-deep); color: #fff; }

/* ---------- the filter: the one interaction that earns its place ---------- */
/* stays reachable through a hundred-item board */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0 1.4rem;
  position: sticky;
  top: 68px;
  z-index: 40;
  background: var(--rice);
  border-bottom: 1px solid var(--hair);
}
.filters__lb { margin-right: 0.65rem; }
.chip {
  border: 1px solid var(--hair);
  background: transparent;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.chip:hover { border-color: var(--nori); }
.chip[aria-pressed="true"] {
  background: var(--nori);
  border-color: var(--nori);
  color: var(--rice);
}
.filters__out {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--nori-mute);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 620px) { .filters__out { margin-left: 0; width: 100%; } }

/* ==========================================================================
   Room & street — text and two photographs share one row, so the photos can
   stay near their native 376px and still fill the measure
   ========================================================================== */
.room3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.room3__txt { padding-right: clamp(0rem, 2vw, 1.5rem); }
.room3__txt h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.room3__txt p { color: var(--nori-soft); }
.room3__txt p + p { margin-top: 1.75rem; }
.room3 figure { margin: 0; }
.room3 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.room3 figcaption {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nori-mute);
}
.room3__drop { margin-top: clamp(1.75rem, 5vw, 4rem); }

@media (max-width: 860px) {
  .room3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room3__txt { grid-column: 1 / -1; padding-right: 0; max-width: 46ch; margin-bottom: 1rem; }
  .room3__drop { margin-top: clamp(1.25rem, 4vw, 2.5rem); }
}
@media (max-width: 460px) {
  .room3 { grid-template-columns: 1fr; }
  .room3__drop { margin-top: 0; }
}

/* ==========================================================================
   Hours + visit
   ========================================================================== */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 400; }
.hours td, .hours th {
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 0.9375rem;
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child td, .hours tr:last-child th { border-bottom: 0; }
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--aria-text); font-weight: 600; }

.addr { font-style: normal; line-height: 1.7; }
.addr a { text-decoration: none; border-bottom: 1px solid var(--hair); display: inline-block; padding-block: 0.28rem; }
.addr a:hover { border-color: var(--aria); color: var(--aria-text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot { background: var(--nori); color: var(--rice-warm); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.site-foot a { text-decoration: none; }
.foot__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240, 238, 233, 0.16);
}
.foot__badge { width: clamp(96px, 12vw, 132px); color: var(--rice-warm); }
.site-foot { color: var(--rice-warm); }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 2rem;
}
.foot__cols h3 {
  font-family: var(--f-sans);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240, 238, 233, 0.64);
  margin-bottom: 0.9rem;
}
.foot__cols ul { list-style: none; margin: 0; padding: 0; }
.foot__cols li + li { margin-top: 0.55rem; }
.foot__cols a, .foot__cols p { font-size: 0.9375rem; color: rgba(240, 238, 233, 0.86); }
.foot__cols a:hover { color: #fff; }

.foot__end {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(240, 238, 233, 0.64);
}
@media (max-width: 700px) { .foot__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.phead { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.phead h1 { font-size: var(--step-4); letter-spacing: -0.032em; }
.phead .lede { margin-top: 1.5rem; max-width: 46ch; }

/* ==========================================================================
   Motion — one orchestrated moment on load, nothing scattered
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .is-in .rise, .rise.is-in {
    opacity: 1; transform: none;
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  }
  .rise:nth-child(2) { transition-delay: 0.07s; }
  .rise:nth-child(3) { transition-delay: 0.14s; }

  /* .js gate: without JavaScript nothing here is ever revealed, so anything
     that starts hidden must start visible instead. */
  .js .rise { opacity: 0; transform: translateY(14px); }
}

/* The hero does NOT animate in, on purpose. The plate is a cut-out of the very
   same photograph sitting on its own pixels, so any transform on it slides a
   ghost copy off the original and reads as a glitch on load. It is one fixed
   composition; leave it fixed. */

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 900px) {
  .burger { display: inline-flex; margin-left: auto; }
  .head-call { display: none; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--rice);
    border-bottom: 1px solid var(--hair);
    padding: 0.5rem var(--gut) 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    box-shadow: 0 24px 40px -28px rgba(23, 28, 24, 0.4);
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding-block: 0.95rem; border-bottom: 1px solid var(--hair-soft); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

@media (max-width: 760px) {
  .colophon > div { padding-right: 1.25rem; }
  .hero__lead { grid-template-columns: 1fr; align-items: start; }
}

/* The hero re-composes for portrait: marble ground, wordmark, then the plate
   overlapping it from below. Same three elements, arranged for the shape. */
@media (max-width: 700px) {
  .hero__figure {
    background: url("img/marble-field.jpg") center / cover;
    padding: 2.5rem 1.25rem 0;
    isolation: isolate;
  }
  .hero__bg { display: none; }
  .hero__mark {
    position: static;
    width: 100%;
    margin-inline: auto;
  }
  .hero__plate {
    position: relative;
    left: auto; top: auto;
    width: 74%;
    margin: -6% auto 0;
    transform: none;
  }
  .hero__caption {
    position: static;
    text-align: left;
    max-width: none;
    padding: 1.5rem 0 2rem;
    font-size: 1.0625rem;
  }
}

/* ==========================================================================
   Menu page
   ========================================================================== */
.board__group[hidden] { display: none; }
.board__group:target .board__title h3 { color: var(--aria-text); }

.menu-note {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--nori);
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--nori-mute);
}
.menu-note p + p { margin-top: 0.9rem; }
.menu-note strong { color: var(--nori); font-weight: 600; }

.menu-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

/* the key to the two dietary marks, sat under the filter */
.mk-key {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.1rem 0 0;
  font-size: 0.8125rem;
  color: var(--nori-mute);
}
.mk-key span { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ==========================================================================
   About page
   ========================================================================== */
/* the photo stays at roughly its native 376px so it stays sharp; the facts
   column is what fills the rest of the row */
.opener {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
.opener__fig { margin: 0; }
.opener__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.opener__fig figcaption {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  color: var(--nori-mute);
}
.opener__say { max-width: 42ch; padding-top: 0.25rem; }
.opener__say p { font-size: var(--step-1); line-height: 1.55; color: var(--nori-soft); }
.opener__say p + p { margin-top: 1.35rem; }
@media (max-width: 720px) {
  .opener { grid-template-columns: 1fr; }
  .opener__fig { max-width: 400px; }
}

/* four decisions, not four steps — so no numbers */
.steps {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(240, 238, 233, 0.22);
}
.steps__item {
  padding: 1.9rem 2.5rem 1.9rem 0;
  border-bottom: 1px solid rgba(240, 238, 233, 0.15);
}
.steps__item:nth-child(odd) { border-right: 1px solid rgba(240, 238, 233, 0.15); }
.steps__item:nth-child(even) { padding-left: 2.5rem; padding-right: 0; }
.steps__item:nth-last-child(-n+2) { border-bottom: 0; }
.steps__item h3 {
  font-family: var(--f-display);
  font-size: 1.3125rem;
  letter-spacing: -0.018em;
  margin-bottom: 0.7rem;
}
.steps__item p { font-size: 0.9375rem; line-height: 1.6; color: rgba(240, 238, 233, 0.72); }
.steps__note {
  margin-top: 2.5rem;
  max-width: 68ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(240, 238, 233, 0.6);
}
.sect--dark strong { color: var(--rice-warm); font-weight: 600; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps__item, .steps__item:nth-child(even) { padding: 1.6rem 0; border-right: 0; }
  .steps__item:nth-last-child(2) { border-bottom: 1px solid rgba(240, 238, 233, 0.15); }
}

/* two photographs and a tally, held at native size */
.split-fig {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  max-width: 1060px;
}
.split-fig figure { margin: 0; }
.split-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-fig figcaption {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nori-mute);
}
.split-fig__aside { padding-top: 0.35rem; }

.tally { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--nori); }
.tally li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 0.9375rem;
}
.tally li span:last-child { font-family: var(--f-display); font-size: 1.25rem; }

@media (max-width: 820px) {
  .split-fig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-fig__aside { grid-column: 1 / -1; max-width: 26rem; }
}
@media (max-width: 480px) { .split-fig { grid-template-columns: 1fr; } }

.endcap { border-top: 1px solid var(--nori); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.endcap h2 { font-size: var(--step-3); }
.endcap .lede { margin-top: 1rem; max-width: 40ch; }

/* ==========================================================================
   Visit page
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--nori);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.visit-col .meta { display: block; margin-bottom: 1.1rem; }
.visit-note {
  margin-top: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--nori-mute);
  max-width: 34ch;
}
.big-addr {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 1.6vw + 1rem, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.018em;
  font-style: normal;
}
.big-addr a { text-decoration: none; border-bottom: 1px solid var(--hair); }
.big-addr a:hover { border-color: var(--aria); color: var(--aria-text); }

.howto { margin: 0; }
.howto dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nori-mute);
  padding-top: 0.9rem;
  border-top: 1px solid var(--hair-soft);
}
.howto dt:first-of-type { border-top: 0; padding-top: 0; }
.howto dd {
  margin: 0.5rem 0 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--nori-soft);
}

.street {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 1080px;
}
.street figure { margin: 0; }
.street img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.street figcaption {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nori-mute);
}
.street figure:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3rem); }

@media (max-width: 860px) {
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-col:last-child { grid-column: 1 / -1; }
  .howto { max-width: 40rem; }
}
@media (max-width: 620px) {
  .visit-grid { grid-template-columns: 1fr; }
  .street { grid-template-columns: 1fr; }
  .street figure:nth-child(2) { margin-top: 0; }
}

/* two-photograph block (about page) — capped so the phone shots stay sharp */
.room {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: start;
  max-width: 800px;
}
.room figure { margin: 0; }
.room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.room figcaption {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nori-mute);
}
.room__b { margin-top: clamp(2rem, 6vw, 4.5rem); }
@media (max-width: 560px) {
  .room { grid-template-columns: 1fr; }
  .room__b { margin-top: 0; }
}

/* the claim restated as data, closing the dishes row */
.tote {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--nori);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}
.tote__nums { display: flex; flex-wrap: wrap; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); margin: 0; }
.tote__nums dt {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--nori-mute); margin-bottom: 0.45rem;
}
.tote__nums dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   Fifty rolls — the page rolls up into a maki (nori-roll.js)
   Demonstration, 2026-09-11. The client declined this; it is here at Ethan's
   request and is not pushed. The whole feature is this block, the section in
   index.html, the nori-roll.js script tag and one call in main.js.
   ========================================================================== */
.nori-roll { position: relative; --nori-top: 68px; --nori-track: 320vh; background: var(--rice); }
.nori-roll__stage { position: relative; background: var(--rice); }
.nori-roll__page { position: relative; }
.nori-roll__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
  z-index: 2;
}
/* pinned only once the script is live; otherwise (no JS, no WebGL, reduced motion) it is a flat section */
.nori-roll.is-live { height: var(--nori-track); background: var(--nori); }
.nori-roll.is-live .nori-roll__stage {
  position: sticky;
  top: var(--nori-top);
  height: calc(100vh - var(--nori-top));
  overflow: hidden;
}
.nori-roll.is-live .nori-roll__page { position: absolute; inset: 0; }

/* the sheet: the statement top-left, the plates laid across the lower third like fillings */
.roll-page {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  row-gap: 2rem;
  padding-block: clamp(2.5rem, 6vh, 4.5rem);
}
.nori-roll:not(.is-live) .roll-page { padding-block: clamp(4.5rem, 10vw, 9rem); }
.roll-page__say h2 { font-size: var(--step-4); letter-spacing: -0.03em; }
.roll-page__say .lede { margin-top: 1rem; }
.roll-page__act { margin-top: 2rem; }
.roll-page__fill {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  max-width: 960px;
}
.roll-page__fill img { width: 100%; height: clamp(120px, 30vh, 270px); object-fit: cover; }
@media (max-width: 700px) {
  .roll-page__fill { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roll-page__fill li:nth-child(n+4) { display: none; }
  .roll-page__fill img { height: clamp(110px, 24vh, 200px); }
}
