/* Object Café. Two colours from the sign: navy ink and window paper. */
:root {
  --ink: #161B2E;
  --ink-2: #2A3047;
  --paper: #F4F0E8;
  --paper-2: #EAE4D8;
  --muted: #3D4254;        /* 8.8:1 on paper, 7.9:1 on paper-2 */
  --sand: #9A6E36;         /* large decor only */
  --sand-light: #D9B27A;   /* on ink, 8.6:1 */
  --rail: 64px;
  --gut: clamp(20px, 5vw, 88px);
  --sec: clamp(80px, 11vw, 168px);
  --ease: cubic-bezier(.215, .61, .355, 1);
  --f-mark: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-script: "Cormorant Garamond", Georgia, serif;
  --f-text: "Work Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-text);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sand-light); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
section[id] { scroll-margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border: 1.5px solid currentColor; text-decoration: none;
  font: 600 .8125rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer; background: none;
}
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-line { color: var(--paper); }
.btn-line:hover { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-line-dark { color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header, rail, nav ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 64px;
  display: flex; align-items: center; gap: 8px; padding: 0 12px 0 var(--gut);
  color: var(--paper); transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease);
}
.top.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(22,27,46,.12); }
.top.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.logo-ring { width: 34px; height: 34px; }
.logo-word { font: 600 1.1rem/1 var(--f-mark); letter-spacing: .08em; }
.top-call, .menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 0 8px;
}
.top-call svg { width: 22px; height: 22px; }
.menu-label { font: 600 .75rem/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; }
.menu-lines, .menu-lines::before { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.menu-lines::before { content: ""; position: absolute; top: 7px; }
.menu-lines { transform: translateY(-3.5px); }
.menu-btn[aria-expanded="true"] .menu-lines { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(-7px) rotate(-90deg); }

.rail { display: none; }

.nav {
  position: fixed; inset: 0; z-index: 35; background: var(--ink); color: var(--paper);
  padding: 96px var(--gut) 40px; overflow-y: auto;
}
.nav[hidden] { display: none; }
.nav-inner { display: grid; gap: 48px; max-width: 1400px; }
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; text-decoration: none; padding: 6px 0;
  font: 500 clamp(2rem, 6.4vw, 5.2rem)/1.08 var(--f-mark); letter-spacing: .02em;
  transition: color .25s var(--ease), transform .35s var(--ease);
}
.nav-links a:hover { color: var(--sand-light); transform: translateX(10px); }
.nav-side { color: #E4DFD4; font-size: 1rem; }
.nav-tag { font: italic 500 1.6rem/1.2 var(--f-script); color: var(--sand-light); }
.nav-side a { text-underline-offset: 4px; }
body.nav-open { overflow: hidden; }
body.nav-open .top { background: transparent; color: var(--paper); box-shadow: none; transform: none; }

@media (min-width: 1024px) {
  body { padding-right: var(--rail); }
  .top { right: var(--rail); padding-right: 24px; z-index: 42; }
  .top.is-hidden { transform: none; }
  .top-call { display: none; }
  .rail {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 28px;
    position: fixed; top: 0; right: 0; bottom: 0; width: var(--rail); z-index: 41;
    background: var(--paper); border-left: 1px solid rgba(22,27,46,.16); padding: 96px 0 28px;
  }
  .rail-status, .rail-call {
    writing-mode: vertical-rl; transform: rotate(180deg); margin: 0;
    font: 600 .75rem/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  }
  .rail-call { text-decoration: none; padding: 10px 12px; border: 1.5px solid var(--ink); }
  .rail-call:hover { background: var(--ink); color: var(--paper); }
  .menu-btn { position: fixed; top: 8px; right: 8px; z-index: 42; color: var(--ink); width: 48px; padding: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.nav-open .menu-btn { color: var(--ink); }
  .nav { right: var(--rail); padding-top: 120px; }
  .nav-inner { grid-template-columns: 1.6fr 1fr; align-items: end; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--paper); overflow: hidden; background: var(--ink); isolation: isolate;
}
.hero-photo { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(130% 100% at 0% 100%, rgba(22,27,46,.92) 0%, rgba(22,27,46,.82) 46%, rgba(22,27,46,0) 80%),
    linear-gradient(to bottom, rgba(22,27,46,.45), rgba(22,27,46,0) 22%);
}
.hero-copy { padding: 0 var(--gut) clamp(48px, 9vh, 104px); max-width: 1180px; }
.hero-kicker { font: 600 .8125rem/1.4 var(--f-text); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; text-shadow: 0 1px 10px rgba(22,27,46,.9), 0 0 2px rgba(22,27,46,.9); }
.hero-title {
  font: 600 clamp(2.6rem, 7.2vw, 7.8rem)/1.02 var(--f-mark); letter-spacing: .01em;
  margin-bottom: clamp(28px, 4vh, 44px); text-shadow: 0 2px 24px rgba(22,27,46,.35);
}
.ringed { position: relative; display: inline-block; white-space: nowrap; }
.ringed-svg {
  position: absolute; left: -7%; top: -20%; width: 114%; height: 140%; color: var(--sand-light);
  pointer-events: none; overflow: visible;
}
.ringed-svg circle { stroke-width: 3; vector-effect: non-scaling-stroke; }
.ringed-svg .r1 { stroke-width: 8; }
.js .ringed-svg .r1 { stroke-dasharray: 205 400; stroke-dashoffset: 205; animation: draw 1.6s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-open {
  position: absolute; right: var(--gut); top: 96px; margin: 0; max-width: 16ch; text-align: right;
  font: italic 500 1.35rem/1.2 var(--f-script); color: var(--paper); text-shadow: 0 1px 12px rgba(22,27,46,.7);
}
.hero-open:empty { display: none; }

/* ---------- Chequer (from the awning) ---------- */
.chequer {
  height: 28px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 28px 28px;
}
.chequer-dark { border-top: 1px solid var(--ink); }

/* ---------- 48 on Marsh ---------- */
.marsh {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
  padding: var(--sec) var(--gut); position: relative; overflow: hidden;
}
.marsh-48 {
  grid-column: 1 / 8; grid-row: 1; align-self: start;
  font: 800 clamp(11rem, 34vw, 32rem)/.78 var(--f-text); letter-spacing: -.06em; color: var(--sand);
  user-select: none;
}
.marsh-48 span { display: block; }
.marsh-body { grid-column: 1 / 7; grid-row: 2; padding-top: 28px; max-width: 36rem; }
.marsh-title { font: 600 clamp(2.6rem, 5vw, 4.6rem)/1 var(--f-mark); margin-bottom: 28px; }
.marsh-on { font: italic 500 .8em/1 var(--f-script); text-transform: none; color: var(--sand); }
.marsh-lead { font: italic 500 clamp(1.5rem, 2.2vw, 2rem)/1.25 var(--f-script); }
.marsh-photo { grid-column: 8 / 13; grid-row: 1 / 3; margin: 0; align-self: center; }
.marsh-photo img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: 4px; }
.marsh-photo figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); }

