/* ── Design tokens ── */
:root {
  --bg: #0f1114;
  --bg-elevated: #171a1f;
  --bg-card: #1c2028;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eceae4;
  --text-muted: #8b909a;
  --text-faint: #5c6169;
  --accent: #c87941;
  --accent-bright: #e8955a;
  --accent-green: #6dad7a;
  --accent-blue: #6b8fbd;
  --logo-light: #e8e4dc;
  --gold: #c87941;
  --gold-light: #e8955a;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --max-width: 42rem;
  --max-wide: 72rem;
  --header-height: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}

::selection {
  background: rgba(200, 121, 65, 0.35);
  color: var(--text);
}

/* ── Intro overlay ── */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--bg);
  pointer-events: all;
}

.intro-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.875rem;
  height: 9.875rem;
}

.intro-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  animation: pulse-ring 1.25s cubic-bezier(0.5, 0.025, 0.5, 0.95) infinite;
}

.intro-logo-backing {
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--border);
  z-index: 1;
}

.intro-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-logo {
  position: relative;
  z-index: 2;
  width: 3.25rem;
  height: auto;
  overflow: visible;
}

.logo-half {
  transform-origin: 50px 40px;
}

.logo-half--left {
  opacity: 0;
  transform: translate(-22px, 14px);
}

.logo-half--right {
  opacity: 0;
  transform: translate(22px, 14px);
}

.intro-wordmark {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 0;
  opacity: 0;
  transform: translateY(12px);
}

.intro-tagline {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
}

.intro-tagline:empty {
  display: none;
}

.intro-overlay.assembling .logo-half--left,
.intro-overlay.assembling .logo-half--right {
  animation: slide-in-half 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-overlay.assembling .logo-half--right {
  animation-delay: 0.12s;
}

.intro-overlay.assembled .intro-logo {
  animation: gold-gleam 0.8s ease 0.1s 1 forwards;
}

.intro-overlay.expanding .intro-stage {
  animation: fade-out-logo 0.35s ease forwards;
}

.intro-overlay.expanding .intro-pulse-ring {
  animation: expand-ring 0.9s linear 0.25s forwards;
}

.intro-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
  pointer-events: none;
}

.intro-overlay.hidden {
  display: none;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  background: rgba(15, 17, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

body.revealed .site-header,
.site-header--visible {
  opacity: 1;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
}

body.revealed .hero-reveal {
  animation: content-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.revealed .hero-eyebrow { animation-delay: 0.05s; }
body.revealed .hero-title { animation-delay: 0.15s; }
body.revealed .hero-sub { animation-delay: 0.3s; }
body.revealed .hero .cta { animation-delay: 0.45s; }
body.revealed .site-footer.hero-reveal { animation-delay: 0.55s; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border-radius: 2px;
  transition: background 0.2s;
}

.site-nav .nav-cta:hover {
  color: var(--bg);
  background: var(--accent-bright);
}

@media (max-width: 640px) {
  .site-header {
    gap: 1rem;
  }

  .site-nav {
    gap: 1.25rem;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.header-wordmark {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-wordmark-dot {
  color: var(--text-faint);
}

/* ── GTM Efficiency Index ── */
.index-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: calc(var(--header-height) + 3rem) clamp(1.5rem, 5vw, 3rem) 3rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 960px) {
  .index-hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3rem;
  }
}

.index-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.125rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.index-hero-title em {
  font-style: italic;
  color: var(--accent);
}

.index-hero-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 1.25rem;
}

.index-hero-meta {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-faint);
  max-width: 36rem;
}

.index-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
}

.index-stat-card-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.index-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.index-stat-row:last-of-type {
  border-bottom: none;
}

.index-stat-value {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
}

.index-stat-value--accent {
  color: var(--accent);
}

.index-stat-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
}

.index-stat-gap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.index-stat-gap-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.index-stat-gap-value {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--accent-green);
}

.index-section {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 4rem;
}

.index-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.index-section-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
}

.index-section-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.index-section-count {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.index-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.index-notice-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.index-table-wrap {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.index-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.index-table thead {
  background: var(--bg-elevated);
}

.index-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}

.index-table td {
  padding: 1.125rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-muted);
  background: var(--bg-card);
}

.index-table tbody tr:last-child td {
  border-bottom: none;
}

