/* ==========================================================================
   Food Dine Harbor — harbor enamelware design system
   Palette: harbor water teal, chalk, buoy yellow, flag red
   Type:    Bricolage Grotesque (display) + Newsreader (reading)
   ========================================================================== */

:root {
  --tide:   #0B3A3C;
  --brine:  #17565A;
  --chalk:  #F1F4EF;
  --paper:  #FAFBF8;
  --shell:  #DCE6DD;
  --signal: #F2B705;
  --flag:   #C2453B;
  --slate:  #16211F;
  --muted:  #5C6E69;

  --rule: color-mix(in srgb, var(--tide) 18%, transparent);
  --line: 2px;

  --display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", sans-serif;
  --read: "Newsreader", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.02rem, 0.98rem + 0.20vw, 1.14rem);
  --step-1:  clamp(1.25rem, 1.16rem + 0.42vw, 1.52rem);
  --step-2:  clamp(1.55rem, 1.36rem + 0.90vw, 2.15rem);
  --step-3:  clamp(1.95rem, 1.55rem + 1.90vw, 3.10rem);
  --step-4:  clamp(2.55rem, 1.65rem + 4.20vw, 5.20rem);

  --gutter: clamp(1.15rem, 4vw, 3.25rem);
  --shelf: clamp(3.5rem, 8vw, 7rem);
  --wrap: 78rem;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 26px;
}

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

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

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

body {
  margin: 0;
  background: var(--chalk);
  color: var(--slate);
  font-family: var(--read);
  font-size: var(--step-0);
  line-height: 1.68;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

/* paper tooth — very faint, keeps flat colour from feeling like plastic */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

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

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 .5em;
  color: var(--tide);
  font-variation-settings: "wdth" 100, "opsz" 24;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.16; }
h4 { font-size: var(--step-0); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--tide); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--flag); }

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

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--signal);
  color: var(--tide);
  padding: .7rem 1.1rem;
  font-family: var(--display);
  z-index: 99;
}
.skip:focus { left: .75rem; top: .75rem; }

/* ---------- section scaffolding: a left rule that runs the page ---------- */

.shelf { padding-block: var(--shelf); }
.shelf + .shelf { padding-top: 0; }

.shelf-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 2.5rem;
  border-bottom: var(--line) solid var(--tide);
}
@media (min-width: 60rem) {
  .shelf-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
  .shelf-head p { margin-bottom: .35rem; }
}
.shelf-head h2 { margin-bottom: 0; }
.shelf-head p { color: var(--muted); font-size: var(--step--1); margin-bottom: 0; }

/* marker: a small painted dot + label, used instead of a caps eyebrow */
.marker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .01em;
  color: var(--brine);
  margin-bottom: .9rem;
}
.marker::before {
  content: "";
  width: .62rem;
  height: .62rem;
  background: var(--signal);
  border: var(--line) solid var(--tide);
  border-radius: 50%;
  flex: none;
}

/* ---------- buttons: screen-printed enamel chips ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step--1);
  text-decoration: none;
  padding: .82rem 1.4rem;
  border: var(--line) solid var(--tide);
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: var(--tide);
  box-shadow: 4px 4px 0 var(--tide);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--tide); color: var(--tide); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--tide); }
.btn.quiet { background: transparent; box-shadow: 4px 4px 0 var(--shell); }
.btn.quiet:hover { background: var(--paper); box-shadow: 2px 2px 0 var(--shell); }
.btn.onwater { background: var(--chalk); border-color: var(--chalk); color: var(--tide); box-shadow: 4px 4px 0 var(--signal); }
.btn.onwater:hover { box-shadow: 2px 2px 0 var(--signal); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; }

/* ---------- masthead ---------- */

.masthead {
  border-bottom: var(--line) solid var(--tide);
  background: var(--chalk);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--tide);
  line-height: 1.05;
}
.brand svg { flex: none; }
.brand span small {
  display: block;
  font-family: var(--read);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--tide);
  padding: .3rem 0;
  border-bottom: var(--line) solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--flag); color: var(--tide); }

.burger {
  display: none;
  background: var(--paper);
  border: var(--line) solid var(--tide);
  border-radius: var(--radius-sm);
  padding: .55rem .7rem;
  cursor: pointer;
  color: var(--tide);
}
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; }

@media (max-width: 54rem) {
  .burger { display: block; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--chalk);
    border-bottom: var(--line) solid var(--tide);
    padding: .5rem var(--gutter) 1.2rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
}

