/* Chefs for a Night — the Blue Bridge after dark */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* REPLACEABLE IMAGES */
  /* (none: every picture on this site is an <img> listed in assets/manifest.json) */

  /* three inks on paper */
  --river: #0e1f3d;
  --river-2: #132a50;
  --river-3: #1a3564;
  --steel: #4a86e8;
  --steel-deep: #1d56b4;
  --amber: #ff9f43;
  --amber-hot: #ffb56b;
  --paper: #eef3fa;
  --paper-2: #dfe7f3;

  --on-river: #eaf0fa;
  --on-river-soft: #aebfdd;
  --on-paper: #0e1f3d;
  --on-paper-soft: #3a4f75;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bay: clamp(1rem, 2.4vw, 2rem);
  --wrap: min(100% - 2 * var(--bay), 84rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--steel) var(--river);
}

body {
  margin: 0;
  background: var(--river);
  color: var(--on-river);
  font-family: var(--text);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  caret-color: var(--amber);
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--amber);
  color: var(--river);
}

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--river);
}
::-webkit-scrollbar-thumb {
  background: var(--river-3);
  border: 3px solid var(--river);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--steel);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-color: var(--amber);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--amber);
  color: var(--river);
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.skip:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- actions: one vocabulary ---------- */

.btn {
  --lamp: var(--river);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem 0.8rem;
  border: 2px solid var(--amber);
  background: var(--amber);
  color: var(--river);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}
.btn::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--lamp);
  flex: none;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover {
  background: var(--amber-hot);
  border-color: var(--amber-hot);
}
.btn:hover::before {
  transform: scale(1.35);
}
.btn:active {
  background: #f08a26;
}
.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

.btn--line {
  --lamp: var(--amber);
  background: transparent;
  color: var(--on-river);
  border-color: var(--steel);
}
.btn--line:hover {
  background: var(--river-3);
  border-color: var(--amber);
}
.on-paper .btn--line {
  color: var(--on-paper);
  border-color: var(--steel-deep);
}
.on-paper .btn--line:hover {
  background: var(--paper-2);
}

.tel {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.tel:hover {
  color: var(--amber);
}

/* ---------- the truss ---------- */

.truss {
  display: block;
  width: 100%;
  height: 2.5rem;
  color: var(--steel);
  overflow: visible;
}
.truss--thin {
  height: 1.5rem;
}
.on-paper .truss {
  color: var(--steel-deep);
}

.js .draw .truss {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
.js .draw.in .truss {
  clip-path: inset(0 0 0 0);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--river);
  border-bottom: 2px solid var(--steel);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: block;
  flex: none;
}
.brand img {
  width: clamp(8.5rem, 14vw, 10.5rem);
  height: auto;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-river-soft);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover {
  color: var(--on-river);
  border-color: var(--amber);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-actions .btn {
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem 0.55rem;
  font-size: 1.1rem;
}
.nav-toggle {
  display: none;
}

@media (max-width: 64rem) {
  .header-actions .tel {
    display: none;
  }
}

@media (max-width: 52rem) {
  .site-header .wrap {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-block: 0.6rem;
    min-height: 0;
  }
  .header-actions {
    margin-left: auto;
    gap: 0.6rem;
  }
  .header-actions .btn {
    font-size: 1rem;
    padding-inline: 0.85rem;
    min-height: 2.75rem;
  }
  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
  }
  .nav ul {
    gap: 1.25rem;
  }
  .nav a {
    font-size: 1.05rem;
    white-space: nowrap;
  }
  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 2px solid var(--steel);
    background: transparent;
    color: var(--on-river);
    cursor: pointer;
  }
  .js .nav-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .js .nav {
    display: none;
  }
  .js .nav.open {
    display: block;
    padding-bottom: 0.75rem;
  }
  .js .nav.open ul {
    flex-direction: column;
    gap: 0;
  }
  .js .nav.open a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--river-3);
  }
}

/* ---------- hero: the span ---------- */

