/* ============================================================
   C. Patrick Ngwolo & Associates, PLLC — ngwololaw.com
   Design system — premium editorial criminal-defense advisory
   ============================================================ */

/* --- Fonts (Fontshare: Zodiak display serif + Switzer grotesk) --- */


/* --- Design tokens --- */
:root {
  /* Color */
  --near-black: #121114;   /* hero / footer */
  --soft-black: #2D2926;   /* dark sections */
  --ivory: #FAF6EF;        /* reading surface */
  --ivory-2: #F2ECE1;      /* alt reading surface */
  --blue: #003594;         /* authority — links / secondary CTA / rules / eyebrows */
  --blue-light: #2f5bb0;
  --red: #D50032;          /* urgency — PRIMARY CTA only */
  --red-dark: #ac0028;
  --warm-gray: #8A8580;
  --warm-gray-d: #6b6660;
  --line-dark: rgba(250,246,239,0.16);
  --line-light: rgba(45,41,38,0.16);
  --ink: #2D2926;          /* body text on ivory */
  --ink-soft: #55504a;

  /* Type */
  --serif: 'Zodiak', Georgia, 'Times New Roman', serif;
  --sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Fluid type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.35rem, 1.1rem + 1vw, 1.6rem);
  --text-2xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.25rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  --text-hero: clamp(2.9rem, 1.9rem + 4.6vw, 5.75rem);

  /* Spacing */
  --sp-1: 0.5rem;   --sp-2: 1rem;    --sp-3: 1.5rem;   --sp-4: 2rem;
  --sp-5: 3rem;     --sp-6: 4rem;    --sp-7: 6rem;     --sp-8: 8rem;

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --radius: 2px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Skip link + focus --- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--red); color: #fff; padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.on-dark :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: #fff; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--soft-black); }
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); font-weight: 600; }
p { max-width: 68ch; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--sp-2);
  display: block;
}
.on-dark .eyebrow { color: #8ea8d6; }

/* --- Layout --- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.narrow { max-width: var(--wrap-narrow); }
section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-dark { background: var(--soft-black); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--ivory); }
.section-black { background: var(--near-black); color: var(--ivory); }
.section-black h1, .section-black h2, .section-black h3, .section-black h4 { color: var(--ivory); }
.section-alt { background: var(--ivory-2); }
.hr { border: 0; border-top: 1px solid var(--line-light); margin: 0; }
.on-dark { color: var(--ivory); }
.on-dark p, .section-dark p, .section-black p { color: rgba(250,246,239,0.82); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0.02em; padding: 0.95rem 1.6rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: all 0.25s var(--ease);
  text-align: center; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.on-dark .btn-secondary, .hero .btn-secondary, .section-dark .btn-secondary, .section-black .btn-secondary {
  color: var(--ivory); border-color: rgba(250,246,239,0.5);
}
.on-dark .btn-secondary:hover, .hero .btn-secondary:hover, .section-dark .btn-secondary:hover, .section-black .btn-secondary:hover {
  background: var(--ivory); color: var(--near-black); border-color: var(--ivory);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-light); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 1.1rem 2rem; font-size: var(--text-base); }

/* --- Placeholder tokens --- */
.placeholder-token {
  background: rgba(0,53,148,0.08); color: var(--blue);
  border-bottom: 1px dotted var(--blue);
  padding: 0 0.2em; border-radius: 2px; cursor: help;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word; word-break: break-word;
}
.on-dark .placeholder-token, .hero .placeholder-token, .section-dark .placeholder-token, .section-black .placeholder-token {
  background: rgba(142,168,214,0.16); color: #b9cbec; border-bottom-color: #8ea8d6;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.utility-bar {
  background: var(--near-black); color: rgba(250,246,239,0.78);
  font-size: var(--text-xs); letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-dark);
}
.utility-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; padding-block: 0.4rem; }
.utility-bar a { color: rgba(250,246,239,0.92); }
.utility-bar .u-left { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.utility-bar .u-dot { color: var(--warm-gray); }
.utility-bar .u-fed { color: var(--warm-gray); font-style: italic; max-width: 56ch; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(18,17,20,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { flex-shrink: 0; }
.brand svg { height: 40px; width: auto; color: var(--ivory); }

.main-nav { display: flex; align-items: center; gap: 0.35rem; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 0.15rem; padding: 0; }
.main-nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap;
  color: rgba(250,246,239,0.86); font-size: var(--text-sm); font-weight: 500;
  padding: 0.6rem 0.6rem; border-radius: var(--radius); background: none; border: 0;
  font-family: var(--sans); cursor: pointer; letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #fff; text-decoration: none; background: rgba(255,255,255,0.06); }
.nav-link svg { width: 10px; height: 10px; transition: transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
  background: var(--near-black); border: 1px solid var(--line-dark);
  padding: 0.6rem; border-radius: var(--radius); list-style: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown.wide { min-width: 340px; }
li:hover > .dropdown, .dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; color: rgba(250,246,239,0.82); padding: 0.55rem 0.75rem; font-size: var(--text-sm); border-radius: var(--radius); }
.dropdown a:hover { background: rgba(255,255,255,0.07); color: #fff; text-decoration: none; }
.dropdown a small { display: block; color: var(--warm-gray); font-size: 0.72rem; margin-top: 1px; letter-spacing: 0; }
.dropdown .dd-head { font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--warm-gray); padding: 0.5rem 0.75rem 0.25rem; }

.header-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--ivory); width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile panel */
.mobile-panel {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 400px);
  background: var(--near-black); z-index: 1500; transform: translateX(100%);
  transition: transform 0.32s var(--ease); overflow-y: auto; padding: 1.5rem;
  border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 0.25rem;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1400; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-panel .mp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-panel .mp-close { background: none; border: 1px solid var(--line-dark); color: var(--ivory); width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; font-size: 1.4rem; }
.m-group { border-top: 1px solid var(--line-dark); }
.m-group > button, .m-group > a {
  width: 100%; text-align: left; background: none; border: 0; color: var(--ivory);
  font-family: var(--sans); font-size: var(--text-lg); font-weight: 500; padding: 1rem 0.25rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.m-group > a { text-decoration: none; }
.m-sub { list-style: none; padding: 0 0 0.5rem 0.75rem; display: none; }
.m-sub.open { display: block; }
.m-sub a { display: block; color: rgba(250,246,239,0.78); padding: 0.5rem 0.25rem; font-size: var(--text-base); }
.mobile-panel .btn { margin-top: 1.25rem; justify-content: center; }
.m-group > button svg { width: 12px; height: 12px; transition: transform 0.2s; }
.m-group > button[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; background: var(--near-black); color: var(--ivory); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; filter: grayscale(1) contrast(1.06); }
.hero-media::after { /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: 0.55;
}
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18,17,20,0.94) 0%, rgba(18,17,20,0.78) 34%, rgba(18,17,20,0.32) 70%, rgba(18,17,20,0.12) 100%), linear-gradient(0deg, rgba(18,17,20,0.85) 0%, rgba(18,17,20,0.15) 45%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { font-size: var(--text-hero); font-weight: 500; color: #fff; max-width: 16ch; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero .lede { font-size: var(--text-lg); color: rgba(250,246,239,0.9); max-width: 54ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero .microcopy { font-size: var(--text-sm); color: var(--warm-gray); max-width: 60ch; }

/* Page hero (inner pages) */
.page-hero { background: var(--near-black); color: var(--ivory); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero .breadcrumb { margin-bottom: 1.5rem; }
.page-hero h1 { color: #fff; font-size: var(--text-3xl); max-width: 20ch; }
.page-hero .lede { color: rgba(250,246,239,0.82); font-size: var(--text-lg); max-width: 60ch; margin-top: 1.25rem; }
.page-hero.has-bg::before { content:""; position:absolute; inset:0; background-size:cover; background-position:center; opacity:0.28; filter: grayscale(1); z-index:0; -webkit-mask-image:linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,1) 75%); mask-image:linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,1) 75%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.photo-band { background: var(--near-black); line-height: 0; }
.photo-band img { display:block; width:100%; height:auto; filter: grayscale(1); }

.portrait-inset { float: right; width: min(320px, 40%); margin: 0.3rem 0 1.1rem 1.75rem; }
.portrait-inset img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .portrait-inset { float: none; width: 100%; margin: 0 0 1.35rem; }
}

.page-hero .eyebrow, .hero .eyebrow { color: #8ea8d6; text-shadow: 0 1px 14px rgba(18,17,20,0.85); }

/* Breadcrumb */
.breadcrumb { font-size: var(--text-xs); letter-spacing: 0.04em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; align-items: center; }
.breadcrumb a { color: rgba(250,246,239,0.6); }
.breadcrumb .sep { color: var(--warm-gray); }
.breadcrumb [aria-current] { color: rgba(250,246,239,0.9); }

/* ============================================================
   COMPONENTS
   ============================================================ */
.prose { max-width: var(--wrap-narrow); }
.prose h2 { margin-top: 2.75rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.6rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.15rem; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 4 3; }
.prose p.microcopy, .prose .btn, .prose blockquote p { text-align: left; hyphens: manual; }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.25rem; padding: 0; }
.prose li { margin-bottom: 0.6rem; padding-left: 0.35rem; }
.prose ul { list-style: none; margin-left: 0; }
.prose ul > li { position: relative; padding-left: 1.5rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 1px; background: var(--blue); }
.prose ol { list-style: decimal; margin-left: 1.35rem; }
.prose a { border-bottom: 1px solid rgba(0,53,148,0.3); }

/* Eyebrow section header */
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head p { color: var(--ink-soft); margin-top: 1rem; }

/* Grid cards */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--ivory); border: 1px solid var(--line-light);
  padding: 1.75rem; border-radius: var(--radius); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.section-dark .card, .section-black .card { background: rgba(250,246,239,0.03); border-color: var(--line-dark); }
.card h3 { font-size: var(--text-lg); }
.card p { font-size: var(--text-sm); color: var(--ink-soft); flex-grow: 1; }
.section-dark .card p, .section-black .card p { color: rgba(250,246,239,0.7); }
.card .card-link { font-size: var(--text-sm); font-weight: 600; margin-top: 0.5rem; }
.card .card-num { font-family: var(--serif); font-size: var(--text-2xl); color: var(--blue); line-height: 1; }

/* Authority bar */
.authority-bar { background: var(--soft-black); color: var(--ivory); border-top: 1px solid var(--line-dark); }
.authority-bar .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-dark); padding: 0; }
.authority-bar .a-item { background: var(--soft-black); padding: 1.75rem clamp(1rem,3vw,2rem); }
.authority-bar .a-item strong { display: block; font-family: var(--serif); font-size: var(--text-lg); font-weight: 500; color: #fff; margin-bottom: 0.25rem; }
.authority-bar .a-item span { font-size: var(--text-xs); color: var(--warm-gray); letter-spacing: 0.04em; }

/* Stakes list */
.stakes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.stakes .stake { padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); padding-right: 2rem; }
.stakes .stake:nth-child(odd) { border-right: 1px solid var(--line-light); padding-right: 2rem; }
.stakes .stake:nth-child(even) { padding-left: 2rem; }
.stakes .stake strong { font-family: var(--serif); font-weight: 500; font-size: var(--text-lg); color: var(--soft-black); display: block; margin-bottom: 0.3rem; }
.stakes .stake p { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }

/* Quote / review cards */
.quote-card { background: var(--ivory); border: 1px solid var(--line-light); border-left: 3px solid var(--blue); padding: 1.75rem; border-radius: var(--radius); }
.section-dark .quote-card, .section-black .quote-card { background: rgba(250,246,239,0.03); border-color: var(--line-dark); border-left-color: var(--blue-light); }
.quote-card blockquote { font-family: var(--serif); font-size: var(--text-lg); line-height: 1.5; color: var(--soft-black); margin: 0 0 1rem; font-style: italic; }
.section-dark .quote-card blockquote, .section-black .quote-card blockquote { color: var(--ivory); }
.quote-card cite { font-style: normal; font-size: var(--text-sm); color: var(--ink-soft); }
.section-dark .quote-card cite, .section-black .quote-card cite { color: var(--warm-gray); }

/* Disclaimer */
.disclaimer-line { font-size: var(--text-sm); color: var(--ink-soft); font-style: italic; }
.section-dark .disclaimer-line, .section-black .disclaimer-line { color: var(--warm-gray); }
.disclaimer-banner {
  background: rgba(0,53,148,0.05); border: 1px solid rgba(0,53,148,0.2); border-left: 3px solid var(--blue);
  padding: 1.1rem 1.4rem; border-radius: var(--radius); font-size: var(--text-sm); color: var(--ink-soft);
}
.disclaimer-banner strong { color: var(--soft-black); }

