/* ==========================================================================
   CHARLES OKPALA — SITE STYLESHEET (v11, "Night Blue")
   --------------------------------------------------------------------------
   One file, no build step. Sections:
     1. Tokens & themes      6. Hero + page hero        11. Forms, FAQ, downloads
     2. Reset & base         7. Marquee, stats, rooms   12. Blog & long-form prose
     3. Layout helpers       8. Book, palette, tabs     13. Footer
     4. Buttons & chips      9. Cards, quotes, steps    14. Join dialog + MailerLite
     5. Navigation          10. Community, CTA          15. Motion & utilities
   Palette: ink navy surfaces, electric blue for action, ice-cyan for light.
   Type: Bricolage Grotesque (display), Instrument Sans (body), JetBrains Mono (labels).
   ========================================================================== */

/* ---------- 1. TOKENS & THEMES ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink-1000: #030816;
  --ink-950: #050b1e;
  --ink-900: #081330;
  --ink-800: #0c1d4a;
  --ink-700: #122b6b;
  --blue-700: #1a3fb8;
  --blue-600: #2350e6;
  --blue-500: #3d73ff;
  --blue-400: #6c95ff;
  --cyan-400: #4cc4f5;
  --cyan-300: #8fd5ff;
  --cyan-200: #bde8ff;
  --ice: #eaf1ff;
  --paper: #f4f7ff;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1240px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --sec-pad: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* Surface themes: every section picks one, components read the variables. */