.hero {
  padding-top: clamp(2rem, 4.5vw, 3.75rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.hero h1 {
  font-size: clamp(3.1rem, 6.6vw, 6rem);
  line-height: 0.9;
}
.hero h1 .amber {
  color: var(--amber);
}
.hero-pitch p {
  color: var(--on-river-soft);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  max-width: 34ch;
}
.hero-pitch strong {
  color: var(--on-river);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.hero-actions .tel {
  color: var(--on-river);
}

.span {
  position: relative;
}
.bays {
  display: grid;
  grid-template-columns: 1.776fr 0.75fr 1.5fr;
  gap: 0;
  border-left: 2px solid var(--steel);
  border-right: 2px solid var(--steel);
}
.bays figure {
  margin: 0;
  position: relative;
  border-right: 2px solid var(--steel);
}
.bays figure:last-child {
  border-right: 0;
}
.bays img {
  width: 100%;
  height: auto;
}
.deck {
  position: relative;
  height: 2.25rem;
  border-top: 2px solid var(--steel);
}
.lamps {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 0.5rem;
  list-style: none;
  transform: translateY(-50%);
}
.lamps li {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--river);
}
.js .lamps li {
  animation: lamp-on 0.5s var(--ease-out) both;
  animation-delay: calc(0.35s + var(--i) * 70ms);
}
@keyframes lamp-on {
  from {
    background: var(--river-3);
    transform: scale(0.6);
  }
  to {
    background: var(--amber);
    transform: scale(1);
  }
}
.deck-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--on-river-soft);
  padding-top: 0.6rem;
}

@media (max-width: 52rem) {
  .hero-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 13.5vw, 4.5rem);
  }
  .bays {
    grid-template-columns: 0.75fr 1.5fr;
  }
  .bays figure:first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 2px solid var(--steel);
  }
  .lamps li:nth-child(n + 13) {
    display: none;
  }
  .deck-note span:last-child {
    display: none;
  }
}

/* ---------- section scaffolding ---------- */

.section {
  padding-block: var(--section);
}
.section--river-2 {
  background: var(--river-2);
}
.on-paper {
  background: var(--paper);
  color: var(--on-paper);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head h2,
.h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
}
.section-head p {
  margin: 0;
  max-width: 46ch;
  color: var(--on-river-soft);
}
.on-paper .section-head p {
  color: var(--on-paper-soft);
}
.section-head + .truss {
  margin-bottom: 0;
}
@media (max-width: 52rem) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- three ways to hire ---------- */

.ways {
  display: grid;
  grid-template-columns: 1.69fr 1fr;
  border: 2px solid var(--steel);
  border-top: 0;
}
.way {
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--steel);
}
.way:last-child {
  border-right: 0;
}
.way img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid var(--steel);
}
.way-body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.way h3 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}
.way p {
  color: var(--on-river-soft);
  margin: 0;
  max-width: 40ch;
}
.way--ask {
  grid-column: 1 / -1;
  border-right: 0;
  border-top: 2px solid var(--steel);
  background: var(--river-3);
}
.way--ask .way-body {
  display: grid;
  grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem);
}
.way--ask .way-link {
  margin: 0;
  padding: 0;
}
.way--ask h3 {
  color: var(--amber);
}
.way-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
}
.way-link:hover {
  text-decoration: underline;
}

@media (max-width: 60rem) {
  .way--ask .way-body {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 40rem) {
  .ways {
    grid-template-columns: 1fr;
  }
  .way {
    border-right: 0;
    border-bottom: 2px solid var(--steel);
  }
  .way:last-child {
    border-bottom: 0;
  }
  .way--ask {
    border-top: 0;
    border-bottom: 0;
  }
}

/* ---------- occasions: identical bays ---------- */

.occasions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 2px solid var(--steel-deep);
  margin: 0;
  padding: 0;
  list-style: none;
}
.occasion {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-right: 2px solid var(--steel-deep);
  border-bottom: 2px solid var(--steel-deep);
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.occasion:nth-child(-n + 3) {
  border-top: 2px solid var(--steel-deep);
}
.occasion::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel-deep);
}
.occasion h3 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--river);
}
.occasion p {
  margin: 0;
  color: var(--on-paper-soft);
  max-width: 36ch;
}
.occasions-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.occasions-foot p {
  margin: 0;
  max-width: 52ch;
  color: var(--on-paper-soft);
}
@media (max-width: 60rem) {
  .occasions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .occasion:nth-child(3) {
    border-top: 0;
  }
}
@media (max-width: 36rem) {
  .occasions {
    grid-template-columns: 1fr;
  }
  .occasion {
    min-height: 0;
  }
  .occasion:nth-child(2) {
    border-top: 0;
  }
}

