/* =============================================================
   GOA TRACKER — ELEVATED STYLESHEET v2
   Brand: #111111 · #E8000D · #FFFFFF
   Fonts: Barlow Condensed (logo) · Outfit (UI) · Playfair Display (serif) · Bebas Neue (display)
   Skill directives applied: no Inter, no 3-equal-col, custom easing,
   scale+fade reveals, button press states, hover guards, no transition:all
   ============================================================= */


/* ─────────────────────────────────────────
   0. DESIGN TOKENS
   ───────────────────────────────────────── */
:root {
  /* Brand */
  --c-ink:    #111111;   /* off-black, not pure #000 */
  --c-red:    #E8000D;
  --c-red-dk: #c0000b;
  --c-page:   #FAFAFA;   /* off-white, not pure #fff */
  --c-white:  #FFFFFF;

  /* Greys */
  --c-g50:  #F5F5F5;
  --c-g100: #EBEBEB;
  --c-g200: #D8D8D8;
  --c-g300: #B8B8B8;
  --c-g400: #888888;
  --c-g500: #606060;
  --c-g600: #404040;
  --c-g700: #2E2E2E;
  --c-g800: #1E1E1E;
  --c-g900: #161616;

  /* Typography — Inter is BANNED per skill directives */
  --ff-logo:   'Barlow Condensed', 'Arial Black', Impact, sans-serif;
  --ff-ui:     'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-accent: 'Bebas Neue', 'Arial Black', Impact, sans-serif;

  /* Easing — never ease-in, never ease-in for UI */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-inout:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-std:    cubic-bezier(0.4, 0, 0.2, 1);

  /* Durations */
  --dur-btn:  140ms;
  --dur-ui:   200ms;
  --dur-slow: 420ms;

  /* Spacing scale */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --s32: 8rem;

  /* Layout */
  --max-w:  1300px;
  --pad-x:  1.5rem;

  /* Nav */
  --nav-h:  72px;
}


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

html {
  font-size:       16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:  var(--ff-ui);
  background:   var(--c-page);
  color:        var(--c-ink);
  line-height:  1.65;
  overflow-x:   hidden;
}

body.body-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
ul, ol   { list-style: none; }
button   { cursor: pointer; border: none; background: none; font-family: var(--ff-ui); }

/* Scrollbar */
::-webkit-scrollbar         { width: 4px; }
::-webkit-scrollbar-track   { background: var(--c-g100); }
::-webkit-scrollbar-thumb   { background: var(--c-g300); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-red); }

/* Selection */
::selection { background: var(--c-red); color: var(--c-white); }

/* Focus */
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 3px; }


/* ─────────────────────────────────────────
   2. TYPOGRAPHY
   ───────────────────────────────────────── */
.sec-label {
  display:        inline-flex;
  align-items:    center;
  gap:            var(--s3);
  font-size:      0.62rem;
  font-weight:    800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          var(--c-red);
  margin-bottom:  var(--s4);
}

/* Red accent block before every label */
.sec-label::before {
  content:      '';
  display:      block;
  width:        3px;
  height:       14px;
  background:   var(--c-red);
  flex-shrink:  0;
  border-radius: 1px;
}

.sec-label--red   { color: var(--c-red); }
.sec-label--muted { color: rgba(255,255,255,0.38); }
.sec-label--muted::before { background: rgba(255,255,255,0.3); }

/* Dark section label variant */
.sec-label--dark {
  color: var(--c-g500);
}

.sec-title {
  font-family:    var(--ff-serif);
  font-size:      clamp(1.9rem, 4vw, 3.2rem);
  font-weight:    900;
  line-height:    1.06;
  letter-spacing: -0.025em;
  color:          var(--c-ink);
}

/* White variant for dark sections */
.sec-title--light { color: var(--c-white); }

.sec-hdr { margin-bottom: var(--s16); }

.sec-hdr--split {
  display:         flex;
  align-items:     flex-end;
  justify-content: space-between;
  gap:             var(--s6);
  flex-wrap:       wrap;
  padding-bottom:  var(--s8);
  border-bottom:   1px solid var(--c-g100);
  margin-bottom:   var(--s10);
}


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

.section { padding: var(--s32) 0; }


/* ─────────────────────────────────────────
   4. BUTTONS
   Skills: scale(0.97) on :active, exact transition props, no ease-in
   ───────────────────────────────────────── */
.btn {
  display:         inline-flex;
  align-items:     center;
  gap:             var(--s2);
  padding:         0.75rem 1.65rem;
  font-family:     var(--ff-ui);
  font-size:       0.8rem;
  font-weight:     700;
  letter-spacing:  0.07em;
  text-transform:  uppercase;
  white-space:     nowrap;
  border:          2px solid transparent;
  line-height:     1;
  transition:
    background-color var(--dur-btn) var(--ease-std),
    color            var(--dur-btn) var(--ease-std),
    border-color     var(--dur-btn) var(--ease-std),
    transform        var(--dur-btn) var(--ease-out);
  cursor:          pointer;
}

/* Press state — every pressable element */
.btn:active { transform: scale(0.97); }

.btn-red {
  background:   var(--c-red);
  color:        var(--c-white);
  border-color: var(--c-red);
}

@media (hover: hover) and (pointer: fine) {
  .btn-red:hover {
    background:   transparent;
    color:        var(--c-red);
  }
}

.btn-outline {
  background:   transparent;
  color:        var(--c-ink);
  border-color: var(--c-ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    background: var(--c-ink);
    color:      var(--c-white);
  }
}

.btn-ghost {
  background:   transparent;
  color:        var(--c-white);
  border-color: rgba(255,255,255,0.32);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background:   var(--c-white);
    color:        var(--c-ink);
    border-color: var(--c-white);
  }
}

.btn-sm {
  padding:    0.5rem 1rem;
  font-size:  0.72rem;
}


/* ─────────────────────────────────────────
   5. LOGO SVG
   ───────────────────────────────────────── */
.logo-svg {
  height:    46px;
  width:     auto;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   6. NAVBAR
   ───────────────────────────────────────── */
.navbar {
  position:     fixed;
  top:          0;
  left:         0;
  right:        0;
  z-index:      900;
  height:       var(--nav-h);
  background:   var(--c-ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition:
    transform    var(--dur-ui) var(--ease-out),
    box-shadow   var(--dur-ui) var(--ease-std);
}

/* Red accent line under navbar */
.navbar::after {
  content:    '';
  position:   absolute;
  bottom:     -1px;
  left:       0;
  width:      80px;
  height:     2px;
  background: var(--c-red);
}

.navbar--raised { box-shadow: 0 2px 40px rgba(0,0,0,0.55); }
.navbar--up     { transform: translateY(-100%); }

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

.nav-logo {
  flex-shrink: 0;
  transition:  opacity var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .nav-logo:hover { opacity: 0.82; }
}

.nav-menu {
  display:     flex;
  align-items: center;
  gap:         var(--s6);
}

.nav-list {
  display:     flex;
  align-items: center;
}

.nav-link {
  display:        block;
  padding:        0.38rem 0.8rem;
  font-size:      0.74rem;
  font-weight:    600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.6);
  position:       relative;
  transition:     color var(--dur-btn) var(--ease-std);
}

.nav-link::after {
  content:    '';
  position:   absolute;
  bottom:     -2px;
  left:       0.8rem;
  right:      0.8rem;
  height:     2px;
  background: var(--c-red);
  transform:  scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--c-white); }
  .nav-link:hover::after { transform: scaleX(1); }
}

.nav-link.is-active {
  color: var(--c-white);
}
.nav-link.is-active::after { transform: scaleX(1); }

.nav-subscribe {
  padding:        0.4rem 1.1rem;
  background:     var(--c-red);
  color:          var(--c-white);
  font-size:      0.72rem;
  font-weight:    700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:     background-color var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .nav-subscribe:hover { background: var(--c-red-dk); }
}

/* ── Profile icon + dropdown ── */
.nav-profile {
  position:    relative;
  flex-shrink: 0;
}

.nav-profile-btn {
  width:           36px;
  height:          36px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.08);
  border:          1px solid rgba(255,255,255,0.14);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           rgba(255,255,255,0.7);
  cursor:          pointer;
  transition:
    background  var(--dur-btn) var(--ease-std),
    border-color var(--dur-btn) var(--ease-std),
    color       var(--dur-btn) var(--ease-std);
}

.nav-profile-btn svg { width: 18px; height: 18px; }

@media (hover: hover) and (pointer: fine) {
  .nav-profile-btn:hover {
    background:   rgba(232,0,13,0.15);
    border-color: rgba(232,0,13,0.4);
    color:        var(--c-white);
  }
}

.nav-profile-btn.is-open {
  background:   rgba(232,0,13,0.2);
  border-color: var(--c-red);
  color:        var(--c-white);
}

