/* Steamwire Labs — v5 site stylesheet
   Ink, steam and one copper accent. Halftone dot fields, big tight type, a lot of air. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --ink: #0b0d10;
  --steam: #f3f1ec;
  --text: #14171c;
  --muted: #5a626d;
  --mist: #8b93a1;
  --copper: #c46a3a;
  --copper-hi: #e89a6b;
  --copper-ink: #8c431c;
  /* Support tones derived from the palette */
  --ink-2: #111419;
  --ink-3: #181c22;
  --paper: #faf9f5;
  --steam-2: #ebe8e1;

  /* Tone variables (dark by default: header, footer, heroes) */
  --fg: var(--steam);
  --fg-2: #c3c7ce;
  --fg-3: var(--mist);
  --line: rgb(243 241 236 / 0.1);
  --line-2: rgb(243 241 236 / 0.2);
  --panel: var(--ink-2);
  --panel-2: var(--ink-3);
  --accent: var(--copper-hi);
  --dot: rgb(243 241 236 / 0.2);
  --dot-hot: rgb(232 154 107 / 0.55);

  /* Type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-label: 0.75rem;                                        /* 12 */
  --fs-small: 0.875rem;                                       /* 14 */
  --fs-body: 1.0625rem;                                       /* 17 */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.3vw, 1.5rem);           /* 20 → 24 */
  --fs-lede: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);     /* 18 → 21 */
  --fs-mega: clamp(1.625rem, 1.1rem + 1.75vw, 2.5rem);        /* 26 → 40 */
  --fs-h2: clamp(2rem, 1.5rem + 1.6vw, 3rem);                 /* 32 → 48 */
  --fs-cta: clamp(2.625rem, 1.4rem + 4vw, 4.5rem);            /* 42 → 72 */
  --fs-h1: clamp(2.75rem, 1.7rem + 3.6vw, 4.75rem);           /* 44 → 76 */
  --fs-display: clamp(3.25rem, 1.6rem + 5.6vw, 6.25rem);      /* 52 → 100 */

  /* Space (4px base) */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;

  /* Layout */
  --page: 76rem;                                     /* 1216 */
  --measure: 38rem;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --section: clamp(4.5rem, 2.25rem + 4.6vw, 6.25rem);  /* per side: ~200px between sections at 1440 */
  --header-h: 4.5rem;
  --r-ctl: 8px;
  --r-card: 16px;
  --r-panel: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dark {
  --fg: var(--steam);
  --fg-2: #c3c7ce;
  --fg-3: var(--mist);
  --line: rgb(243 241 236 / 0.1);
  --line-2: rgb(243 241 236 / 0.2);
  --panel: var(--ink-2);
  --panel-2: var(--ink-3);
  --accent: var(--copper-hi);
  --dot: rgb(243 241 236 / 0.2);
  background: var(--ink);
  color: var(--fg);
}
.light {
  --fg: var(--text);
  --fg-2: #3c424b;
  --fg-3: var(--muted);
  --line: rgb(20 23 28 / 0.11);
  --line-2: rgb(20 23 28 / 0.2);
  --panel: var(--paper);
  --panel-2: var(--steam-2);
  --accent: var(--copper-ink);
  --dot: rgb(20 23 28 / 0.2);
  --dot-hot: rgb(196 106 58 / 0.6);
  background: var(--steam);
  color: var(--fg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s5));
}
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
p, li, dd { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: #e7c2ae; color: var(--text); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .header :focus-visible, .footer :focus-visible { outline-color: var(--copper-hi); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  top: -4rem;
  left: var(--s4);
  z-index: 100;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-ctl);
  background: var(--copper);
  color: var(--ink);
  font-weight: 500;
}
.skip:focus { top: var(--s4); }

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--page), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { position: relative; isolation: isolate; padding-block: var(--section); }
/* Same-tone neighbours: one full-width hairline, the same air on both sides. */
.section.light + .section.light, .section.dark + .section.dark { padding-top: 0; }
.section.light + .section.light > .wrap, .section.dark + .section.dark > .wrap {
  padding-top: var(--section);
  border-top: 1px solid var(--line);
}