.theme-dark {
  --bg: var(--ink-950);
  --fg: #eef3ff;
  --fg-2: #b4c3e6;
  --fg-3: #8394bb;
  --line: rgba(160, 188, 255, 0.16);
  --line-strong: rgba(160, 188, 255, 0.32);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022));
  --card-shadow: none;
  --accent: var(--cyan-300);
  --accent-strong: var(--blue-400);
  --glow: rgba(91, 140, 255, 0.22);
  --grad: linear-gradient(100deg, #86a8ff 0%, #8fd5ff 48%, #6c95ff 100%);
  --ghost-bg: rgba(255, 255, 255, 0.04);
  color-scheme: dark;
}
.theme-light {
  --bg: var(--paper);
  --fg: var(--ink-900);
  --fg-2: #34466d;
  --fg-3: #5a6a8f;
  --line: rgba(12, 29, 74, 0.12);
  --line-strong: rgba(12, 29, 74, 0.26);
  --card-bg: #ffffff;
  --card-shadow: 0 1px 2px rgba(12, 29, 74, 0.05), 0 18px 40px -24px rgba(18, 43, 107, 0.28);
  --accent: var(--blue-600);
  --accent-strong: var(--blue-600);
  --glow: rgba(61, 115, 255, 0.14);
  --grad: linear-gradient(100deg, #1f4fe0 0%, #2e8bff 55%, #14a9e0 100%);
  --ghost-bg: transparent;
  color-scheme: light;
}
.theme-mist {
  --bg: #e8efff;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); background: var(--ink-950); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #eef3ff;
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
em { font-style: italic; }
::selection { background: var(--blue-500); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: 3px; border-radius: 6px; }
.theme-light :focus-visible { outline-color: var(--blue-600); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: 0.7rem 1.1rem; background: #fff; color: var(--ink-900); border-radius: 999px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Scroll progress bar (top of viewport) */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--blue-500), var(--cyan-300)); }

/* ---------- 3. LAYOUT HELPERS ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }
.sec { position: relative; background: var(--bg); color: var(--fg); padding-block: var(--sec-pad); }
.sec--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.sec--flush-top { padding-top: 0; }
.sec--glow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, var(--glow), transparent 70%); pointer-events: none; }
.sec > .wrap { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s ease-out infinite; }
.eyebrow--plain::before { display: none; }

.h-display { font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: 0.96; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.03; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--fg-2); max-width: 58ch; }
.muted { color: var(--fg-3); }
.small { font-size: 0.9375rem; }
.grad { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shimmer 9s linear infinite; padding-inline: 0.02em; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.sec-head > div { max-width: 40rem; }
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center > div { margin-inline: auto; }
.sec-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, 2vw, 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); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.split__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); padding-top: 0.5rem; }
.split__body > * + * { margin-top: 1.25rem; }
.split__body p { font-size: 1.15rem; color: var(--fg-2); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- 4. BUTTONS & CHIPS ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; line-height: 1.1; letter-spacing: -0.005em;
  text-align: center; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--primary {
  color: #fff; background: linear-gradient(135deg, #4a7dff 0%, #2350e6 100%);
  box-shadow: 0 10px 34px -10px rgba(61, 115, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(61, 115, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--ghost { color: var(--fg); background: var(--ghost-bg); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--glow); }
.btn--light { color: var(--ink-900); background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }
.btn--light:hover { transform: translateY(-2px); }
.btn--linkedin { color: #fff; background: linear-gradient(135deg, #1a8cd8 0%, #0a66c2 100%); box-shadow: 0 10px 34px -10px rgba(10, 102, 194, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--linkedin:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--accent); border-bottom: 1px solid transparent; transition: gap 0.3s var(--ease), border-color 0.3s; }
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover::after { transform: translateX(4px); }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.85rem; color: var(--fg-2); background: var(--ghost-bg); backdrop-filter: blur(6px); }
.chip b { color: var(--fg); font-weight: 700; }

/* ---------- 5. NAVIGATION ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: 0; right: 0; padding-inline: clamp(0.75rem, 2vw, 1.5rem); pointer-events: none; transition: top 0.4s var(--ease); }
.nav__bar {
  pointer-events: auto; max-width: 1180px; margin-inline: auto; height: 62px; padding: 0 0.6rem 0 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-radius: 999px; border: 1px solid rgba(160, 188, 255, 0.16);
  background: rgba(8, 19, 48, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled .nav__bar { background: rgba(5, 11, 30, 0.82); border-color: rgba(160, 188, 255, 0.22); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__links a { position: relative; padding: 0.5rem 0.85rem; font-size: 0.93rem; font-weight: 500; color: #c3d0ef; border-radius: 999px; transition: color 0.25s, background 0.25s; }
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav__links a[aria-current="page"] { color: #fff; background: rgba(91, 140, 255, 0.2); }
.nav__links .nav__mobile-only { display: none; }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(160, 188, 255, 0.25); background: rgba(255, 255, 255, 0.05); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.2s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1100px) { .nav__actions .btn--ghost { display: none; } }
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.2rem;
    padding: 6rem var(--gutter) 3rem; background: radial-gradient(80% 50% at 80% 0%, rgba(61, 115, 255, 0.35), transparent 70%), var(--ink-950);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
    pointer-events: auto;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.04em; padding: 0.3rem 0; color: #fff; background: none !important; }
  .nav__links a[aria-current="page"] { color: var(--cyan-300); }
  .nav__links .nav__mobile-only { display: inline-flex; margin-top: 1.5rem; font-size: 1rem; letter-spacing: 0; padding: 0.8rem 1.5rem; background: linear-gradient(135deg, #4a7dff, #2350e6) !important; border-radius: 999px; }
  .nav__bar { position: relative; z-index: 2; }
  /* backdrop-filter would turn the bar into the containing block of the fixed menu */
  .nav.menu-open .nav__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: rgba(160, 188, 255, 0.25); box-shadow: none; }
  .nav__actions .btn--primary { display: none; }
}

/* ---------- 6. HERO + PAGE HERO ---------- */
.hero, .phero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-950); color: #eef3ff; }
.hero__bg, .phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.orb--1 { width: 640px; height: 640px; right: -180px; top: -200px; background: radial-gradient(circle, rgba(47, 99, 255, 0.85), transparent 66%); opacity: 0.6; animation: drift 20s ease-in-out infinite alternate; }
.orb--2 { width: 520px; height: 520px; left: -200px; bottom: -240px; background: radial-gradient(circle, rgba(24, 183, 232, 0.65), transparent 66%); opacity: 0.32; animation: drift 24s ease-in-out infinite alternate-reverse; }
.orb--3 { width: 360px; height: 360px; left: 38%; top: 8%; background: radial-gradient(circle, rgba(108, 149, 255, 0.5), transparent 66%); opacity: 0.22; animation: drift 17s ease-in-out infinite alternate; }
.gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143, 180, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 180, 255, 0.09) 1px, transparent 1px);
  background-size: 60px 60px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 78%);
}
.spotlight { position: absolute; inset: 0; background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 28%), rgba(91, 140, 255, 0.2), transparent 62%); transition: background 0.1s; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero { padding: calc(var(--nav-h) + clamp(3rem, 7vh, 5.5rem)) 0 clamp(4rem, 8vw, 6.5rem); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy .chip { margin-bottom: 1.6rem; }
.hero__title { margin-bottom: 1.6rem; }
.nw { white-space: nowrap; }
.hero__lead { max-width: 34rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #b4c3e6; margin-bottom: 2.2rem; }
.hero__note { margin-top: 1.4rem; font-size: 0.9rem; color: #8394bb; display: flex; align-items: center; gap: 0.55rem; }
.hero__note svg { width: 16px; height: 16px; color: var(--cyan-300); flex: none; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { order: -1; max-width: 340px; margin-inline: auto; width: 100%; } }

.portrait { position: relative; width: 100%; max-width: 460px; margin-inline: auto; aspect-ratio: 4 / 5; transform-style: preserve-3d; }
.portrait__ring { position: absolute; inset: -16px; border-radius: 240px 240px 40px 40px; border: 1px solid rgba(143, 213, 255, 0.22); }
.portrait__ring--2 { inset: -34px; border-radius: 260px 260px 54px 54px; border-color: rgba(143, 213, 255, 0.09); }
.portrait__frame { position: absolute; inset: 0; border-radius: 230px 230px 28px 28px; overflow: hidden; background: var(--ink-800); box-shadow: 0 0 0 1px rgba(160, 200, 255, 0.28), 0 50px 120px -30px rgba(47, 99, 255, 0.6); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 30, 0.75)); }
.portrait__scan { position: absolute; z-index: 2; left: 0; right: 0; top: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan-300), transparent); box-shadow: 0 0 26px 5px rgba(143, 213, 255, 0.45); animation: scan 7s ease-in-out infinite; opacity: 0.8; }
.portrait__name { position: absolute; z-index: 3; left: 1.4rem; bottom: 1.2rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #dbe7ff; }
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 1rem 0.65rem 0.7rem;
  border-radius: 18px; border: 1px solid rgba(160, 200, 255, 0.28); background: rgba(8, 19, 48, 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
  animation: bob 6s ease-in-out infinite; font-size: 0.82rem; line-height: 1.25; color: #b4c3e6;
}
.float-chip b { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.03em; color: #fff; line-height: 1.05; }
.float-chip i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(74, 125, 255, 0.5), rgba(24, 183, 232, 0.3)); color: #fff; font-style: normal; flex: none; }
.float-chip i svg { width: 20px; height: 20px; }
.float-chip--a { left: -12%; top: 14%; }
.float-chip--b { right: -10%; top: 42%; animation-delay: -2s; }
.float-chip--c { left: -6%; bottom: 8%; animation-delay: -4s; }
@media (max-width: 1100px) { .float-chip--a { left: -4%; } .float-chip--b { right: -4%; } .float-chip--c { left: -2%; } }
@media (max-width: 520px) { .float-chip { padding: 0.5rem 0.8rem 0.5rem 0.5rem; font-size: 0.72rem; } .float-chip b { font-size: 1rem; } .float-chip i { width: 30px; height: 30px; } }

/* Interior page hero */
.phero { padding: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5.5rem); }
.phero--center .phero__copy { text-align: center; margin-inline: auto; }
.phero--center .lead, .phero--center .btn-row { margin-inline: auto; justify-content: center; }
.phero__inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.phero--split .phero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.phero__copy { max-width: 52rem; }
.phero__copy .h1 { margin-bottom: 1.4rem; }
.phero__copy .lead { color: #b4c3e6; margin-bottom: 2rem; }
.phero__copy .btn-row { margin-top: 0.4rem; }
.phero__copy .eyebrow { margin-bottom: 1.2rem; }
.phero__figure { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.phero__figure--book { max-width: 330px; perspective: 1200px; }
.phero__figure--book img { border-radius: 6px 14px 14px 6px; box-shadow: 0 50px 90px -30px rgba(47, 99, 255, 0.7), -10px 0 20px -8px rgba(0, 0, 0, 0.4); }
.phero__figure .portrait { max-width: 380px; }
@media (max-width: 860px) { .phero--split .phero__inner { grid-template-columns: 1fr; } .phero__figure { max-width: 300px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.6rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8394bb; }
.crumbs a { color: #aabbe3; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #dbe7ff; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 7. MARQUEE, STATS, ROOMS ---------- */
.marquee { overflow: hidden; background: var(--ink-950); border-block: 1px solid rgba(160, 188, 255, 0.12); padding-block: 1.1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; color: rgba(170, 196, 255, 0.42); white-space: nowrap; }
.marquee__item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 18px var(--blue-500); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card-bg); }
.stat { padding: clamp(1.4rem, 3vw, 2.2rem); border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.045em; color: var(--fg); }
.stat__num .grad { display: inline-block; }
.stat__label { margin-top: 0.7rem; font-size: 0.95rem; color: var(--fg-3); max-width: 22ch; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } }

/* Scroll-lit statement */
.lit { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 24ch; }
.lit--wide { max-width: 30ch; }
.lit .w { opacity: 0.2; transition: opacity 0.35s linear; }
.lit .w.on { opacity: 1; }
.no-js .lit .w, .lit.static .w { opacity: 1; }

/* Three rooms */
.rooms { display: flex; gap: 1rem; height: clamp(420px, 56vh, 520px); }
.room {
  position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 2.4vw, 2.2rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--card-shadow);
  transition: flex 0.7s var(--ease), border-color 0.4s, background 0.4s; cursor: pointer;
}
.room::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.room.is-active { flex: 2.4; border-color: var(--line-strong); background: linear-gradient(160deg, rgba(61, 115, 255, 0.28), rgba(255, 255, 255, 0.03) 60%), var(--card-bg); }
.room.is-active::before { opacity: 1; }
.room__num { position: absolute; top: clamp(1.2rem, 2vw, 1.8rem); left: clamp(1.4rem, 2.4vw, 2.2rem); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--accent); }
.room__icon { position: absolute; top: clamp(1.1rem, 2vw, 1.7rem); right: clamp(1.2rem, 2vw, 1.8rem); width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent); background: var(--ghost-bg); transition: transform 0.6s var(--ease), background 0.4s; }
.room.is-active .room__icon { transform: rotate(-8deg) scale(1.08); background: var(--glow); }
.room__icon svg { width: 26px; height: 26px; }
.room__title { font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -0.04em; margin-bottom: 0.6rem; }
.room__body { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease) 0.05s; }
.room.is-active .room__body { max-height: 260px; opacity: 1; }
.room__body p { color: var(--fg-2); max-width: 36ch; margin-bottom: 1.1rem; font-size: 1rem; }
@media (max-width: 860px) {
  .rooms { flex-direction: column; height: auto; }
  .room { flex: none; min-height: 150px; padding-top: 4.2rem; }
  .room.is-active { flex: none; }
  .room__body { max-height: none; opacity: 1; }
}