/* Dropdown */
.nav-profile-dropdown {
  position:      absolute;
  top:           calc(100% + 10px);
  right:         0;
  width:         220px;
  background:    var(--c-g900);
  border:        1px solid rgba(255,255,255,0.08);
  box-shadow:    0 16px 48px rgba(0,0,0,0.5);
  z-index:       950;
  opacity:       0;
  transform:     translateY(-6px);
  pointer-events: none;
  transition:
    opacity   200ms var(--ease-std),
    transform 200ms var(--ease-out);
}

.nav-profile-dropdown.is-open {
  opacity:        1;
  transform:      translateY(0);
  pointer-events: auto;
}

/* Small caret */
.nav-profile-dropdown::before {
  content:      '';
  position:     absolute;
  top:          -5px;
  right:        10px;
  width:        10px;
  height:       10px;
  background:   var(--c-g900);
  border-left:  1px solid rgba(255,255,255,0.08);
  border-top:   1px solid rgba(255,255,255,0.08);
  transform:    rotate(45deg);
}

.npd-header {
  padding:         var(--s4) var(--s5) var(--s3);
  border-bottom:   1px solid rgba(255,255,255,0.06);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             var(--s2);
}

.npd-name {
  font-size:   0.8rem;
  font-weight: 600;
  color:       var(--c-white);
}

.npd-tag {
  font-size:      0.55rem;
  font-weight:    700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--c-red);
  padding:        0.15rem 0.45rem;
  border:         1px solid rgba(232,0,13,0.3);
}

.npd-item {
  display:     flex;
  align-items: center;
  gap:         var(--s3);
  padding:     var(--s3) var(--s5);
  font-size:   0.78rem;
  font-weight: 500;
  color:       rgba(255,255,255,0.55);
  width:       100%;
  background:  none;
  border:      none;
  text-align:  left;
  cursor:      pointer;
  font-family: var(--ff-ui);
  transition:
    color      150ms var(--ease-std),
    background 150ms var(--ease-std);
}

.npd-item svg {
  width:        14px;
  height:       14px;
  min-width:    14px;
  min-height:   14px;
  max-width:    14px;
  flex-shrink:  0;
  opacity:      0.6;
  display:      inline-block;
  fill:         none;
  stroke:       currentColor;
  overflow:     visible;
}

@media (hover: hover) and (pointer: fine) {
  .npd-item:hover {
    color:      var(--c-white);
    background: rgba(255,255,255,0.04);
  }
  .npd-item:hover svg { opacity: 1; }
}

.npd-divider {
  height:     1px;
  background: rgba(255,255,255,0.06);
  margin:     var(--s2) 0;
}

.npd-signout {
  color: rgba(232,0,13,0.7) !important;
}

@media (hover: hover) and (pointer: fine) {
  .npd-signout:hover {
    color:      var(--c-red) !important;
    background: rgba(232,0,13,0.06) !important;
  }
}

/* Hamburger */
.nav-toggle {
  display:        none;
  flex-direction: column;
  justify-content: center;
  align-items:    center;
  width:          40px;
  height:         40px;
  gap:            5px;
  z-index:        910;
}

.nav-toggle span {
  display:          block;
  width:            22px;
  height:           2px;
  background:       var(--c-white);
  transform-origin: center;
  transition:
    transform var(--dur-ui) var(--ease-out),
    opacity   var(--dur-btn) var(--ease-std);
}

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


/* ─────────────────────────────────────────
   HERO SLIDER
   ───────────────────────────────────────── */

/* Slides — stacked, fade in/out */
.hero-slider-wrap {
  position:   relative;
  min-height: 100svh;       /* wrapper owns the height — slides never shift layout */
}

.hero-slide {
  position:       absolute; /* always absolute — never re-enters flex flow */
  inset:          0;
  width:          100%;
  min-height:     100svh;
  opacity:        0;
  pointer-events: none;
  transition:     opacity 700ms var(--ease-std);
  display:        flex;
  align-items:    center;
  background:     var(--c-ink);
}

/* Feature slide: anchor content to top so tall content doesn't clip at top or bottom */
.hero-slide--feature {
  align-items: flex-start;
}
.hero-slide--feature .hero-body {
  padding-top:    calc(var(--nav-h) + var(--s6));  /* navbar (72px) + 24px clearance = 96px */
  padding-bottom: var(--s10);                       /* 40px — just enough visual breathing */
  gap:            var(--s5);                        /* 20px between items vs 40px default */
}

.hero-slide.is-active {
  opacity:        1;
  pointer-events: auto;
  /* position stays absolute — only opacity & pointer-events change */
}

/* Feature slide bg */
.hero-feature-bg {
  position:            absolute;
  inset:               0;
  width:               100%;
  height:              100%;
  background-size:     cover;
  background-position: center;
  transition:          transform 8s var(--ease-out);
}
.hero-slide.is-active .hero-feature-bg { transform: scale(1.04); }

.hero-overlay--deep {
  background: linear-gradient(
    to right,
    rgba(17,17,17,0.88) 0%,
    rgba(17,17,17,0.55) 55%,
    rgba(17,17,17,0.25) 100%
  );
}

/* Feature slide content tweaks */
.hero-h1--feature {
  max-width:   20ch;
  font-size:   clamp(2.5rem, 5vw, 4.5rem); /* scale down from 8vw/7rem — 3 lines must fit */
  line-height: 1.05;
}
.hero-lead--feature { max-width: 52ch; }

/* Feature meta row */
.hero-feature-meta {
  display:     flex;
  align-items: center;
  gap:         var(--s3);
  margin-bottom: var(--s6);
  flex-wrap:   wrap;
}
.hfm-item {
  font-size:      0.65rem;
  font-weight:    600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.42);
}
.hfm-dot {
  width:        3px;
  height:       3px;
  border-radius: 50%;
  background:   rgba(255,255,255,0.25);
  flex-shrink:  0;
}

/* Controls bar */
.hs-controls {
  position:    absolute;
  bottom:      var(--s8);
  left:        50%;
  transform:   translateX(-50%);
  z-index:     10;
  display:     flex;
  align-items: center;
  gap:         var(--s4);
}

.hs-arrow {
  width:           36px;
  height:          36px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(255,255,255,0.08);
  border:          1px solid rgba(255,255,255,0.15);
  color:           rgba(255,255,255,0.7);
  cursor:          pointer;
  transition:
    background var(--dur-btn) var(--ease-std),
    color      var(--dur-btn) var(--ease-std);
}
.hs-arrow svg { width: 16px; height: 16px; }

@media (hover: hover) and (pointer: fine) {
  .hs-arrow:hover {
    background: rgba(232,0,13,0.7);
    color:      var(--c-white);
    border-color: transparent;
  }
}
.hs-arrow:active { transform: scale(0.94); }

/* Dots */
.hs-dots {
  display:     flex;
  align-items: center;
  gap:         var(--s2);
}

.hs-dot {
  width:        8px;
  height:       8px;
  border-radius: 50%;
  background:   rgba(255,255,255,0.3);
  border:       none;
  cursor:       pointer;
  padding:      0;
  transition:
    background   200ms var(--ease-std),
    transform    200ms var(--ease-out),
    width        200ms var(--ease-out);
}

.hs-dot.is-active {
  background: var(--c-red);
  width:      22px;
  border-radius: 4px;
}

/* Progress bar */
.hs-progress {
  position:   absolute;
  bottom:     0;
  left:       0;
  right:      0;
  height:     2px;
  background: rgba(255,255,255,0.08);
  z-index:    10;
}

.hs-progress-bar {
  height:     100%;
  width:      0%;
  background: var(--c-red);
  transition: width linear;
}

/* ─────────────────────────────────────────
   7. HERO — minimal, full-width, left-aligned
   ───────────────────────────────────────── */
.hero {
  background:  var(--c-ink);
  padding-top: var(--nav-h);
  display:     flex;
  align-items: center;
  position:    relative;
  overflow:    hidden;
  min-height:  100svh;
}

/* Subtle noise texture */
.hero-noise {
  position:       absolute;
  inset:          0;
  opacity:        0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Faint radial glow from the left */
.hero::after {
  content:        '';
  position:       absolute;
  inset:          0;
  pointer-events: none;
  background:     radial-gradient(
    ellipse 55% 65% at 15% 55%,
    rgba(232,0,13,0.055) 0%,
    transparent 68%
  );
}

.hero-body {
  position:       relative;
  z-index:        1;
  width:          100%;
  max-width:      var(--max-w);
  margin:         0 auto;
  padding:        var(--s24) var(--pad-x);
  display:        flex;
  flex-direction: column;
  gap:            var(--s10);
}

.hero-kicker {
  display:     flex;
  align-items: center;
  gap:         var(--s4);
}

.kicker-rule {
  display:    block;
  width:      28px;
  height:     2px;
  background: var(--c-red);
  flex-shrink: 0;
}

.kicker-text {
  font-size:      0.65rem;
  font-weight:    700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--c-g500);
}

