/* ============================================================
   Alexander Seto Therapy, LLC — style.css
   Challenge. Heal. Grow.
   ============================================================ */

:root {
  /* Color */
  --navy: #0B2545;
  --navy-deep: #081A31;
  --cobalt: #1C6FD6;
  --cobalt-deep: #1B54B3;
  --cyan: #38C2F0;
  --offwhite: #F4F7FA;
  --clay: #C77B5A;
  --clay-bright: #D98D6B;
  --ink: #10233D;
  --white: #FFFFFF;
  --text-on-dark: #E8EFF7;
  --text-on-dark-dim: #AFC3DA;
  --hairline-dark: rgba(232, 239, 247, 0.16);
  --hairline-light: rgba(16, 35, 61, 0.14);

  --gradient-brand: linear-gradient(135deg, #38C2F0 0%, #1C6FD6 60%, #1B54B3 100%);

  /* Type */
  --font-head: "Syne", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-base: 1.0625rem;      /* 17px */
  --text-sm: 0.9375rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 2.5vw, 1.9rem);
  --text-2xl: clamp(2rem, 4vw, 3rem);
  --text-hero: clamp(2.8rem, 7vw, 6rem);
  --leading-body: 1.65;
  --track-head: -0.02em;

  /* Layout */
  --container: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 84px;
  --header-h-small: 60px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--navy);
  overflow-x: hidden;
}

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

a { color: var(--cobalt); text-decoration: none; }

ul, ol { padding: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: var(--track-head);
  line-height: 1.1;
}

/* ---------- Focus states (WCAG) ---------- */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--clay);
  color: var(--navy-deep);
  font-weight: 600;
  border-radius: 4px;
}
.skip-link:focus-visible { top: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); }

.btn-clay { background: var(--clay); color: #FFF8F4; }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(232, 239, 247, 0.45);
}
.btn-ghost:hover { border-color: rgba(232, 239, 247, 0.8); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.0625rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.btn-row-center { justify-content: center; }

.text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--cyan);
}
.text-link:hover { color: var(--white); }

.inline-link { text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--cyan); }

/* ---------- Shared section scaffolding ---------- */
.section-inner,
.mission-inner,
.story-inner,
.ce-inner,
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section-dark {
  position: relative;
  background: var(--navy);
  color: var(--text-on-dark);
}
.section-light {
  position: relative;
  background: var(--offwhite);
  color: var(--ink);
}

/* Film grain on dark sections only */
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/noise.svg") repeat;
  background-size: 280px 280px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 3;
}

/* Crossfade boundaries between navy and off-white sections */
.fade-from-dark::before,
.fade-from-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 2;
}
.fade-from-dark::before {
  background: linear-gradient(to bottom, var(--navy) 0%, rgba(11, 37, 69, 0) 100%);
}
.fade-from-light::before {
  background: linear-gradient(to bottom, var(--offwhite) 0%, rgba(244, 247, 250, 0) 100%);
}

.section-title {
  font-size: var(--text-2xl);
  margin-bottom: 1.75rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.eyebrow-dark { color: var(--cobalt); }

/* Kinetic heading words (JS wraps words in spans) */
.kinetic-word {
  display: inline-block;
  white-space: pre;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 37, 69, 0.78);
  border-bottom: 1px solid var(--hairline-dark);
  transition: height 0.25s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for the fixed mobile drawer. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height 0.25s ease;
}
.site-header.is-shrunk .header-inner { height: var(--header-h-small); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-on-dark);
  flex-shrink: 0;
}
.brand-mark {
  height: 48px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.is-shrunk .brand-mark { height: 38px; }

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-link {
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover { color: var(--cyan); }

.nav-ctas { display: flex; align-items: center; gap: 0.7rem; }
.nav-ctas .btn { font-size: var(--text-sm); padding: 0.55rem 1.1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-media,
.final-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy); /* static fallback if video and poster both fail */
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0.55);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) var(--pad-x) 5rem;
}

.hero-title {
  font-size: var(--text-hero);
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 1.75rem;
}

