/* Neurospine Scotland — static theme styles
   WordPress later: enqueue this file, keep custom properties as theme tokens. */

:root {
  --ink: #07141f;
  --navy: #0e2433;
  --firth: #163246;
  --deep: #102838;
  --holly: #1c4a42;
  --brass: #b8956c;
  --brass-2: #e4d2ae;
  --brass-deep: #8c6d45;
  --sand: #f4efe6;
  --paper: #faf7f2;
  --card: #fffdf9;
  --stone: #e6dccb;
  --line: rgba(14, 36, 51, 0.12);
  --line-light: rgba(244, 239, 230, 0.16);
  --slate: #5c6b74;
  --text: #1a2b36;
  --muted: #4e5e68;
  --white: #fffcf8;
  --danger: #8d3b32;
  --shadow: 0 24px 60px rgba(7, 20, 31, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 22px;
  --header: 84px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(184, 149, 108, 0.16), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--brass-2);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.wrap-l {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.dark .eyebrow { color: var(--brass-2); }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.dark .lead { color: rgba(244, 239, 230, 0.78); }

/* Header */
.topbar {
  background: var(--ink);
  color: rgba(244, 239, 230, 0.78);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar a { color: var(--brass-2); text-decoration: none; }
.topbar span { white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 242, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: #faf7f2;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1280px, calc(100% - 40px));
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.logo-mark {
  width: 42px;
  height: 42px;
  flex: none;
}
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-word strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.logo-word small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.nav a[aria-current="page"] { color: var(--brass-deep); }
.nav a[aria-current="page"]::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: var(--navy);
  color: var(--sand);
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 560;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--ink); }
.btn-brass { background: linear-gradient(180deg, #e7d3aa, #c4a36e); color: var(--ink); }
.btn-brass:hover { background: var(--brass-2); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--sand);
  border-color: rgba(228, 210, 174, 0.45);
}
.btn-ghost:hover { background: rgba(255, 252, 248, 0.06); color: var(--white); }
.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: rgba(14, 36, 51, 0.25);
}
.btn-line:hover { background: var(--navy); color: var(--sand); }
.btn-small { padding: 9px 14px; font-size: 13.5px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  position: absolute;
  left: 14px;
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  padding: 0;
  position: relative;
  color: var(--sand);
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(184, 149, 108, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(28, 74, 66, 0.45), transparent 55%),
    linear-gradient(165deg, #102838 0%, #0b1c2a 48%, #07141f 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: overlay;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  padding: 72px 0 64px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.96;
  font-weight: 560;
  letter-spacing: -0.04em;
  max-width: 11ch;
  margin: 16px 0 20px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 460;
  color: var(--brass-2);
}
.hero .lead { color: rgba(244, 239, 230, 0.78); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 239, 230, 0.7);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.playbill {
  background: rgba(255, 252, 248, 0.06);
  border: 1px solid rgba(228, 210, 174, 0.28);
  border-radius: 28px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}
.playbill header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.playbill h2 {
  font-size: 28px;
  color: var(--white);
}
.playbill .tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.room {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}
.room strong { display: block; color: var(--white); font-weight: 560; }
.room p { color: rgba(244, 239, 230, 0.72); font-size: 14.5px; margin-top: 2px; }
.room .when {
  font-variant-numeric: tabular-nums;
  color: var(--brass-2);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.playbill .fine {
  margin-top: 8px;
  color: rgba(244, 239, 230, 0.58);
  font-size: 12.5px;
}

.spine-art {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 280px;
  opacity: 0.35;
  z-index: 0;
}

/* Sections */
section { padding: 88px 0; scroll-margin-top: 96px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 32px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  color: var(--navy);
  max-width: 16ch;
}
.band-navy .section-head h2,
.dark .section-head h2 { color: var(--white); }
.kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}

.trust {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.trust-row a, .trust-row div {
  padding: 22px 18px;
  text-decoration: none;
  background: var(--card);
  min-height: 96px;
}
.trust-row small {
  display: block;
  color: var(--slate);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
.trust-row strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-weight: 560;
  line-height: 1.3;
}
.trust-row a:hover strong { color: var(--brass-deep); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: #d7d0c4;
  box-shadow: var(--shadow);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 18%;
}
.portrait figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(14, 36, 51, 0.82);
  color: rgba(244, 239, 230, 0.82);
  font-size: 14px;
}
.portrait figcaption strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.prose h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.05; color: var(--navy); margin: 10px 0 16px; }
.prose p + p { margin-top: 14px; }
.prose .lead { margin-bottom: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat {
  padding: 16px 14px 14px;
  border-top: 1px solid var(--navy);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  position: relative;
  min-height: 440px;
  border-radius: 30px;
  padding: 28px 32px 32px;
  overflow: hidden;
  text-decoration: none;
  color: var(--sand);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  isolation: isolate;
}
.pillar.brain {
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(228, 210, 174, 0.28), transparent 50%),
    linear-gradient(200deg, #1a3d4e, #0c1e2b 70%);
}
.pillar.spine {
  background:
    radial-gradient(420px 280px at 10% 0%, rgba(228, 210, 174, 0.2), transparent 55%),
    linear-gradient(200deg, #1d463f, #0e2422 72%);
}
.pillar h3 {
  margin-top: auto;
  padding-top: 48px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.02;
  max-width: 12ch;
}
.pillar p { margin: 14px 0 20px; color: rgba(244, 239, 230, 0.78); max-width: 42ch; }
.pillar .index-no {
  position: static;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--brass-2);
}
.pillar:hover { transform: translateY(-4px); transition: transform 0.45s var(--ease); }

.band { background: var(--sand); }
.expertise-band { padding-top: 108px; padding-bottom: 100px; }
.closing {
  border-top: 1px solid rgba(228, 210, 174, 0.2);
  padding-top: 72px;
}
.band-navy {
  background:
    radial-gradient(800px 300px at 0% 0%, rgba(184, 149, 108, 0.18), transparent 50%),
    var(--navy);
  color: var(--sand);
}

.condition-grid, .card-grid, .review-grid, .paper-grid, .info-grid {
  display: grid;
  gap: 14px;
}
.condition-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid { grid-template-columns: repeat(3, 1fr); }
.paper-grid { grid-template-columns: 1fr; }
.info-grid { grid-template-columns: 1.1fr 0.9fr; gap: 22px; }

.condition, .card, .quote, .paper, .panel, .step, .faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.condition {
  padding: 20px 18px 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.condition span { color: var(--brass-deep); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.condition strong { font-family: var(--serif); font-size: 24px; font-weight: 560; letter-spacing: -0.03em; color: var(--navy); line-height: 1.1; }

.card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 30px; color: var(--navy); line-height: 1.05; }
.card .meta { color: var(--brass-deep); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.card ul { margin: 8px 0 0; padding: 0; list-style: none; }
.card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
}
.card li span { color: var(--slate); }
.card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 22px 18px; }
.step em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--brass-deep);
}
.step h3 { margin: 10px 0 6px; font-size: 22px; color: var(--navy); }
.step p { color: var(--muted); font-size: 15px; }

.quote { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: var(--navy); }
.quote footer { margin-top: auto; color: var(--slate); font-size: 13.5px; }
.stars { color: var(--brass-deep); letter-spacing: 2px; font-size: 13px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button.is-on, .filters button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--sand);
  border-color: var(--navy);
}