.hero-h1 {
  font-family:    var(--ff-serif);
  font-size:      clamp(3.5rem, 8vw, 7rem);
  font-weight:    900;
  line-height:    1.0;
  letter-spacing: -0.03em;
  color:          var(--c-white);
  max-width:      14ch;
}

.hero-h1 em {
  font-style: italic;
  color:      var(--c-red);
}

.hero-cta-row {
  display:  flex;
  gap:      var(--s4);
  flex-wrap: wrap;
}

/* Stats row */
.hero-metrics {
  display:     flex;
  align-items: center;
  gap:         var(--s8);
  padding-top: var(--s8);
  border-top:  1px solid rgba(255,255,255,0.07);
  flex-wrap:   wrap;
}

.hm-item {
  display:        flex;
  flex-direction: column;
  gap:            3px;
}

.hm-n {
  font-family: var(--ff-accent);
  font-size:   2rem;
  color:       var(--c-white);
  line-height: 1;
}

.hm-l {
  font-size:      0.62rem;
  color:          var(--c-g600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight:    600;
}

.hm-rule {
  width:      1px;
  height:     32px;
  background: rgba(255,255,255,0.08);
}

/* (hero-right panel removed — hero is now full-width) */


/* ─────────────────────────────────────────
   8. TICKER
   Skills: linear timing for constant motion
   ───────────────────────────────────────── */
.ticker {
  display:     flex;
  align-items: center;
  height:      42px;
  background:  var(--c-red);
  overflow:    hidden;
}

.ticker-badge {
  flex-shrink:    0;
  padding:        0 var(--s5);
  height:         100%;
  display:        flex;
  align-items:    center;
  background:     rgba(0,0,0,0.2);
  font-size:      0.6rem;
  font-weight:    800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--c-white);
  white-space:    nowrap;
}

.ticker-overflow {
  flex:     1;
  overflow: hidden;
}

.ticker-belt {
  display:     inline-flex;
  align-items: center;
  gap:         var(--s8);
  white-space: nowrap;
  animation:   ticker 40s linear infinite;  /* linear = constant motion, skills rule */
}

.ticker-belt span {
  font-size:   0.76rem;
  font-weight: 500;
  color:       rgba(255,255,255,0.9);
}

.t-dot {
  color:     rgba(255,255,255,0.4) !important;
  font-size: 1.1rem !important;
  line-height: 1;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─────────────────────────────────────────
   9. WHAT WE DO — editorial row layout
   Skills: no 3-equal-column grid
   ───────────────────────────────────────── */
.wwd {
  background:  var(--c-white);
  border-top:  3px solid var(--c-ink);
  border-bottom: 3px solid var(--c-ink);
}

.wwd-head {
  display:   grid;
  grid-template-columns: 260px 1fr;
  gap:       var(--s16);
  align-items: start;
  margin-bottom: var(--s12);
  padding-bottom: var(--s12);
  border-bottom: 1px solid var(--c-g100);
}

.wwd-head-body p {
  font-size:   1.05rem;
  color:       var(--c-g500);
  max-width:   58ch;
  line-height: 1.78;
  margin-top:  var(--s4);
}

/* alias used in HTML */
.wwd-lede {
  font-size:   1.05rem;
  color:       var(--c-g500);
  max-width:   58ch;
  line-height: 1.78;
  margin-top:  var(--s4);
}

/* ─────────────────────────────────────────
   WWD — FLOW DIAGRAM (Infopack → Article → Carousel)
   ───────────────────────────────────────── */
.wwd-flow {
  display:        grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items:    stretch;
  gap:            0;
  margin-top:     var(--s12);
  border:         1px solid rgba(17,17,17,0.10);
  border-radius:  4px;
  overflow:       hidden;
}

/* ── Individual node ── */
.flow-node {
  display:        flex;
  flex-direction: column;
  padding:        var(--s10) var(--s8);
  background:     var(--c-white);
  position:       relative;
}

.flow-node--base  { border-right: 1px solid rgba(17,17,17,0.08); }
.flow-node--reach { border-left:  1px solid rgba(17,17,17,0.08); }

/* Primary (Article) node — dark, prominent */
.flow-node--primary {
  background:  var(--c-ink);
  color:       var(--c-white);
  z-index:     1;
  box-shadow:  0 0 0 1px var(--c-ink);
}

/* Badge above primary */
.flow-node-badge {
  display:        inline-flex;
  align-items:    center;
  align-self:     flex-start;
  padding:        0.2rem 0.6rem;
  background:     var(--c-red);
  color:          var(--c-white);
  font-family:    var(--ff-ui);
  font-size:      0.62rem;
  font-weight:    700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius:  2px;
  margin-bottom:  var(--s4);
}

/* Icon */
.flow-node-icon {
  width:         40px;
  height:        40px;
  margin-bottom: var(--s4);
  color:         var(--c-red);
  flex-shrink:   0;
}
.flow-node--primary .flow-node-icon { color: rgba(255,255,255,0.55); }
.flow-node-icon svg { width: 100%; height: 100%; }

/* Content wrapper inside each node */
.flow-node-content {
  display:        flex;
  flex-direction: column;
  flex:           1;
}

/* Node copy */
.flow-node-label {
  font-family:    var(--ff-ui);
  font-size:      0.65rem;
  font-weight:    600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--c-red);
  margin-bottom:  var(--s2);
}
.flow-node--primary .flow-node-label { color: rgba(255,255,255,0.45); }

.flow-node-title {
  font-family:    var(--ff-accent);
  font-size:      2rem;
  letter-spacing: 0.03em;
  color:          var(--c-ink);
  margin:         0 0 var(--s3);
  line-height:    1;
}
.flow-node--primary .flow-node-title { color: var(--c-white); }

.flow-node-desc {
  font-family:  var(--ff-ui);
  font-size:    0.82rem;
  font-weight:  400;
  line-height:  1.6;
  color:        var(--c-g500);
  flex:         1;
  margin:       0 0 var(--s5);
}
.flow-node--primary .flow-node-desc { color: rgba(255,255,255,0.55); }

/* Tags */
.flow-tags {
  display:    flex;
  flex-wrap:  wrap;
  gap:        var(--s2);
  margin-top: auto;
}

.ftag {
  display:        inline-flex;
  align-items:    center;
  padding:        0.22rem 0.55rem;
  border:         1px solid rgba(17,17,17,0.18);
  border-radius:  2px;
  font-family:    var(--ff-ui);
  font-size:      0.65rem;
  font-weight:    500;
  letter-spacing: 0.05em;
  color:          var(--c-g500);
  white-space:    nowrap;
}

/* Inverted tags — for the dark primary node */
.ftag--inv {
  border-color: rgba(255,255,255,0.2);
  color:        rgba(255,255,255,0.6);
}

/* Arrow column */
.flow-arrow {
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      var(--c-g50);
  color:           var(--c-red);
  padding:         0 var(--s2);
}
/* Primary-adjacent arrows go dark */
.flow-node--primary + .flow-arrow,
.flow-arrow:has(+ .flow-node--primary) {
  background: var(--c-ink);
  color:      rgba(232,0,13,0.8);
}

.flow-arrow svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ── Flow diagram responsive ── */
@media (max-width: 1024px) {
  .wwd-flow {
    grid-template-columns: 1fr 36px 1fr 36px 1fr;
  }
  .flow-node { padding: var(--s7) var(--s6); }
  .flow-node-title { font-size: 1.55rem; }
}

@media (max-width: 768px) {
  .wwd-flow {
    grid-template-columns: 1fr;
    border:                none;
    gap:                   var(--s3);
    overflow:              hidden;
    background:            transparent;
  }
  .flow-node {
    border:        1px solid rgba(17,17,17,0.12) !important;
    border-radius: 4px;
    box-shadow:    none;
  }
  .flow-node--primary { border-color: var(--c-ink) !important; }
  .flow-arrow { display: none; }
}


/* Row list — editorial, not equal columns (legacy — kept for reference) */
.wwd-list {
  border-top: 2px solid var(--c-ink);
}

.wwd-row {
  display:     grid;
  grid-template-columns: 80px 220px 1fr auto;
  align-items: center;
  gap:         var(--s8);
  padding:     var(--s8) 0;
  border-bottom: 1px solid var(--c-g100);
  transition:
    background-color var(--dur-ui) var(--ease-std),
    padding-left     var(--dur-ui) var(--ease-out);
  cursor:      default;
}

@media (hover: hover) and (pointer: fine) {
  .wwd-row:hover {
    background-color: var(--c-g50);
    padding-left:     var(--s4);
  }

  .wwd-row:hover .wwd-row-num { color: var(--c-red); }
  .wwd-row:hover .wwd-row-link { gap: var(--s4); color: var(--c-red); }
}

.wwd-row-num {
  font-family:    var(--ff-accent);
  font-size:      2.8rem;
  color:          var(--c-g200);
  line-height:    1;
  transition:     color var(--dur-ui) var(--ease-std);
  text-align:     center;
}