.u-underline {
  background-image: var(--gradient-brand);
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 0% 0.1em;
  transition: background-size 0.8s var(--ease-out) 0.4s;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
body.is-loaded .u-underline { background-size: 100% 0.1em; }

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  max-width: 46ch;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(232, 239, 247, 0), rgba(232, 239, 247, 0.7));
  animation: scroll-hint 2.6s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ============================================================
   CREDENTIAL STRIP
   ============================================================ */
.cred-strip {
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.cred-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
}
.cred-item { display: flex; flex-direction: column; gap: 0.35rem; }
.cred-term {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan);
  letter-spacing: 0.01em;
}
.cred-desc {
  font-size: var(--text-sm);
  color: var(--text-on-dark-dim);
  max-width: 30ch;
}

/* ============================================================
   MISSION
   ============================================================ */
.mission { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.mission-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.mission-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.mission-frame video,
.mission-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-lead {
  font-size: var(--text-xl);
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.mission-lead strong { font-weight: 600; }
.mission-copy p + p { margin-top: 1.15rem; }

.pull-quote {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--hairline-light);
}
.pull-quote p {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: var(--track-head);
  line-height: 1.15;
  color: var(--clay);
}
.pull-quote-note {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: rgba(16, 35, 61, 0.75);
  font-style: italic;
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
  border-top: 1px solid var(--hairline-dark);
}
.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2.25rem 0;
  border-bottom: 1px solid var(--hairline-dark);
  transition: border-color 0.2s ease;
}
.pillar-card + .pillar-card { padding-left: 2rem; border-left: 1px solid var(--hairline-dark); }
.pillar-card:hover { border-bottom-color: rgba(232, 239, 247, 0.45); }

.pillar-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}
.pillar-title { font-size: 1.35rem; color: var(--white); margin-bottom: 0.9rem; }
.pillar-body { color: var(--text-on-dark-dim); font-size: var(--text-base); }

/* ============================================================
   STORY
   ============================================================ */
.story { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.story-media img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
}

.story-copy p + p { margin-top: 1.15rem; }

.credentials {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-light);
}
.credentials-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1rem;
}
.credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: var(--text-sm);
}
.credentials-list li {
  padding-left: 1.1rem;
  position: relative;
}
.credentials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cobalt);
}

/* ============================================================
   AREAS OF FOCUS
   ============================================================ */