.paper {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  align-items: center;
}
.paper .year {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
}
.paper h3 { font-size: 22px; line-height: 1.25; color: var(--navy); font-weight: 560; }
.paper p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--sand);
  color: var(--brass-deep);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.media-card {
  border-radius: 28px;
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: var(--sand);
  position: relative;
  overflow: hidden;
}
.media-card.bbc {
  background:
    linear-gradient(180deg, rgba(7, 20, 31, 0.1), rgba(7, 20, 31, 0.72)),
    radial-gradient(500px 240px at 80% 0%, rgba(184, 149, 108, 0.35), transparent 50%),
    #163246;
}
.media-card.bbc2 {
  background:
    linear-gradient(200deg, rgba(7, 20, 31, 0.05), rgba(7, 20, 31, 0.78)),
    #1c4a42;
}
.media-card small { letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); font-size: 12px; }
.media-card h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 8px 0; }
.media-card:hover { transform: translateY(-3px); transition: 0.4s var(--ease); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--brass); }
.timeline li { padding: 0 0 26px 22px; position: relative; }
.timeline li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
  position: absolute;
  left: -5px;
  top: 6px;
}
.timeline h3 { font-size: 22px; color: var(--navy); }
.timeline .when { color: var(--brass-deep); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 560;
  color: var(--navy);
}
.faq-item .answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.is-open .answer { display: block; }
.faq-item .plus { color: var(--brass-deep); font-family: var(--serif); font-size: 24px; line-height: 1; }