/* ---------- hero: the dockside board ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(2.5rem, 6vw, 4rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; }
}
.hero h1 { max-width: 12ch; }
.hero .lede {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--slate);
  margin-top: 1.4rem;
}
.underline-mark { display: block; width: min(21rem, 70%); margin: -.35rem 0 0; color: var(--signal); }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.4rem;
  border-top: var(--line) solid var(--tide);
}
.stats div {
  padding: .95rem 1.35rem .95rem 0;
  margin-right: 1.35rem;
  border-right: 1px solid var(--rule);
}
.stats div:last-child { border-right: 0; margin-right: 0; }
.stats b {
  display: block;
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--tide);
  line-height: 1;
}
.stats small { font-size: var(--step--1); color: var(--muted); }

/* the board itself */
.board {
  background: var(--tide);
  color: var(--chalk);
  border-radius: var(--radius-lg);
  border: var(--line) solid var(--tide);
  box-shadow: 8px 8px 0 var(--signal);
  overflow: hidden;
}
.board-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px dashed color-mix(in srgb, var(--chalk) 35%, transparent);
}
.board-top h2 {
  color: var(--chalk);
  font-size: var(--step-0);
  margin: 0;
  letter-spacing: -0.01em;
}
.board-top time { font-size: var(--step--1); color: var(--signal); font-variant-numeric: tabular-nums; }
.board ol { list-style: none; margin: 0; padding: .35rem 0 .6rem; }
.board li { border-bottom: 1px solid color-mix(in srgb, var(--chalk) 14%, transparent); }
.board li:last-child { border-bottom: 0; }
.board li a {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: .82rem 1.35rem;
  text-decoration: none;
  color: var(--chalk);
  transition: background .14s ease;
}
.board li a:hover, .board li a:focus-visible { background: var(--brine); color: var(--chalk); }
.board .slot { font-variant-numeric: tabular-nums; color: var(--signal); font-size: var(--step--1); }
.board .dish { font-family: var(--display); font-weight: 600; font-size: .98rem; letter-spacing: -0.01em; }
.board .heat {
  font-size: .72rem;
  font-family: var(--display);
  padding: .2rem .5rem;
  border: 1px solid color-mix(in srgb, var(--chalk) 40%, transparent);
  border-radius: 99px;
  white-space: nowrap;
}

/* one orchestrated load: board rows settle in, once */
.board li { animation: settle .5s cubic-bezier(.2,.8,.3,1) backwards; }
.board li:nth-child(1) { animation-delay: .05s; }
.board li:nth-child(2) { animation-delay: .12s; }
.board li:nth-child(3) { animation-delay: .19s; }
.board li:nth-child(4) { animation-delay: .26s; }
.board li:nth-child(5) { animation-delay: .33s; }
@keyframes settle { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- tide strip ---------- */

.strip {
  background: var(--tide);
  color: var(--chalk);
  border-block: var(--line) solid var(--tide);
  overflow: hidden;
  padding: .85rem 0;
}
.strip-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: drift 38s linear infinite;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.strip-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.strip-track span::after {
  content: "";
  width: .45rem; height: .45rem;
  background: var(--signal);
  border-radius: 50%;
}
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- recipe board rows (schedule-style index) ---------- */

.rows { border-top: var(--line) solid var(--tide); }
.rows a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .2rem .5rem;
  padding: 1.15rem .5rem 1.15rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: background .14s ease, padding-left .14s ease;
}
@media (min-width: 48rem) {
  .rows a {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) 7.5rem 2rem;
    align-items: center;
    gap: 1.5rem;
  }
}
.rows a:hover, .rows a:focus-visible { background: var(--paper); padding-left: .75rem; }
.rows .title { font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--tide); letter-spacing: -0.02em; }
.rows .kind { color: var(--muted); font-size: var(--step--1); }
.rows .time { color: var(--brine); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.rows .go { color: var(--flag); font-family: var(--display); font-weight: 700; justify-self: end; display: none; }
@media (min-width: 48rem) { .rows .go { display: block; } }

/* ---------- plates: recipe + article cards ---------- */

.plates {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}
.plate {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--line) solid var(--tide);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: 5px 5px 0 var(--shell);
}
.plate:hover, .plate:focus-visible { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--signal); color: inherit; }
.plate figure { margin: 0; background: var(--shell); border-bottom: var(--line) solid var(--tide); }
.plate figure svg { width: 100%; display: block; }
.plate-body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.plate h3 { margin: 0; }
.plate p { margin: 0; font-size: var(--step--1); color: var(--muted); }
.plate .meta {
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1rem;
  font-size: .82rem;
  color: var(--brine);
  font-family: var(--display);
  font-weight: 600;
}