/* ---------- The window (signature) ---------- */
.window { position: relative; background: var(--paper-2); }
.window-stage { position: relative; overflow: hidden; }
.window-panel { position: relative; z-index: 3; padding: var(--sec) var(--gut) 28px; }
.window-title { font: 600 clamp(2.4rem, 4.6vw, 4.4rem)/1 var(--f-mark); margin-bottom: 20px; }
.window-intro { max-width: 32rem; color: var(--muted); }
.window-caption { margin: 28px 0 22px; min-height: 7.5em; }
.window-word { font: italic 600 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--f-script); margin-bottom: 10px; }
.window-line { max-width: 26rem; }
.window-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.window-stops button {
  min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer;
  font: 600 .75rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.window-stops button:hover, .window-stops button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.wall { position: relative; overflow: hidden; color: rgba(22,27,46,.30); padding: 12px 0; user-select: none; }
.wall-row { display: flex; gap: .32em; white-space: nowrap; line-height: 1.05; width: max-content; }
.wall-row span { flex: none; }
.w-a { font: 700 1em var(--f-mark); }
.w-b { font: italic 600 1.08em var(--f-script); }
.w-c { font: 800 .82em var(--f-text); letter-spacing: -.02em; text-transform: uppercase; }
.wall-row .stop { color: var(--ink); }
.wall-row .stop.is-on { color: var(--ink); text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }

.lens { position: relative; z-index: 2; width: min(78vw, 360px); aspect-ratio: 1; margin: 0 auto 64px; }
.lens-photos { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px -18px rgba(22,27,46,.55); }
.lens-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.08); }
.lens-photos img.is-on { opacity: 1; transform: scale(1); }
.lens-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); overflow: visible; }