/* ---------- 8. BOOK, PALETTE, TABS ---------- */
.bookfeat { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.bookfeat__cover { perspective: 1400px; max-width: 360px; margin-inline: auto; width: 100%; }
.tilt { transform-style: preserve-3d; transition: transform 0.25s var(--ease); will-change: transform; }
.bookfeat__cover .tilt img { border-radius: 6px 16px 16px 6px; box-shadow: 0 60px 100px -30px rgba(47, 99, 255, 0.75), -14px 0 24px -10px rgba(0, 0, 0, 0.5); }
.bookfeat__copy .h2 { margin-bottom: 1.2rem; }
.bookfeat__copy .lead { margin-bottom: 1.6rem; }
.qchips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
@media (max-width: 860px) { .bookfeat { grid-template-columns: 1fr; } }

.signup-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.8rem, 4vw, 3.5rem); border-radius: var(--r-xl); border: 1px solid var(--line-strong);
  background: radial-gradient(70% 90% at 100% 0%, rgba(61, 115, 255, 0.35), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.signup-card .h2 { margin: 1rem 0 1rem; }
.signup-card__side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.signup-card__note { font-size: 0.9rem; color: var(--fg-3); }
.li-badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #1a8cd8, #0a66c2); box-shadow: 0 18px 36px -14px rgba(10, 102, 194, 0.9); color: #fff; }
.li-badge svg { width: 30px; height: 30px; }
@media (max-width: 820px) { .signup-card { grid-template-columns: 1fr; } }

.tabs { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab { position: relative; text-align: left; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0.2rem; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--fg-3); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.55rem); letter-spacing: -0.03em; line-height: 1.15; transition: color 0.3s, padding-left 0.4s var(--ease); }
.tab small { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; color: var(--fg-3); flex: none; width: 2rem; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); padding-left: 0.9rem; }
.tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 55%; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(180deg, var(--blue-500), var(--cyan-300)); }
.tabs__panels { position: relative; min-height: 260px; }
.tabs__panel { display: none; height: 100%; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(80% 80% at 100% 0%, var(--glow), transparent 70%), var(--card-bg); box-shadow: var(--card-shadow); animation: panelIn 0.55s var(--ease); flex-direction: column; justify-content: space-between; gap: 2rem; }
.tabs__panel.is-active { display: flex; }
.tabs__panel .kicker { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.tabs__panel h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 0.8rem 0 1rem; }
.tabs__panel p { font-size: 1.1rem; color: var(--fg-2); max-width: 38ch; }
@media (max-width: 860px) { .tabs { grid-template-columns: 1fr; } }