/* Media wordmark strip */
.media-strip { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; align-items: center; }
.media-strip .outlet { font-family: var(--serif); font-size: var(--text-lg); font-weight: 500; color: rgba(250,246,239,0.62); letter-spacing: 0.01em; }
.media-strip.on-light .outlet { color: var(--warm-gray-d); }

/* Result entries */
.result-entry { border-top: 1px solid var(--line-light); padding: 1.75rem 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.result-entry h3 { font-size: var(--text-xl); }
.result-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--text-sm); }
.result-meta .rm { color: var(--ink-soft); }
.result-meta .rm b { color: var(--soft-black); font-weight: 600; }
.result-outcome { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue); padding: 0.25rem 0.65rem; border-radius: 2px; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line-light); align-items: start; }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); font-family: var(--serif); font-size: var(--text-2xl); color: var(--blue); line-height: 1; opacity: 0.75; }
.section-dark .step::before, .section-black .step::before { color: #8ea8d6; }
.section-dark .step, .section-black .step { border-top-color: var(--line-dark); }
.step h3 { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.step p { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }
.section-dark .step p, .section-black .step p { color: rgba(250,246,239,0.72); }

/* FAQ (details) */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font-family: var(--serif); font-size: var(--text-lg); font-weight: 500; color: var(--soft-black); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.1rem; font-family: var(--sans); font-size: 1.5rem; color: var(--blue); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--ink-soft); font-size: var(--text-base); }
.section-dark .faq, .section-black .faq, .section-dark .faq details, .section-black .faq details { border-color: var(--line-dark); }
.section-dark .faq summary, .section-black .faq summary { color: var(--ivory); }
.section-dark .faq details p, .section-black .faq details p { color: rgba(250,246,239,0.75); }

