/* =========================================================
   Senthil Kumar — Sales Training, Coaching, Consulting & AI
   Editorial-confident design system
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette: deep ink + bone + electric cobalt accent */
  --ink:        #0B0F1A;        /* near-black with blue undertone */
  --ink-soft:   #1A2030;
  --ink-line:   #2A3142;
  --bone:       #F4F1EA;        /* warm off-white, not yellow */
  --bone-soft:  #ECE7DC;
  --paper:      #FFFFFF;
  --rule:       #D9D3C5;
  --muted:      #6B7282;
  --text:       #14192A;
  --text-soft:  #3A4154;

  --accent:        #1A3DFF;        /* cobalt — for LIGHT backgrounds (passes WCAG AAA on bone) */
  --accent-ink:    #0E2BBF;        /* darker cobalt for hover on light bg */
  --accent-on-dark:#6E8BFF;        /* lifted cobalt for INK / dark backgrounds (passes WCAG AA, 6.2:1) */
  --text-on-dark:  #D4D8E2;        /* lifted muted grey for body text on dark backgrounds (13.4:1) */

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-sans:    'Geist', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);

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

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bone);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--font-mono); font-size: 0.78em; letter-spacing: 0.04em; text-transform: uppercase; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 500; font-family: var(--font-sans); letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--bone); }
.section--paper { background: var(--paper); }
.section--bone { background: var(--bone); }
.section--bone-soft { background: var(--bone-soft); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section--ink .rule { background: var(--ink-line); }

/* On dark contexts, swap accent + muted to higher-contrast variants */
.section--ink,
.cta-block,
.footer {
  --accent: var(--accent-on-dark);
  --muted: #8B93A6;
}

.grid { display: grid; gap: clamp(24px, 3vw, 48px); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand__mark {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateY(-1px);
}
.brand__name { font-weight: 500; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
}
.nav__cta {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--bone); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--ink);
}
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--bone);
    padding: 24px var(--gutter) 32px;
    gap: 18px;
    border-bottom: 1px solid var(--rule);
    align-items: flex-start;
  }
  .nav__links a { font-size: 1.1rem; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--whatsapp { background: #25D366; color: #0B0F1A; }
.btn--whatsapp:hover { background: #1FBA58; }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: var(--accent); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.section--ink .btn--ghost { color: var(--bone); border-color: var(--bone); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.section--ink .btn--ghost:hover { background: var(--bone); color: var(--ink); }

.btn svg { width: 18px; height: 18px; }

/* ---------- Hero (home) ---------- */
.hero {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--bone);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.hero__eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.hero__locator {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-feature-settings: 'ss01';
}
.hero__sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.55;
}
.hero__ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero__meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero__meta-item .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  display: block;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Decorative ink mark ---------- */
.hero__decor {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.04;
  pointer-events: none;
}
@media (max-width: 1100px) { .hero__decor { display: none; } }

/* ---------- Manifesto / approach ---------- */
.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--bone);
  max-width: 22ch;
}
.manifesto .accent { color: var(--accent); font-style: italic; }
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 880px) { .manifesto__grid { grid-template-columns: 1fr; } }
.manifesto__points {
  display: grid;
  gap: 28px;
}
.manifesto__point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-line);
}
.manifesto__point:last-child { border-bottom: 0; padding-bottom: 0; }
.manifesto__num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  padding-top: 4px;
}
.manifesto__point h3 {
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.manifesto__point p {
  font-family: var(--font-sans);
  color: var(--text-on-dark);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Programs ---------- */
.programs__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 880px) { .programs__header { grid-template-columns: 1fr; gap: 24px; } }
.programs__list {
  display: grid;
  gap: 0;
}
.program-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 140px;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
}
.program-row:last-child { border-bottom: 1px solid var(--rule); }
.program-row:hover { padding-left: 16px; padding-right: 16px; }
.program-row__num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
}
.program-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.program-row__desc {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.program-row__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.program-row__arrow svg {
  width: 20px; height: 20px;
  transition: transform 0.3s var(--ease);
}
.program-row:hover .program-row__arrow svg { transform: translateX(6px); }
@media (max-width: 880px) {
  .program-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .program-row__arrow { justify-content: flex-start; margin-top: 8px; }
}

/* ---------- About strip ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 880px) { .about-strip { grid-template-columns: 1fr; } }
.about-strip__portrait {
  aspect-ratio: 4/5;
  background: var(--ink);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  color: var(--bone);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.about-strip__portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 15px),
    radial-gradient(circle at 70% 30%, rgba(26, 61, 255, 0.22), transparent 55%);
  pointer-events: none;
}
.about-strip__portrait--linkedin:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(11, 15, 26, 0.18);
}
.portrait-card__top, .portrait-card__bottom { position: relative; z-index: 2; }
.about-strip__portrait .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.7;
}
.about-strip__portrait .name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 8px;
}
.linkedin-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 12px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.about-strip__portrait--linkedin:hover .linkedin-cta {
  background: var(--accent);
  border-color: var(--accent);
}
.linkedin-cta > svg:first-child {
  width: 32px;
  height: 32px;
  color: var(--bone);
}
.linkedin-cta__lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.7;
  line-height: 1.2;
}
.linkedin-cta__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-top: 2px;
}
.linkedin-cta__arrow {
  width: 20px;
  height: 20px;
  color: var(--bone);
  opacity: 0.6;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.about-strip__portrait--linkedin:hover .linkedin-cta__arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

/* LinkedIn button variant for About page */
.btn--linkedin {
  background: #0A66C2;
  color: #FFFFFF;
}
.btn--linkedin:hover { background: #084d92; }
.btn--linkedin svg:first-child { width: 20px; height: 20px; }
.btn--linkedin svg:last-child { width: 16px; height: 16px; opacity: 0.8; }
.about-strip h2 { margin-bottom: 24px; }
.about-strip p + p { margin-top: 1em; }

/* ---------- Sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .sectors { grid-template-columns: 1fr; } }
.sector {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
}
.sector:last-child { border-right: 0; }
@media (max-width: 720px) {
  .sector { border-right: 0; border-bottom: 1px solid var(--rule); }
  .sector:last-child { border-bottom: 0; }
}
.sector h4 { margin-bottom: 6px; }
.sector p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- CTA block ---------- */
.cta-block {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 72px);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-block h2 { color: var(--bone); max-width: 22ch; margin-bottom: 24px; }
.cta-block__lead { color: var(--text-on-dark); max-width: 50ch; font-size: 1.1rem; line-height: 1.5; }
.cta-block__row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-block__channels {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .cta-block__channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cta-block__channels { grid-template-columns: 1fr; } }
.cta-block__channels a {
  color: var(--bone);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s var(--ease);
}
.cta-block__channels a:hover { color: var(--accent); }
.cta-block__channels .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 64px 0 32px;
}

/* ---------- Footer locator (address + map) ---------- */
.footer__locator {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--ink-line);
  align-items: start;
}
@media (max-width: 880px) {
  .footer__locator { grid-template-columns: 1fr; gap: 28px; }
}
.footer__address h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer__address-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--bone);
  margin: 0 0 12px;
}
.footer__address-line {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-on-dark);
  margin: 0 0 20px;
}
.footer__address-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.footer__address-link:hover { border-bottom-color: var(--accent); }
.footer__address-link svg { width: 14px; height: 14px; }