.wwd-row-head {
  display:     flex;
  align-items: center;
  gap:         var(--s4);
}

.wwd-row-icon {
  width:  40px;
  height: 40px;
  color:  var(--c-ink);
  flex-shrink: 0;
}
.wwd-row-icon svg { width: 100%; height: 100%; }

.wwd-row-title {
  font-family:    var(--ff-serif);
  font-size:      1.5rem;
  font-weight:    700;
  color:          var(--c-ink);
  line-height:    1.15;
  white-space:    nowrap;
}

.wwd-row-body p {
  font-size:   0.88rem;
  color:       var(--c-g500);
  line-height: 1.72;
  max-width:   55ch;
}

.wwd-tags {
  display:   flex;
  gap:       var(--s2);
  flex-wrap: wrap;
  margin-top: var(--s3);
}

.wtag {
  padding:        0.2rem 0.55rem;
  background:     var(--c-g100);
  font-size:      0.62rem;
  font-weight:    700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--c-g500);
}

.wwd-row-link {
  display:     inline-flex;
  align-items: center;
  gap:         var(--s2);
  font-size:   0.76rem;
  font-weight: 700;
  color:       var(--c-ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    gap   var(--dur-ui) var(--ease-out),
    color var(--dur-btn) var(--ease-std);
}


/* ─────────────────────────────────────────
   10. TOPICS GRID
   ───────────────────────────────────────── */
.topics-sec {
  background:   var(--c-ink);
  border-top:   3px solid rgba(232,0,13,0.6);
}
.topics-sec .sec-title        { color: var(--c-white); }
.topics-sec .sec-label        { color: var(--c-red); }
.topics-sec .sec-hdr--split   { border-bottom-color: rgba(255,255,255,0.07); }
.topics-sec .btn-outline      { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }
@media (hover: hover) and (pointer: fine) {
  .topics-sec .btn-outline:hover { border-color: var(--c-white); color: var(--c-white); background: transparent; }
}

.tgrid {
  display:    grid;
  grid-template-columns: repeat(3, 1fr);
  gap:        2px;
  background: var(--c-g200);
}

.tcard {
  position:       relative;
  min-height:     240px;
  display:        flex;
  flex-direction: column;
  overflow:       hidden;
  text-decoration: none;
}

.tcard--lg {
  grid-column: span 2;
  grid-row:    span 1;
  min-height:  360px;
}

.tcard-bg {
  position:   absolute;
  inset:      0;
  transition: transform var(--dur-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tcard:hover .tcard-bg { transform: scale(1.04); }
}

/* Red accent: left stripe that grows on hover */
.tcard-stripe {
  position:   absolute;
  top:        0;
  left:       0;
  width:      3px;
  height:     48px;
  background: var(--c-red);
  z-index:    2;
  transition: height var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tcard:hover .tcard-stripe { height: 100%; }
}

.tcard-body {
  position:   relative;
  z-index:    1;
  margin-top: auto;
  padding:    var(--s6);
  background: linear-gradient(transparent, rgba(0,0,0,0.9) 50%);
  display:    flex;
  flex-direction: column;
  gap:        var(--s2);
}
.tcard--lg .tcard-body { padding: var(--s8); }

.tcard-n {
  font-family:    var(--ff-accent);
  font-size:      0.85rem;
  color:          var(--c-red);
  letter-spacing: 0.06em;
}

.tcard-name {
  font-family:    var(--ff-serif);
  font-size:      1rem;
  font-weight:    700;
  color:          var(--c-white);
  line-height:    1.22;
  letter-spacing: -0.01em;
}
.tcard--lg .tcard-name { font-size: 1.6rem; }

.tcard-sub {
  font-size:   0.78rem;
  color:       rgba(255,255,255,0.58);
  line-height: 1.6;
  display:     none;
}
.tcard--lg .tcard-sub { display: block; }

@media (hover: hover) and (pointer: fine) {
  .tcard:hover .tcard-sub { display: block; }
}

.tcard-count {
  font-size:      0.62rem;
  font-weight:    700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.3);
  margin-top:     var(--s2);
}


/* ─────────────────────────────────────────
   11. LATEST CONTENT
   ───────────────────────────────────────── */
.latest-sec {
  background:   var(--c-page);
  border-top:   1px solid var(--c-g100);
  border-bottom: 1px solid var(--c-g100);
}

.lgrid {
  display:    grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows:    auto auto;
  gap:        2px;
  background: var(--c-g200);
}

.lcard { background: var(--c-white); overflow: hidden; }

.lcard--primary {
  grid-row:       span 2;
  display:        flex;
  flex-direction: column;
}

.lcard-img { overflow: hidden; }
.lcard-img svg { width: 100%; height: auto; display: block; }

.lcard-body {
  padding:        var(--s8);
  flex:           1;
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
}
.lcard--primary .lcard-body { padding: var(--s10); }

/* Meta row */
.lmeta {
  display:     flex;
  align-items: center;
  gap:         var(--s2);
  flex-wrap:   wrap;
}

.ltype {
  padding:        0.18rem 0.52rem;
  font-size:      0.6rem;
  font-weight:    800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ltype--ip  { background: var(--c-ink); color: var(--c-white); }
.ltype--art { background: var(--c-g700); color: var(--c-white); }
.ltype--ig  { background: var(--c-red);  color: var(--c-white); }

.ltopic {
  font-size:      0.65rem;
  font-weight:    600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--c-g400);
}

.ldate {
  font-size:   0.65rem;
  color:       var(--c-g400);
  margin-left: auto;
}

.lcard-title {
  font-family:    var(--ff-serif);
  font-size:      1.12rem;
  font-weight:    700;
  line-height:    1.32;
  color:          var(--c-ink);
  letter-spacing: -0.01em;
  transition:     color var(--dur-btn) var(--ease-std);
}
.lcard--primary .lcard-title { font-size: 1.6rem; }

@media (hover: hover) and (pointer: fine) {
  .lcard:hover .lcard-title { color: var(--c-red); }
}

.lcard-body-text {
  font-size:   0.875rem;
  color:       var(--c-g500);
  line-height: 1.74;
}

.lcard-body-text--clamp {
  display:            -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:           hidden;
}

.lcard-link {
  display:        inline-flex;
  align-items:    center;
  gap:            var(--s2);
  font-size:      0.76rem;
  font-weight:    700;
  color:          var(--c-ink);
  letter-spacing: 0.04em;
  margin-top:     auto;
  transition:
    color var(--dur-btn) var(--ease-std),
    gap   var(--dur-ui)  var(--ease-out);
}

.lcard-link--sm { font-size: 0.72rem; }

@media (hover: hover) and (pointer: fine) {
  .lcard-link:hover { color: var(--c-red); gap: var(--s4); }
}

/* Stack */
.lstack {
  display:        flex;
  flex-direction: column;
  gap:            2px;
  background:     var(--c-g200);
}

.lcard--sm .lcard-body { padding: var(--s5) var(--s6); }
.lcard--sm .lcard-title { font-size: 0.98rem; }

/* Data-viz card */
.lcard--viz { background: #111; }

.lcard-body--viz {
  padding: var(--s6);
  height:  100%;
  display: flex;
  flex-direction: column;
  gap:     var(--s4);
}

/* Mini bar chart */
.mini-chart {
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
  flex:           1;
  justify-content: center;
}

.mc-row {
  display:     grid;
  grid-template-columns: 130px 1fr 36px;
  align-items: center;
  gap:         var(--s3);
}

.mc-lbl { font-size: 0.66rem; color: var(--c-g400); text-align: right; }

.mc-track {
  height:        5px;
  background:    rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow:      hidden;
}

.mc-bar {
  height:        100%;
  border-radius: 2px;
}

.mc-val {
  font-size:   0.66rem;
  font-weight: 700;
  color:       var(--c-white);
  font-variant-numeric: tabular-nums;
}


/* ─────────────────────────────────────────
   12. PROBLEM SECTION
   ───────────────────────────────────────── */
/* ─────────────────────────────────────────
   BUNDLE CARDS — Article primary + Infopack/Carousel footer
   ───────────────────────────────────────── */
.bundle-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   2px;
  background:            var(--c-g100);
  border:                1px solid var(--c-g100);
  margin-top:            var(--s10);
}

.lcard--bundle {
  background:     var(--c-white);
  display:        flex;
  flex-direction: column;
  overflow:       hidden;
  transition:     background-color var(--dur-ui) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .lcard--bundle:hover { background-color: #FAFAFA; }
  .lcard--bundle:hover .bundle-title { color: var(--c-red); }
}

/* Article body — the primary clickable area */
.bundle-article {
  flex:           1;
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
  padding:        var(--s8);
}

.bundle-title {
  font-family: var(--ff-serif);
  font-size:   1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color:       var(--c-ink);
  transition:  color var(--dur-ui) var(--ease-std);
  margin:      0;
}

.bundle-cta {
  display:        inline-flex;
  align-items:    center;
  gap:            var(--s2);
  font-family:    var(--ff-ui);
  font-size:      0.78rem;
  font-weight:    700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--c-ink);
  text-decoration: none;
  margin-top:     auto;
  transition:     color var(--dur-btn) var(--ease-std),
                  gap   var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .bundle-cta:hover { color: var(--c-red); gap: var(--s4); }
}

/* Ruled separator + footer resources */
.bundle-resources {
  border-top:     1px solid var(--c-g100);
  padding:        var(--s5) var(--s8);
  display:        flex;
  align-items:    center;
  gap:            var(--s5);
  flex-wrap:      wrap;
  background:     var(--c-page);
}

.bundle-resources-label {
  font-family:    var(--ff-ui);
  font-size:      0.65rem;
  font-weight:    600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--c-g400);
  flex-shrink:    0;
  white-space:    nowrap;
}