/* ---------- the evening: time-phase bands ---------- */

.evening {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--steel);
}
.phase {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 2fr);
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 2px solid var(--steel);
}
.phase:nth-child(1) {
  background: var(--river-3);
}
.phase:nth-child(2) {
  background: var(--river-2);
}
.phase:nth-child(3) {
  background: color-mix(in srgb, var(--river-2) 50%, var(--river));
}
.phase:nth-child(4) {
  background: var(--river);
}
.phase {
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}
.phase h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.phase-when {
  display: block;
  font-family: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--amber);
  margin-top: 0.5rem;
  line-height: 1.3;
}
.phase p {
  margin: 0;
  color: var(--on-river-soft);
  max-width: 60ch;
  align-self: center;
}
@media (max-width: 40rem) {
  .phase {
    grid-template-columns: 1fr;
  }
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-grid figure {
  margin: 0;
  border: 2px solid var(--steel);
}
.about-copy p {
  color: var(--on-river-soft);
  max-width: 62ch;
}
.about-copy .lead {
  color: var(--on-river);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.5;
}
.mission {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--steel);
}
.mission h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
@media (max-width: 52rem) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- gallery ---------- */

.gallery {
  columns: 3 18rem;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.gallery figure {
  break-inside: avoid;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
  border: 2px solid var(--steel);
  background: var(--river-2);
}
.gallery img {
  width: 100%;
  height: auto;
}
.gallery figcaption {
  padding: 0.6rem 0.85rem 0.7rem;
  font-size: 0.92rem;
  color: var(--on-river-soft);
  border-top: 2px solid var(--steel);
}

/* ---------- clientele ---------- */

.clientele-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.clientele-grid figure {
  margin: 0;
  border: 2px solid var(--steel-deep);
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.clientele-grid figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.92rem;
  color: var(--on-paper-soft);
  border-top: 2px solid var(--steel-deep);
  background: var(--paper);
}
.clients {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--steel-deep);
}
.clients li {
  padding-block: 1.25rem;
  border-bottom: 2px solid var(--steel-deep);
}
.clients h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 0.4rem;
}
.clients p {
  margin: 0;
  color: var(--on-paper-soft);
  max-width: 58ch;
}
.clients .marquee h3 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--steel-deep);
}
@media (max-width: 52rem) {
  .clientele-grid {
    grid-template-columns: 1fr;
  }
  .clientele-grid figure {
    position: static;
  }
}

/* ---------- testimonials ---------- */