/* Phone and tablet: the wall drifts as a band behind the ring */
@media (max-width: 1023px) {
  .wall { position: absolute; left: 0; right: 0; bottom: 0; height: calc(min(78vw, 360px) + 64px); font-size: clamp(2.2rem, 9vw, 3.6rem); display: flex; flex-direction: column; justify-content: center; }
  .wall-row { animation: drift 38s linear infinite; }
  .wall-row:nth-child(even) { animation-direction: reverse; }
  .wall-row:nth-child(n+6) { display: none; }
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Desktop: pinned stage, ring travels over the wall */
@media (min-width: 1024px) {
  .window.is-pinned { height: 460vh; }
  .window-stage { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(340px, 31%) 1fr; }
  .window-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px 40px 48px var(--gut); background: var(--paper-2); border-right: 1px solid rgba(22,27,46,.16); }
  .window-caption { min-height: 8.5em; }
  .wall { grid-column: 2; height: 100vh; display: flex; flex-direction: column; justify-content: space-evenly; font-size: clamp(2.6rem, 6.2vh, 4.4rem); padding: 4vh 0; }
  .lens { position: absolute; left: 0; top: 0; margin: 0; width: min(44vh, 30vw); will-change: transform; }
  .window:not(.is-pinned) .lens { position: relative; grid-column: 2; grid-row: 1; margin: auto; }
  .window:not(.is-pinned) .wall { grid-row: 1; }
  .window-panel { padding-top: 88px; }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .window-panel { padding: 80px 32px 20px var(--gut); }
  .window-title { font-size: clamp(2.2rem, 6.4vh, 3.4rem); margin-bottom: 12px; }
  .window-intro { font-size: .95rem; line-height: 1.5; margin: 0; }
  .window-caption { margin: 16px 0 14px; min-height: 6.4em; }
  .window-word { font-size: 2.2rem; margin-bottom: 6px; }
  .window-line { font-size: .95rem; line-height: 1.5; }
  .window-stops { gap: 6px; }
  .window-stops button { padding: 6px 12px; min-height: 40px; }
}

/* ---------- Menu ---------- */
.menu { padding: var(--sec) var(--gut); }
.menu-head { display: grid; gap: 12px; margin-bottom: clamp(48px, 6vw, 88px); }
.menu-title { font: 600 clamp(3.2rem, 9vw, 9rem)/.92 var(--f-mark); }
.menu-sub { font: italic 500 clamp(1.4rem, 2vw, 1.9rem)/1.25 var(--f-script); max-width: 34rem; }
.menu-grid { display: grid; gap: 56px; }
.menu-h { font: 600 1.6rem/1.1 var(--f-mark); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 10px; }
.menu-col .menu-h:not(:first-child) { margin-top: 48px; }
.price { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 9px 0; border-bottom: 1px dotted rgba(22,27,46,.45); text-align: left; font-weight: 400; }
.price thead th { font: 600 .75rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 0; padding-bottom: 4px; }
.price td, .price thead th:not(:first-child) { width: 4.6rem; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dotted rgba(22,27,46,.45); }
.lines span { flex: 1; }
.lines i { display: block; font-style: normal; font-size: .9rem; color: var(--muted); }
.lines b { font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-note { font-size: .9375rem; color: var(--muted); margin-top: 16px; }
.menu-note-top { margin: 0 0 6px; }
@media (min-width: 900px) {
  .menu-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .menu-sub { justify-self: end; text-align: right; }
  .menu-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 7vw, 128px); }
}