.bundle-actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

.bundle-action {
  display:        inline-flex;
  align-items:    center;
  gap:            0.35rem;
  padding:        0.25rem 0.65rem;
  border-radius:  2px;
  font-family:    var(--ff-ui);
  font-size:      0.7rem;
  font-weight:    600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border:         1px solid transparent;
  transition:     background-color var(--dur-btn) var(--ease-std),
                  border-color     var(--dur-btn) var(--ease-std),
                  color            var(--dur-btn) var(--ease-std);
}

.bundle-action:active { transform: scale(0.97); }

/* Infopack action — outlined ink */
.bundle-action--ip {
  color:        var(--c-g700);
  border-color: rgba(17,17,17,0.15);
  background:   var(--c-white);
}
@media (hover: hover) and (pointer: fine) {
  .bundle-action--ip:hover {
    background:   var(--c-ink);
    border-color: var(--c-ink);
    color:        var(--c-white);
  }
}

/* Carousel action — outlined red */
.bundle-action--car {
  color:        var(--c-red);
  border-color: rgba(232,0,13,0.25);
  background:   var(--c-white);
}
@media (hover: hover) and (pointer: fine) {
  .bundle-action--car:hover {
    background:   var(--c-red);
    border-color: var(--c-red);
    color:        var(--c-white);
  }
}

.bundle-action svg { flex-shrink: 0; }

/* Responsive bundle grid */
@media (max-width: 768px) {
  .bundle-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .bundle-article { padding: var(--s6); }
  .bundle-resources { padding: var(--s4) var(--s6); flex-direction: column; align-items: flex-start; }
}


/* ─────────────────────────────────────────
   12. THE PROBLEM — INFOGRAPHIC LAYOUT
   ───────────────────────────────────────── */
.problem-sec {
  background:  var(--c-ink);
  padding:     var(--s16) 0;
  position:    relative;
  overflow:    hidden;
  border-top:  1px solid rgba(255,255,255,0.04);
}

/* Subtle dot-grid texture */
.prob-bg-grid {
  position:         absolute;
  inset:            0;
  pointer-events:   none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size:  24px 24px;
  mask-image:       linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* ── 2-col: headline left · 3 numbered items right ── */
.problem-inner {
  display:               grid;
  grid-template-columns: 340px 1fr;
  gap:                   var(--s20);
  align-items:           start;
  position:              relative;
  z-index:               1;
}

/* ── Left column ── */
.problem-left {
  display:        flex;
  flex-direction: column;
  gap:            var(--s5);
  position:       sticky;
  top:            var(--s20);
}

.problem-h2 {
  font-family:    var(--ff-serif);
  font-size:      clamp(2.4rem, 4vw, 3.8rem);
  font-weight:    900;
  color:          var(--c-white);
  line-height:    1.08;
  letter-spacing: -0.03em;
  margin:         0;
}

.prob-sub {
  font-size:   0.82rem;
  color:       rgba(255,255,255,0.28);
  font-style:  italic;
  line-height: 1.6;
  margin-top:  var(--s2);
}

/* ── Right column ── */
.problem-right {
  display:        flex;
  flex-direction: column;
}

/* ── Individual numbered item ── */
.prob-item {
  display:     flex;
  gap:         var(--s7);
  padding:     var(--s8) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.prob-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

/* Big Bebas number */
.prob-n {
  font-family:    var(--ff-accent);
  font-size:      3rem;
  color:          var(--c-red);
  line-height:    1;
  flex-shrink:    0;
  width:          2.4rem;
  text-align:     right;
  padding-top:    0.08em;
  opacity:        0.85;
}

/* Item content */
.prob-item-body {
  display:        flex;
  flex-direction: column;
  gap:            var(--s3);
}

.prob-item-title {
  font-family:    var(--ff-serif);
  font-size:      1.18rem;
  font-weight:    700;
  color:          var(--c-white);
  line-height:    1.28;
  letter-spacing: -0.012em;
  margin:         0;
}

.prob-item-desc {
  font-size:   0.875rem;
  color:       rgba(255,255,255,0.52);
  line-height: 1.74;
  margin:      0;
}

.prob-item-tag {
  display:        inline-flex;
  align-self:     flex-start;
  padding:        0.2rem 0.6rem;
  background:     rgba(232,0,13,0.07);
  border:         1px solid rgba(232,0,13,0.22);
  font-size:      0.6rem;
  font-weight:    700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--c-red);
  margin-top:     var(--s1);
}


/* ─────────────────────────────────────────
   13. WHO WE SERVE
   ───────────────────────────────────────── */
.serve-sec {
  background:    var(--c-white);
  padding:       var(--s32) 0;
  border-top:    1px solid var(--c-g100);
  border-bottom: 1px solid var(--c-g100);
}

.serve-sec .sec-title { color: var(--c-ink); }
.serve-h2 { color: var(--c-ink); }

.sgrid {
  display:    grid;
  grid-template-columns: repeat(3, 1fr);
  gap:        0;
  border:     1px solid var(--c-g100);
}

.scard {
  background:     var(--c-white);
  padding:        var(--s8) var(--s7);
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
  border-bottom:  1px solid var(--c-g100);
  border-right:   1px solid var(--c-g100);
  position:       relative;
  transition:     background-color var(--dur-ui) var(--ease-std),
                  box-shadow       var(--dur-ui) var(--ease-std);
}

/* Remove right border on every 3rd card */
.scard:nth-child(3n) { border-right: none; }
/* Remove bottom border on last row */
.scard:nth-last-child(-n+3) { border-bottom: none; }

/* Red top accent on hover */
.scard::before {
  content:    '';
  position:   absolute;
  top:        0; left: 0; right: 0;
  height:     2px;
  background: var(--c-red);
  transform:  scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .scard:hover {
    background:  var(--c-g50);
    box-shadow:  inset 0 0 0 0 transparent;
  }
  .scard:hover::before { transform: scaleX(1); }
}

.scard-icon {
  width:  32px;
  height: 32px;
  color:  var(--c-red);
  flex-shrink: 0;
}
.scard-icon svg { width: 100%; height: 100%; }

.scard h4 {
  font-family:  var(--ff-serif);
  font-size:    1rem;
  font-weight:  700;
  color:        var(--c-ink);
  line-height:  1.28;
}

.scard p {
  font-size:   0.84rem;
  color:       var(--c-g500);
  line-height: 1.68;
}


/* ─────────────────────────────────────────
   14. NEWSLETTER
   ───────────────────────────────────────── */
.nl-section {
  background:    var(--c-ink);
  border-top:    3px solid var(--c-red);
  padding:       var(--s24) 0;
}

/* Override label colors inside dark newsletter */
.nl-section .sec-label        { color: var(--c-red); }

.nl-inner {
  display:     grid;
  grid-template-columns: 1fr 1.5fr;
  gap:         var(--s20);
  align-items: center;
}

.nl-text { display: flex; flex-direction: column; }

.nl-h2 {
  font-family:    var(--ff-serif);
  font-size:      clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight:    900;
  color:          var(--c-white);
  line-height:    1.08;
  letter-spacing: -0.02em;
  margin-top:     var(--s2);
}

.nl-body {
  margin-top:  var(--s5);
  font-size:   1rem;
  color:       rgba(255,255,255,0.45);
  line-height: 1.72;
  max-width:   44ch;
}

.nl-form { display: flex; flex-direction: column; gap: var(--s4); }

.nl-fields {
  display:   flex;
  gap:       var(--s4);
  flex-wrap: wrap;
}

.nl-input {
  flex:        1;
  min-width:   165px;
  padding:     0.8rem 1rem;
  border:      1.5px solid rgba(255,255,255,0.12);
  background:  rgba(255,255,255,0.05);
  font-family: var(--ff-ui);
  font-size:   0.875rem;
  color:       var(--c-white);
  outline:     none;
  transition:  border-color var(--dur-btn) var(--ease-std);
}
.nl-input:focus { border-color: rgba(255,255,255,0.4); }
.nl-input::placeholder { color: rgba(255,255,255,0.25); }

.nl-note {
  font-size:   0.7rem;
  color:       rgba(255,255,255,0.25);
  line-height: 1.5;
}

.nl-ok {
  font-size:   0.9rem;
  font-weight: 600;
  color:       #5cd87f;
  padding:     var(--s4) var(--s5);
  background:  rgba(92,216,127,0.1);
  border:      1px solid rgba(92,216,127,0.3);
}


/* ─────────────────────────────────────────
   INLINE SUBSCRIBE NUDGE
   ───────────────────────────────────────── */
.inline-sub {
  background:  var(--c-g50);
  border-top:  1px solid var(--c-g100);
  border-bottom: 1px solid var(--c-g100);
  padding:     var(--s5) 0;
}

.inline-sub-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             var(--s6);
  flex-wrap:       wrap;
}

