/* Cue marketing site. Tokens come from the Cue Design Kit: black-first,
   one coral signal that means "act now", Quicksand for brand headlines,
   Inter for everything else. Coral is never decoration. */

@font-face {
  font-family: "Quicksand";
  src: url("/assets/fonts/quicksand-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000000;
  --surface: #0A0A0A;
  --raised: #141414;
  --hairline: #1F1D1B;
  --line: #2A2825;          /* card outlines that must be seen on --surface */
  --control: #706C66;       /* input and ghost-button borders (3:1 on black) */
  --ink: #F4F3F0;
  --white: #FFFFFF;
  --muted: #9A9690;
  --coral: #FF6B4A;
  --coral-deep: #8C4A36;
  --on-coral: #140805;

  --font-brand: "Quicksand", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 40px;
  --r-tile: 24px;
  --r-pill: 999px;

  --wrap: 1160px;
  --gutter: 24px;
  --section: 128px;
  --header: 68px;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

h1, h2, .display {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
h1 { font-size: clamp(44px, 7.4vw, 88px); }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--black); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section + .section { padding-top: 0; }
.muted { color: var(--muted); }
.mt-lg { margin-top: 48px; }
.center { display: flex; justify-content: center; }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: var(--muted); max-width: 40em; }
.link { text-underline-offset: 4px; text-decoration-color: var(--control); }
.link:hover { text-decoration-color: var(--ink); }

/* A small label with the coral signal dot. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px; font-size: 15px; font-weight: 500; color: var(--muted);
}
.dot {
  display: inline-block; flex: none; width: 10px; height: 10px;
  border-radius: 50%; background: var(--coral);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .lead { margin-top: 20px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; font: 600 16px/1 var(--font-ui);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--coral); color: var(--on-coral); }
.btn--primary:hover { background: #FF7F62; }
.btn--ghost { border-color: var(--control); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header);
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); }
.site-header__row { display: flex; align-items: center; height: 100%; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__word {
  font: 700 27px/1 var(--font-brand); letter-spacing: -0.03em; color: var(--white);
  transform: translateY(-1px);
}

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a:not(.btn) {
  padding: 10px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .15s ease;
}
.site-nav > a:not(.btn):hover,
.site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav__cta { margin-left: 12px; min-height: 42px; padding: 0 20px; font-size: 15px; }
.site-header__cta, .menu-toggle { display: none; }

.menu-toggle {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle__bars, .menu-toggle__bars::before {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease;
}
.menu-toggle__bars { position: relative; transform: translateY(-4px); }
.menu-toggle__bars::before { content: ""; position: absolute; left: 0; top: 8px; }
[data-open] .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
[data-open] .menu-toggle__bars::before { transform: translateY(-8px) rotate(-90deg); }

@media (max-width: 880px) {
  .site-header__cta, .menu-toggle { display: inline-flex; }
  .site-header__cta { margin-left: auto; }
  .site-header__row { gap: 8px; }
  .site-nav {
    /* Absolute, not fixed: the header's backdrop-filter makes it the containing
       block for fixed children, which would collapse the panel to zero height. */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header));
    margin: 0; padding: 24px var(--gutter) 40px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s;
  }
  [data-open] .site-nav { visibility: visible; opacity: 1; }
  .site-nav > a:not(.btn) {
    padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--hairline);
    font: 700 30px/1.1 var(--font-brand); letter-spacing: -0.02em; color: var(--ink);
  }
  .site-nav__cta { margin: 28px 0 0; min-height: 56px; font-size: 17px; }
}

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

.hero { padding-block: clamp(48px, 8vw, 104px) clamp(72px, 9vw, 128px); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center; gap: 48px;
}
.hero h1 { max-width: 9.5em; }
.hero .lead { margin-top: 28px; max-width: 30em; }
.hero .btn-row { margin-top: 36px; }
.hero__note { margin-top: 22px; font-size: 15px; color: var(--muted); }
.hero__stage { position: relative; display: flex; justify-content: center; --watch-w: 360px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: none; }
}

/* Interior page heads */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 12em; }
.page-head .lead { margin-top: 24px; }
.page-head + .section { padding-top: 16px; }

/* ---------- The watch ---------- */

