/* Next Door Breakfast & Brunch — Crouch End
   Minimal & modern: cream paper, hairline rules, generous whitespace.
   Jost (for Futura Pt) carries almost everything; Playfair Display appears
   only where a sentence needs to slow the reader down.

   Green anchors every page top and bottom — the header, the inner-page banner,
   the story band and the footer — so the light middle never glares.

   Brand palette: #1e2120 ink · #223a31 forest · #c59a54 gold · #faf7f1 cream */

@import url('/fonts/fonts.css');

:root {
  --ink:       #1e2120;
  --ink-2:     #55564f;
  --muted:     #8a8a82;
  --forest:    #223a31;
  --forest-2:  #1b2e27;
  --gold:      #c59a54;
  --gold-soft: #dcbb84;
  --cream:     #faf7f1;
  --cream-2:   #f2eee4;
  --paper:     #ffffff;

  --hair:      rgba(30, 33, 32, 0.13);
  --hair-dark: rgba(250, 247, 241, 0.18);

  --serif: 'Playfair Display', 'Iowan Old Style', Palatino, Georgia, serif;
  --sans:  'Jost', 'Futura PT', Futura, 'Century Gothic', ui-sans-serif, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* `clip` rather than `hidden`: hidden turns the element into a scroll
   container, which silently stops `position: sticky` working for the header
   and the menu category bar. */
html { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-2);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
a:hover { color: var(--gold); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 300; color: var(--ink); margin: 0; line-height: 1.15; }

/* The brand's voice: wide-tracked uppercase, straight off the
   "BREAKFAST & BRUNCH" lockup. Used for every label on the site. */
.label {
  font-size: 0.63rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin: 0;
}
.label-gold { color: var(--gold); }
.label-light { color: rgba(250, 247, 241, 0.6); }

.display {
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}
.display-sm { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* Playfair is rationed to single sentences that carry the room's tone. */
.quiet {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.6;
  color: var(--ink);
}

.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 56ch; }

/* Hairlines carry the structure instead of borders, cards and shadows. */
.hair { border: 0; border-top: 1px solid var(--hair); margin: 0; width: 100%; }
.hair-short { width: 56px; border-top: 1px solid var(--ink); margin: 0; }
.hair-short.center { margin-left: auto; margin-right: auto; }
.hair-light { border-top-color: var(--hair-dark); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 16px 34px 15px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); }

.btn-solid { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.btn-solid:hover { background: transparent; color: var(--forest); border-color: var(--forest); }

.btn-light { border-color: rgba(250, 247, 241, 0.5); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

/* A text link that behaves like a button: label + rule that extends on hover. */
.link-more {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--ink);
}
.link-more::after {
  content: ''; display: block; width: 34px; height: 1px;
  background: var(--ink); transition: width 0.35s ease, background 0.35s ease;
}
.link-more:hover { color: var(--gold); }
.link-more:hover::after { width: 54px; background: var(--gold); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--forest);
  border-bottom: 1px solid rgba(250, 247, 241, 0.1);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 44px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  font-size: 0.64rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: rgba(250, 247, 241, 0.82); padding: 6px 0;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--cream); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold); transition: right 0.35s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px 0;
  color: var(--cream); cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--cream); margin: 5px 0; }

/* ---------- Sections ---------- */

section { padding: clamp(72px, 11vw, 148px) 0; }
.section-tight { padding: clamp(52px, 7vw, 92px) 0; }
.section-paper { background: var(--paper); }

/* ---------- Hero ---------- */

/* The statement and nothing else. Practical details live in the facts strip
   below, the footer and the contact page, not in a box at the top. The logo
   stays in the header, where a working restaurant site keeps it. */
.hero {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(84px, 11vw, 156px) 0 clamp(92px, 11vw, 160px);
  text-align: center;
}
.hero-copy { max-width: 800px; margin: 0 auto; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
}
.hero-lede {
  margin: 32px auto 0;
  font-size: 1.06rem;
  color: rgba(250, 247, 241, 0.78);
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; justify-content: center; }

.link-more-light { color: var(--cream); }
.link-more-light::after { background: var(--cream); }

/* ---------- Facts strip ---------- */