.inline-sub-text {
  display:     flex;
  align-items: center;
  gap:         var(--s3);
  font-size:   0.88rem;
  color:       var(--c-g500);
  line-height: 1.5;
}

.inline-sub-text strong { color: var(--c-ink); font-weight: 700; }

.inline-sub-icon {
  flex-shrink: 0;
  color:       var(--c-red);
  display:     flex;
}

.inline-sub-btn {
  display:        inline-flex;
  align-items:    center;
  padding:        0.5rem 1.2rem;
  background:     var(--c-red);
  color:          var(--c-white);
  font-size:      0.72rem;
  font-weight:    700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space:    nowrap;
  flex-shrink:    0;
  transition:     background-color var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .inline-sub-btn:hover { background: var(--c-red-dk); }
}

@media (max-width: 600px) {
  .inline-sub-inner { flex-direction: column; align-items: flex-start; }
  .inline-sub-btn   { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────
   15. FOOTER
   ───────────────────────────────────────── */
.footer { background: var(--c-ink); }

.footer-inner {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 var(--pad-x);
}

.footer-top {
  display:     grid;
  grid-template-columns: 1fr 1.6fr;
  gap:         var(--s20);
  padding:     var(--s20) 0 var(--s12);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand { display: flex; flex-direction: column; }
.footer-logo-link {
  display:    inline-block;
  transition: opacity var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .footer-logo-link:hover { opacity: 0.8; }
}

.footer-tagline {
  margin-top:     var(--s5);
  font-size:      0.68rem;
  font-weight:    700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--c-red);
}

.footer-desc {
  margin-top:  var(--s4);
  font-size:   0.875rem;
  color:       rgba(255,255,255,0.36);
  line-height: 1.74;
  max-width:   34ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:     var(--s8);
}

.fcol-h {
  font-size:      0.6rem;
  font-weight:    700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.26);
  margin-bottom:  var(--s5);
}

.fcol ul {
  display:        flex;
  flex-direction: column;
  gap:            var(--s3);
}

.fcol a {
  font-size:   0.875rem;
  color:       rgba(255,255,255,0.48);
  transition:  color var(--dur-btn) var(--ease-std);
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .fcol a:hover { color: var(--c-white); }
}

.footer-bottom {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         var(--s6) 0;
  gap:             var(--s6);
  flex-wrap:       wrap;
}

.fb-left { display: flex; flex-direction: column; gap: 2px; }

.fcopy {
  font-size: 0.76rem;
  color:     rgba(255,255,255,0.26);
}

.fby {
  font-size:      0.62rem;
  color:          rgba(255,255,255,0.16);
  letter-spacing: 0.06em;
}

.fb-right { display: flex; gap: var(--s6); }

.fb-right a {
  font-size:  0.7rem;
  color:      rgba(255,255,255,0.26);
  transition: color var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .fb-right a:hover { color: var(--c-white); }
}


/* ─────────────────────────────────────────
   16. SCROLL-REVEAL
   Skills: scale(0.96) + translateY, ease-out, NOT ease-in
   ───────────────────────────────────────── */
.will-reveal {
  opacity:   0;
  transform: scale(0.96) translateY(20px);
  transition:
    opacity   0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.is-visible {
  opacity:   1;
  transform: scale(1) translateY(0);
}


/* ─────────────────────────────────────────
   17-A. HERO — PHOTO COLLAGE
   ───────────────────────────────────────── */

/* Full-bleed photo mosaic behind the hero text */
.hero-collage {
  position:      absolute;
  inset:         0;
  display:       grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows:    1fr 1fr;
  gap:           2px;
  background:    var(--c-ink);
  z-index:       0;
}

/* Every cell is a background-image tile */
.hc-cell {
  position:            relative;
  background-size:     cover;
  background-position: center;
  overflow:            hidden;
  /* subtle desaturation so brand colours stay dominant */
  filter:              saturate(0.55) brightness(0.55);
  transition:          filter var(--dur-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hc-cell:hover { filter: saturate(0.75) brightness(0.65); }
}

/* Cell placement — 6-cell asymmetric mosaic */
.hc-cell--1 {
  grid-column: 1;
  grid-row:    1 / 3;   /* large tile: Map of Goa */
}
.hc-cell--2 { grid-column: 2; grid-row: 1; }
.hc-cell--3 { grid-column: 3; grid-row: 1; }
.hc-cell--4 { grid-column: 2; grid-row: 2; }
.hc-cell--5 { grid-column: 3; grid-row: 2; }
/* 6th cell hidden on mobile — not needed if collage uses 5 visible cells */
.hc-cell--6 { display: none; }

/* Small caption label in each cell */
.hc-label {
  position:       absolute;
  bottom:         var(--s2);
  left:           var(--s3);
  font-size:      0.55rem;
  font-weight:    700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.35);
  pointer-events: none;
  white-space:    nowrap;
}

/* Dark gradient overlay — keeps headline readable at any photo */
.hero-overlay {
  position:   absolute;
  inset:      0;
  z-index:    1;
  background: linear-gradient(
    105deg,
    rgba(17,17,17,0.92) 0%,
    rgba(17,17,17,0.78) 35%,
    rgba(17,17,17,0.50) 60%,
    rgba(17,17,17,0.30) 100%
  );
  pointer-events: none;
}

/* Hero lead paragraph (subheading under h1) */
.hero-lead {
  font-size:   1.05rem;
  font-weight: 400;
  color:       rgba(255,255,255,0.52);
  line-height: 1.75;
  max-width:   52ch;
}

/* Bump up hero-body z-index above overlay */
.hero-body { z-index: 2; }

/* ─────────────────────────────────────────
   17-B. AUDIENCE SECTION
   ───────────────────────────────────────── */
.audience-sec {
  background:    var(--c-page);
  border-top:    1px solid var(--c-g100);
  border-bottom: 1px solid var(--c-g100);
  padding:       var(--s32) 0;
}

.audience-hdr {
  max-width:     640px;
  margin-bottom: var(--s16);
}

.audience-intro {
  margin-top:  var(--s5);
  font-size:   1.05rem;
  color:       var(--c-g500);
  line-height: 1.72;
}

/* 6-card grid — intentionally unequal: 3-up desktop, 2-up tablet, 1-up mobile */
.audience-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   0;
  border:                1px solid var(--c-g100);
}

/* Each audience card */
.acard {
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
  padding:        var(--s8) var(--s7);
  background:     var(--c-white);
  border-right:   1px solid var(--c-g100);
  border-bottom:  1px solid var(--c-g100);
  position:       relative;
  transition:     background-color var(--dur-ui) var(--ease-std),
                  box-shadow       var(--dur-ui) var(--ease-std);
}

/* Remove right border on every 3rd card */
.acard:nth-child(3n)       { border-right: none; }
/* Remove bottom border on last row */
.acard:nth-last-child(-n+3) { border-bottom: none; }

/* Red top accent line on hover */
.acard::before {
  content:          '';
  position:         absolute;
  top:              0; left: 0; right: 0;
  height:           2px;
  background:       var(--c-red);
  transform:        scaleX(0);
  transform-origin: left;
  transition:       transform var(--dur-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .acard:hover { background-color: var(--c-g50); }
  .acard:hover::before { transform: scaleX(1); }
}

/* Large number — 01, 02 ... */
.acard-num {
  font-family:    var(--ff-accent);
  font-size:      2.6rem;
  color:          var(--c-g100);
  line-height:    1;
  letter-spacing: 0.02em;
}

/* Icon */
.acard-icon {
  width:  36px;
  height: 36px;
  color:  var(--c-red);
  flex-shrink: 0;
}
.acard-icon svg { width: 100%; height: 100%; }

/* Card title */
.acard-title {
  font-family:  var(--ff-serif);
  font-size:    1.05rem;
  font-weight:  700;
  color:        var(--c-ink);
  line-height:  1.28;
  margin:       0;
}

/* Card description */
.acard-desc {
  font-size:   0.875rem;
  color:       var(--c-g500);
  line-height: 1.68;
  flex:        1;
}

/* Pill tag at the bottom */
.acard-tag {
  display:        inline-flex;
  align-self:     flex-start;
  padding:        0.22rem 0.65rem;
  background:     var(--c-g50);
  border:         1px solid var(--c-g100);
  font-size:      0.62rem;
  font-weight:    700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--c-red);
  margin-top:     auto;
}


/* ─────────────────────────────────────────
   17-C. MID-PAGE SUBSCRIBE CTA
   ───────────────────────────────────────── */
.sub-cta-sec {
  background:  var(--c-ink);
  padding:     var(--s24) 0;
  border-top:  3px solid rgba(232,0,13,0.5);
}

.sub-cta-inner {
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         var(--s20);
  align-items: center;
}

/* Left: big headline */
.sub-cta-text { display: flex; flex-direction: column; }

.sub-cta-h2 {
  font-family:    var(--ff-serif);
  font-size:      clamp(2rem, 4.5vw, 3.8rem);
  font-weight:    900;
  line-height:    1.04;
  letter-spacing: -0.03em;
  color:          var(--c-white);
  margin-top:     var(--s3);
}

.sub-cta-body {
  margin-top:  var(--s5);
  font-size:   1rem;
  color:       rgba(255,255,255,0.42);
  line-height: 1.72;
  max-width:   44ch;
}

/* Right: perks + button */
.sub-cta-action {
  display:        flex;
  flex-direction: column;
  gap:            var(--s8);
  align-items:    flex-start;
}

.sub-cta-perks {
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
}

.sub-perk {
  display:     flex;
  align-items: center;
  gap:         var(--s3);
  font-size:   0.92rem;
  color:       rgba(255,255,255,0.7);
  font-weight: 500;
}

.sub-perk svg { flex-shrink: 0; }

.sub-cta-btn { font-size: 0.85rem; padding: 0.9rem 2rem; }

.sub-cta-note {
  font-size:   0.72rem;
  color:       rgba(255,255,255,0.25);
  line-height: 1.5;
}


/* ─────────────────────────────────────────
   17-D. TOPIC TILE OVERLAY
   ───────────────────────────────────────── */
/* Gradient scrim over photo — sits above .tcard-bg, below .tcard-body */
.tcard-overlay {
  position:   absolute;
  inset:      0;
  z-index:    1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.40) 50%,
    rgba(0,0,0,0.10) 100%
  );
  pointer-events: none;
}