.split { display: grid; gap: var(--s6); }
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
  .split-head {
    position: sticky;
    top: calc(var(--header-h) + var(--s6));
    align-self: start;
  }
}
.split-head .lede { margin-top: var(--s5); }
.split-head .label { margin-bottom: var(--s4); }
.statement + .index, .statement + .spec { margin-top: var(--s6); }

/* ---------- Type ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.label::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}
h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.042em; font-weight: 560; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  line-height: 0.9;
  letter-spacing: -0.01em;
  padding-right: 0.04em;
}
.dark h1 em { color: var(--copper-hi); }
.lede {
  max-width: 36rem;
  font-size: var(--fs-lede);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--fg-3);
}
.statement {
  max-width: 38rem;
  font-size: var(--fs-lede);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--fg-2);
}
.statement + .statement { margin-top: var(--s5); }
.note {
  max-width: var(--measure);
  margin-top: var(--s6);
  font-size: var(--fs-small);
  color: var(--fg-3);
}
.note-wide { max-width: 46rem; margin-top: var(--s8); }
.note + .actions { margin-top: var(--s4); }
.aside { margin-top: var(--s7); }

/* ---------- Links and buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0 0.95rem 0 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  font-size: 0.90625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s, color 0.2s;
}
.btn::after, .link::after, .svc-more::after, .door-more::after, .card-more::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::after, .link:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--copper);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 1px 2px rgb(0 0 0 / 0.25), 0 10px 24px -12px rgb(196 106 58 / 0.7);
}
.btn-primary:hover {
  background: var(--copper-hi);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 1px 2px rgb(0 0 0 / 0.25), 0 14px 30px -12px rgb(232 154 107 / 0.75);
}
.btn-ghost {
  border-color: var(--line-2);
  background: rgb(128 128 128 / 0.04);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--fg-3); background: rgb(128 128 128 / 0.08); }
.btn-sm { min-height: 2.25rem; padding: 0 0.8rem 0 0.9rem; font-size: var(--fs-small); }
.btn-sm::after { width: 0.8rem; height: 0.8rem; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.2s;
}
.link:hover { color: var(--accent); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s3);
  margin-top: var(--s7);
}
.actions .link { margin-left: var(--s2); }
.actions .link + .link { margin-left: var(--s4); }

.prose a, .faq-a a, .inline-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--copper);
  transition: color 0.2s;
}
.prose a:hover, .faq-a a:hover, .inline-link:hover { color: var(--accent); }

/* Pill: the "no fee, no files, no logins" promise */
.hero-terms {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  margin-top: var(--s6);
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(17 20 25 / 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--fs-small);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--fg-2);
}
.hero-terms::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-hi);
  box-shadow: 0 0 0 0 rgb(232 154 107 / 0.6);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(232 154 107 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgb(232 154 107 / 0); }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: calc(var(--header-h) * -1);   /* floats over the hero */
  color: var(--steam);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.header.is-scrolled, body.menu-open .header, html:not(.js) .header {
  background: rgb(11 13 16 / 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
body.menu-open .header { background: var(--ink); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  min-height: 2.75rem;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.brand-labs { color: var(--mist); font-weight: 400; }
.mark { flex: none; color: var(--copper); }
.nav {
  display: flex;
  align-items: center;
  gap: var(--s6);
  margin-left: auto;
  font-size: var(--fs-small);
}
.nav a:not(.btn) {
  padding-block: var(--s2);
  color: var(--mist);
  transition: color 0.2s;
}
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--steam); }
.nav-cta { margin-left: var(--s2); }
.menu-btn {
  display: none;
  min-height: 2.5rem;
  padding: 0 var(--s4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctl);
  background: none;
  font-size: var(--fs-small);
  cursor: pointer;
}

/* Services dropdown: a link to the hub plus a disclosure button for the four pages.
   Hidden by default; on desktop it floats (absolute) and never pushes the layout. */
.nav-group { position: relative; display: flex; align-items: center; gap: var(--s1); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.nav-toggle svg { transition: transform 0.25s var(--ease); }
.nav-toggle:hover, .nav-group.is-open .nav-toggle { color: var(--steam); background: rgb(243 241 236 / 0.06); }
.nav-group.is-open .nav-toggle svg { transform: rotate(180deg); }
.nav-sub { display: none; }
.nav-sub-icon { display: none; }
.nav-sub-text small { display: none; }
html:not(.js) .nav-toggle { display: none; }
@media (min-width: 960px) {
  .nav-sub {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    z-index: 60;
    width: 22rem;
    padding: var(--s2);
    margin-top: var(--s4);
    background: rgb(17 20 25 / 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 24px 60px -12px rgb(0 0 0 / 0.65);
  }
  /* Invisible bridge so the pointer can travel from the link to the panel. */
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--s5); }
  .nav-group:not(.is-dismissed):hover .nav-sub,
  .nav-group.is-open .nav-sub,
  html:not(.js) .nav-group:focus-within .nav-sub { display: grid; gap: 2px; animation: pop 0.22s var(--ease); }
  .nav-group:not(.is-dismissed):hover .nav-toggle svg { transform: rotate(180deg); }
  .nav .nav-sub a:not(.btn) {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s2);
    border-radius: 10px;
    color: var(--steam);
    transition: background-color 0.2s;
  }
  .nav-sub-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: radial-gradient(circle, rgb(243 241 236 / 0.16) 0.8px, transparent 1.2px) 0 0 / 5px 5px, var(--ink);
    color: var(--copper-hi);
    transition: border-color 0.2s;
  }
  .nav-sub-icon svg { width: 18px; height: 18px; }
  .nav-sub-text { display: grid; line-height: 1.3; }
  .nav-sub-text small { display: block; margin-top: 2px; font-size: 0.78125rem; color: var(--mist); }
  .nav .nav-sub a:not(.btn):hover { background: rgb(243 241 236 / 0.05); }
  .nav-sub a:hover .nav-sub-icon { border-color: rgb(232 154 107 / 0.5); }
  .nav .nav-sub a[aria-current="page"] { background: rgb(232 154 107 / 0.08); }
  .nav-sub a[aria-current="page"] .nav-sub-icon { border-color: var(--copper); }
  .nav-sub a:focus-visible { outline-offset: -2px; }
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 959px) {
  .nav-group { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0; border-bottom: 1px solid var(--line); }
  .nav .nav-group > .nav-parent { border-bottom: 0; }
  .nav-toggle { width: 2.75rem; height: 2.75rem; color: var(--steam); }
  .nav-toggle svg { width: 14px; height: 14px; }
  .nav-group.is-open .nav-sub { display: block; }
  .nav-sub { grid-column: 1 / -1; padding: 0 0 var(--s4) var(--s5); border-left: 0; }
  .nav .nav-sub a:not(.btn) {
    display: block;
    padding-block: var(--s3);
    border-bottom: 0;
    font-size: 1.125rem;
    color: var(--mist);
  }
  .nav .nav-sub a[aria-current="page"] { color: var(--copper-hi); }
  html:not(.js) .nav-group { display: flex; border: 0; }
  html:not(.js) .nav-sub { display: none; }
}