.form {
  display: grid;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
}
label { display: grid; gap: 6px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
input, select, textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--text); }
.check input { margin-top: 4px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-success { display: none; padding: 14px; border-radius: 14px; background: #e7f0ea; color: var(--holly); }
.field-error { color: var(--danger); text-transform: none; letter-spacing: 0; font-size: 13px; }

.page-hero { padding: 76px 0 18px; }
.page-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  color: var(--navy);
  max-width: 14ch;
  margin-top: 10px;
}

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.role-card strong { display: block; color: var(--navy); font-size: 17px; }
.role-card span { color: var(--slate); font-size: 14px; }

.closing {
  position: relative;
  overflow: hidden;
}
.closing .wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: end;
}
.closing h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.96;
  color: var(--white);
  max-width: 12ch;
}

.site-footer {
  background: var(--ink);
  color: rgba(244, 239, 230, 0.75);
  padding: 54px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.site-footer a { color: var(--brass-2); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 13px;
  color: rgba(244, 239, 230, 0.55);
}

.mobile-dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  background: rgba(14, 36, 51, 0.94);
  color: var(--sand);
  border-radius: 999px;
  padding: 8px;
  gap: 8px;
  box-shadow: var(--shadow);
}
.mobile-dock a { flex: 1; }

.is-hidden { display: none !important; }

.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.8s var(--ease) forwards; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.link-arrow { text-decoration: none; color: var(--brass-deep); font-weight: 560; }
.dark .link-arrow, .band-navy .link-arrow, .hero .link-arrow { color: var(--brass-2); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--card);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: tick 38s linear infinite;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.marquee b { color: var(--brass-deep); font-weight: 500; }
@keyframes tick { to { transform: translateX(-50%); } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.list-clean { margin: 12px 0 0; padding-left: 18px; }
.list-clean li { margin: 6px 0; }

.notice {
  border-left: 3px solid var(--brass);
  padding: 8px 0 8px 14px;
  color: var(--muted);
  font-size: 15px;
}

.cta-short { display: none; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    inset: var(--header) 0 0 0;
    background: #faf7f2;
    padding: 28px 24px 110px;
    gap: 18px;
    z-index: 50;
    overflow: auto;
  }
  .site-header .nav.is-open a { font-size: 28px; font-family: var(--serif); }
  .header-cta { display: inline-flex; margin-left: 10px; padding: 8px 14px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .mobile-dock { display: none; }
  body { padding-bottom: 0; }
  .topbar .hide-sm { display: none; }
  .hero-grid, .split, .media-grid, .info-grid, .closing .wrap, .footer-grid, .two-col {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 { max-width: 12ch; }
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars, .card-grid, .review-grid, .steps, .roles { grid-template-columns: 1fr 1fr; }
  .condition-grid { grid-template-columns: 1fr 1fr; }
  .paper { grid-template-columns: 72px 1fr; }
  .paper .btn { grid-column: 2; justify-self: start; }
  .hero-grid { gap: 28px; padding-top: 48px; }
}

@media (max-width: 720px) {
  .wrap, .wrap-l, .site-header .wrap { width: min(100% - 28px, var(--max)); }
  .pillars, .card-grid, .review-grid, .steps, .roles, .stat-row, .trust-row, .condition-grid {
    grid-template-columns: 1fr;
  }
  .trust-row { grid-template-columns: 1fr 1fr; }
  section { padding: 68px 0; }
  .expertise-band { padding-top: 72px; padding-bottom: 72px; }
  .hero-grid { padding: 36px 0 32px; }
  .hero h1 { font-size: 44px; max-width: none; }
  .room { grid-template-columns: 86px 1fr; }
  .paper { grid-template-columns: 1fr; }
  .paper .btn { grid-column: auto; }
  .pillar { min-height: 0; }
  .pillar h3 { font-size: 34px; padding-top: 36px; }
  .topbar .wrap { font-size: 12px; }
  .page-hero { padding-top: 48px; }
  .closing { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .btn:hover, .pillar:hover, .media-card:hover { transform: none; }
}