/* Push tcard-body above the overlay */
.tcard-body  { z-index: 2; }
.tcard-stripe { z-index: 3; }


/* ─────────────────────────────────────────
   17-E. NEWSLETTER — NEW OTP FORM STYLES
   ───────────────────────────────────────── */

/* Wrapper around the multi-step form */
.nl-form-wrap { display: flex; flex-direction: column; }

/* 2-column grid for fields */
.nl-fields-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   var(--s3);
  margin-bottom:         var(--s4);
}

/* Full-width overrides inside the grid */
.nl-fields-grid .nl-input:nth-child(1),
.nl-fields-grid .nl-input:nth-child(3),
.nl-fields-grid .nl-select {
  grid-column: span 2;
}

/* Select styling — match nl-input */
.nl-select {
  appearance:   none;
  -webkit-appearance: none;
  cursor:       pointer;
  color:        rgba(255,255,255,0.55);
}

.nl-select option {
  background: var(--c-g800);
  color:      var(--c-white);
}

/* "Already have an account?" line */
.nl-already {
  margin-top:  var(--s6);
  font-size:   0.8rem;
  color:       rgba(255,255,255,0.35);
}

.nl-already-link {
  color:       rgba(255,255,255,0.7);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:  color var(--dur-btn) var(--ease-std);
}

@media (hover: hover) and (pointer: fine) {
  .nl-already-link:hover { color: var(--c-white); }
}

/* Password field wrapper — relative so toggle sits inside */
.nl-password-wrap {
  position:    relative;
  grid-column: span 2;
}

.nl-password-wrap .nl-input {
  width:         100%;
  padding-right: 2.8rem; /* make room for the toggle button */
}

/* Show/hide password button */
.nl-pw-toggle {
  position:   absolute;
  right:      0.75rem;
  top:        50%;
  transform:  translateY(-50%);
  background: none;
  border:     none;
  padding:    0.25rem;
  color:      rgba(255,255,255,0.35);
  cursor:     pointer;
  display:    flex;
  align-items: center;
  transition: color var(--dur-btn) var(--ease-std);
  opacity:    0.45;
}

@media (hover: hover) and (pointer: fine) {
  .nl-pw-toggle:hover { color: rgba(255,255,255,0.75); opacity: 1; }
}

/* Password hint */
.nl-pw-hint {
  font-size:    0.7rem;
  color:        rgba(255,255,255,0.25);
  margin-bottom: var(--s3);
  margin-top:   calc(-1 * var(--s1));
}

/* Step label (Step 1 of 2 ...) */
.nl-step-label {
  font-size:      0.65rem;
  font-weight:    700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--c-red);
  margin-bottom:  var(--s4);
}

/* Send OTP button — full-width version */
.nl-send-otp {
  width:       100%;
  justify-content: center;
  margin-top:  var(--s2);
  font-size:   0.82rem;
  padding:     0.85rem 1.5rem;
}

.nl-send-otp:active { transform: scale(0.97); }

/* OTP info text */
.nl-otp-info {
  font-size:   0.875rem;
  color:       rgba(255,255,255,0.5);
  margin-bottom: var(--s4);
}

/* OTP input row — input + timer side by side */
.nl-otp-row {
  display:     flex;
  align-items: center;
  gap:         var(--s4);
  margin-bottom: var(--s4);
}

/* Large OTP input */
.nl-otp-input {
  font-family:    var(--ff-accent);
  font-size:      1.8rem;
  letter-spacing: 0.25em;
  text-align:     center;
  flex:           1;
  padding:        0.7rem 1rem;
}

/* Countdown timer */
.nl-otp-timer {
  font-family:    var(--ff-accent);
  font-size:      1.4rem;
  color:          var(--c-red);
  letter-spacing: 0.05em;
  flex-shrink:    0;
  min-width:      3ch;
  text-align:     center;
  line-height:    1;
}

/* Buttons row below OTP input */
.nl-otp-actions {
  display:     flex;
  align-items: center;
  gap:         var(--s4);
  flex-wrap:   wrap;
  margin-bottom: var(--s4);
}

/* Verify button */
.nl-verify-btn {
  flex:           1;
  justify-content: center;
  min-width:      160px;
}

.nl-verify-btn:active { transform: scale(0.97); }

/* Resend link-button */
.nl-resend {
  font-size:      0.76rem;
  font-weight:    700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.35);
  background:     none;
  border:         none;
  cursor:         pointer;
  padding:        0.4rem 0;
  transition:     color var(--dur-btn) var(--ease-std);
  font-family:    var(--ff-ui);
}

.nl-resend:not(:disabled) { color: rgba(255,255,255,0.72); }

@media (hover: hover) and (pointer: fine) {
  .nl-resend:not(:disabled):hover { color: var(--c-white); }
}

.nl-resend:disabled { opacity: 0.35; cursor: not-allowed; }

/* Back link */
.nl-back {
  display:     inline-flex;
  align-items: center;
  gap:         var(--s2);
  font-size:   0.76rem;
  font-weight: 600;
  color:       rgba(255,255,255,0.36);
  background:  none;
  border:      none;
  cursor:      pointer;
  padding:     0.2rem 0;
  transition:  color var(--dur-btn) var(--ease-std);
  font-family: var(--ff-ui);
}

@media (hover: hover) and (pointer: fine) {
  .nl-back:hover { color: rgba(255,255,255,0.7); }
}

/* Form-level error message */
.nl-form-error {
  font-size:   0.82rem;
  color:       #ff6b6b;
  background:  rgba(255,107,107,0.08);
  border:      1px solid rgba(255,107,107,0.2);
  padding:     var(--s3) var(--s4);
  margin-top:  var(--s3);
  line-height: 1.5;
}

/* Trust signals list (left column) */
.nl-trust {
  display:        flex;
  flex-direction: column;
  gap:            var(--s3);
  margin-top:     var(--s6);
}

.nl-trust-item {
  display:     flex;
  align-items: center;
  gap:         var(--s3);
  font-size:   0.82rem;
  color:       rgba(255,255,255,0.38);
  line-height: 1.4;
}

.nl-trust-item svg { flex-shrink: 0; }

/* Success state — hidden until JS reveals it */
.nl-success          { display: none; }   /* default: hidden */
.nl-success.is-shown {                    /* JS adds this class after OTP verified */
  display:        flex;
  flex-direction: column;
  gap:            0;
  border:         1px solid rgba(92,216,127,0.2);
  overflow:       hidden;
  animation:      fadeInUp 0.45s var(--ease-out) both;
}

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