/* ---------- 9. CARDS, QUOTES, STEPS ---------- */
.card {
  position: relative; overflow: hidden; padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--card-shadow);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 62%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__idx { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.4rem; border-radius: 12px; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); background: var(--ghost-bg); }
.card__title { font-size: clamp(1.2rem, 1.7vw, 1.45rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 0.7rem; }
.card__text { color: var(--fg-2); font-size: 1rem; }
.card--hero-link { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 220px; }

.post-card { padding: 0; display: flex; flex-direction: column; }
.post-card__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__imgwrap { overflow: hidden; }
.post-card__body { padding: clamp(1.2rem, 2vw, 1.7rem); display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-meta { display: flex; gap: 0.9rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.post-meta span:first-child, .post-meta a:first-child { color: var(--accent); }
.post-card__title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.025em; line-height: 1.18; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { color: var(--fg-2); font-size: 0.98rem; }

.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 3vw, 2.6rem); }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--fg); }
.quote-card blockquote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 0.7; height: 2.2rem; margin-bottom: 0.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.quote-card footer b { display: block; font-size: 0.98rem; }
.quote-card footer span { font-size: 0.88rem; color: var(--fg-3); }

.pullquote { position: relative; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.1; letter-spacing: -0.035em; max-width: 24ch; color: var(--fg); }
.pullquote::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-300)); margin-bottom: 1.6rem; }