.facts {
  padding: 0;
  border-bottom: 1px solid var(--hair);
  background: var(--cream);
}
.facts-strip {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 56px);
  padding: 30px 0;
}
.facts-strip span {
  display: flex; align-items: center; gap: clamp(22px, 4vw, 56px);
  font-size: 0.63rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--muted);
}
.facts-strip span:not(:last-child)::after {
  content: ''; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%;
}

/* ---------- Story split ---------- */

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
/* The numbered list follows directly, so this section closes early. */
.story-section { padding-bottom: clamp(46px, 6vw, 78px); }
.story-split .quiet { font-size: clamp(1.5rem, 3vw, 2.15rem); max-width: 15ch; }
.story-split .hair-short { border-top-color: var(--gold); margin-bottom: 30px; }
.story-body p { margin: 0 0 26px; font-size: 1.05rem; }

/* ---------- Numbered list ---------- */

.list-index { border-top: 1px solid var(--hair); }
.li-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.25fr;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(32px, 4vw, 50px) 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.li-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); line-height: 1; }
.li-title {
  font-size: 1rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink);
}
.li-body { margin: 0; font-size: 0.99rem; }

/* ---------- Closing call to action ---------- */

.cta-band { background: var(--forest); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 26px 0 0; }
.cta-band address {
  font-family: var(--serif); font-style: normal;
  font-size: 1.12rem; color: rgba(250, 247, 241, 0.82);
  margin: 26px 0 40px; line-height: 1.6;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Full-bleed image band (appears only once a photo exists) ---------- */

.plate-band { padding: 0; }
.plate-band img { width: 100%; height: clamp(320px, 52vw, 620px); object-fit: cover; }

/* Slideshow band: stacked photos crossfade every 7s with a slow drift out of a
   gentle zoom. Pure CSS — each image carries its index in --i, the section a
   slides-<count> class that picks the matching keyframes. Negative delays mean
   the first photo is already faded in on page load. */
.plate-band.slides { position: relative; overflow: hidden; height: clamp(320px, 52vw, 620px); }
.plate-band.slides img { position: absolute; inset: 0; height: 100%; opacity: 0; }
.plate-band.slides img:first-child { opacity: 1; }
.slides-2 img { animation: slidefade-2 14s infinite; animation-delay: calc(var(--i) * 7s - 1.75s); }
.slides-3 img { animation: slidefade-3 21s infinite; animation-delay: calc(var(--i) * 7s - 1.75s); }
.slides-4 img { animation: slidefade-4 28s infinite; animation-delay: calc(var(--i) * 7s - 1.75s); }
.slides-5 img { animation: slidefade-5 35s infinite; animation-delay: calc(var(--i) * 7s - 1.75s); }
.slides-6 img { animation: slidefade-6 42s infinite; animation-delay: calc(var(--i) * 7s - 1.75s); }
@keyframes slidefade-2 {
  0% { opacity: 0; transform: scale(1.06); }
  12.5% { opacity: 1; }
  50% { opacity: 1; }
  62.5% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
@keyframes slidefade-3 {
  0% { opacity: 0; transform: scale(1.06); }
  8.33% { opacity: 1; }
  33.33% { opacity: 1; }
  41.66% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
@keyframes slidefade-4 {
  0% { opacity: 0; transform: scale(1.06); }
  6.25% { opacity: 1; }
  25% { opacity: 1; }
  31.25% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
@keyframes slidefade-5 {
  0% { opacity: 0; transform: scale(1.06); }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
@keyframes slidefade-6 {
  0% { opacity: 0; transform: scale(1.06); }
  4.17% { opacity: 1; }
  16.67% { opacity: 1; }
  20.83% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .plate-band.slides img { animation: none; }
}

/* ---------- Index grid: 01 / 02 / 03 ---------- */

.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.index-item {
  padding: 56px 40px 60px 0;
  border-top: 1px solid var(--hair);
  position: relative;
}
.index-item + .index-item { padding-left: 40px; }
.index-item + .index-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--hair);
}
.index-num {
  font-size: 0.63rem; font-weight: 500;
  letter-spacing: 0.3em; color: var(--gold);
  margin: 0 0 26px;
}
.index-item h3 {
  font-size: 1.05rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.2em;
  margin: 0 0 16px;
}
.index-item p { margin: 0; font-size: 0.97rem; color: var(--ink-2); }

/* ---------- Statement band ---------- */

.statement {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}
.statement .quiet { color: var(--cream); max-width: 22ch; margin: 30px auto 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.statement p.body { color: rgba(250, 247, 241, 0.78); max-width: 60ch; margin: 34px auto 0; font-size: 1.02rem; }
.statement-actions { margin-top: 46px; }

/* ---------- Hours ---------- */

.hours-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--hair);
  font-size: 1rem;
}
.hours-list li:last-child { border-bottom: 1px solid var(--hair); }
.hours-day {
  flex-shrink: 0; min-width: 128px;
  font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--ink);
}
/* Dotted leader between the day and its hours. */
.hours-fill { flex: 1; border-bottom: 1px dotted var(--hair); transform: translateY(-4px); }
.hours-time { flex-shrink: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- Page banner (inner pages) — green, centred ---------- */

.page-head {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: clamp(72px, 10vw, 130px) 0 clamp(76px, 10vw, 132px);
}
.page-head .label { color: var(--gold-soft); margin-bottom: 28px; }
.page-head h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300; letter-spacing: -0.015em;
}
.page-head p {
  margin: 28px auto 0;
  max-width: 56ch;
  font-size: 1.03rem;
  color: rgba(250, 247, 241, 0.8);
}
.page-head .hair-short { border-top-color: var(--gold); margin: 36px auto 0; }

/* ---------- Menu ---------- */

/* Height of the site header, so the category bar can park under it and the
   section anchors can clear both. */
:root { --header-h: 88px; --catnav-h: 60px; }

/* Sticky, horizontally scrollable category bar */
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(250, 247, 241, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.cat-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* No scroll snapping: it centred a chip on load and left the bar sitting
     mid-list instead of at the beginning. */
  /* Fade the edges so it reads as scrollable without a scrollbar. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.cat-list {
  display: flex; align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 11px max(var(--gutter), calc(50% - (var(--wrap) / 2) + var(--gutter)));
  width: max-content;
  min-width: 100%;
}
.cat-group {
  flex-shrink: 0;
  margin: 0 14px 0 6px;
  font-size: 0.58rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--gold);
  white-space: nowrap;
}
.cat-list li:first-child .cat-group, .cat-list > li.cat-group:first-child { margin-left: 0; }

.cat-chip {
  display: block;
  white-space: nowrap;
  padding: 9px 16px;
  font-size: 0.74rem; font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cat-chip:hover { color: var(--ink); border-color: var(--hair); }
.cat-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; color: var(--ink); }
.cat-chip.is-active {
  color: var(--cream);
  background: var(--forest);
  border-color: var(--forest);
}

/* ---------- Menu groups and cards ---------- */

.menu-group { padding: clamp(52px, 6vw, 88px) 0 clamp(8px, 2vw, 24px); }
.menu-group:last-of-type { padding-bottom: clamp(30px, 4vw, 54px); }
.menu-group-head { margin-bottom: clamp(32px, 4vw, 48px); }
.menu-group-head .hair-short { border-top-color: var(--gold); margin-bottom: 20px; }

/* Two balanced columns on desktop. CSS columns balance their own heights, and
   break-inside keeps a card whole. */
.menu-cards { columns: 2; column-gap: clamp(28px, 3vw, 44px); }
.menu-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block; /* Safari needs this to honour break-inside here */
  vertical-align: top;   /* ...and this stops the baseline gap it introduces */
  width: 100%;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 34px) clamp(24px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--hair);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  /* Clear the sticky header and the category bar when jumped to. */
  scroll-margin-top: calc(var(--header-h) + var(--catnav-h) + 20px);
}
.menu-card:hover {
  border-color: rgba(197, 154, 84, 0.5);
  box-shadow: 0 18px 44px rgba(30, 33, 32, 0.07);
  transform: translateY(-2px);
}
.menu-card:target { border-color: var(--gold); }

