/* =========================================================================
   Lumen & Marrow — Trauma-informed wellbeing studio
   Design lane: midnight-indigo base + luminous citron accent
   Type: Bodoni Moda (display serif) + Sora (geometric sans)
   ========================================================================= */

:root {
  /* base palette — deep night */
  --ink-900: #07081c;
  --ink-800: #0d0f2b;
  --ink-700: #14173a;
  --ink-600: #1d2150;
  --ink-500: #2a2f6b;
  --indigo-glow: #3b3f8f;
  --violet: #5b4ff0;

  /* luminous accent */
  --citron: #d4f24e;
  --citron-soft: #e6f88f;
  --citron-deep: #aacf2b;

  /* warm contrast for human topics */
  --blush: #ffb9a3;
  --apricot: #ffd5a8;

  /* neutrals */
  --paper: #f6f5ef;
  --paper-dim: #e7e6dc;
  --mist: #b9bbd6;
  --mist-dim: #8a8db4;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* semantic */
  --bg: var(--ink-800);
  --bg-deep: var(--ink-900);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --text: #f2f1ff;
  --text-dim: var(--mist);
  --accent: var(--citron);
  --on-accent: #11130a;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-glow: 0 0 0 1px rgba(212, 242, 78, 0.25), 0 20px 60px -20px rgba(91, 79, 240, 0.55);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.7);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---- 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; } }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* layered background mesh */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 720px at 78% -8%, rgba(91, 79, 240, 0.42), transparent 60%),
    radial-gradient(900px 620px at 8% 12%, rgba(212, 242, 78, 0.10), transparent 55%),
    radial-gradient(1200px 900px at 50% 118%, rgba(255, 185, 163, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800) 40%, var(--ink-700));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  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='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1340px; }
section { position: relative; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.serif-italic { font-style: italic; font-weight: 400; }
.accent-text { color: var(--accent); }

p { color: var(--text-dim); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: #d8d8f0; line-height: 1.55; }

/* ---- skip link ---- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---- focus ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--citron);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 28, 0.55);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -0.01em;
}
.brand .mark {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: radial-gradient(circle at 30% 25%, var(--citron), var(--citron-deep) 55%, #6a8b1c);
  box-shadow: 0 0 22px -4px rgba(212, 242, 78, 0.7);
  display: grid; place-items: center;
  color: var(--ink-900); font-weight: 700; font-family: var(--font-sans); font-size: 0.9rem;
}
.brand b { font-weight: 600; }
.brand span.sub { color: var(--mist-dim); font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; display: block; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  text-decoration: none; color: var(--mist);
  font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(212, 242, 78, 0.6); }

.nav-toggle { display: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 36px -14px rgba(212, 242, 78, 0.55); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(212, 242, 78, 0.7); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); }
.btn .arr { transition: transform 0.22s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ===================== HERO ===================== */
.hero { padding: clamp(64px, 11vh, 130px) 0 clamp(48px, 8vh, 96px); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 70px); align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  font-size: 0.78rem; color: var(--mist); margin-bottom: 26px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--citron); box-shadow: 0 0 12px var(--citron); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .micro { color: var(--mist-dim); font-size: 0.82rem; max-width: 18ch; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,15,43,0.05) 0%, rgba(13,15,43,0.65) 100%),
              radial-gradient(120% 80% at 10% 0%, rgba(91,79,240,0.35), transparent 50%);
}
.hero-float {
  position: absolute; left: -28px; bottom: 38px; z-index: 3;
  background: rgba(10, 11, 33, 0.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 16px 20px; display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-card); max-width: 250px;
}
.hero-float .pulse { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(212,242,78,0.14); display: grid; place-items: center; color: var(--citron); }
.hero-float strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); display: block; line-height: 1; }
.hero-float small { color: var(--mist-dim); font-size: 0.74rem; }
.hero-orbit {
  position: absolute; top: -22px; right: -14px; z-index: 3;
  background: var(--citron); color: var(--on-accent);
  border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 0.82rem;
  box-shadow: 0 0 26px -4px rgba(212,242,78,0.7);
  display: inline-flex; gap: 8px; align-items: center;
}