@media (max-width: 959px) {
  :root { --header-h: 4rem; }
  .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: var(--s2) var(--gutter) var(--s7);
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) {
    padding-block: var(--s4);
    color: var(--steam);
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current] { color: var(--copper-hi); }
  .nav-cta { align-self: flex-start; margin: var(--s6) 0 0; min-height: 2.75rem; font-size: 0.9375rem; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .header { position: relative; margin-bottom: 0; }
  html:not(.js) .nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s4);
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    font-size: var(--fs-small);
  }
  html:not(.js) .nav a:not(.btn) { border: 0; color: var(--mist); }
  html:not(.js) .nav-cta { margin: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-block: var(--s3); }
}
@media (max-width: 479px) {
  .brand { font-size: 0.9375rem; }
}

/* ---------- Halftone hosts ----------
   The CSS dots are the static fallback (no JS, before first paint). halftone.js adds a canvas and .is-live. */
.ht {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px);
  background-size: 10px 10px;
}
.ht.is-live { background: none; -webkit-mask: none; mask: none; }
.ht-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ht-hero, .ht-page, .ht-glow, .ht-junction { z-index: -1; }
.ht-hero {
  -webkit-mask: radial-gradient(ellipse 46% 52% at 50% 44%, transparent 30%, #000 95%);
  mask: radial-gradient(ellipse 46% 52% at 50% 44%, transparent 30%, #000 95%);
}
.ht-page {
  -webkit-mask: radial-gradient(ellipse 55% 75% at 82% 55%, #000 10%, transparent 75%);
  mask: radial-gradient(ellipse 55% 75% at 82% 55%, #000 10%, transparent 75%);
}
.ht-glow {
  top: auto;
  height: 78%;
  background-image: radial-gradient(circle, var(--dot-hot) 1.2px, transparent 1.8px);
  -webkit-mask: radial-gradient(ellipse 50% 85% at 50% 100%, #000 15%, transparent 72%);
  mask: radial-gradient(ellipse 50% 85% at 50% 100%, #000 15%, transparent 72%);
}
.ht-wave {
  position: relative;
  inset: auto;
  height: clamp(9rem, 4rem + 17vw, 21rem);
  margin-top: var(--s8);
  background-image: radial-gradient(circle, var(--dot-hot) 1.3px, transparent 1.9px);
  -webkit-mask: linear-gradient(to bottom, transparent 15%, #000 85%);
  mask: linear-gradient(to bottom, transparent 15%, #000 85%);
}
.ht-icon {
  position: relative;
  inset: auto;
  flex: none;
  width: 6rem;
  height: 6rem;
  border-radius: 14px;
  background-size: 6px 6px;
  background-color: rgb(128 128 128 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ht-step {
  position: relative;
  inset: auto;
  height: 8.5rem;
  border-radius: 12px;
  background-size: 7px 7px;
  background-color: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.ht-step.is-live, .ht-icon.is-live { background-color: var(--panel); }
.ht-junction {
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%);
  mask: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%);
}

/* ---------- Heroes ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(42rem, 100svh);
  padding: calc(var(--header-h) + clamp(2.5rem, 6vh, 4.5rem)) 0 clamp(8.5rem, 16vh, 11rem);
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 18%;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero .label { margin-bottom: var(--s6); }
.hero h1 {
  max-width: 10.5em;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero .lede { margin: var(--s6) auto 0; max-width: 35rem; color: var(--fg-2); }
.hero .actions { justify-content: center; margin-top: var(--s7); }
.hero-route { margin-top: var(--s5); font-size: var(--fs-small); color: var(--fg-3); }
.hero-route a { color: var(--fg); }
.hero-node {
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 7vh, 4.25rem);
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--copper-hi);
  box-shadow: 0 0 0 1px rgb(232 154 107 / 0.6), 0 0 0 9px rgb(196 106 58 / 0.08), 0 0 48px 6px rgb(196 106 58 / 0.3);
  transform: translateX(-50%);
}
.hero-node svg { width: 2rem; height: auto; }
@media (max-width: 559px) {
  .hero .actions { flex-direction: column; align-items: stretch; width: min(100%, 20rem); }
  .hero .actions .btn { min-height: 2.75rem; }
  .hero-terms { border-radius: 14px; text-align: left; }
}

.page-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(4rem, 1.5rem + 8vw, 9rem)) 0 clamp(4.5rem, 2rem + 6vw, 8.5rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 25%;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.page-hero .label { margin-bottom: var(--s5); }
.page-hero h1 { max-width: 13.5em; }
.page-hero .lede { margin-top: var(--s6); max-width: 38rem; color: var(--fg-2); }
.page-hero .actions { margin-top: var(--s7); }
.page-hero-tall { display: flex; flex-direction: column; justify-content: center; min-height: max(36rem, 88svh); }
@media (min-width: 900px) {
  .page-hero .wrap > :is(h1, .lede, .label, .actions, .hero-terms) { max-width: min(100%, 44rem); }
  .page-hero .wrap > h1 { max-width: 13em; }
}

/* ---------- Section heads ---------- */
.head-row { display: grid; gap: var(--s5); }
.head-row .lede { margin: 0; }
.head-aside { display: grid; gap: var(--s5); justify-items: start; align-content: end; }
.head-aside .actions { margin-top: 0; }
.head-row .label { margin-bottom: var(--s4); }
@media (min-width: 900px) {
  .head-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: end; }
}
.head-row h2, .section > .wrap > h2 { max-width: 15em; }

/* ---------- Home: services showcase ---------- */
.hero + .svc-band { padding-top: var(--s7); }
.showcase {
  position: relative;
  margin-top: var(--s8);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(120% 80% at 50% -20%, rgb(196 106 58 / 0.09), transparent 60%),
    linear-gradient(180deg, var(--ink-2), #0d1014);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 40px 80px -40px rgb(0 0 0 / 0.8);
}
.svc-grid { display: grid; }
@media (min-width: 680px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  border-top: 1px solid var(--line);
  transition: background-color 0.35s;
}
.svc:first-child { border-top: 0; }
@media (min-width: 680px) {
  .svc { min-height: 23rem; border-top: 0; }
  .svc:nth-child(even) { border-left: 1px solid var(--line); }
  .svc:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1120px) {
  .svc:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
  .svc:first-child { border-left: 0; }
}
.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.5rem, 2.4vw, 2.25rem);
  right: clamp(1.5rem, 2.4vw, 2.25rem);
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--copper-hi));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc:hover { background: rgb(243 241 236 / 0.025); }
.svc:hover::before, .svc:focus-within::before { transform: scaleX(1); }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: var(--s6); }
.svc-n { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.08em; color: var(--mist); }
.svc h3 { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem); line-height: 1.1; letter-spacing: -0.03em; }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-link:focus-visible { outline: none; }
.svc-link:focus-visible::after { outline: 2px solid var(--copper-hi); outline-offset: -2px; border-radius: var(--r-card); }
.svc-for {
  align-self: flex-start;
  margin-top: var(--s4);
  padding: 0.25rem 0.6rem;
  border: 1px solid rgb(232 154 107 / 0.3);
  border-radius: 999px;
  background: rgb(232 154 107 / 0.06);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-hi);
}
.svc-text { margin-top: var(--s4); font-size: 0.9375rem; line-height: 1.6; color: var(--fg-3); }
.svc-more, .door-more, .card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: auto;
  padding-top: var(--s6);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg);
}
.svc:hover .svc-more::after, .door:hover .door-more::after, .card:hover .card-more::after { transform: translateX(3px); }

/* Marquee of our own rule names (decorative; the rules are listed in full further down) */
.marquee {
  display: flex;
  overflow: hidden;
  padding-block: var(--s4);
  border-top: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  flex: none;
  gap: var(--s3);
  padding-right: var(--s3);
  animation: marquee 48s linear infinite;
}
.showcase:hover .marquee-track { animation-play-state: paused; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(243 241 236 / 0.03);
  font-size: 0.8125rem;
  white-space: nowrap;
  color: var(--fg-2);
}
.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper-hi);
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Home: statement ---------- */
.story-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.mega {
  max-width: 25em;
  font-size: var(--fs-mega);
  font-weight: 450;
  line-height: 1.24;
  letter-spacing: -0.028em;
  color: var(--fg-3);
  text-wrap: balance;
}
.mega strong { font-weight: 560; color: var(--fg); }
.wavy {
  padding-bottom: 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4.5c3 0 3-3 6-3s3 3 6 3 3-3 6-3 3 3 6 3' fill='none' stroke='%23c46a3a' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 100% / auto 0.3em;
  color: var(--fg);
  font-weight: 560;
}
.story-cols { display: grid; gap: var(--s5) var(--s8); margin-top: clamp(3rem, 6vw, 5rem); padding-top: var(--s6); border-top: 1px solid var(--line); }
.story-cols .statement + .statement { margin-top: 0; }
.story-cols .actions { margin-top: 0; }
@media (min-width: 900px) { .story-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .story-cols .statement { font-size: 1.0625rem; } }