.menu-card-head { padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.menu-card-title {
  font-size: 0.92rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--ink);
  margin: 0;
}
.menu-card-note {
  margin: 10px 0 0;
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gold);
}

.menu-list { list-style: none; margin: 20px 0 0; padding: 0; }
.menu-item + .menu-item { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair-soft, rgba(30,33,32,0.06)); }
.mi-head { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.mi-name { flex-shrink: 1; color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.4; }
.mi-fill { flex: 1; border-bottom: 1px dotted var(--hair); transform: translateY(-4px); min-width: 14px; }
.mi-price { flex-shrink: 0; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 0.98rem; }
.mi-desc { margin: 5px 0 0; font-size: 0.89rem; color: var(--muted); line-height: 1.6; }

.menu-download { padding: clamp(34px, 4vw, 60px) 0 clamp(64px, 8vw, 110px); }
.menu-download-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-top: clamp(28px, 4vw, 40px);
}
.menu-download-row p { margin: 0; color: var(--muted); }

.menu-frame { border: 1px solid var(--hair); background: var(--paper); }
.menu-frame iframe { width: 100%; height: 82vh; border: 0; display: block; }
.menu-actions { margin-top: 40px; text-align: center; }
.empty-state { padding: clamp(70px, 10vw, 130px) 0; text-align: center; }
.empty-state h3 { font-size: 1.4rem; font-weight: 300; margin: 30px 0 16px; }
.empty-state p { margin: 0 auto; max-width: 46ch; }