.watch { position: relative; width: min(100%, var(--watch-w, 330px)); padding-block: 21%; }
.watch::before, .watch::after {           /* strap, fading out */
  content: ""; position: absolute; left: 18%; right: 18%; height: 24%;
  background: #101010; border-inline: 1px solid var(--hairline);
}
.watch::before { top: 0; border-radius: 22px 22px 0 0; -webkit-mask-image: linear-gradient(transparent, #000 85%); mask-image: linear-gradient(transparent, #000 85%); }
.watch::after { bottom: 0; border-radius: 0 0 22px 22px; -webkit-mask-image: linear-gradient(#000 15%, transparent); mask-image: linear-gradient(#000 15%, transparent); }
.watch--sm { --watch-w: 300px; }
.watch__case {
  position: relative; z-index: 1; padding: 3.6%;
  background: linear-gradient(150deg, #1E1D1B, #0C0C0C 60%);
  border: 1px solid var(--line); border-radius: 14.5% / 12%;
  box-shadow: 0 50px 90px -40px #000, inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.watch__case::after {                     /* side button */
  content: ""; position: absolute; right: -2.2%; top: 34%; width: 2.2%; height: 15%;
  background: #1A1918; border: 1px solid var(--line); border-left: 0; border-radius: 0 6px 6px 0;
}
.watch__screen {
  position: relative; aspect-ratio: 410 / 502; overflow: hidden;
  container-type: inline-size;
  background: var(--black); border-radius: 10.73% / 8.76%;
}
.watch__screen--bare { border: 1px solid var(--line); }

/* Screen contents are sized in cqw so they scale with the watch (410px = 100cqw). */
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 6.34cqw 7.32cqw; color: var(--ink); font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}
.scr-head { display: flex; align-items: center; justify-content: space-between; font-size: 4.88cqw; color: var(--muted); line-height: 1.3; }
.scr-kind { display: inline-flex; align-items: center; gap: 1.95cqw; }
.scr .dot { width: 2.44cqw; height: 2.44cqw; }
.is-late { color: var(--coral); }
.scr-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 0; }
.scr-caption { font-size: 4.88cqw; color: var(--muted); line-height: 1.2; }
.scr-number { font-size: 41.95cqw; font-weight: 600; line-height: 0.95; letter-spacing: -1.95cqw; transform: translateX(-0.98cqw); }
.scr-title { margin-top: 1.2cqw; font-size: 8.78cqw; font-weight: 600; line-height: 1.15; letter-spacing: -0.15cqw; }
.scr-detail { margin-top: 1.4cqw; font-size: 4.88cqw; line-height: 1.3; color: var(--muted); }
.scr-detail.is-alert { color: var(--coral); }
.scr-pills { display: flex; gap: 2.9cqw; }
.scr-pill {
  display: flex; align-items: center; justify-content: center;
  height: 16.6cqw; padding: 0 6.4cqw; border-radius: 8.3cqw;
  border: 0.25cqw solid var(--line); font-size: 5.85cqw; font-weight: 500;
}
.scr-pill--done { flex: 1; border-color: var(--coral); background: var(--coral); color: var(--on-coral); font-weight: 600; }

.scr-mark { width: 8.8cqw; height: 8.8cqw; }
.scr-count { display: inline-flex; align-items: center; gap: 2.44cqw; color: var(--ink); font-weight: 500; }
.scr-rows { margin-top: 3.4cqw; display: flex; flex-direction: column; }
.scr-row {
  display: grid; grid-template-columns: 17cqw minmax(0, 1fr) auto; align-items: center; gap: 2.4cqw;
  padding: 3.4cqw 0; border-top: 0.25cqw solid var(--hairline);
}
.scr-row b { font-size: 11.2cqw; font-weight: 600; line-height: 1; letter-spacing: -0.37cqw; }
.scr-row span { display: block; font-size: 5.85cqw; font-weight: 500; line-height: 1.2; letter-spacing: -0.05cqw; }
.scr-row small { display: block; font-size: 4.88cqw; font-weight: 400; line-height: 1.3; color: var(--muted); }
.scr-row em { font-size: 4.88cqw; font-style: normal; color: var(--muted); }
.scr-row em.is-late { color: var(--coral); }

.scr--clear { align-items: center; justify-content: center; text-align: center; }
.scr--clear svg { width: 39cqw; height: 39cqw; }
.scr--clear strong { margin-top: 5cqw; font-size: 8.78cqw; font-weight: 600; letter-spacing: -0.15cqw; }
.scr--clear small { margin-top: 1.5cqw; font-size: 4.88cqw; color: var(--muted); }

/* Hero watch: screens stack and cross-fade; the case buzzes on each new cue. */
/* Before the script runs (or if it never does) the first cue simply shows. */
[data-cycle] .scr:not(:first-child) { opacity: 0; }
[data-cycle].is-cycling .scr { opacity: 0; transition: opacity .35s ease; }
[data-cycle].is-cycling .scr.is-on { opacity: 1; }
.watch.is-buzzing .watch__case { animation: buzz .5s linear; }
@keyframes buzz {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-3px) rotate(-0.5deg); }
  30% { transform: translateX(3px) rotate(0.5deg); }
  45% { transform: translateX(-2px) rotate(-0.3deg); }
  60% { transform: translateX(2px) rotate(0.3deg); }
  80% { transform: translateX(-1px); }
}
/* The logo's two vibration arcs, beside the watch. They light when it buzzes. */
.buzz-arcs { position: absolute; right: calc(50% - 180px - 54px); bottom: 27%; width: 64px; height: 56px; }
.buzz-arcs i { position: absolute; width: 44px; height: 11px; border-radius: 6px; transform: rotate(-34deg); opacity: 0.28; transition: opacity .5s ease; }
.buzz-arcs i:first-child { left: 0; top: 8px; background: var(--coral); }
.buzz-arcs i:last-child { left: 16px; top: 34px; background: var(--coral-deep); }
.is-buzzing ~ .buzz-arcs i { opacity: 1; transition-duration: .08s; }
@media (max-width: 520px) { .buzz-arcs { display: none; } }

/* ---------- Fact strip ---------- */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--hairline); }
.facts > div { padding: 32px 28px; }
.facts > div + div { border-left: 1px solid var(--hairline); }
.facts strong { display: block; font-size: 18px; font-weight: 600; }
.facts span { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 22px 4px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--hairline); }
}

