/* ─────────────────────────────────────────
   SEMEAI · style.css
   ───────────────────────────────────────── */

/* ─── VARIABLES ─── */
:root {
  --bg:            #0a0a0f;
  --bg-surface:    #0d0d18;
  --bg-card:       #0f0f1e;
  --border:        #1c1c30;
  --border-subtle: #141426;
  --accent:        #6366f1;
  --accent-hover:  #818cf8;
  --accent-dim:    rgba(99, 102, 241, 0.13);
  --accent-glow:   rgba(99, 102, 241, 0.07);
  --text-1:        #f0f0fa;
  --text-2:        #8a8aaa;
  --text-3:        #44445e;
  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --max-w:         1200px;
  --nav-h:         72px;
  --radius:        10px;
  --radius-lg:     16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem);  font-weight: 700; }
h2 { font-size: clamp(2rem,   4vw, 3rem);   font-weight: 700; }
h3 { font-size: clamp(1rem,   2vw, 1.2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

p  { color: var(--text-2); line-height: 1.72; }

em.accent-text {
  font-style: normal;
  color: var(--accent);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ─── LOGO IMAGES ─── */

/* The PNGs are exported pre-coloured for a dark background — near-white for
   the wordmarks, indigo for the mark — so no blend mode or brightness
   correction is needed. Sizes assume art trimmed flush to its ink. */

/* Nav: wordmark only. The full lockup's "AI AUTOMATION CONSULTING" tagline
   is ~4% of the artwork's height and turns to mush below ~90px. */
.logo-img {
  height: clamp(32px, 6vw, 38px);
  width: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.nav-logo:hover .logo-img {
  opacity: 0.75;
}

/* Footer: the full lockup, sized so the tagline actually reads */
.logo-img--footer {
  height: clamp(72px, 13vw, 92px);
}

/* Hero: large ghosted icon mark, right-side visual anchor */
.hero-logo-mark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 24vw, 340px);
  height: auto;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* About section: small brand mark above founder cards */
.about-logo-mark {
  width: 64px;
  height: auto;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

@media (max-width: 860px) {
  .hero-logo-mark { display: none; }
  .about-logo-mark { display: none; }
}

/* ─── NAV ─── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-1); }

.nav-links a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.nav-links a.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 34px;
  height: 34px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 40%;
  transform: translateX(-50%);
  width: 900px;
  height: 650px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 780px;
}

.hero-headline {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: linePulse 2.4s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.9); }
  50% { opacity: 0.8; }
}


/* ─── SECTION DIVIDERS ─── */
#problem, #why, #session {
  background: var(--bg);
}

#aria, #one-pager {
  background: var(--bg-surface);
  position: relative;
}

#aria::before,  #aria::after,
#one-pager::before, #one-pager::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
}

#aria::before, #one-pager::before { top: 0; }
#aria::after,  #one-pager::after  { bottom: 0; }


/* ─── EVIDENCE (cited statistics) ─── */
.evidence {
  margin: 0 0 3.5rem;
  padding: 2.5rem 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 50% 0%, var(--accent-glow) 0%, transparent 60%),
    var(--bg-surface);
}

.evidence-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.25rem;
}

.evidence-head h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin-bottom: 0.5rem;
}

.evidence-head p {
  color: var(--text-2);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat {
  background: var(--bg-surface);
  padding: 1.75rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

/* Accent rule that draws itself in as the card reveals */
.stat::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.evidence.visible .stat::before { width: 100%; }
.evidence.visible .stat:nth-child(2)::before { transition-delay: 0.1s; }
.evidence.visible .stat:nth-child(3)::before { transition-delay: 0.2s; }
.evidence.visible .stat:nth-child(4)::before { transition-delay: 0.3s; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}

.stat-claim {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
  flex: 1;
}

.stat-src {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-3);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-src a {
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.stat-src a:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
}

.evidence-note {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-2);
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.evidence-note em {
  font-style: normal;
  color: var(--text-1);
  font-weight: 500;
}

/* ─── PROBLEM ─── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.problem-card {
  background: var(--bg-card);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.25s ease;
  overflow: hidden;
}

.problem-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.problem-card:hover { background: var(--bg-surface); }
.problem-card:hover::after { opacity: 1; }

.problem-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.55;
}

.problem-card h3 {
  font-size: 1.05rem;
  line-height: 1.38;
  color: var(--text-1);
}

.problem-card p {
  font-size: 0.9rem;
  line-height: 1.72;
}

.problem-callout {
  padding: 1.75rem 2.25rem;
  background: var(--accent-dim);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: var(--radius);
}

.problem-callout p {
  color: var(--text-1);
  font-size: 0.975rem;
  line-height: 1.72;
  opacity: 0.88;
}


/* ─── ARIA PHASE DIAGRAM ─── */
.aria-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 4.5rem;
}

/* Horizontal connecting line through node centers */
.aria-line {
  position: absolute;
  top: 27px; /* half of node height (54px) */
  left: calc(12.5%);      /* center of first column */
  right: calc(12.5%);     /* center of last column from right */
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(99,102,241,0.15) 100%);
  z-index: 0;
}