/* ---------- Doors ---------- */
.doors { display: grid; gap: var(--s5); margin-top: var(--s8); }
@media (min-width: 800px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.door {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 21rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.door::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 70%;
  height: 100%;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.7px);
  background-size: 10px 10px;
  -webkit-mask: radial-gradient(circle at 100% 0%, #000, transparent 65%);
  mask: radial-gradient(circle at 100% 0%, #000, transparent 65%);
  transition: opacity 0.4s;
}
.door::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.75rem, 3vw, 2.75rem);
  width: var(--s6);
  height: 2px;
  background: var(--copper);
  transition: width 0.5s var(--ease);
}
.door:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 30px 60px -40px rgb(11 13 16 / 0.45); }
.door:hover::before, .door:focus-within::before { width: calc(100% - 2 * clamp(1.75rem, 3vw, 2.75rem)); }
.door h3 { margin-top: var(--s5); max-width: 14em; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); line-height: 1.08; letter-spacing: -0.032em; }
.door p:not(.label) { margin-top: var(--s4); max-width: 28rem; color: var(--fg-3); }
.door-link::after { content: ""; position: absolute; inset: 0; }
.door-link:focus-visible { outline: none; }
.door-link:focus-visible::after { outline: 2px solid var(--copper); outline-offset: -2px; border-radius: var(--r-panel); }
.doors + .note { margin-top: var(--s6); }