.footer__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
}
.footer__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Subtle filter so the map blends with the dark editorial theme.
     Disable on hover so the user gets the real, vivid map when interacting. */
  filter: grayscale(0.4) brightness(0.92) contrast(1.05);
  transition: filter 0.4s var(--ease);
}
.footer__map:hover iframe { filter: none; }
@media (max-width: 600px) {
  .footer__map { aspect-ratio: 4 / 3; }
}

/* ---------- Footer grid (existing) ---------- */
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer a:hover { color: var(--bone); }
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bone);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.footer__brand .brand__mark { background: var(--accent); }
.footer__tagline { color: var(--text-on-dark); font-size: 0.95rem; max-width: 32ch; line-height: 1.5; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #25D366;
  color: #0B0F1A;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.16);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float__label { display: inline-block; }
@media (max-width: 520px) {
  .wa-float { padding: 14px; bottom: 16px; right: 16px; }
  .wa-float__label { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(72px, 10vw, 144px) 0 clamp(48px, 6vw, 96px);
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}
.page-hero__crumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.page-hero__crumbs a { color: var(--muted); }
.page-hero__crumbs a:hover { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 18ch;
  line-height: 1;
}
.page-hero__lead {
  margin-top: 28px;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.55;
}

/* ---------- Two-col content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.split__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: sticky;
  top: 96px;
}
.split__body p { font-size: 1.08rem; line-height: 1.6; color: var(--text-soft); }
.split__body p strong { color: var(--ink); font-weight: 500; }

/* ---------- Module cards (inner pages) ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 720px) { .modules { grid-template-columns: 1fr; } }
.module {
  background: var(--bone);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.module__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}
.module h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}
.module p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Format strip ---------- */
.format {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .format { grid-template-columns: repeat(2, 1fr); } }
.format__cell {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.format__cell:last-child { border-right: 0; }
@media (max-width: 720px) {
  .format__cell:nth-child(2n) { border-right: 0; }
  .format__cell { border-bottom: 1px solid var(--rule); }
  .format__cell:nth-last-child(-n+2) { border-bottom: 0; }
}
.format__lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.format__val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* ---------- Outcomes list ---------- */
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.outcomes li {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.5;
}
.outcomes li:last-child { border-bottom: 1px solid var(--rule); }
.outcomes li::before {
  content: '→';
  color: var(--accent);
  font-size: 1.1rem;
}

/* ---------- Reveal animation ---------- */
/* Only hide when JS is active and able to reveal them */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Stagger delays */
.js .reveal[data-d="1"] { transition-delay: 0.08s; }
.js .reveal[data-d="2"] { transition-delay: 0.16s; }
.js .reveal[data-d="3"] { transition-delay: 0.24s; }
.js .reveal[data-d="4"] { transition-delay: 0.32s; }

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: var(--bone); }