.index-table td:first-child {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--text-faint);
  width: 3.5rem;
}

.index-company {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.index-company-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  flex-shrink: 0;
}

.index-company-name {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.index-company-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.index-revenue {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
}

.index-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.index-badge--green {
  color: var(--accent-green);
  background: rgba(109, 173, 122, 0.12);
  border: 1px solid rgba(109, 173, 122, 0.25);
}

.index-badge--blue {
  color: var(--accent-blue);
  background: rgba(107, 143, 189, 0.12);
  border: 1px solid rgba(107, 143, 189, 0.25);
}

.index-mix {
  display: flex;
  width: 100%;
  max-width: 8rem;
  height: 0.5rem;
  border-radius: 1px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.index-mix span {
  display: block;
  height: 100%;
}

.index-mix-sales { background: var(--accent); }
.index-mix-post { background: #5a9e9e; }
.index-mix-marketing { background: #c4a84a; }
.index-mix-revops { background: #9a8fbd; }

.index-gate {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.5rem 2rem;
  background: linear-gradient(to top, var(--bg) 55%, transparent);
  display: flex;
  justify-content: center;
}

.index-gate-card {
  width: 100%;
  max-width: 22rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  text-align: center;
}

.index-gate-card h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.index-gate-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.index-gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.index-gate-form input {
  font-family: var(--sans);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  outline: none;
}

.index-gate-form input:focus {
  border-color: var(--accent);
}

.index-gate-form button {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.index-gate-form button:hover {
  background: var(--accent-bright);
}

.index-gate-status {
  font-size: 0.8125rem;
  color: var(--accent-green);
  min-height: 1.25rem;
}

.index-table-wrap--gated {
  padding-bottom: 11rem;
}

.index-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.index-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.index-legend-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .index-table-wrap {
    overflow-x: auto;
  }

  .index-table {
    min-width: 40rem;
  }
}

/* ── GTM Index coming soon ── */
.index-soon {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + 4rem) clamp(1.5rem, 5vw, 3rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index-soon-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.index-soon-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.index-soon-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 22rem;
}

.index-soon-form input {
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  outline: none;
}

.index-soon-form input:focus {
  border-color: var(--accent);
}

.index-soon-form .cta {
  margin-top: 0.25rem;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.index-soon-status {
  font-size: 0.875rem;
  color: var(--accent-green);
  min-height: 1.25rem;
}

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 3rem) clamp(1.5rem, 5vw, 3rem) 4rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
  max-width: 18ch;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.0625rem);
  max-width: 34rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.hero .cta {
  margin-top: 2rem;
  align-self: flex-start;
}

/* ── Homepage scroll story ── */
.story-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) clamp(1.5rem, 5vw, 3rem) 3rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.story-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}

.story-hero-sub {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  color: var(--accent);
}

.story-hero .cta {
  margin-top: 2.5rem;
}

/* STA-style pinned beats: each wrapper is taller than the viewport; the
   inner pin sticks while scroll progress reveals the line word by word
   (driven by js/story.js). Without JS the beats are plain readable text. */
.story-beat {
  min-height: 85vh;
  min-height: 85svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.story-js .story-beat {
  display: block;
  height: 190vh;
  height: 190svh;
  min-height: 0;
  position: relative;
}

.story-beat-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem clamp(1.5rem, 5vw, 3rem);
}

body.story-js .story-beat-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  background: var(--bg);
}

.story-beat p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 24ch;
}

.story-beat strong {
  font-weight: 700;
  color: var(--accent);
}

/* Word reveal states (only when JS has split the words) */
body.story-js .story-beat .w {
  opacity: 0.08;
  transition: opacity 0.3s ease;
}

body.story-js .story-beat .w.on {
  opacity: 1;
}

.story-turn {
  background: var(--text);
  padding: clamp(5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 3rem);
}

.story-turn-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bg);
  text-align: center;
  margin-bottom: 3rem;
}

.story-turn-items {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.story-turn-items p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #3a3e45;
}

.story-turn-items strong {
  font-weight: 500;
  color: #a35a28;
}

.story-craft {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 7rem) clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.story-craft p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.story-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(5rem, 14vh, 8rem) clamp(1.5rem, 5vw, 3rem) 5rem;
}