/* Top — confirmed message */
.nl-success-top {
  display:     flex;
  align-items: flex-start;
  gap:         var(--s4);
  padding:     var(--s6) var(--s7);
  background:  rgba(92,216,127,0.06);
}

.nl-success-icon { flex-shrink: 0; padding-top: 2px; }
.nl-success-icon svg { display: block; }

.nl-success-title {
  font-family:  var(--ff-serif);
  font-size:    1.05rem;
  font-weight:  700;
  color:        #5cd87f;
  line-height:  1.25;
  margin-bottom: var(--s2);
}

.nl-success-body {
  font-size:   0.82rem;
  color:       rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* Divider between confirmed + login */
.nl-success-divider {
  height:     1px;
  background: rgba(255,255,255,0.07);
}

/* Bottom — "Start Reading" CTA after account is created */
.nl-success-actions {
  display:        flex;
  flex-direction: column;
  gap:            var(--s4);
  padding:        var(--s6) var(--s7);
  background:     rgba(255,255,255,0.03);
}

.nl-login-btn {
  align-self:   flex-start;
  font-size:    0.82rem;
  padding:      0.72rem 1.5rem;
}
.nl-login-btn:active { transform: scale(0.97); }

.nl-success-note {
  font-size:   0.72rem;
  color:       rgba(255,255,255,0.25);
  line-height: 1.5;
}


/* ─────────────────────────────────────────
   17-F. RESPONSIVE ADDITIONS
   ───────────────────────────────────────── */
/* Hero collage — tablet */
@media (max-width: 1024px) {
  .hero-collage {
    grid-template-columns: 2fr 1fr;
    grid-template-rows:    1fr 1fr;
  }
  .hc-cell--1 { grid-column: 1; grid-row: 1 / 3; }
  .hc-cell--2 { grid-column: 2; grid-row: 1; }
  .hc-cell--3 { grid-column: 2; grid-row: 2; }
  .hc-cell--4, .hc-cell--5 { display: none; }

  /* Subscribe CTA: stack */
  .sub-cta-inner { grid-template-columns: 1fr; gap: var(--s10); }

  /* Audience: 2-col tablet */
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .acard:nth-child(3n)        { border-right: 1px solid var(--c-g100); }
  .acard:nth-child(2n)        { border-right: none; }
  .acard:nth-last-child(-n+3) { border-bottom: 1px solid var(--c-g100); }
  .acard:nth-last-child(-n+2) { border-bottom: none; }
}

/* Hero collage — mobile */
@media (max-width: 768px) {
  .hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows:    1fr 1fr;
  }
  .hc-cell--1 { grid-column: 1; grid-row: 1; }
  .hc-cell--2 { grid-column: 2; grid-row: 1; }
  .hc-cell--3 { grid-column: 1; grid-row: 2; display: block; }
  .hc-cell--4 { grid-column: 2; grid-row: 2; display: block; }
  .hc-cell--5 { display: none; }

  /* Audience: single col on mobile */
  .audience-grid { grid-template-columns: 1fr; }
  .acard               { border-right: none; border-bottom: 1px solid var(--c-g100); }
  .acard:last-child    { border-bottom: none; }
  .acard:nth-child(3n) { border-right: none; }

  /* NL fields: single col */
  .nl-fields-grid { grid-template-columns: 1fr; }
  .nl-fields-grid .nl-input:nth-child(1),
  .nl-fields-grid .nl-input:nth-child(3),
  .nl-fields-grid .nl-select { grid-column: span 1; }

  /* OTP row: stack */
  .nl-otp-row { flex-direction: column; align-items: stretch; }
  .nl-otp-timer { text-align: left; }
}

@media (max-width: 480px) {
  .sub-cta-h2 { font-size: 2rem; }
  .nl-otp-actions { flex-direction: column; align-items: stretch; }
  .nl-verify-btn  { width: 100%; }
}


/* ─────────────────────────────────────────
   17. RESPONSIVE — TABLET ≤ 1024px
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 1.25rem; }

  /* Hero: reduce padding on tablet */
  .hero { min-height: 90svh; }
  .hero-body { padding: var(--s16) var(--pad-x); }
  .hero-slide--feature .hero-body { padding-top: calc(var(--nav-h) + var(--s5)); gap: var(--s4); }
  .hero-h1 { font-size: clamp(3rem, 7vw, 5.5rem); }

  /* WWD: rows → condensed */
  .wwd-head { grid-template-columns: 1fr; gap: var(--s6); }
  .wwd-row  { grid-template-columns: 60px 1fr auto; grid-template-rows: auto auto; }
  .wwd-row-body { grid-column: 2 / -1; }

  /* Topics: keep 3-col on tablet, shrink tile heights slightly */
  .tcard--lg { min-height: 300px; }
  .tcard     { min-height: 200px; }
  .tcard--lg .tcard-name { font-size: 1.3rem; }

  /* Latest: single col */
  .lgrid { grid-template-columns: 1fr; }
  .lcard--primary { grid-row: auto; }
  .lstack { flex-direction: row; flex-wrap: wrap; }
  .lcard--sm { flex: 1; min-width: 230px; }

  /* Problem: stack */
  .problem-inner { grid-template-columns: 1fr; gap: var(--s10); }

  /* Serve: 2 col */
  .sgrid { grid-template-columns: repeat(2, 1fr); }

  /* Newsletter: stack */
  .nl-inner { grid-template-columns: 1fr; gap: var(--s10); }

  /* Footer: stack */
  .footer-top { grid-template-columns: 1fr; gap: var(--s10); }
}


/* ─────────────────────────────────────────
   18. RESPONSIVE — MOBILE ≤ 768px
   ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --pad-x: 1rem;
    --s32:   5rem;
    --s24:   3.5rem;
    --s20:   3rem;
  }

  .section { padding: var(--s20) 0; }

  /* Nav: mobile drawer */
  .nav-toggle { display: flex; }

  .nav-menu {
    position:        fixed;
    inset:           0 0 0 auto;
    width:           min(300px, 85vw);
    background:      var(--c-ink);
    flex-direction:  column;
    align-items:     flex-start;
    justify-content: center;
    padding:         var(--s16) var(--s8);
    transform:       translateX(100%);
    transition:      transform var(--dur-slow) var(--ease-drawer);
    z-index:         905;
    border-left:     3px solid var(--c-red);
    box-shadow:      -16px 0 60px rgba(0,0,0,0.6);
    gap:             var(--s5);
  }

  .nav-menu.is-open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .nav-link { font-size: 1rem; padding: var(--s3) 0; }
  .nav-link::after { left: 0; right: auto; width: 18px; }
  .nav-subscribe { margin-top: var(--s6); width: 100%; justify-content: center; padding: 0.65rem; }

  /* Hero */
  .hero { min-height: 85svh; }
  .hero-body { gap: var(--s8); padding: var(--s12) var(--pad-x); }
  .hero-slide--feature .hero-body { padding-top: calc(var(--nav-h) + var(--s4)); gap: var(--s3); padding-bottom: var(--s8); }
  .hero-h1--feature { font-size: clamp(2rem, 6vw, 3.5rem); }
  .hero-h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero-metrics { gap: var(--s5); }
  .hm-n { font-size: 1.55rem; }

  /* WWD: stack fully */
  .wwd-row { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s6) 0; }
  .wwd-row-num { font-size: 2rem; text-align: left; }
  .wwd-row-body { grid-column: 1; }
  .wwd-row-link { margin-top: var(--s2); }

  /* Topics: 1-col stack on mobile */
  .tgrid { grid-template-columns: 1fr; }
  .tcard--lg { grid-column: span 1; min-height: 260px; }
  .tcard     { min-height: 160px; }

  /* Latest: stack secondary */
  .lstack { flex-direction: column; }

  /* Serve: 2 col */
  .sgrid { grid-template-columns: 1fr 1fr; }

  /* Problem */
  .prob-item { gap: var(--s4); }
  .prob-n { font-size: 1.8rem; width: 32px; }

  /* Footer */
  .footer-nav { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-desc { max-width: 100%; }
}


/* ─────────────────────────────────────────
   19. RESPONSIVE — SMALL MOBILE ≤ 480px
   ───────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }

  /* Topics already 1-col from 768px override — nothing extra needed */

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

  .sec-hdr--split { flex-direction: column; align-items: flex-start; }

  .nl-fields { flex-direction: column; }
  .nl-input  { min-width: 100%; }
  .nl-fields .btn { width: 100%; justify-content: center; }

  .footer-nav { grid-template-columns: 1fr; }

  .mc-row { grid-template-columns: 100px 1fr 30px; }
  .mc-lbl { font-size: 0.6rem; }
}


/* ─────────────────────────────────────────
   20. PRINT
   ───────────────────────────────────────── */
@media print {
  .navbar, .ticker, .nl-section, .hero-right { display: none; }
  .hero { min-height: auto; padding-top: 0; }
  body  { color: #000; background: #fff; }
  a     { color: #000; text-decoration: underline; }
}