/* ---------- Cards (services hub) ---------- */
.cards { display: grid; gap: var(--s5); margin-top: var(--s8); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 30px 60px -40px rgb(11 13 16 / 0.45); }
.card .ht-icon { margin-bottom: var(--s6); }
.card .label { margin-bottom: var(--s3); }
.card h3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); letter-spacing: -0.032em; }
.card p:not(.label) { margin-top: var(--s4); max-width: 32rem; color: var(--fg-3); }
.card .link { margin-top: auto; padding-top: var(--s5); }
.card .link::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-panel); }
.card .link:focus-visible { outline: none; }
.card .link:focus-visible::before { outline: 2px solid var(--copper); outline-offset: -2px; }

/* ---------- Switchboard (Who we help) ---------- */
.switchboard { display: grid; }
@media (min-width: 960px) {
  .switchboard { grid-template-columns: minmax(0, 1fr) clamp(10rem, 17vw, 15rem) minmax(0, 1fr); }
}
.track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.75rem, 3vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  box-shadow: 0 40px 80px -60px rgb(11 13 16 / 0.5);
  scroll-margin-top: calc(var(--header-h) + var(--s5));
}
.track .label { margin-bottom: var(--s4); color: var(--copper-ink); }
.track h2 { max-width: 13em; font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.75rem); }
.track-story { margin-top: var(--s5); }
.track-story p { max-width: 34rem; font-size: 1.0625rem; line-height: 1.6; color: var(--fg-2); }
.track-story p + p { margin-top: var(--s3); }
.track-list { width: 100%; margin-top: var(--s6); border-top: 1px solid var(--line); }
.track-list li {
  position: relative;
  padding: var(--s3) 0 var(--s3) var(--s6);
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.track-list li::before {
  content: "";
  position: absolute;
  top: calc(var(--s3) + 0.45em);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 3px rgb(196 106 58 / 0.15);
}
.track .actions { margin-top: auto; padding-top: var(--s6); }

.junction {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}
.junction-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1.5px solid var(--copper);
}
.junction-arm { display: none; }
.ht-junction.is-live ~ .junction-line, .ht-junction.is-live ~ .junction-arm { display: none; }
.junction-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--copper-hi);
  box-shadow: 0 0 0 1px var(--copper), 0 0 0 10px rgb(196 106 58 / 0.12), 0 20px 50px -10px rgb(196 106 58 / 0.6);
}
.junction-node svg { width: 2.6rem; height: auto; }
.junction-label {
  position: relative;
  z-index: 1;
  margin-top: var(--s5);
  padding: var(--s1) var(--s3);
  border: 1px solid rgb(196 106 58 / 0.35);
  border-radius: 999px;
  background: var(--steam);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--copper-ink);
}
@media (min-width: 960px) {
  .junction-arm {
    display: block;
    position: absolute;
    top: 50%;
    width: 50%;
    border-top: 1.5px solid var(--copper);
  }
  .junction-arm-l { right: 50%; }
  .junction-arm-r { left: 50%; }
  .junction-label { position: absolute; top: calc(50% + 3.9rem); margin: 0; }
}

