/* thorianitoid.info-7 — Harbor ledger (Type A, EN / Boston) */

:root {
  --ink: #0f1c2e;
  --navy: #1a2f4a;
  --slate: #2c425e;
  --mist: #e8edf4;
  --paper: #f4f6fa;
  --copper: #b87333;
  --copper-soft: #d4a574;
  --text: #142033;
  --muted: #5a6d85;
  --surface: #ffffff;
  --border: #cdd6e3;
  --ok: #1d6b45;
  --shadow: 0 18px 48px rgb(15 28 46 / 12%);
  --shadow-sm: 0 8px 24px rgb(15 28 46 / 8%);
  --radius: 16px;
  --radius-pill: 999px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --wrap: min(1160px, calc(100% - 2 * var(--gutter)));
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dock-h: 4.25rem;
  --section-pad: clamp(4rem, 9vi, 6.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 2px solid var(--copper);
  border-radius: 8px;
}

.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

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

.kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 58ch;
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  color: var(--ink);
}

.section-head--center {
  text-align: center;
}

.section-head--center .lede {
  margin-inline: auto;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Bands + notch separators */
.band {
  position: relative;
  padding-block: var(--section-pad);
  padding-inline: var(--gutter);
}

.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(2.5rem, 5vi, 4rem);
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 50% 100%, 0 35%);
  pointer-events: none;
  z-index: 2;
}

.band--no-notch::after {
  display: none;
}

.band--ink {
  background: linear-gradient(165deg, var(--ink) 0%, var(--navy) 55%, #233956 100%);
  color: var(--mist);
}

.band--ink .kicker {
  color: var(--copper-soft);
}

.band--ink h2,
.band--ink h3,
.band--ink .section-head h2 {
  color: #fff;
}

.band--ink .section-head .lede {
  color: rgb(232 237 244 / 0.88);
}

.band--ink .contact-form-panel .contact-form-panel__title {
  color: var(--ink);
}

.band--ink .contact-shell .contact-form__disclaimer {
  color: var(--slate);
}

.band--paper {
  background: var(--paper);
}

.band--mist {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}

.band--surface {
  background: var(--surface);
}

.band__rule {
  height: 3px;
  width: min(7rem, 40vw);
  margin: 0 auto clamp(2rem, 5vi, 3rem);
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

/* Dock header */
.dock-header {
  position: fixed;
  top: var(--gutter);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  transition: top 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.dock-header__shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--dock-h);
  padding: 0.4rem 0.55rem 0.4rem 0.85rem;
  background: rgb(255 255 255 / 0.82);
  border: 1px solid rgb(255 255 255 / 0.65);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.dock-header.is-scrolled .dock-header__shell {
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}

.brand--light {
  color: #fff;
}

.dock-header__nav {
  display: none;
  margin-inline: auto;
}

.dock-header__nav ul {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
}

.dock-header__nav a {
  text-decoration: none;
  color: var(--slate);
}

.dock-header__nav a:hover {
  color: var(--copper);
}

.dock-header__cta {
  margin-left: auto;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .dock-header__nav {
    display: block;
  }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle__bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  box-shadow:
    0 -5px 0 var(--ink),
    0 5px 0 var(--ink);
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .dock-header__shell .menu-toggle {
    display: none;
  }
}

@media (max-width: 899px) {
  .dock-header__nav {
    display: none;
  }

  .dock-header__cta.btn {
    display: none;
  }
}

/* Drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgb(15 28 46 / 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 110;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20rem, 92vw);
  height: 100%;
  z-index: 120;
  padding: 1.25rem;
  background: var(--surface);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: -12px 0 40px rgb(0 0 0 / 12%);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__close {
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-weight: 500;
}

.drawer__nav a {
  text-decoration: none;
  color: var(--text);
}

.drawer__note {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--solid {
  background: linear-gradient(135deg, var(--navy), var(--ink));
  color: #fff;
  box-shadow: 0 10px 24px rgb(15 28 46 / 22%);
}

.btn--solid:hover {
  color: #fff;
  box-shadow: 0 14px 32px rgb(15 28 46 / 28%);
}

.btn--copper {
  background: linear-gradient(135deg, var(--copper), #9a5c28);
  color: #fff;
}

.btn--ghost {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
}

.band--paper .btn--ghost,
.band--mist .btn--ghost,
.band--surface .btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.btn--wide {
  width: 100%;
}

@media (min-width: 480px) {
  .btn--wide {
    width: auto;
  }
}

/* Hero */
.hero-harbor {
  position: relative;
  min-height: max(92vh, 36rem);
  padding: calc(var(--dock-h) + 3.5rem) var(--gutter) clamp(5rem, 12vi, 8rem);
  overflow: hidden;
  color: #fff;
}

.hero-harbor__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-harbor__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-harbor__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgb(15 28 46 / 0.92) 0%, rgb(26 47 74 / 0.78) 42%, rgb(15 28 46 / 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgb(184 115 51 / 0.35), transparent 55%);
  z-index: 1;
}

.hero-harbor__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vi, 3rem);
  align-items: end;
}