/* marquee strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin-top: clamp(40px, 7vh, 80px); overflow: hidden; }
.strip-track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.strip-track span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--mist-dim); display: inline-flex; align-items: center; gap: 56px; }
.strip-track span::after { content: "✦"; color: var(--citron); font-style: normal; font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(64px, 11vh, 130px) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 16px 0 18px; }
.section-head p { font-size: 1.08rem; }

/* trust / pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 30px 28px 32px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(212,242,78,0.35); background: var(--surface-2); }
.pillar .ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--citron);
  background: rgba(212,242,78,0.1); border: 1px solid rgba(212,242,78,0.25);
}
.pillar h3 { color: var(--text); margin-bottom: 10px; }
.pillar p { font-size: 0.96rem; }
.pillar .ix { font-family: var(--font-display); font-style: italic; color: var(--mist-dim); font-size: 0.85rem; display: block; margin-bottom: 10px; }

/* stats band */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 46px) clamp(24px, 4vw, 44px);
  background: linear-gradient(120deg, rgba(91,79,240,0.16), rgba(212,242,78,0.05));
}
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--text); line-height: 1; }
.stat .num span { color: var(--accent); }
.stat .lbl { color: var(--mist); font-size: 0.86rem; margin-top: 10px; max-width: 22ch; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); position: relative; aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content:""; position:absolute; inset:0; background: linear-gradient(160deg, transparent 40%, rgba(91,79,240,0.3)); }
.split-body h2 { margin-bottom: 20px; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: #d6d6ee; font-size: 1rem; }
.checklist li svg { flex: none; margin-top: 3px; color: var(--citron); }

/* services cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 32px 30px 34px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--citron), transparent); opacity: 0; transition: opacity 0.3s var(--ease); }
.svc:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.svc:hover::before { opacity: 1; }
.svc .num { font-family: var(--font-display); font-style: italic; color: var(--mist-dim); font-size: 0.9rem; }
.svc h3 { color: var(--text); margin: 14px 0 12px; }
.svc p { font-size: 0.96rem; margin-bottom: 18px; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc .tags span { font-size: 0.72rem; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--mist); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 32px 30px; display: flex; flex-direction: column; gap: 22px;
}
.quote .stars { color: var(--citron); letter-spacing: 3px; font-size: 0.9rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.4; color: var(--text); font-weight: 400; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--blush)); display: grid; place-items: center; font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.quote .who b { color: var(--text); font-size: 0.94rem; font-weight: 600; }
.quote .who small { color: var(--mist-dim); font-size: 0.8rem; display: block; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
.member .ring { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; background: conic-gradient(from 200deg, var(--citron), var(--violet), var(--blush), var(--citron)); padding: 3px; }
.member .ring i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink-700); font-family: var(--font-display); font-style: normal; color: var(--text); font-size: 1.4rem; }
.member h3 { color: var(--text); font-size: 1.25rem; }
.member .role { color: var(--accent); font-size: 0.84rem; font-weight: 600; margin: 4px 0 14px; }
.member p { font-size: 0.92rem; }

/* insights / blogroll */
.insights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--ink-700); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .pc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card .meta { display: flex; gap: 12px; align-items: center; font-size: 0.74rem; color: var(--mist-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.post-card .meta .pill { color: var(--accent); }
.post-card h3 { color: var(--text); font-size: 1.35rem; }
.post-card p { font-size: 0.94rem; flex: 1; }
.post-card .more { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-sans); }

/* resources / blogroll */
.resources { border: 1px solid var(--line-strong); border-radius: var(--radius-l); padding: clamp(28px,4vw,46px); background: linear-gradient(135deg, rgba(91,79,240,0.12), transparent 70%); }
.resources ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.resources li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-decoration: none; color: var(--text);
  padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
  font-weight: 500;
}
.resources li a:hover { border-color: rgba(212,242,78,0.4); transform: translateX(4px); background: var(--surface-2); }
.resources li a .host { color: var(--mist-dim); font-size: 0.78rem; font-family: var(--font-sans); }
.resources li a span.lead-anchor { display: flex; flex-direction: column; gap: 3px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(44px, 7vw, 84px); text-align: center; border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 50% -20%, rgba(91,79,240,0.5), transparent 55%), var(--ink-700); }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 50ch; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(212,242,78,0.3), transparent 65%); filter: blur(20px); top: -120px; left: 50%; transform: translateX(-50%); pointer-events: none; }

/* ===================== FOOTER ===================== */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(60px, 9vh, 110px); padding: clamp(48px, 7vw, 80px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { margin-top: 18px; max-width: 32ch; font-size: 0.94rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist-dim); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; text-decoration: none; color: var(--mist); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--mist-dim); font-size: 0.82rem; }