/* ---------- Index, steps, cols, spec, FAQ, fees, quote ---------- */
.index { border-top: 1px solid var(--line); }
.index > li {
  position: relative;
  display: grid;
  gap: var(--s2) var(--s6);
  padding-block: var(--s5);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .index > li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding-block: var(--s6); }
}
.index :is(h2, h3) { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.018em; transition: color 0.2s; }
.index p { color: var(--fg-3); }
.index > li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.index > li:hover::after { transform: scaleX(1); }
.index-numbered { counter-reset: item; }
.index-numbered > li { counter-increment: item; }
.index-numbered :is(h2, h3) { display: flex; align-items: baseline; }
.index-numbered :is(h2, h3)::before {
  content: counter(item, decimal-leading-zero);
  flex: none;
  width: 2.75rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}
@media (max-width: 719px) { .index-numbered p { padding-left: 2.75rem; } }
.index h3 .link { min-height: 0; }

/* Steps: thin top rules (copper on the active one), number + title, one line, halftone tile */
.steps { display: grid; gap: var(--s7) var(--s5); margin-top: var(--s8); }
.steps > li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--s3);
  padding-top: var(--s5);
  border-top: 1px solid var(--line-2);
}
.steps > li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.steps > li:first-child::before, .steps > li:hover::before { transform: scaleX(1); }
.steps:hover > li:first-child:not(:hover)::before { transform: scaleX(0); }
.step-n {
  padding-top: 0.3em;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.steps h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.018em; }
