/* ==========================================================================
   Neurodisruptors V2 . Phase 1 skeleton
   Plain CSS, no build step. Fonts are self-hosted (no third-party requests).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-latin-ext-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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";
  src: url("../fonts/instrument-serif-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --ink: #0f1115;
  --ink-2: #3a3d44;
  --ink-3: #5c5f66;
  --rule: #d9d5cb;
  --accent: #d2452a;        /* signal vermilion, used sparingly */
  --accent-ink: #a5321b;    /* AA on paper for text */
  --focus: #1f5eff;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 72px;
  --section-y: clamp(5rem, 11vw, 9rem);
  --radius-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Typography ---------- */
.eyebrow {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-3); margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.display {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7.2vw, 6rem);
  line-height: .98; letter-spacing: -0.02em;
}
.display em, .h2 em { font-style: italic; color: var(--accent-ink); }
.nowrap { white-space: nowrap; }
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.015em;
}
.h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40rem; }
.muted { color: var(--ink-3); }
.lead--spaced { margin-top: 1.5rem; }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.35rem; border-radius: var(--radius-pill);
  font: 500 .9375rem/1 var(--font-sans); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.text-link {
  font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--accent-ink); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__name { font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
.primary-nav a {
  position: relative; text-decoration: none; font-size: .9375rem; font-weight: 450; color: var(--ink-2);
  padding: .5rem 0; transition: color .2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current]::after { transform: scaleX(1); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 50%;
}
.nav-toggle__bars { position: relative; width: 22px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { top: 5.25px; transform: rotate(-45deg); }

@media (min-width: 960px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: none; }
.drawer[hidden] { display: none; }
.drawer__nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.drawer__nav li { border-bottom: 1px solid var(--rule); }
.drawer__nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem 0; text-decoration: none;
  font-family: var(--font-serif); font-size: 2rem; line-height: 1.1; letter-spacing: -0.01em;
}
.drawer__nav a span { font-family: var(--font-sans); font-size: .75rem; color: var(--ink-3); letter-spacing: .1em; }
.drawer__footer { display: grid; gap: 1rem; padding-top: 2rem; }
.drawer__footer .btn { width: 100%; min-height: 52px; font-size: 1rem; }
@media (min-width: 960px) { .drawer { display: none !important; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--rule); }
.section--flush { border-top: 0; }
.section--ink { background: var(--ink); color: var(--paper); border-top: 0; }
.section--ink .eyebrow, .section--ink .muted { color: #a4a6ab; }
.section--ink .lead { color: #d6d4cf; }
.section--ink .h2 em { color: #f08a6f; }

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 960px) {
  .section-head { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: end; }
  .section-head .lead { margin: 0; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__copy .lead { margin-top: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }
.hero__figure { display: none; margin: 0; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 8fr 4fr; gap: 3.5rem; }
  .hero__figure { display: block; justify-self: end; width: min(100%, 380px); }
}

/* Phase 2 hero */
.display--hero { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.03; text-wrap: balance; }
.display__turn { display: block; margin-top: .2em; font-style: italic; color: var(--accent-ink); }
.hero__lead { margin-top: 2rem; max-width: 37rem; }
.btn--lg { min-height: 52px; padding: .95rem 1.6rem; font-size: 1rem; }
@media (max-width: 559px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* Institutional proof bar */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof__list { list-style: none; margin: 0; padding: 0; display: grid; }
.proof__item {
  display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: baseline;
  padding: 1.25rem 0; font-size: .9375rem; line-height: 1.45; color: var(--ink-2);
}
.proof__item + .proof__item { border-top: 1px solid var(--rule); }
.proof__mark { font-family: var(--font-serif); font-size: 1.05rem; color: var(--accent-ink); }
.proof__detail { color: var(--ink-3); white-space: nowrap; }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(3, 1fr); }
  .proof__item { padding: 1.6rem 2rem; }
  .proof__item:first-child { padding-left: 0; }
  .proof__item:last-child { padding-right: 0; }
  .proof__item + .proof__item { border-top: 0; border-left: 1px solid var(--rule); }
}

/* Dual-track overview */
.tracks { padding-block: clamp(3.5rem, 7vw, 6rem) var(--section-y); }
.tracks__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .tracks__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.track {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(2rem, 4.5vw, 3.5rem); background: var(--paper-2); border-radius: 4px;
}
.track__tag { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); }
.track__title { font-family: var(--font-serif); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; letter-spacing: -0.015em; }
.track__title span { display: block; margin-top: .6rem; font-family: var(--font-sans); font-size: .9375rem; letter-spacing: 0; font-weight: 500; color: var(--accent-ink); }
.track__pitch { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }
.track__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.track__chips li { font-size: .8125rem; padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: var(--radius-pill); color: var(--ink-2); }
.track__note { margin: 0; font-size: .875rem; color: var(--ink-3); }
.track__link {
  margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--ink);
}
.track__link .arrow { transition: transform .2s var(--ease); }
.track__link:hover .arrow { transform: translateX(4px); }
.track__link:hover { color: var(--accent-ink); }
.track--dark { background: var(--ink); color: var(--paper); }
.track--dark .track__tag, .track--dark .track__note { color: #a4a6ab; }
.track--dark .track__title span { color: #f08a6f; }
.track--dark .track__pitch { color: #d6d4cf; }
.track--dark .track__chips li { border-color: #3a3d44; color: #d6d4cf; }
.track--dark .track__link { color: var(--paper); border-top-color: #2c2f36; }
.track--dark .track__link:hover { color: #f08a6f; }
.track--dark .track__link:focus-visible { outline-color: #8fb0ff; }

/* Spiky profile motif */
.spiky { color: var(--ink); }
.spiky .grid { stroke: var(--rule); fill: none; stroke-width: 1; }
.spiky .axis { stroke: var(--rule); stroke-width: 1; }
.spiky .shape { fill: color-mix(in srgb, var(--accent) 10%, transparent); stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.spiky .node { fill: var(--paper); stroke: var(--accent); stroke-width: 1.5; }
.spiky .baseline { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 5; }
.section--ink .spiky .grid, .section--ink .spiky .axis { stroke: #2c2f36; }
.section--ink .spiky .node { fill: var(--ink); }
.section--ink .spiky .baseline { stroke: #7b7e85; }
@media (prefers-reduced-motion: no-preference) {
  .spiky .shape { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s var(--ease) .2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Numbered grid (sparring) */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pillar { padding: 2rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .75rem; }
.pillar__num { font-family: var(--font-serif); font-size: 1.25rem; color: var(--accent-ink); }
.pillar p { margin: 0; color: var(--ink-2); max-width: 34rem; }
@media (min-width: 768px) {
  .pillars { grid-template-columns: 1fr 1fr; column-gap: 4rem; border-top: 0; }
  .pillar { border-top: 1px solid var(--rule); border-bottom: 0; padding: 2.25rem 0 2.5rem; }
}
.section-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.section-foot p { margin: 0; max-width: 36rem; }

/* Formats (workshops) */
.formats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: #2c2f36; border: 1px solid #2c2f36; }
.format { background: var(--ink); padding: 2rem 1.75rem 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.format__type { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #a4a6ab; margin: 0; }
.format__title { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.12; letter-spacing: -0.01em; }
.format p { margin: 0; color: #c9c7c1; }
.format__audience { margin-top: auto !important; padding-top: 1rem; font-size: .875rem; color: #a4a6ab !important; border-top: 1px solid #2c2f36; }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.section--ink .btn--primary { background: var(--paper); color: var(--ink); }
.section--ink .btn--primary:hover { background: #fff; }

/* Framework */
.framework { display: grid; gap: 3rem; align-items: center; }
.framework__figure { width: min(100%, 420px); justify-self: center; }
.framework__legend { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .8125rem; color: var(--ink-3); margin-top: 1rem; justify-content: center; }
.framework__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.framework__legend i { width: 18px; height: 0; border-top: 1.5px solid var(--accent); display: inline-block; }
.framework__legend i.dash { border-top: 1px dashed var(--ink-3); }
.framework__points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.framework__points li { padding-left: 1.5rem; position: relative; color: var(--ink-2); }
.framework__points li::before { content: ""; position: absolute; left: 0; top: .7em; width: .6rem; height: 1px; background: var(--accent); }
@media (min-width: 960px) { .framework { grid-template-columns: 5fr 6fr; gap: 5rem; } }

.book {
  margin-top: clamp(4rem, 8vw, 6rem); padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--paper-2); border-radius: 4px;
  display: grid; gap: 2rem; align-items: center;
}
.book__cover {
  width: 140px; aspect-ratio: 2 / 3; background: var(--ink); color: var(--paper);
  padding: 1rem .9rem; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 18px 40px -18px rgba(15,17,21,.55); border-radius: 2px 4px 4px 2px;
}
.book__cover strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.1rem; line-height: 1.05; }
.book__cover small { font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: #a4a6ab; }
.book__cover .bar { width: 26px; height: 2px; background: var(--accent); }
.book__title { font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.08; margin-bottom: .5rem; }
.book__sub { font-style: italic; font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.book p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .book { grid-template-columns: auto 1fr auto; gap: 3rem; } }

/* About */
.about { display: grid; gap: 3rem; }
.about__body p { color: var(--ink-2); max-width: 38rem; }
.about__aside { display: grid; gap: 2rem; align-content: start; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.facts li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.facts li span:first-child { color: var(--ink-3); font-size: .8125rem; letter-spacing: .04em; padding-top: .1rem; }
.research { padding: 1.75rem; border: 1px solid var(--rule); border-radius: 4px; }
.research h3 { margin-bottom: .75rem; }
.research p { font-size: .9375rem; color: var(--ink-2); }
.research ul { margin: 0; padding-left: 1.1rem; font-size: .9375rem; color: var(--ink-2); display: grid; gap: .4rem; }
@media (min-width: 960px) { .about { grid-template-columns: 6fr 5fr; gap: 6rem; } }

/* Connect */
.connect { display: grid; gap: 3rem; }
@media (min-width: 960px) { .connect { grid-template-columns: 5fr 6fr; gap: 6rem; } }
.connect__alt { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #2c2f36; display: grid; gap: .75rem; font-size: .9375rem; }
.connect__alt a { color: var(--paper); }
.connect__alt p { margin: 0; }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .8125rem; letter-spacing: .02em; color: #c9c7c1; }
.field .opt { color: #7b7e85; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .8rem .95rem;
  font: 400 1rem/1.4 var(--font-sans); color: var(--paper);
  background: #171a20; border: 1px solid #33363d; border-radius: 6px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select {
  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='%23a4a6ab' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4a4d55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--paper); background: #1c1f26; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: #a4a6ab; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.consent a { color: var(--paper); }
.form .btn { justify-self: start; margin-top: .5rem; }
.form__note { font-size: .8125rem; color: #7b7e85; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(4rem, 8vw, 6rem) 2rem; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; gap: 2.75rem; }
.footer-brand p { margin-top: 1.25rem; color: var(--ink-2); max-width: 22rem; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; }
.footer-col h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { text-decoration: none; color: var(--ink-2); font-size: .9375rem; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; } }
.footer-bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .8125rem; color: var(--ink-3);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-2); }

/* ---------- Legal / simple pages ---------- */
.page { padding-block: clamp(3rem, 8vw, 6rem); }
.prose { max-width: 44rem; }
.prose h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1.05; margin-bottom: 1rem; }
.prose h2 { font-size: 1.125rem; font-weight: 600; margin: 2.5rem 0 .75rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.prose .updated { color: var(--ink-3); font-size: .875rem; margin-bottom: 2.5rem; }
.todo { background: #fff3c4; padding: 0 .25rem; border-radius: 3px; }