/* ---------- Gallery ---------- */

.grid-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.shot { position: relative; margin: 0; overflow: hidden; cursor: pointer; background: var(--cream-2); aspect-ratio: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; }
.shot:hover img { transform: scale(1.04); opacity: 0.86; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  font-size: 0.63rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(30, 33, 32, 0.75));
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.shot:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(27, 46, 39, 0.97);
  display: none; align-items: center; justify-content: center;
  padding: 72px 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1080px, 92vw); max-height: 78vh; width: auto; height: auto; }
.lb-cap {
  position: absolute; bottom: 34px; left: 0; right: 0; text-align: center;
  font-size: 0.63rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em; color: rgba(250, 247, 241, 0.7);
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--cream);
  width: 52px; height: 52px; cursor: pointer;
  font-size: 1.6rem; line-height: 1; opacity: 0.55;
  transition: opacity 0.25s ease;
}
.lb-btn:hover { opacity: 1; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close {
  position: absolute; top: 26px; right: 30px;
  background: none; border: 0; color: var(--cream);
  font-size: 1.7rem; line-height: 1; cursor: pointer; opacity: 0.55;
}
.lb-close:hover { opacity: 1; }

/* ---------- Contact ---------- */

/* A deeper banner so the panel below can lift up into it. */
.page-head--deep { padding-bottom: clamp(150px, 15vw, 210px); }

.contact-section { padding-top: 0; }

/* The panel rides up over the green band — the one piece of depth on the
   site, and the reason the page reads as a front desk rather than a form. */
.contact-panel {
  position: relative;
  z-index: 2;
  margin-top: -96px;
  background: var(--paper);
  border-top: 2px solid var(--gold);
  padding: clamp(52px, 6.5vw, 86px) clamp(32px, 5.5vw, 80px) clamp(46px, 5vw, 70px);
  box-shadow: 0 34px 90px rgba(27, 46, 39, 0.13);
}
/* An inset hairline, the way a good printed card is framed rather than edged. */
.contact-panel::before {
  content: '';
  position: absolute; inset: 16px;
  border: 1px solid rgba(197, 154, 84, 0.28);
  pointer-events: none;
}

/* Roman numerals mark the two halves — a quiet bit of formality. */
.numeral {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(44px, 7vw, 96px); align-items: start; }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { padding: 26px 0; border-top: 1px solid var(--hair); }
.detail-list li:first-child { border-top: 0; padding-top: 0; }
.detail-list li:last-child { border-bottom: 1px solid var(--hair); }
.detail-list .label { margin-bottom: 14px; color: var(--gold); }
/* Details set in Playfair — the serif is what makes an address feel considered. */
.detail-list .val {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1.6;
}
.detail-list .val a { border-bottom: 1px solid var(--hair); }
.detail-list .val a:hover { border-bottom-color: var(--gold); }
.detail-list .val span { display: block; }

.detail-note { margin-top: clamp(38px, 5vw, 56px); }
.detail-note .hair-short { border-top-color: var(--gold); margin-bottom: 26px; }
.detail-note .quiet { font-size: 1.3rem; color: var(--ink); max-width: 19ch; }

/* The hours table again, on the light contact panel. */
.val-hours .hours-table li { font-size: 0.95rem; padding: 4px 0; }
.val-hours .hd-day { font-family: var(--sans); color: var(--ink-2); }
.val-hours .hd-fill { border-bottom-color: var(--hair); }
.val-hours .hd-time { font-family: var(--sans); color: var(--ink); }
.val-hours .hd-time.is-closed { font-family: var(--serif); color: var(--muted); }

/* Quiet reassurances, set small and wide under the form. */
.assurances {
  list-style: none;
  margin: clamp(36px, 5vw, 52px) 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 14px 46px;
}
.assurances li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 0.63rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--muted);
}
.assurances li::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* Map with a floating address card, hotel-style. */
.map-wrap { position: relative; }
.map-card {
  position: absolute; z-index: 3;
  top: 50%; transform: translateY(-50%);
  left: max(var(--gutter), calc(50% - (var(--wrap) / 2) + var(--gutter)));
  width: 340px; max-width: calc(100% - (var(--gutter) * 2));
  background: var(--forest);
  color: var(--cream);
  border-top: 2px solid var(--gold);
  padding: 40px 38px 42px;
  box-shadow: 0 30px 70px rgba(27, 46, 39, 0.34);
}
.map-card::before {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(197, 154, 84, 0.3);
  pointer-events: none;
}
.map-card .label { color: var(--gold-soft); margin-bottom: 18px; }
.map-card > * { position: relative; z-index: 1; }
.map-card .addr {
  font-family: var(--serif); font-size: 1.16rem; color: var(--cream);
  line-height: 1.55; font-style: normal; margin: 0 0 28px;
}
.map-card .addr span { display: block; }