/* ---------- Cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  padding: 36px; background: var(--black);
  border: 1px solid var(--line); border-radius: var(--r-card);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 17px; color: var(--muted); }
.card--raised { background: var(--raised); border-color: transparent; }
@media (max-width: 520px) { .card { padding: 28px; border-radius: 32px; } }

.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 28px; border-radius: 50%;
  border: 1px solid var(--control); font: 600 16px/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
}

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

.cue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.cue-tile figure { margin: 0; }
.cue-tile .watch__screen { max-width: 300px; }
.cue-tile figcaption { margin-top: 20px; max-width: 300px; }
.cue-tile figcaption strong { display: block; font-size: 18px; font-weight: 600; }
.cue-tile figcaption span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .cue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 520px) {
  .cue-tile figcaption strong { font-size: 16px; }
  .cue-tile figcaption span { font-size: 14px; }
}

/* ---------- Roles ---------- */

.role h3 { font: 700 30px/1.1 var(--font-brand); letter-spacing: -0.02em; margin-bottom: 4px; }
.role .muted { font-size: 15px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 17px; }

/* ---------- Split (text beside a picture) ---------- */

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split--flip > :first-child { order: 2; }
.split--top { align-items: start; }
.split h2 + .lead { margin-top: 20px; }
.feature-list { list-style: none; margin: 36px 0 0; padding: 0; }
.feature-list--flush { margin-top: 0; }
.feature-list li { padding: 20px 0; border-top: 1px solid var(--hairline); }
.feature-list strong { display: block; font-size: 18px; font-weight: 600; }
.feature-list span { display: block; margin-top: 4px; font-size: 17px; color: var(--muted); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--flip > :first-child { order: 0; }
}

/* ---------- Floor board (Cue Manager) ---------- */