@media (min-width: 960px) {
  .hero-harbor__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero-harbor h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-harbor__copy .lede {
  color: rgb(232 237 244 / 0.92);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* (Form colors live in .contact-shell — not band--ink globals) */

.hero-harbor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  padding: 0.75rem 0.85rem;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.hero-metrics strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 0.2rem;
}

.hero-metrics span {
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: calc(var(--radius) + 4px);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgb(0 0 0 / 18%);
}

.hero-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.hero-panel ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: rgb(255 255 255 / 0.9);
}

.hero-panel li + li {
  margin-top: 0.35rem;
}

.hero-panel__note {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.9;
}

/* Proof */
.proof-dock {
  margin-top: clamp(-3rem, -6vi, -4.5rem);
  position: relative;
  z-index: 5;
  padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
}

.proof-dock__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .proof-dock__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-tile {
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.proof-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.proof-tile__num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.proof-tile strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.proof-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Split */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--reverse .split__media {
    order: 2;
  }
}

.split__media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--surface);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Bento solutions */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(140px, auto);
  }

  .bento-card--a {
    grid-column: span 7;
  }

  .bento-card--b {
    grid-column: span 5;
  }

  .bento-card--c {
    grid-column: span 4;
  }

  .bento-card--d {
    grid-column: span 8;
  }
}

.bento-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.bento-card:hover {
  border-color: var(--copper-soft);
  box-shadow: var(--shadow);
}

.bento-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--ink);
}

.bento-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  flex: 1;
}

.bento-card .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 1.65rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--copper), var(--navy), var(--copper));
    opacity: 0.35;
  }
}

.timeline__step {
  position: relative;
  padding: 1.25rem 1rem 1.1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.timeline__index {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--copper-soft);
  font-weight: 700;
  font-size: 0.85rem;
}

.timeline__step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.timeline__step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Quotes */
.quote-deck {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .quote-deck {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .quote-card:nth-child(2) {
    transform: translateY(1.5rem);
  }
}

.quote-card {
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--copper);
  box-shadow: var(--shadow-sm);
}

.quote-card blockquote {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text);
}

.quote-card figcaption {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Team */
.team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mist);
}

.team-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.team-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 46rem;
  margin-inline: auto;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 2px;
  background: var(--copper);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__panel-inner {
  overflow: hidden;
}

.faq-item__panel p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  font-size: 0.93rem;
  color: var(--muted);
}

/* Contact */
.contact-shell {
  display: grid;
  gap: 0;
  padding: 0;
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

@media (min-width: 900px) {
  .contact-shell {
    grid-template-columns: minmax(16rem, 0.42fr) 1fr;
    align-items: stretch;
  }
}

.contact-aside {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: linear-gradient(165deg, var(--ink) 0%, var(--navy) 55%, #243a5c 100%);
  color: var(--mist);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

@media (min-width: 900px) {
  .contact-aside {
    border-bottom: 0;
    border-right: 1px solid rgb(255 255 255 / 0.1);
  }
}

.contact-aside__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: #fff;
}

.contact-aside__lede {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(232 237 244 / 0.82);
}

.contact-aside dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-aside dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper-soft);
  font-weight: 700;
}

.contact-aside dd {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.45;
}

.contact-aside a {
  color: #fff;
  text-decoration-thickness: 1px;
}

.contact-aside a:hover {
  color: var(--copper-soft);
}

.contact-aside__note {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgb(232 237 244 / 0.78);
}

.contact-aside__note a {
  color: var(--copper-soft);
  font-weight: 600;
}