/* ===================== ARTICLE ===================== */
.article-hero { padding: clamp(48px, 8vh, 96px) 0 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--mist-dim); margin-bottom: 26px; }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.article-head { max-width: 60ch; }
.article-head .eyebrow { margin-bottom: 18px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 22px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: var(--mist-dim); font-size: 0.88rem; margin-top: 24px; }
.article-meta .au { display: flex; align-items: center; gap: 10px; }
.article-meta .au .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--blush)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 0.9rem; }
.article-figure { margin: clamp(34px,5vw,56px) 0 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); aspect-ratio: 16/8; }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: clamp(40px, 5vw, 72px); padding: clamp(44px,7vh,80px) 0 0; align-items: start; }
.prose { max-width: 72ch; font-size: 1.06rem; }
.prose > * + * { margin-top: 1.15em; }
.prose p { color: #d4d4ec; line-height: 1.72; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--text); margin-top: 1.9em; padding-top: 0.3em; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--text); margin-top: 1.5em; }
.prose a { color: var(--citron); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(212,242,78,0.5); transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--citron); }
.prose strong { color: var(--text); }
.prose em { color: #e8e8f8; }
.prose ul, .prose ol { padding-left: 1.4em; color: #d4d4ec; }
.prose li { margin-top: 0.5em; line-height: 1.65; }
.prose ul li::marker { color: var(--citron); }
.prose ol li::marker { color: var(--citron); font-family: var(--font-display); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { margin: 0; }
.prose blockquote { border-left: 3px solid var(--citron); padding: 6px 0 6px 24px; margin: 1.6em 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--text); }
.prose blockquote p { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.94rem; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); font-family: var(--font-sans); font-weight: 600; }
.prose td { color: #cfcfe6; }
.prose section { margin-top: 1.1em; }
.prose section h2 { margin-top: 1.4em; }

.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 24px; }
.aside-card h4 { font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist-dim); margin-bottom: 16px; }
.aside-card .src { display: flex; flex-direction: column; gap: 10px; }
.aside-card .src a { color: var(--text); text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; gap: 3px; }
.aside-card .src a:hover { border-color: rgba(212,242,78,0.4); transform: translateX(3px); }
.aside-card .src a small { color: var(--mist-dim); font-size: 0.74rem; }
.aside-cta { background: linear-gradient(150deg, rgba(91,79,240,0.25), transparent); border: 1px solid var(--line-strong); border-radius: var(--radius-l); padding: 26px 24px; }
.aside-cta h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.aside-cta p { font-size: 0.9rem; margin-bottom: 16px; }
.aside-cta .btn { width: 100%; justify-content: center; padding: 12px; font-size: 0.92rem; }

.article-foot { border-top: 1px solid var(--line); margin-top: clamp(48px,7vh,80px); padding-top: clamp(40px,6vh,64px); }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-info .eyebrow { margin-bottom: 18px; }
.contact-info h1 { margin-bottom: 22px; }
.contact-detail { display: grid; gap: 18px; margin-top: 36px; }
.contact-detail .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail .row .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(212,242,78,0.1); border: 1px solid rgba(212,242,78,0.25); display: grid; place-items: center; color: var(--citron); }
.contact-detail .row b { color: var(--text); display: block; font-size: 0.96rem; }
.contact-detail .row a, .contact-detail .row span { color: var(--mist); text-decoration: none; font-size: 0.94rem; }
.contact-detail .row a:hover { color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-card); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 9px; }
.field label .req { color: var(--citron); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 14px 16px; transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mist-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--citron); background: rgba(255,255,255,0.06); }
.field textarea { resize: vertical; min-height: 130px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 0.8rem; color: var(--mist-dim); margin-top: 16px; text-align: center; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(212,242,78,0.12); border: 1px solid rgba(212,242,78,0.4); color: var(--citron); font-size: 0.92rem; display: none; }
.form-status.show { display: block; }

/* generic page hero */
.page-hero { padding: clamp(56px, 9vh, 120px) 0 clamp(20px, 4vh, 40px); }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 16ch; margin-bottom: 24px; }
.page-hero .lead { max-width: 60ch; }

/* values list */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.value .n { font-family: var(--font-display); font-style: italic; color: var(--citron); font-size: 1.6rem; flex: none; line-height: 1; }
.value h3 { color: var(--text); font-size: 1.2rem; margin-bottom: 8px; }
.value p { font-size: 0.94rem; }

/* timeline */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item .yr { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.tl-item h3 { color: var(--text); font-size: 1.2rem; margin-bottom: 8px; }
.tl-item p { font-size: 0.96rem; }

/* ===================== ANIMATION (reveal) ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0.04s; }
[data-stagger].in > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].in > *:nth-child(3) { transition-delay: 0.20s; }
[data-stagger].in > *:nth-child(4) { transition-delay: 0.28s; }
[data-stagger].in > *:nth-child(5) { transition-delay: 0.36s; }
[data-stagger].in > *:nth-child(6) { transition-delay: 0.44s; }

/* hero load animation */
.hero-anim { opacity: 0; transform: translateY(30px); animation: heroIn 0.95s var(--ease) forwards; }
.hero-anim.d1 { animation-delay: 0.05s; }
.hero-anim.d2 { animation-delay: 0.16s; }
.hero-anim.d3 { animation-delay: 0.27s; }
.hero-anim.d4 { animation-delay: 0.38s; }
.hero-anim.d5 { animation-delay: 0.5s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-visual.hero-anim { animation-name: heroInScale; }
@keyframes heroInScale { from { opacity: 0; transform: translateY(36px) scale(0.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > *, .hero-anim { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .pillars, .svc-grid, .quotes, .team { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .insights { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resources ul { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter) 24px; background: rgba(7,8,28,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .nav-links.open a { padding: 12px 14px; }
  .pillars, .svc-grid, .quotes, .team, .stats, .values { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { left: 0; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .article-meta { gap: 12px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