.kitchen { margin-top: clamp(80px, 10vw, 140px); }
.kitchen-head { display: grid; gap: 16px; margin-bottom: 36px; }
.kitchen-title { font: italic 600 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--f-script); }
.kitchen-head p { max-width: 38rem; }
.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plates img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; transition: transform .6s var(--ease); }
.plates li { overflow: hidden; }
.plates li:hover img { transform: scale(1.03); }
.plates span { display: block; margin-top: 10px; font: 600 .8125rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 900px) {
  .kitchen-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .plates { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .plates li:nth-child(even) { margin-top: 64px; }
}

/* ---------- Our table ---------- */
.table { position: relative; min-height: 110vh; display: flex; align-items: center; overflow: hidden; padding: var(--sec) var(--gut); isolation: isolate; }
.table-photo { position: absolute; inset: -10% 0; z-index: -1; }
.table-photo img { width: 100%; height: 100%; object-fit: cover; }
.table-card { background: var(--paper); padding: clamp(28px, 4vw, 56px); max-width: 560px; box-shadow: 0 30px 60px -30px rgba(22,27,46,.5); }
.table-title { font: 600 clamp(2.2rem, 4vw, 3.6rem)/1.02 var(--f-mark); margin-bottom: 24px; }
.table-quote { margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(22,27,46,.3); }
.table-quote p { font: italic 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.25 var(--f-script); }
.table-quote footer { font: 600 .75rem/1.4 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Visit ---------- */
.visit { display: grid; gap: 48px; padding: var(--sec) var(--gut); }
.visit-title { font: 600 clamp(2.8rem, 6vw, 5.6rem)/.98 var(--f-mark); margin-bottom: 28px; }
.visit-address { font: italic 500 1.75rem/1.2 var(--f-script); }
.visit-now { font-weight: 600; }
.visit-now:empty { display: none; }
.visit-now::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); margin-right: 10px; }
.visit-now.is-open::before { background: #2F7D4F; }
.hours { border-collapse: collapse; width: 100%; max-width: 30rem; margin: 8px 0 32px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid rgba(22,27,46,.2); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after { content: "  today"; font: italic 500 1.05rem var(--f-script); color: var(--muted); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.visit-rating { color: var(--muted); }
.visit-rating b { font: 600 1.6rem/1 var(--f-mark); color: var(--ink); margin-right: 6px; }
.visit-map { min-height: 380px; border: 1.5px solid var(--ink); }
.visit-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) contrast(1.05); }
@media (min-width: 900px) {
  .visit { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 112px); align-items: stretch; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; padding: var(--sec) var(--gut); background: var(--paper-2); }
.contact-title { font: 600 clamp(2.2rem, 4vw, 3.6rem)/1.04 var(--f-mark); margin-bottom: 22px; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid rgba(22,27,46,.2); }
.contact-list span { width: 7rem; font: 600 .75rem/1.9 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: 1fr; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font: 600 .75rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 0; padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: none; outline-offset: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-help { margin: 0; font-size: .9375rem; color: var(--muted); max-width: 26rem; }
.form-help.is-error { color: #8A2416; font-weight: 600; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 112px); } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #E4DFD4; padding: clamp(64px, 8vw, 120px) var(--gut) 32px; }
.foot a { color: var(--paper); text-underline-offset: 4px; }
.foot a:hover { color: var(--sand-light); }
.foot-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(244,240,232,.2); }
.foot-mark { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); margin: 0; font: 600 clamp(2.4rem, 7vw, 6.4rem)/1 var(--f-mark); letter-spacing: .04em; color: var(--paper); }
.foot-ring { width: 1.05em; height: 1.05em; flex: none; color: var(--paper); }
.foot-tag { font: italic 500 1.6rem/1.2 var(--f-script); color: var(--sand-light); margin: 0; }
.foot-grid { display: grid; gap: 36px; padding: 48px 0; }
.foot-h { font: 600 .75rem/1.4 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--sand-light); margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0; padding-top: 24px; border-top: 1px solid rgba(244,240,232,.2); font-size: .875rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Phone tweaks ---------- */
@media (max-width: 1023px) {
  section[id] { scroll-margin-top: 64px; }
  .marsh { grid-template-columns: 1fr; }
  .marsh-48, .marsh-body, .marsh-photo { grid-column: 1; grid-row: auto; }
  .marsh-48 { font-size: clamp(9rem, 52vw, 22rem); }
  .marsh-photo { margin-top: 48px; }
  .marsh-photo img { aspect-ratio: 4 / 5; }
  .hero-open { display: none; }
}
@media (max-width: 1023px) and (min-width: 640px) {
  .marsh { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .marsh-48 { grid-column: 1 / -1; }
  .marsh-body { grid-column: 1; }
  .marsh-photo { grid-column: 2; grid-row: 2; margin-top: 28px; }
}

/* ---------- Reduced motion: every moving piece has a still state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .ringed-svg .r1 { stroke-dashoffset: 0; }
  [data-depth] { transform: none !important; }
}