/* ---------- restaurants rail ---------- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82vw, 20rem);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.2rem;
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }

.spot {
  background: var(--paper);
  border: var(--line) solid var(--tide);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.spot h3 { margin: 0; font-size: var(--step-1); }
.spot .where { font-size: var(--step--1); color: var(--flag); font-family: var(--display); font-weight: 600; }
.spot p { margin: 0; font-size: var(--step--1); color: var(--muted); }
.spot .price { margin-top: auto; padding-top: .9rem; font-family: var(--display); font-weight: 700; color: var(--tide); }

/* ---------- water block (inverted section) ---------- */

.water {
  background: var(--tide);
  color: var(--chalk);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.75rem);
}
.water h2, .water h3 { color: var(--chalk); }
.water p { color: color-mix(in srgb, var(--chalk) 82%, var(--tide)); }
.water a:not(.btn) { color: var(--signal); }

.signup { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.signup input {
  flex: 1 1 15rem;
  font: inherit;
  font-size: var(--step--1);
  padding: .8rem 1rem;
  border: var(--line) solid var(--chalk);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--chalk);
}
.signup input::placeholder { color: color-mix(in srgb, var(--chalk) 55%, var(--tide)); }
.signup input:focus-visible { outline-color: var(--signal); }

/* ---------- prose pages ---------- */

.page-head {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: var(--line) solid var(--tide);
}
.page-head h1 { max-width: 16ch; margin-bottom: .6rem; }
.page-head p { color: var(--muted); max-width: 58ch; margin: 0; }

.prose { padding-block: clamp(2.25rem, 5vw, 3.5rem) var(--shelf); }
.prose-grid { display: grid; gap: 2.5rem; }
@media (min-width: 62rem) {
  .prose-grid { grid-template-columns: minmax(0, 1fr) 16rem; gap: 4rem; align-items: start; }
}
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose ul, .prose ol { max-width: 68ch; padding-left: 1.15rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--flag); }

.aside {
  background: var(--paper);
  border: var(--line) solid var(--tide);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  position: sticky;
  top: 6rem;
}
.aside h3 { font-size: var(--step-0); margin-bottom: .6rem; }
.aside p, .aside li { font-size: var(--step--1); color: var(--muted); }
.aside ul { margin: 0; padding-left: 1.05rem; }

.updated {
  font-size: var(--step--1);
  color: var(--muted);
  border-left: var(--line) solid var(--signal);
  padding-left: .9rem;
  margin-bottom: 2rem;
}

/* ---------- forms ---------- */

.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: var(--step--1); color: var(--tide); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: var(--step--1);
  padding: .75rem .9rem;
  border: var(--line) solid var(--tide);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--slate);
  width: 100%;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); }

.form-note {
  font-size: var(--step--1);
  color: var(--muted);
  margin-top: 1rem;
}

/* ---------- recipe article ---------- */

.recipe-hero { display: grid; gap: 2rem; padding-block: clamp(2.25rem, 5vw, 3.5rem); }
@media (min-width: 62rem) {
  .recipe-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 3.5rem; }
}
.recipe-hero figure { margin: 0; border: var(--line) solid var(--tide); border-radius: var(--radius-lg); overflow: hidden; background: var(--shell); box-shadow: 8px 8px 0 var(--signal); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  border: var(--line) solid var(--tide);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  margin: 1.8rem 0 0;
}
.facts div { padding: .9rem 1rem; border-right: 1px solid var(--rule); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .78rem; color: var(--muted); margin-bottom: .15rem; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 700; color: var(--tide); font-size: var(--step-0); }

.cook-grid { display: grid; gap: 2.5rem; padding-bottom: var(--shelf); }
@media (min-width: 62rem) { .cook-grid { grid-template-columns: 19rem minmax(0, 1fr); gap: 3.5rem; align-items: start; } }