/* Data table */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table th { text-align: left; font-family: var(--sans); font-weight: 600; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); padding: 0.75rem 1rem; border-bottom: 2px solid var(--blue); }
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-light); color: var(--ink-soft); vertical-align: top; }
.data-table tr:hover td { background: rgba(0,53,148,0.03); }
.prose blockquote.disclaimer-banner { margin: 1.5rem 0; }
.prose .quote-card { margin: 1.25rem 0; }
.prose .quote-card blockquote { font-size: var(--text-base); }

/* Split feature (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .split-media img { filter: grayscale(1) contrast(1.05); border-radius: var(--radius); width: 100%; }
.split.reverse .split-media { order: 2; }

/* CTA band */
.cta-band { background: var(--near-black); color: var(--ivory); text-align: center; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; margin-bottom: 1.25rem; }
.cta-band p { margin-inline: auto; color: rgba(250,246,239,0.82); }
.cta-band .btn-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.cta-band .microcopy { font-size: var(--text-sm); color: var(--warm-gray); margin-top: 1.5rem; margin-inline: auto; }
.cta-band.grain::before { content:""; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"); z-index:0; }

/* Video placeholder */
.video-ph { background: var(--soft-black); border: 1px solid var(--line-dark); border-radius: var(--radius); aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--warm-gray); text-align: center; padding: 2rem; }
.video-ph .play { width: 64px; height: 64px; border: 2px solid rgba(250,246,239,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.video-ph .play svg { width: 22px; height: 22px; color: var(--ivory); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--near-black); color: rgba(250,246,239,0.7); font-size: var(--text-sm); padding-block: clamp(3rem,6vw,4.5rem) 2rem; border-top: 3px solid var(--blue); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand svg { height: 44px; color: var(--ivory); margin-bottom: 1.25rem; }
.footer-brand p { font-size: var(--text-sm); color: rgba(250,246,239,0.6); max-width: 38ch; }
.footer-col h4 { font-family: var(--sans); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(250,246,239,0.72); }
.footer-col a:hover { color: #fff; }
.footer-nap { color: rgba(250,246,239,0.72); font-style: normal; line-height: 1.8; }
.footer-legal { padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.footer-legal .disclaimers { font-size: var(--text-xs); color: var(--warm-gray); line-height: 1.7; max-width: 90ch; }
.footer-legal .disclaimers strong { color: rgba(250,246,239,0.85); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: var(--text-xs); }
.footer-links a { color: var(--warm-gray); }
.footer-bottom { font-size: var(--text-xs); color: var(--warm-gray); margin-top: 1rem; }

/* ============================================================
   INTAKE
   ============================================================ */
.stage-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: stage; margin-block: 2rem; }
.stage-track .stage { text-align: center; position: relative; padding-top: 2.75rem; }
.stage-track .stage::before { counter-increment: stage; content: counter(stage); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--soft-black); color: var(--ivory); border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; font-weight: 600; z-index: 1; font-family: var(--serif); }
.stage-track .stage.active::before { background: var(--red); border-color: var(--red); color: #fff; }
.stage-track .stage::after { content: ""; position: absolute; top: 20px; left: 50%; width: 100%; height: 1px; background: var(--line-light); z-index: 0; }
.stage-track .stage:last-child::after { display: none; }
.stage-track .stage span { font-size: var(--text-xs); color: var(--ink-soft); font-weight: 600; letter-spacing: 0.02em; display: block; }
.stage-track .stage small { font-size: 0.7rem; color: var(--warm-gray); display: block; margin-top: 0.2rem; }

.intake-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--soft-black); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: var(--text-base); padding: 0.85rem 1rem;
  border: 1px solid var(--line-light); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(0,53,148,0.2); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--text-xs); color: var(--ink-soft); line-height: 1.6; }