/* Underline-only fields — no boxes anywhere on this site. */
.field { margin-bottom: 34px; }
.field label {
  display: block; margin-bottom: 12px;
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em; color: var(--muted);
}
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 8px 0 12px;
  border: 0; border-bottom: 1px solid var(--hair);
  background: transparent;
  font-family: var(--sans); font-size: 1.02rem; color: var(--ink);
  transition: border-color 0.3s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.notice {
  padding: 18px 22px; margin-bottom: 34px;
  font-size: 0.9rem;
  border-left: 2px solid var(--gold);
  background: rgba(34, 58, 49, 0.06); color: var(--ink);
}
.notice.error { border-left-color: #a33; background: rgba(163, 51, 51, 0.06); }

.map-band { padding: 0; }
.map-band iframe {
  width: 100%; height: clamp(340px, 45vw, 520px); border: 0; display: block;
  filter: grayscale(1) contrast(0.9) brightness(1.04);
  transition: filter 0.6s ease;
}
.map-band:hover iframe { filter: grayscale(0) contrast(1) brightness(1); }

/* ---------- Social ---------- */

.social { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.social-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--hair);
  color: var(--ink);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.social-icon svg { width: 19px; height: 19px; }
.social-icon:hover { border-color: var(--gold); color: var(--gold); }

.social-light .social-icon { border-color: rgba(250, 247, 241, 0.28); color: rgba(250, 247, 241, 0.88); }
.social-light .social-icon:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest);
  color: rgba(250, 247, 241, 0.8);
  padding: clamp(72px, 9vw, 128px) 0 36px;
}
.site-footer h4 {
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--gold-soft); margin: 0 0 22px;
}
/* Scoped to the columns on purpose. A blanket `.site-footer p` / `.site-footer a`
   rule outranks .statement-display and .btn-cream on specificity and silently
   shrinks the closing headline and hides the button label. */
.footer-cols p { margin: 0 0 8px; font-size: 0.95rem; color: rgba(250, 247, 241, 0.8); }
.footer-cols a { color: rgba(250, 247, 241, 0.8); }
.footer-cols a:hover { color: var(--gold); }

/* The closing statement: a headline that breaks across lines the way it would
   in print, with the middle phrase set in italic. */