.board {
  padding: 28px; background: var(--black);
  border: 1px solid var(--line); border-radius: var(--r-card);
  font-size: 14px; font-variant-numeric: tabular-nums;
}
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.board__bar strong { font-size: 17px; font-weight: 600; }
.board__bar span { color: var(--muted); }
.board__attn { margin-bottom: 22px; border-radius: 20px; background: var(--raised); padding: 6px 18px; }
.board__attn p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; font-size: 15px; }
.board__attn p + p { border-top: 1px solid var(--line); }
.board__attn b { display: inline-block; min-width: 2.2em; font-weight: 600; }
.board__label { margin: 18px 0 10px; font-size: 13px; color: var(--muted); }
.board__tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tile {
  aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: 9px 10px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted);
}
.tile b { font-size: 19px; font-weight: 600; line-height: 1; }
.tile small { font-size: 11px; line-height: 1.2; }
.tile--seated { background: var(--raised); border-color: transparent; color: var(--ink); }
.tile--seated small { color: var(--muted); }
.tile--cue { background: var(--raised); border-color: transparent; color: var(--ink); }
.tile--late { background: var(--raised); border-color: var(--coral); color: var(--ink); }
.tile--late small { color: var(--coral); }
@media (max-width: 520px) {
  .board { padding: 18px; border-radius: 28px; }
  .board__tiles { gap: 6px; }
  .tile { padding: 7px; border-radius: 11px; }
  .tile b { font-size: 16px; }
  .tile small { font-size: 9px; }
}

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--black); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 16px 20px; text-align: left; vertical-align: top; }
th { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
tbody tr { border-top: 1px solid var(--hairline); }
td:first-child { font-weight: 600; white-space: nowrap; }
td { color: var(--muted); }
td:first-child { color: var(--ink); }

.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border: 1px solid var(--control); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.tag .dot { width: 7px; height: 7px; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.specs div { padding: 16px 0; border-top: 1px solid var(--hairline); }
.specs dt { font-size: 14px; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-size: 17px; }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

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

.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.faq { border-top: 1px solid var(--hairline); }
.faq:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 19px; font-weight: 600; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 100% 2px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 2px 100% no-repeat;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq > div { padding: 0 40px 28px 0; color: var(--muted); max-width: 46em; }
.narrow { max-width: 820px; }

/* ---------- Call to action band ---------- */

.cta {
  padding: clamp(56px, 8vw, 96px) clamp(28px, 6vw, 80px);
  background: var(--black); border: 1px solid var(--line); border-radius: var(--r-card);
  text-align: center;
}
.cta h2 { max-width: 14em; margin-inline: auto; }
.cta .lead { margin: 20px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- Forms ---------- */

.form-card { padding: 40px; background: var(--black); border: 1px solid var(--line); border-radius: var(--r-card); }
.form-card h2, .h-sm { font-size: clamp(28px, 3.4vw, 38px); }
.h-sm + .feature-list { margin-top: 20px; }
.form-intro { margin: 12px 0 28px; font-size: 17px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field .hint { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--raised); color: var(--ink);
  border: 1px solid var(--control); border-radius: 16px;
  font: 400 17px/1.4 var(--font-ui);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 16px; }
.field input::placeholder, .field textarea::placeholder { color: #7C7872; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 30em; }
.form-status { margin-top: 20px; font-size: 16px; }
.form-status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) {
  .form-card { padding: 26px; border-radius: 32px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Prose (About, legal) ---------- */

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--control); }

.contact-line { font: 700 clamp(26px, 4.6vw, 48px)/1.15 var(--font-brand); letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.contact-line:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

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

.site-footer { margin-top: var(--section); padding-block: 72px 40px; border-top: 1px solid var(--hairline); font-size: 15px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.site-footer__tagline { margin: 16px 0 12px; font: 500 17px/1.2 var(--font-brand); color: var(--muted); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h2 { font: 500 13px/1.4 var(--font-ui); letter-spacing: 0; color: var(--muted); margin-bottom: 4px; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover, .site-footer__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__fine { margin-top: 16px; font-size: 13px; color: #7C7872; max-width: 60em; }
@media (max-width: 760px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Small screens and motion ---------- */

@media (max-width: 760px) {
  :root { --section: 80px; --gutter: 20px; }
  body { font-size: 17px; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 400px) { :root { --gutter: 16px; } }

/* Hidden only once the site script is running (it sets .reveal-on), so the
   page still shows everything if the script never loads. */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}