.steps p { grid-column: 1 / -1; margin-top: var(--s2); max-width: 30rem; font-size: 0.9375rem; line-height: 1.6; color: var(--fg-3); }
.steps .ht-step { grid-column: 1 / -1; order: 5; margin-top: var(--s5); }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .steps-row { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); }
  .steps-row.steps-3 { --cols: 3; }
  .steps-row.steps-4 { --cols: 4; }
}
@media (min-width: 900px) {
  .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .ht-step { height: 6.5rem; }
}

/* Cols: hairline-topped cells with mono numbers */
.cols { display: grid; gap: var(--s7) var(--s6); counter-reset: col; }
.cols > * {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--s5);
  border-top: 1px solid var(--line-2);
  counter-increment: col;
}
.cols > *::before {
  content: counter(col, decimal-leading-zero);
  margin-bottom: var(--s4);
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.cols h3 { margin-bottom: var(--s3); }
.cols p { color: var(--fg-3); max-width: 30rem; }
.cols .link { margin-top: auto; padding-top: var(--s4); }
@media (min-width: 720px) { .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cols-wide { margin-top: var(--s8); }
.cols .label { margin-bottom: var(--s2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 4.25rem;
  padding-block: var(--s4);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  flex: none;
  box-sizing: content-box;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--fg-3);
  transition: transform 0.25s var(--ease), color 0.2s, border-color 0.2s;
}
.faq summary:hover svg, .faq[open] summary svg { color: var(--copper); border-color: var(--copper); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq-a { max-width: var(--measure); padding-bottom: var(--s5); color: var(--fg-3); }

/* Spec: definition rows in a rounded panel */
.spec {
  padding: var(--s2) clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--panel);
}
.spec > div {
  display: grid;
  gap: var(--s1) var(--s6);
  padding-block: var(--s4);
  border-bottom: 1px solid var(--line);
}
.spec > div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .spec > div { grid-template-columns: 11rem minmax(0, 1fr); } }
.spec dt {
  padding-top: 0.25rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.spec dd { margin: 0; color: var(--fg-2); }
.spec-after { margin-top: var(--s6); }

/* Fee table */
.fees-wrap {
  padding: var(--s2) clamp(1.25rem, 2.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
}
.fees { width: 100%; border-collapse: collapse; }
.fees th, .fees td {
  padding: var(--s5) var(--s6) var(--s5) 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.fees tbody tr:last-child > * { border-bottom: 0; }
.fees thead th {
  padding-block: var(--s5) var(--s4);
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.fees tbody th { font-weight: 550; letter-spacing: -0.015em; white-space: nowrap; }
.fees td { color: var(--fg-2); }
.fees td:last-child { color: var(--fg-3); padding-right: 0; }
@media (max-width: 719px) {
  .fees thead { display: none; }
  .fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; width: 100%; }
  .fees tr { padding-block: var(--s5); border-bottom: 1px solid var(--line); }
  .fees tbody tr:last-child { border-bottom: 0; }
  .fees th, .fees td { padding: 0; border: 0; white-space: normal; }
  .fees tbody th { margin-bottom: var(--s2); font-size: 1.1875rem; }
  .fees td + td { margin-top: var(--s1); }
  .fees td.na { display: none; }
}

/* Quote */
.quote {
  position: relative;
  max-width: 30em;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.5rem, 3vw, 2.5rem);
  width: var(--s7);
  height: 2px;
  background: var(--copper);
}

/* Closing call to action: centred big headline over a halftone horizon */
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: var(--s6) clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.cta-inner h2 { max-width: 11.5em; font-size: var(--fs-cta); line-height: 1; letter-spacing: -0.04em; font-weight: 560; }
.cta-inner .lede { margin: var(--s6) auto 0; max-width: 36rem; color: var(--fg-2); }
.cta-inner .actions { justify-content: center; margin-top: var(--s7); }
.section:has(> .ht-glow) { overflow: hidden; }

/* Prose (legal) */
.prose { max-width: var(--measure); }
.prose h2 { margin: var(--s7) 0 var(--s3); font-size: 1.5rem; letter-spacing: -0.022em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--fg-2); }
.prose p + p { margin-top: var(--s3); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: var(--s8); }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}
.contact-email { margin-top: var(--s6); font-size: var(--fs-lede); }
.inquiry {
  display: grid;
  gap: var(--s5);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: rgb(17 20 25 / 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
  color-scheme: dark;
}
.field-row { display: grid; gap: var(--s5); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s2); align-content: start; }
.field label { font-size: var(--fs-small); color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--s2) var(--s4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctl);
  background: rgb(243 241 236 / 0.03);
  color: var(--steam);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, background-color 0.2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(243 241 236 / 0.34); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--copper-hi);
  outline-offset: 1px;
  border-color: transparent;
  background: rgb(243 241 236 / 0.05);
}
.field [aria-invalid="true"] { border-color: var(--copper-hi); }
.field select {
  appearance: none;
  padding-right: var(--s7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238b93a1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
}
.field select option { background: var(--ink); color: var(--steam); }
.field textarea { min-height: 8rem; resize: vertical; }
.field-err { font-size: var(--fs-small); color: var(--copper-hi); }
.inquiry .btn { justify-self: start; margin-top: var(--s2); }
.form-note { font-size: var(--fs-small); color: var(--fg-3); max-width: 34rem; }
.next {
  max-width: 26rem;
  margin-top: var(--s7);
  border-top: 1px solid var(--line);
  counter-reset: next;
  font-size: var(--fs-small);
  color: var(--fg-3);
}
.next li {
  display: flex;
  gap: var(--s4);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
  counter-increment: next;
}
.next li::before {
  content: counter(next, decimal-leading-zero);
  flex: none;
  padding-top: 0.15rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--copper-hi);
}
.form-status {
  padding: var(--s4);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--copper-hi);
  border-radius: var(--r-ctl);
  color: var(--steam);
  font-size: var(--fs-small);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--mist);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.footer .brand { color: var(--steam); font-size: 1.125rem; }