.focus { padding: 0 0 clamp(5rem, 10vw, 8.5rem); }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.focus-item {
  padding: 1.9rem;
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.focus-item:hover { border-color: rgba(28, 111, 214, 0.45); }
.focus-title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.focus-item p { font-size: var(--text-base); color: rgba(16, 35, 61, 0.82); }

/* ============================================================
   HOW TELEHEALTH WORKS
   ============================================================ */
.how { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
  list-style: none;
  counter-reset: step;
}
.step-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 1.1rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step-title { font-size: 1.3rem; color: var(--white); margin-bottom: 0.8rem; }
.step p { color: var(--text-on-dark-dim); }

/* ============================================================
   CONTINUING EDUCATION
   ============================================================ */
.ce {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background:
    linear-gradient(180deg, rgba(28, 111, 214, 0.06) 0%, rgba(244, 247, 250, 0) 55%),
    var(--offwhite);
  border-top: 1px solid var(--hairline-light);
}
.ce-inner { max-width: 820px; }
.ce-lead { font-size: var(--text-lg); max-width: 58ch; }
.ce-note {
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: rgba(16, 35, 61, 0.65);
  font-style: italic;
}

/* ============================================================
   FEATURED WRITING
   ============================================================ */
.writing { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.writing-card {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  border: 1px solid var(--hairline-dark);
  border-radius: 12px;
  color: var(--text-on-dark);
  transition: border-color 0.2s ease;
}
.writing-card:hover { border-color: rgba(56, 194, 240, 0.55); }
.writing-title { font-size: 1.2rem; color: var(--white); margin-bottom: 0.75rem; }
.writing-desc { color: var(--text-on-dark-dim); font-size: var(--text-sm); }
.writing-meta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.final-content {
  position: relative;
  z-index: 4;
  padding: 6rem var(--pad-x);
  max-width: 760px;
}
.final-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}
.final-sub {
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  max-width: 46ch;
  margin: 0 auto;
}
.final-alt {
  margin-top: 2rem;
  font-size: var(--text-sm);
  color: var(--text-on-dark-dim);
}
.final-alt .inline-link { color: var(--text-on-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-dim);
  font-size: var(--text-sm);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 1.3fr;
  gap: 2.5rem;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}
.footer-col p + p { margin-top: 0.6rem; }

.footer-tagline {
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-note { margin-top: 0.6rem; color: var(--text-on-dark-dim); }

.footer-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-menu a {
  color: var(--text-on-dark-dim);
  padding: 0.15rem 0;
  display: inline-block;
}
.footer-menu a:hover { color: var(--cyan); }
.site-footer .inline-link { color: var(--text-on-dark); }
.site-footer .inline-link:hover { color: var(--cyan); }

.crisis-box {
  border-left: 3px solid var(--clay);
  padding-left: 1.25rem;
}
.crisis-box .footer-label { color: var(--clay-bright); }
.crisis-box p { color: var(--text-on-dark); }
.crisis-box .inline-link { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding: 1.5rem var(--pad-x);
  text-align: center;
  font-size: 0.8125rem;
}

/* ============================================================
   ANIMATION PRE-STATES (JS adds motion; without JS all visible)
   ============================================================ */
body.has-js [data-fade] {
  opacity: 0;
  transform: translateY(24px);
}
body.has-js.reduced-motion [data-fade] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { padding: 2rem 0; }
  .pillar-card + .pillar-card { padding-left: 0; border-left: none; }

  .focus-grid, .writing-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    background: var(--navy-deep);
    border-left: 1px solid var(--hairline-dark);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    visibility: hidden;
    overflow-y: auto;
    z-index: -1;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .nav-link { font-size: 1.15rem; }
  .nav-ctas { flex-direction: column; align-items: stretch; width: 100%; gap: 0.8rem; }
  .nav-ctas .btn { width: 100%; }

  .mission-inner { grid-template-columns: 1fr; }
  .mission-media { order: -1; }
  .mission-frame { aspect-ratio: 16 / 10; }

  .story-inner { grid-template-columns: 1fr; }
  .story-media { display: flex; justify-content: center; }

  .cred-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }

  .hero-scroll-hint { display: none; }
}

@media (max-width: 640px) {
  .focus-grid, .writing-grid, .footer-inner, .cred-list { grid-template-columns: 1fr; }
  .brand-name .brand-sub { display: none; }
  .btn-row .btn { width: 100%; }
  .hero-content { padding-bottom: 4rem; }
}

/* ============================================================
   ARTICLE PAGES
   ============================================================ */
.article-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
}
.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.article-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  animation: article-rise 0.7s var(--ease-out) 0.1s both;
}
@keyframes article-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.article-byline {
  font-size: var(--text-sm);
  color: var(--text-on-dark-dim);
}

.article-body {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}
.article-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  font-size: 1.125rem;   /* 18px long-form reading */
  line-height: 1.75;
}
.article-inner p { margin-bottom: 1.4rem; }
.article-inner h2 {
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.2;
  margin: 2.75rem 0 1.1rem;
}
.article-inner ul,
.article-inner ol {
  margin: 0 0 1.4rem;
  padding-left: 1.4rem;
}
.article-inner li { margin-bottom: 0.6rem; }

.author-box {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: rgba(11, 37, 69, 0.06);
  border: 1px solid rgba(11, 37, 69, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 1rem;
  line-height: 1.6;
}
.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.article-cta .final-alt { margin-top: 1rem; color: rgba(16, 35, 61, 0.75); }
.article-cta .final-alt .inline-link { color: var(--ink); }

.article-disclaimer {
  margin-top: 2.5rem;
  border-left: 3px solid var(--clay);
  padding: 0.35rem 0 0.35rem 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(16, 35, 61, 0.85);
}
.article-sources {
  margin-top: 2rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(16, 35, 61, 0.6);
}

@media (max-width: 640px) {
  .article-inner { font-size: 1.0625rem; } /* 17px minimum */
  .author-box { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .u-underline { background-size: 100% 0.1em; }
  .hero-scroll-line { animation: none; }
}