.ingredients {
  background: var(--paper);
  border: var(--line) solid var(--tide);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.6rem;
}
@media (min-width: 62rem) { .ingredients { position: sticky; top: 6rem; } }
.ingredients h2 { font-size: var(--step-1); margin-bottom: .9rem; }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li {
  padding: .5rem 0 .5rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--step--1);
  position: relative;
}
.ingredients li:last-child { border-bottom: 0; }
.ingredients li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05em;
  width: .5rem; height: .5rem;
  border: var(--line) solid var(--tide);
  background: var(--signal);
  border-radius: 2px;
}

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 1.6rem 3.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0; top: -.15rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--step-2);
  color: var(--signal);
  -webkit-text-stroke: 1.5px var(--tide);
}
.steps h3 { margin-bottom: .35rem; font-size: var(--step-0); }
.steps p { margin-bottom: 0; }

.tipbox {
  background: color-mix(in srgb, var(--signal) 22%, var(--paper));
  border: var(--line) solid var(--tide);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  margin: 2rem 0;
}
.tipbox h3 { font-size: var(--step-0); margin-bottom: .4rem; }
.tipbox p { margin-bottom: 0; font-size: var(--step--1); }

/* ---------- filter chips ---------- */

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.chip {
  font-family: var(--display);
  font-weight: 600;
  font-size: .88rem;
  padding: .5rem 1rem;
  border: var(--line) solid var(--tide);
  border-radius: 99px;
  background: transparent;
  color: var(--tide);
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.chip:hover { background: var(--shell); }
.chip[aria-pressed="true"] { background: var(--tide); color: var(--chalk); }

/* ---------- the guest page (unlisted) ---------- */

.invite { background: var(--tide); color: var(--chalk); }
.invite .masthead { background: var(--tide); border-bottom-color: color-mix(in srgb, var(--chalk) 22%, transparent); }
.invite .brand, .invite .nav a { color: var(--chalk); }
.invite .burger { background: transparent; border-color: var(--chalk); color: var(--chalk); }
.invite h1, .invite h2, .invite h3 { color: var(--chalk); }
.invite p { color: color-mix(in srgb, var(--chalk) 80%, var(--tide)); }
.invite .marker { color: var(--signal); }
.invite .marker::before { border-color: var(--signal); }
.invite a:not(.btn) { color: var(--signal); }
.invite .field label { color: var(--chalk); }
.invite .field input, .invite .field select, .invite .field textarea {
  background: color-mix(in srgb, var(--chalk) 8%, transparent);
  border-color: color-mix(in srgb, var(--chalk) 45%, transparent);
  color: var(--chalk);
}
.invite .field .hint { color: color-mix(in srgb, var(--chalk) 60%, var(--tide)); }
.invite .shelf-head { border-bottom-color: color-mix(in srgb, var(--chalk) 30%, transparent); }

.invite-hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.invite-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.4rem); max-width: 14ch; }
.invite-hero .lede { font-size: var(--step-1); max-width: 48ch; line-height: 1.55; }

.card-invite {
  border: var(--line) solid var(--signal);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--chalk) 6%, transparent);
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  padding: 1rem 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--chalk) 28%, transparent);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list h3 { margin-bottom: .2rem; font-size: var(--step-0); }
.menu-list p { margin: 0; font-size: var(--step--1); }
.menu-list .course { color: var(--signal); font-size: .8rem; font-family: var(--display); font-weight: 600; display: block; margin-bottom: .25rem; }

/* ---------- footer ---------- */

.foot {
  background: var(--tide);
  color: var(--chalk);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.invite .foot { border-top: var(--line) solid color-mix(in srgb, var(--chalk) 22%, transparent); }
.foot-grid { display: grid; gap: 2.25rem; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; } }
.foot h3 { color: var(--chalk); font-size: var(--step-0); margin-bottom: .85rem; }
.foot p { color: color-mix(in srgb, var(--chalk) 72%, var(--tide)); font-size: var(--step--1); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: color-mix(in srgb, var(--chalk) 82%, var(--tide)); text-decoration: none; font-size: var(--step--1); }
.foot a:hover { color: var(--signal); }

.foot-legal {
  margin-top: 3rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--chalk) 20%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: color-mix(in srgb, var(--chalk) 62%, var(--tide));
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 14vw, 11rem);
  line-height: .82;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--chalk) 34%, transparent);
  margin: 2.5rem 0 -0.12em;
  user-select: none;
  white-space: nowrap;
}

/* ---------- utility ---------- */

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.center-narrow { max-width: 42rem; }
.mt-lg { margin-top: 2.5rem; }
.stack > * + * { margin-top: 1.1rem; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: var(--line) solid var(--tide);
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--step--1);
}