.consent input { width: 20px; height: 20px; margin-top: 2px; }
.form-note { font-size: var(--text-xs); color: var(--warm-gray); font-style: italic; }
.embed-slot { border: 1px dashed var(--blue); background: rgba(0,53,148,0.04); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--ink-soft); font-size: var(--text-sm); }

/* Chat launcher */
.chat-pill { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1200; background: var(--red); color: #fff; border: 0; border-radius: 100px; padding: 0.9rem 1.4rem; font-family: var(--sans); font-weight: 600; font-size: var(--text-sm); cursor: pointer; box-shadow: 0 8px 30px rgba(213,0,50,0.35); display: inline-flex; align-items: center; gap: 0.6rem; }
.chat-pill:hover { background: var(--red-dark); }
.chat-pill svg { width: 18px; height: 18px; }

/* ============================================================
   LANDING PAGES (/lp/)
   ============================================================ */
.lp-header { background: var(--near-black); border-bottom: 1px solid var(--line-dark); }
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.lp-header .brand svg { height: 36px; color: var(--ivory); }
.lp-hero { background: var(--near-black); color: var(--ivory); padding-block: clamp(3rem,7vw,5.5rem); position: relative; overflow: hidden; }
.lp-hero::before { content:""; position:absolute; inset:0; background-size:cover; background-position:center; opacity:0.16; filter:grayscale(1); }
.lp-hero .wrap { position: relative; z-index: 1; }
.lp-hero h1 { color: #fff; font-size: var(--text-3xl); max-width: 20ch; }
.lp-hero .sub { color: rgba(250,246,239,0.85); font-size: var(--text-lg); max-width: 54ch; margin-top: 1.25rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; font-size: var(--text-sm); color: var(--warm-gray); }
.lp-trust .t { display: inline-flex; align-items: center; gap: 0.5rem; }
.lp-trust .t::before { content: ""; width: 6px; height: 6px; background: var(--blue-light); border-radius: 50%; }

/* Thank-you */
.ty { text-align: center; padding-block: clamp(4rem,9vw,7rem); }
.ty .checkmark { width: 72px; height: 72px; margin: 0 auto 2rem; border-radius: 50%; border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; }
.ty .checkmark svg { width: 34px; height: 34px; color: var(--blue); }
.ty h1 { max-width: 22ch; margin-inline: auto; }
.ty p { margin-inline: auto; margin-top: 1.25rem; color: var(--ink-soft); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
  .authority-bar .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stakes { grid-template-columns: 1fr; }
  .stakes .stake:nth-child(odd) { border-right: 0; padding-right: 0; }
  .stakes .stake:nth-child(even) { padding-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .stage-track { grid-template-columns: 1fr; gap: 0.5rem; }
  .stage-track .stage { display: grid; grid-template-columns: auto 1fr; gap: 1rem; text-align: left; padding-top: 0; align-items: center; }
  .stage-track .stage::before { position: static; transform: none; }
  .stage-track .stage::after { display: none; }
  .stage-track .stage span, .stage-track .stage small { text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .utility-bar .u-fed { display: none; }
  .hero-media img { object-position: 62% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(18,17,20,0.94) 0%, rgba(18,17,20,0.55) 55%, rgba(18,17,20,0.35) 100%); }
  /* Compact icon-only chat launcher on mobile so it does not overlap CTAs */
  .chat-pill { bottom: 1rem; right: 1rem; padding: 0.85rem; border-radius: 50%; gap: 0; }
  .chat-pill-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