.contact-form-panel {
  padding: clamp(1.35rem, 4vw, 2rem);
  background: var(--surface);
}

.contact-form-panel__title {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--ink);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-shell .field label {
  color: var(--ink);
}

.contact-shell .field label .label-hint {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82em;
}

.contact-shell .field input,
.contact-shell .field textarea {
  background: var(--paper);
  color: var(--text);
}

.contact-shell .field--check {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--text);
  line-height: 1.45;
}

.contact-shell .field--check label {
  color: var(--text);
  font-size: 0.88rem;
}

.contact-shell .field--check a {
  color: var(--navy);
  font-weight: 600;
}

.contact-form__disclaimer {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--slate);
  padding: 0.75rem 0.85rem;
  background: rgb(26 47 74 / 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--copper);
}

.contact-shell .form-sent-notice {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--paper);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgb(184 115 51 / 0.45);
  border-color: var(--copper);
}

.field--check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
}

.field--check input {
  width: auto;
  margin-top: 0.2rem;
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-sent-notice {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #e6f4ec;
  border: 1px solid #b9dfc8;
  color: var(--ok);
  font-weight: 500;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgb(232 237 244 / 0.85);
  padding: clamp(2.5rem, 6vi, 3.5rem) var(--gutter) 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-heading {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper-soft);
}

.footer-links {
  margin: 0;
  font-size: 0.9rem;
}

.footer-blurb {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  max-width: 28ch;
}

.site-footer__meta {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.82rem;
}

.site-footer a {
  color: #fff;
}

.about-disclaimer {
  margin-top: 1rem;
}

.disclaimer-strip {
  margin-top: 0;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgb(26 47 74 / 0.06);
  border-radius: 10px;
  border-left: 3px solid var(--copper);
}

/* Cookie + to-top */
.cookie-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem var(--gutter);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 -8px 32px rgb(0 0 0 / 8%);
}

.cookie-bar.is-visible {
  transform: translateY(0);
}

.cookie-bar__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.cookie-bar__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-bar .btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.25s;
  box-shadow: var(--shadow-sm);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-bar.is-visible ~ .to-top {
  bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

body.has-cookie-bar {
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

/* Legal subpages */
.page-legal .dock-header {
  position: sticky;
  top: 0.75rem;
  left: auto;
  transform: none;
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin: 0.75rem auto 0;
}

.section--legal {
  padding: 1.5rem var(--gutter) clamp(3rem, 6vi, 4.5rem);
}

.legal-shell {
  max-width: 48rem;
  margin-inline: auto;
}

.legal-shell > h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
}

.legal-shell .section-head__lede {
  color: var(--muted);
  max-width: none;
  margin-bottom: 1rem;
}

.legal-meta {
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  line-height: 1.55;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-nav a {
  text-decoration: none;
  color: var(--navy);
}

.legal-nav a[aria-current="page"] {
  color: var(--copper);
}

.legal-prose h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.legal-prose h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--navy);
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.legal-prose th,
.legal-prose td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-prose th {
  background: var(--paper);
  color: var(--text);
}

.legal-prose code {
  font-size: 0.88em;
  background: var(--paper);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-updated {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Thank you / 404 status */
.page-status .dock-header {
  position: sticky;
  top: 0.75rem;
  left: auto;
  transform: none;
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin: 0.75rem auto 0;
}

.status-page {
  padding: 1.25rem var(--gutter) clamp(3rem, 6vi, 4.5rem);
}

.status-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-shell__grid {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .status-shell__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.status-shell__copy {
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.status-shell__code {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--copper);
  margin: 0.35rem 0 0.5rem;
}

.status-shell--error .status-shell__code {
  color: var(--navy);
  opacity: 0.85;
}

.status-shell__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

.status-shell__lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.status-shell__note {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.75rem 0.85rem;
  background: var(--paper);
  border-radius: var(--radius);
  border-left: 3px solid var(--copper);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.status-steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.status-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.9rem;
  color: var(--muted);
}

.status-steps__num {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  background: var(--navy);
  color: var(--copper-soft);
}

.status-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn--line {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
}

.btn--line:hover {
  border-color: var(--copper);
  color: var(--ink);
}

.status-shell__visual {
  margin: 0;
}

.status-shell__visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

@media (max-width: 899px) {
  .status-shell__visual img {
    max-height: 280px;
  }
}