.footer-statement {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.statement-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.16;
  color: var(--cream);
  margin: 26px 0 0;
  max-width: 14ch;
}
.statement-display em { font-style: italic; }
.footer-statement-side { border-left: 1px solid var(--hair-dark); padding-left: clamp(28px, 4vw, 56px); }
.footer-small {
  margin: 26px 0 0;
  font-size: 0.88rem;
  color: rgba(250, 247, 241, 0.58);
  max-width: 34ch;
  line-height: 1.7;
}
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(48px, 6vw, 78px) 0 0;
}
.footer-addr {
  font-family: var(--serif); font-style: normal;
  font-size: 1.05rem; color: var(--cream); line-height: 1.6;
  margin: 0 0 16px;
}
.footer-addr span { display: block; }
.footer-maplink {
  font-size: 0.88rem;
  border-bottom: 1px solid var(--hair-dark);
  padding-bottom: 2px;
}
.footer-maplink:hover { border-bottom-color: var(--gold); }

/* Seven-day hours with dotted leaders. */
.hours-table { list-style: none; margin: 0; padding: 0; }
.hours-table li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 5px 0;
  font-size: 0.9rem;
}
.hd-day { flex-shrink: 0; color: rgba(250, 247, 241, 0.72); }
.hd-fill { flex: 1; border-bottom: 1px dotted rgba(250, 247, 241, 0.22); transform: translateY(-3px); }
.hd-time { flex-shrink: 0; color: var(--cream); font-variant-numeric: tabular-nums; }
.hd-time.is-closed { font-family: var(--serif); font-style: italic; color: rgba(250, 247, 241, 0.5); }

.footer-bottom {
  margin-top: clamp(52px, 7vw, 84px); padding-top: 26px;
  border-top: 1px solid var(--hair-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: rgba(250, 247, 241, 0.5);
}
.footer-bottom a { color: rgba(250, 247, 241, 0.5); }
.footer-bottom a:hover { color: var(--gold); }
.footer-links { display: flex; gap: clamp(20px, 3vw, 38px); flex-wrap: wrap; }
.footer-links strong { font-weight: 500; color: rgba(250, 247, 241, 0.78); }
.footer-links a:hover strong { color: var(--gold); }

/* ---------- Legal pages ---------- */

.prose p { margin: 0 0 22px; font-size: 1.02rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  background: var(--forest); color: var(--cream);
}
.notfound h1 { color: var(--cream); }
.notfound .lede { color: rgba(250, 247, 241, 0.78); }

/* ---------- Scroll reveal ---------- */

/* Gated on the `js` class so content is never hidden when the script does not
   run. Without it, a reader landing straight on #kitchen-sides sees nothing. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .lightbox img, .menu-card { transition: none; }
  .menu-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .nav { height: 72px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--forest);
    border-bottom: 1px solid rgba(250, 247, 241, 0.12);
    padding: 12px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px 0; }
  .nav-links a::after { display: none; }

  .hero { padding: 68px 0 76px; }
  .hero-copy { max-width: none; }

  .story-split { grid-template-columns: 1fr; gap: 30px; }
  .story-split .quiet { max-width: none; }

  .li-row { grid-template-columns: 54px 1fr; row-gap: 12px; }
  .li-body { grid-column: 2; }

  .index-grid { grid-template-columns: 1fr; }
  .index-item, .index-item + .index-item { padding: 40px 0 44px; }
  .index-item + .index-item::before { display: none; }
  .index-grid .index-item:last-child { border-bottom: 1px solid var(--hair); }

  .hours-block { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { margin-top: -56px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  /* The floating card would cover the pin on a narrow screen, so it sits
     above the map instead. */
  .map-card {
    position: static; transform: none;
    width: auto; max-width: none;
    left: auto;
  }
  .map-wrap { display: flex; flex-direction: column-reverse; }

  .grid-photos { grid-template-columns: repeat(2, 1fr); }

  /* Tablet and phone: one column, shorter sticky offsets. */
  :root { --header-h: 72px; --catnav-h: 56px; }
  .menu-cards { columns: 1; }
  .cat-list { padding-left: var(--gutter); padding-right: var(--gutter); }

  .footer-statement { grid-template-columns: 1fr; gap: 34px; }
  .footer-statement-side { border-left: 0; padding-left: 0; }
  .statement-display { max-width: none; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .grid-photos { grid-template-columns: 1fr; }
  .hours-day { min-width: 96px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}