.quotes {
  columns: 2 24rem;
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
}
.quote {
  break-inside: avoid;
  margin: 0 0 clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 2px solid var(--steel);
  background: var(--river-2);
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.1rem);
  line-height: 1.65;
  color: var(--on-river);
}
.quote blockquote p {
  margin: 0;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--amber);
}
.quote figcaption::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--steel);
}
.quote--lead blockquote {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.faq {
  border-top: 2px solid var(--steel-deep);
}
.faq details {
  border-bottom: 2px solid var(--steel-deep);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.1;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  border-right: 2px solid var(--steel-deep);
  border-bottom: 2px solid var(--steel-deep);
  transform: rotate(45deg) translate(-25%, -25%);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(225deg);
}
.faq summary:hover {
  color: var(--steel-deep);
}
.faq details p {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: var(--on-paper-soft);
}
@media (max-width: 52rem) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- booking request ---------- */

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.book-aside p {
  color: var(--on-river-soft);
  max-width: 42ch;
}
.direct {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--steel);
}
.direct li {
  padding-block: 1rem;
  border-bottom: 2px solid var(--steel);
}
.direct .label {
  display: block;
  font-size: 0.85rem;
  color: var(--on-river-soft);
  margin-bottom: 0.15rem;
}
.direct a {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.direct a:hover {
  color: var(--amber);
}

.request {
  border: 2px solid var(--steel);
  background: var(--river-2);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field--wide {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.field .opt {
  font-weight: 400;
  color: var(--on-river-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--on-river);
  background: var(--river);
  border: 2px solid var(--river-3);
  border-bottom-color: var(--steel);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  min-height: 3rem;
  width: 100%;
  transition: border-color 0.2s;
  color-scheme: dark;
}
.field textarea {
  min-height: 8rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #93a7cb;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--steel);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 0;
  border-color: var(--amber);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ff8a80;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.request-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.request-foot small {
  color: var(--on-river-soft);
  max-width: 34ch;
  font-size: 0.88rem;
}
.cf-turnstile {
  margin-top: 1.25rem;
  min-height: 65px;
}
.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--steel);
  font-weight: 600;
}
.form-status[hidden] {
  display: none;
}
.form-status.ok {
  border-color: var(--amber);
  color: var(--on-river);
}
.form-status.err {
  border-color: #ff8a80;
}
.form-status a {
  color: var(--amber);
}
@media (max-width: 52rem) {
  .book-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 36rem) {
  .fields {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  background: var(--river);
  border-top: 2px solid var(--steel);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
  font-size: 0.98rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
}
.footer-top h2 {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  color: var(--on-river);
}
.footer-brand p {
  color: var(--on-river-soft);
  max-width: 32ch;
  margin-top: 1rem;
}
.footer-brand img {
  width: 11rem;
}
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--on-river-soft);
}
.footer-list li {
  margin-bottom: 0.45rem;
}
.footer-list a {
  color: var(--on-river);
  text-decoration-color: var(--steel);
}
.footer-list a:hover {
  color: var(--amber);
}
.hours-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.4rem;
}
.footer-cta {
  margin-top: 1.25rem;
}
.fine {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--river-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.85rem;
  color: var(--on-river-soft);
}
.fine p {
  margin: 0;
}
.fine a {
  color: var(--on-river-soft);
}
.fine a:hover {
  color: var(--on-river);
}
@media (max-width: 60rem) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 36rem) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ---------- inner pages ---------- */

.page-head {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.page-head h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1rem;
}
.page-head p {
  color: var(--on-river-soft);
  max-width: 56ch;
  margin: 0;
}
.prose {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.prose .wrap {
  max-width: 46rem;
  margin-inline: auto;
}
.prose h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 2.75rem 0 0.9rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose li {
  color: var(--on-paper-soft);
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose a {
  color: var(--steel-deep);
}

.lost {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.lost h1 {
  font-size: clamp(3.5rem, 10vw, 6rem);
  margin-bottom: 1.25rem;
}
.lost p {
  color: var(--on-river-soft);
  max-width: 48ch;
}
.lost ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 2px solid var(--steel);
}
.lost li a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.lost li a:hover {
  color: var(--amber);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .draw .truss {
    clip-path: none;
  }
}

.truss + .about-grid,
.truss + .book-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* fix batch: occasions photo, about span, timeline lamps */
.head-bay {
  margin: 0;
  border: 2px solid var(--steel-deep);
}
.head-lede {
  margin-top: 1.25rem !important;
}
#occasions .section-head {
  align-items: center;
}
.about-span {
  margin-top: 0;
}
.bay-wide {
  margin: 0;
  border: 2px solid var(--steel);
  border-top: 0;
}
.about-span .deck {
  border-top: 0;
}
.about-span .lamps {
  transform: translateY(-50%);
}
.about-grid .mission {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.about-span + .about-grid {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.phase {
  position: relative;
}
.phase::before {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--river);
}
.js .draw .phase::before {
  background: var(--river-3);
  transition: background-color 0.5s var(--ease-out);
  transition-delay: calc(0.3s + var(--n, 0) * 0.25s);
}
.js .draw.in .phase::before {
  background: var(--amber);
}
.phase:nth-child(2) { --n: 1; }
.phase:nth-child(3) { --n: 2; }
.phase:nth-child(4) { --n: 3; }
.evening {
  border-left: 2px solid var(--steel);
}

.on-paper :focus-visible {
  outline-color: var(--steel-deep);
}

/* deck lamps below the fold wait for their span to arrive */
.js .draw .lamps li {
  animation-play-state: paused;
}
.js .draw.in .lamps li {
  animation-play-state: running;
}