/* Vertical steps with scroll-drawn line */
.steps { position: relative; display: grid; gap: 0; padding-left: clamp(2.8rem, 6vw, 4.6rem); counter-reset: s; max-width: 56rem; }
.steps::before, .steps::after { content: ""; position: absolute; left: clamp(1.1rem, 2.2vw, 1.55rem); top: 0.6rem; bottom: 0.6rem; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--blue-500), var(--cyan-300)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 0 0 clamp(1.8rem, 3.5vw, 2.8rem); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: calc(-1 * clamp(2.8rem, 6vw, 4.6rem) + clamp(1.1rem, 2.2vw, 1.55rem) - 15px + 1px); top: 0.1rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-strong); font-family: var(--font-mono); font-size: 0.66rem; color: var(--fg-3); transition: border-color 0.4s, color 0.4s, box-shadow 0.4s, background 0.4s; }
.step.on .step__dot { border-color: var(--blue-500); color: #fff; background: var(--blue-500); box-shadow: 0 0 0 6px var(--glow); }
.step__when { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.step__title { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.step__text { color: var(--fg-2); max-width: 52ch; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.6vw, 1.2rem); }
.gallery__item { overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); aspect-ratio: 1; background: var(--ink-800); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.5s; filter: saturate(0.9); }
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery__item:nth-child(2) { transform: translateY(1.5rem); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__item:nth-child(2) { transform: none; } .gallery__item:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
.wide-photo { width: 100%; border-radius: var(--r-xl); border: 1px solid var(--line-strong); aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 30%; box-shadow: 0 50px 100px -40px rgba(18, 43, 107, 0.6); }

/* ---------- 10. COMMUNITY + CTA ---------- */
.table-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.table-feature .h2 { margin: 1rem 0 1.2rem; }
.table-feature .lead { margin-bottom: 2rem; }
.seats { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(5px, 0.9vw, 9px); max-width: 480px; margin-inline: auto; width: 100%; }
.seats i { aspect-ratio: 1; border-radius: 50%; background: rgba(160, 188, 255, 0.14); transition: background 0.5s, box-shadow 0.5s, transform 0.5s var(--ease); transition-delay: calc(var(--i) * 9ms); }
.seats.on i { background: linear-gradient(135deg, var(--blue-400), var(--cyan-300)); box-shadow: 0 0 10px rgba(108, 149, 255, 0.5); }
.seats__cap { margin-top: 1.3rem; text-align: center; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.seats__cap b { color: var(--accent); }
@media (max-width: 860px) { .table-feature { grid-template-columns: 1fr; } }

.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4rem); border-radius: var(--r-xl);
  background: radial-gradient(70% 120% at 15% 0%, rgba(74, 125, 255, 0.9), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(24, 183, 232, 0.55), transparent 60%), linear-gradient(135deg, #12296a, #0a1a4d);
  color: #fff; border: 1px solid rgba(160, 200, 255, 0.3);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); }
.cta .h2 { max-width: 18ch; margin: 0 auto 1.2rem; }
.cta p { max-width: 46ch; margin: 0 auto 2rem; color: #d3e0ff; font-size: 1.15rem; }
.cta .btn-row { justify-content: center; }
.cta--left { text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(1.8rem, 4vw, 3.2rem); }
.cta--left .h2, .cta--left p { margin-inline: 0; }
.cta--left .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.7rem; max-width: 24ch; }
.cta--left p { margin-bottom: 0; }
@media (max-width: 820px) { .cta--left { grid-template-columns: 1fr; } }

.notice { display: flex; gap: 1.2rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: var(--r-md); border: 1px solid var(--line-strong); border-left: 4px solid var(--blue-500); background: var(--card-bg); box-shadow: var(--card-shadow); max-width: 52rem; }
.notice h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.notice p { color: var(--fg-2); font-size: 0.98rem; margin-bottom: 0.9rem; }
.notice ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.96rem; color: var(--fg-2); }
.notice ul b { color: var(--fg); }
.notice .link { color: var(--accent); }
.rule-list { list-style: none; display: grid; gap: 0.7rem; margin-top: 1rem; }
.rule-list li { display: flex; gap: 0.7rem; color: var(--fg-2); }
.rule-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.62em; border-radius: 2px; background: var(--blue-500); transform: rotate(45deg); }

/* ---------- 11. FORMS, FAQ, DOWNLOADS ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--fg); }
.field input, .field select, .field textarea, .search-input input {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card-bg); color: var(--fg);
  font: inherit; font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.theme-dark .field input, .theme-dark .field select, .theme-dark .field textarea { background: rgba(255, 255, 255, 0.05); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--glow); }
.field ::placeholder, .search-input ::placeholder { color: var(--fg-3); opacity: 0.8; }
.field select option { color: #0c1d4a; }
.form-status { min-height: 1.5em; font-size: 0.95rem; color: var(--fg-2); }
.form-status[data-state="error"] { color: #ff8a8a; }
.theme-light .form-status[data-state="error"] { color: #c0262d; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-hint { font-size: 0.88rem; color: var(--fg-3); }

.faq { display: grid; gap: 0.8rem; max-width: 52rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card-bg); box-shadow: var(--card-shadow); overflow: hidden; transition: border-color 0.3s; }
.faq__item[data-open="true"] { border-color: var(--line-strong); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; text-align: left; padding: 1.2rem 1.4rem; background: none; border: 0; color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.faq__q::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent); font-family: var(--font-body); font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform 0.4s var(--ease), background 0.3s; }
.faq__item[data-open="true"] .faq__q::after { transform: rotate(135deg); background: var(--glow); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--fg-2); }

.dl-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--card-bg); box-shadow: var(--card-shadow); max-width: 30rem; transition: transform 0.4s var(--ease), border-color 0.3s; }
.dl-card:hover { transform: translateY(-3px); border-color: var(--blue-500); }
.dl-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; flex: none; }
.dl-card__icon svg { width: 24px; height: 24px; }
.dl-card b { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.02em; }
.dl-card span { font-size: 0.88rem; color: var(--fg-3); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.shot { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--card-shadow); }
.shot__frame { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--ink-800); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.9s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { padding: 1rem 1.2rem 1.2rem; display: grid; gap: 0.2rem; }
.shot__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.shot__meta { font-size: 0.85rem; color: var(--fg-3); }
.shot__link { margin-top: 0.5rem; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.92rem; color: var(--accent); }
.shot__link span { font-weight: 400; color: var(--fg-3); font-size: 0.82rem; }
@media (max-width: 860px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; } }

.search-input { position: relative; max-width: 560px; }
.search-input svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--fg-3); pointer-events: none; }
.search-input input { padding-left: 3rem; border-radius: 999px; }

/* ---------- 12. BLOG & LONG-FORM PROSE ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-btn { padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg-2); font-weight: 700; font-size: 0.9rem; transition: all 0.3s var(--ease); }
.chip-btn:hover { border-color: var(--blue-500); color: var(--fg); }
.chip-btn[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 8px 22px -8px rgba(35, 80, 230, 0.8); }
.empty-note { display: none; padding: 2rem 0; color: var(--fg-3); }
.empty-note.is-visible { display: block; }
.more-wrap { margin-top: 2.5rem; text-align: center; }

.featured-post { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; padding: clamp(1rem, 2vw, 1.6rem); border-radius: var(--r-xl); border: 1px solid var(--line-strong); background: var(--card-bg); box-shadow: var(--card-shadow); overflow: hidden; }
.featured-post img { border-radius: var(--r-lg); aspect-ratio: 16 / 11; width: 100%; object-fit: cover; }
.featured-post__body { padding: clamp(0.5rem, 2vw, 1.5rem); display: grid; gap: 1rem; justify-items: start; }
.featured-post__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -0.035em; }
.featured-post__title a::after { content: ""; position: absolute; inset: 0; }
.featured-post p { color: var(--fg-2); font-size: 1.1rem; }
@media (max-width: 820px) { .featured-post { grid-template-columns: 1fr; } }

.post-hero { padding-bottom: clamp(5rem, 9vw, 8rem); }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1.3rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: #aabbe3; }
.post-hero__meta a { color: var(--cyan-300); }
.post-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 22ch; line-height: 1.02; letter-spacing: -0.04em; }
.post-cover { margin-top: calc(-1 * clamp(3rem, 6vw, 5rem)); position: relative; z-index: 2; }
.post-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); border: 1px solid rgba(160, 200, 255, 0.3); box-shadow: 0 40px 80px -30px rgba(8, 19, 48, 0.7); }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 720px) 60px; gap: clamp(1.5rem, 4vw, 4rem); justify-content: center; padding-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 0.9rem; }
.toc__label, .share__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 0.9rem; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--fg-3); transition: color 0.25s, border-color 0.25s; line-height: 1.35; }
.toc a:hover { color: var(--fg); }
.toc a.is-active { color: var(--accent); border-left-color: var(--blue-500); }
.share { position: sticky; top: calc(var(--nav-h) + 24px); }
.share__buttons { display: grid; gap: 0.5rem; }
.share__buttons button { padding: 0.5rem 0.4rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card-bg); color: var(--fg-2); font-size: 0.74rem; font-weight: 700; transition: all 0.3s; }
.share__buttons button:hover { border-color: var(--blue-500); color: var(--accent); }
@media (max-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 720px); } .toc, .share { position: static; } .share__buttons { display: flex; flex-wrap: wrap; } .share__buttons button { padding: 0.5rem 1rem; } .share { order: 3; } .toc { order: 0; } }

.prose { font-size: 1.125rem; line-height: 1.8; color: var(--fg-2); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -0.035em; color: var(--fg); margin-top: 2.2em; line-height: 1.1; }
.prose h3 { font-size: 1.4rem; color: var(--fg); margin-top: 1.8em; }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose blockquote { margin-inline: 0; padding: 0.4rem 0 0.4rem 1.6rem; border-left: 4px solid var(--blue-500); font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--fg); }
.prose > p:first-of-type { font-size: 1.28rem; color: var(--fg); }
.legal.prose > p:first-of-type { font-size: inherit; color: inherit; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.tags a { padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.84rem; color: var(--fg-2); text-decoration: none; }
.tags a:hover { border-color: var(--blue-500); color: var(--accent); }
.author { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card-bg); box-shadow: var(--card-shadow); }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--blue-500); }
.author b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--fg); }
.author span { display: block; font-size: 0.86rem; color: var(--fg-3); margin-bottom: 0.5rem; }
.author p { font-size: 0.97rem; color: var(--fg-2); margin: 0; }

/* ---------- 13. FOOTER ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink-1000); color: #b4c3e6; padding-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid rgba(160, 188, 255, 0.12); }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 110%, rgba(47, 99, 255, 0.4), transparent 70%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer__brand { display: grid; gap: 1rem; align-content: start; max-width: 28rem; }
.footer__brand p { color: #93a5cd; font-size: 0.98rem; }
.footer h5 { font-family: var(--font-mono); font-weight: 400; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7f92bd; margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer li a, .footer li button { background: none; border: 0; padding: 0; color: #d0dcf7; font-size: 0.98rem; transition: color 0.25s, padding-left 0.3s var(--ease); text-align: left; }
.footer li a:hover, .footer li button:hover { color: #fff; padding-left: 4px; }
.footer__word { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 10.6vw, 9.8rem); line-height: 1.05; letter-spacing: -0.055em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(150, 185, 255, 0.22); user-select: none; margin-top: 1rem; padding-bottom: 0.14em; background: linear-gradient(180deg, rgba(120, 160, 255, 0.28), transparent 75%); -webkit-background-clip: text; background-clip: text; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.6rem; border-top: 1px solid rgba(160, 188, 255, 0.12); font-size: 0.9rem; color: #7f92bd; }
.footer__social { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__social a { color: #b4c3e6; transition: color 0.25s; }
.footer__social a:hover { color: #fff; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- 14. JOIN DIALOG + MAILERLITE SKIN ---------- */
.jd { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 1rem; }
.jd.is-open { display: grid; }
.jd__scrim { position: absolute; inset: 0; background: rgba(3, 8, 22, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.3s; }
.jd__card { position: relative; width: min(100%, 460px); max-height: calc(100dvh - 2rem); overflow: auto; border-radius: var(--r-lg); border: 1px solid rgba(160, 200, 255, 0.3); background: radial-gradient(80% 60% at 100% 0%, rgba(61, 115, 255, 0.4), transparent 70%), var(--ink-900); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; color: #eef3ff; animation: panelIn 0.5s var(--ease); }
.jd__close { position: absolute; z-index: 3; top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(160, 188, 255, 0.28); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.3rem; line-height: 1; }
.jd__close:hover { background: rgba(255, 255, 255, 0.14); }
.jd__body { padding: 0.4rem 0.4rem 0.6rem; }
.jd__fallback { display: none; padding: 1.4rem 1.6rem 1.8rem; font-size: 0.95rem; color: #b4c3e6; }
.jd__fallback a { color: var(--cyan-300); text-decoration: underline; }
.jd.is-failed .jd__fallback { display: block; }
/* MailerLite's own pop-up template is never wanted: the dialog above is the only join form. */
.ml-form-embedPopup:not(.jd__body *), .ml-form-embedWrapper.embedPopup:not(.jd__body *), .ml-form-embedBody.ml-form-embedPopup:not(.jd__body *) { display: none !important; }

/* Skin MailerLite forms (popup, embedded, dialog). The :is() trick gives ID-level
   specificity so these rules win over MailerLite's own per-form stylesheet. */
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper { background: transparent !important; border: 0 !important; border-radius: 28px !important; width: 100% !important; max-width: 100% !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper.embedPopup,
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper.embedDefault { background: radial-gradient(80% 60% at 100% 0%, rgba(61, 115, 255, 0.4), transparent 70%), #081330 !important; border: 1px solid rgba(160, 200, 255, 0.3) !important; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.8); max-width: 460px !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody { padding: 2rem 1.7rem 0.4rem !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody { padding-bottom: 2rem !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4,
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4 { font-family: "Bricolage Grotesque", system-ui, sans-serif !important; font-weight: 700 !important; font-size: 1.85rem !important; line-height: 1.08 !important; letter-spacing: -0.035em !important; color: #fff !important; margin-bottom: 0.6rem !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p,
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p { font-family: "Instrument Sans", system-ui, sans-serif !important; color: #b4c3e6 !important; font-size: 1rem !important; line-height: 1.55 !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  background-color: rgba(255, 255, 255, 0.07) !important; color: #fff !important; border: 1px solid rgba(160, 188, 255, 0.28) !important; border-radius: 14px !important;
  font-family: "Instrument Sans", system-ui, sans-serif !important; font-size: 1rem !important; padding: 0.9rem 1rem !important; height: auto; transition: border-color 0.25s, box-shadow 0.25s;
}
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus { outline: none; border-color: #6c95ff !important; box-shadow: 0 0 0 4px rgba(61, 115, 255, 0.3); }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder { color: #8394bb !important; opacity: 1; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-webkit-input-placeholder { color: #8394bb !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-moz-placeholder { color: #8394bb !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p,
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description { color: #aab9dc !important; font-family: "Instrument Sans", system-ui, sans-serif !important; font-size: 0.84rem !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label a { color: #8fd5ff !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::before { background-color: rgba(255, 255, 255, 0.08) !important; border-color: rgba(160, 188, 255, 0.4) !important; border-radius: 6px !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow input[type="checkbox"]:checked ~ .label-description::before { background-color: #3d73ff !important; border-color: #3d73ff !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  background: linear-gradient(135deg, #4a7dff, #2350e6) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
  font-family: "Instrument Sans", system-ui, sans-serif !important; font-weight: 700 !important; font-size: 1rem !important; padding: 0.95rem 1rem !important;
  box-shadow: 0 10px 30px -10px rgba(61, 115, 255, 0.9) !important; transition: transform 0.3s var(--ease), box-shadow 0.3s !important;
}
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover { background: linear-gradient(135deg, #5b8cff, #2c5bf0) !important; transform: translateY(-2px); }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.loading { display: none !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-error input { border-color: #ff7a7a !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-error .label-description, :is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-error .label-description p { color: #ff9a9a !important; }
:is(#mlb2-0, [id^="mlb2-"]).ml-form-embedContainer.ml-form-embedContainer .ml-form-successBody .ml-form-successContent h4::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 1.2rem; border-radius: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 26px no-repeat, linear-gradient(135deg, #3d73ff, #18b7e8); }
.ml-embed-wrap { max-width: 460px; width: 100%; }
.ml-form-embedPopup .ml-subscribe-close, .ml-subscribe-close { filter: invert(1) hue-rotate(180deg); opacity: 0.85; }

/* ---------- 15. MOTION & UTILITIES ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--scale { transform: scale(0.94); }
.js .reveal--left { transform: translateX(-30px); }
.js .reveal--right { transform: translateX(30px); }

@keyframes shimmer { to { background-position: 200% center; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 50px, 0) scale(1.12); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scan { 0%, 100% { top: 6%; opacity: 0; } 12%, 88% { opacity: 0.85; } 50% { top: 92%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 213, 255, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(143, 213, 255, 0); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

.stack > * + * { margin-top: var(--stack, 1rem); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.minimal-head { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 1.4rem var(--gutter); display: flex; justify-content: center; }
.live-facts { list-style: none; display: grid; gap: 0.7rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--card-bg); max-width: 34rem; margin-bottom: 1.8rem; font-size: 0.98rem; color: var(--fg-2); }
.live-facts b { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .lit .w { opacity: 1; }
  .marquee__track { animation: none; }
}
@media print {
  .nav, .scroll-progress, .jd, .marquee { display: none !important; }
  body, .sec, .hero, .phero { background: #fff !important; color: #000 !important; }
}