.aria-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.phase-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  z-index: 1;
}

.aria-phase:hover .phase-node {
  border-color: var(--accent);
  background: var(--bg-surface);
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.28), 0 0 0 4px var(--accent-dim);
}

.phase-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 200px;
}

.phase-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1;
}

.phase-desc {
  font-size: 0.855rem;
  color: var(--text-2);
  line-height: 1.65;
}

.phase-meta {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.55;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* On the left-aligned breakpoint layout, also left-align meta */
@media (max-width: 1024px) {
  .phase-meta { text-align: left; }
}

.aria-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.aria-cta > p {
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.75;
}


/* ─── ABOUT SEMEAI ─── */
#about {
  background: var(--bg-surface);
  position: relative;
}

#about::before,
#about::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
}
#about::before { top: 0; }
#about::after  { bottom: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-left h2 {
  margin-bottom: 1.25rem;
}

.about-left p {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

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

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.25s ease;
}

.founder-card:hover {
  border-color: rgba(99, 102, 241, 0.28);
}

.founder-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--bg);
  border: 1px solid var(--border);
  display: block;
  filter: saturate(0.9) contrast(1.02);
  transition: border-color 0.25s ease, filter 0.25s ease;
}

/* Sergio's shot is a tall portrait with a lot of sky above him —
   pull the crop to the bottom of the frame so his face lands centred. */
.founder-avatar[src*="sergio"] {
  object-position: center bottom;
}

.founder-card:hover .founder-avatar {
  border-color: rgba(99, 102, 241, 0.45);
  filter: saturate(1) contrast(1.02);
}

.founder-bio em {
  font-style: normal;
  color: var(--text-1);
  font-weight: 500;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
}

.founder-title {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.founder-bio {
  font-size: 0.875rem !important;
  line-height: 1.62;
  margin-top: 0.35rem;
}

/* ─── WHY SEMEAI ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}

.why-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1.05rem;
  color: var(--text-1);
}

.why-card p {
  font-size: 0.9rem;
  line-height: 1.72;
}


/* ─── LEAD MAGNET / ONE-PAGER ─── */
.onepager-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.onepager-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 55%);
}

.onepager-left h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 1.1rem;
}

.onepager-left > p {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.72;
}

.onepager-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.onepager-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.55;
}

.onepager-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

/* ── FORM ── */
.onepager-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

.form-field input[type="email"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-1);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder { color: var(--text-3); }

.form-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.form-note {
  font-size: 0.75rem !important;
  color: var(--text-3) !important;
  line-height: 1.5;
}

/* ── FORM CONFIRMATION ── */
.form-confirm {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  animation: fadeUp 0.5s ease both;
}

.form-confirm.visible {
  display: flex;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.confirm-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.confirm-icon svg { width: 100%; height: 100%; }

.form-confirm h3 {
  font-size: 1.2rem;
  color: var(--text-1);
}

.form-confirm p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.confirm-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .confirm-actions { flex-direction: column; align-items: stretch; }
  .confirm-actions .btn { text-align: center; }
}


/* ─── STRATEGY SESSION ─── */
.session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.session-text h2 {
  margin-bottom: 1.25rem;
}

.session-text > p {
  font-size: 0.975rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.session-outcomes {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.session-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.dot-marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45em;
  opacity: 0.65;
}

.session-card {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.session-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.session-card-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1) !important;
  line-height: 1;
}

.session-card-note {
  font-size: 0.875rem !important;
  line-height: 1.6;
}

.session-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
  color: var(--text-3);
}

.meta-sep { opacity: 0.5; }

.session-divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}

.session-alt {
  font-size: 0.875rem !important;
  color: var(--text-3) !important;
}

.session-alt a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.session-alt a:hover { color: var(--accent-hover); }


/* ─── FOOTER ─── */
#footer {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-domain {
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text-1); }

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-3);
}

.footer-legal p { color: var(--text-3); }


/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }

  .aria-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 0;
  }

  .aria-line { display: none; }

  .aria-phase {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 1.25rem;
    padding: 0 2rem;
  }

  .phase-node { flex-shrink: 0; margin-bottom: 0; }

  .phase-body { align-items: flex-start; }
}

@media (max-width: 860px) {
  section { padding: 5rem 0; }

  .evidence {
    padding: 2rem 1.5rem 1.75rem;
    margin-bottom: 2.75rem;
  }

  .evidence-grid { grid-template-columns: 1fr; }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .onepager-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .session-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .session-card { position: static; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .container { padding: 0 1.25rem; }

  section { padding: 4rem 0; }

  .section-header { margin-bottom: 2.5rem; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 190;
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1rem; }
  .nav-links a.nav-cta {
    padding: 0.7rem 1.4rem;
    font-size: 0.9375rem;
  }

  /* Hero */
  .hero-content { padding: 3.5rem 0 3rem; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn { text-align: center; }

  .hero-scroll { display: none; }

  /* ARIA */
  .aria-track {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .aria-phase { padding: 0; }

  /* One-pager */
  .onepager-card { padding: 2rem 1.5rem; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