.story-close-title {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 20ch;
}

.story-close-link {
  margin-top: 2rem;
}

.story-close-link a {
  font-size: 1.0625rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 0.25em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.story-close-link a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent);
}

.story-close .cta {
  margin-top: 1.75rem;
}

.story-close-positioning {
  margin-top: 4.5rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 44ch;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: calc(var(--header-height) + 3rem) clamp(1.5rem, 5vw, 3rem) 3rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.page-hero--compact {
  padding-bottom: 2rem;
}

.page-hero--centered {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.page-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 22ch;
}

.page-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38rem;
}

/* ── About (simple) ── */
.about-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + 4rem) clamp(1.5rem, 5vw, 3rem) 6rem;
}

.about-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.about-prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.about-prose a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent);
}

.about-quotes {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-quotes .quote-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.about-quotes .quote-attrib {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.about-prose .quote-attrib a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 0.2em;
}

.about-prose .quote-attrib a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent);
}

.about-watch {
  color: var(--accent-bright);
  font-weight: 500;
}

.about-prose .about-watch a {
  color: var(--accent-bright);
  text-decoration: none;
}

.about-prose .about-watch a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

/* ── Content ── */
.content {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem) 6rem;
}

.content-block {
  margin-bottom: 3.5rem;
  max-width: var(--max-width);
}

.content-block h2 {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.content-block p {
  margin-bottom: 1.25rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.lead {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.45;
  color: var(--text);
}

/* ── Role lists ── */
.role-lists {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.role-list h3 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.role-list p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ── Stakes block ── */
.stakes {
  margin: 4rem 0;
  padding: 0;
  border: none;
  max-width: var(--max-width);
}

.stakes p {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 4.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.stakes-sub {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
  color: var(--text-muted) !important;
}

.stakes--compact {
  margin: 3rem 0 1.5rem;
}

.stakes--compact p {
  font-size: clamp(1.375rem, 3.5vw, 2rem);
}

/* ── Three beats ── */
.beats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 4rem;
  max-width: var(--max-wide);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

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

.beat {
  padding: 1.75rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .beat {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }

  .beat:last-child {
    border-right: none;
  }
}

.beat:last-child {
  border-bottom: none;
}

.beat h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.beat p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ── Phases ── */
.phases {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  max-width: var(--max-width);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.phase {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.phase:last-child {
  border-bottom: none;
}

.phase-number {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.phase h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.phase p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.phase p:last-child {
  margin-bottom: 0;
}

.section-heading {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: var(--max-width);
}

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: var(--max-width);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.875rem 1rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b909a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-row textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form .cta {
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--accent-bright);
  min-height: 1.5rem;
}

/* ── CTA ── */
.closing {
  padding-top: 1rem;
  max-width: var(--max-width);
}

.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-group .cta {
  margin-top: 0;
}

.text-link {
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-bright);
}

.text-link--prominent {
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 3rem;
  border-top: 1px solid var(--border);
  max-width: var(--max-wide);
  margin: 0 auto;
}

.site-footer p {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.site-footer-copyright {
  margin-top: 0.5rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-footer a:hover {
  border-bottom-color: var(--text-muted);
}

/* ── Scroll reveals ── */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
}

body.revealed .reveal {
  animation: content-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.revealed .content-block:nth-of-type(1) { animation-delay: 0.2s; }
body.revealed .content-block:nth-of-type(2) { animation-delay: 0.3s; }
body.revealed .content-block:nth-of-type(3) { animation-delay: 0.4s; }
body.revealed .stakes { animation-delay: 0.5s; }
body.revealed .beats { animation-delay: 0.6s; }
body.revealed .closing { animation-delay: 0.7s; }
body.revealed .site-footer { animation-delay: 0.8s; }

/* ── Keyframes ── */
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes expand-ring {
  100% { transform: scale(30); }
}

@keyframes slide-in-half {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes gold-gleam {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-out-logo {
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes content-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .intro-overlay,
  .intro-pulse-ring,
  .logo-half,
  .intro-wordmark,
  .intro-tagline,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .intro-overlay {
    display: none;
  }

  body.intro-active {
    overflow: auto;
  }

  .site-header,
  .hero-reveal {
    opacity: 1;
    transform: none;
  }
}