.footer .brand .mark { width: 40px; height: auto; }
.footer-top { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 960px) { .footer-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr); } }
.footer-brand { display: grid; gap: var(--s4); justify-items: start; }
.footer-tag { max-width: 18rem; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
@media (min-width: 720px) { .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-h {
  margin-bottom: var(--s3);
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steam);
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--steam); }
.footer-legal {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.6;
}
@media (min-width: 960px) {
  .footer-legal { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s8); }
}
.footer-legal p:first-child { max-width: 44rem; }
.footer-legal a:hover { color: var(--steam); }

/* ---------- Reveal on scroll (site.js adds .rv only below the fold, never under reduced motion) ---------- */
.rv { opacity: 0; transform: translateY(18px); }
.rv-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- Motion and modes ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
@media (forced-colors: active) {
  .ht { display: none; }
  .btn { border-color: ButtonText; }
  .btn::after, .link::after, .svc-more::after, .door-more::after, .card-more::after { background: CanvasText; }
  .label::before, .chip::before, .hero-terms::before { background: CanvasText; }
  .nav-sub { border-color: CanvasText; }
  .nav .nav-sub a[aria-current="page"] { outline: 1px solid Highlight; }
  .hero-terms, .chip, .svc-for { border-color: CanvasText; }
  .svc, .door, .card, .track, .spec, .quote, .fees-wrap, .showcase, .inquiry { border: 1px solid CanvasText; }
  .svc::before, .door::before, .steps > li::before, .index > li::after, .quote::before { background: Highlight; }
  .svc-link:focus-visible::after, .door-link:focus-visible::after, .card .link:focus-visible::before { outline-color: Highlight; }
  .hero-node, .junction-node { border: 1px solid CanvasText; }
  .junction-line, .junction-arm { border-color: CanvasText; }
  .track-list li::before { border: 1px solid CanvasText; }
  .wavy { text-decoration: underline wavy; background: none; }
}
