/* Careers page styles — ported 1:1 from careers.html on WP/ACF migration.
   nav/footer excluded (served by shared.css + template parts). Responsive appended at end. */

  /* ==========================================================
     CAREERS PAGE — DS-aligned to TreeFrog About / Pipeline / C-Stem
     Tokens come from assets/colors_and_type.css.
     ========================================================== */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--paper); color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px; line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; cursor: none;
  }
  a { color: inherit; }
  img { display: block; max-width: 100%; }

  /* ===== CUSTOM CURSOR ===== */
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%); will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--coral);
    transition: width 200ms, height 200ms, background 220ms;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--ink-30);
    transition: width 320ms var(--ease-out), height 320ms var(--ease-out),
                background 320ms, border-color 320ms;
  }
  body.cursor-hover .cursor-ring {
    width: 64px; height: 64px;
    background: rgba(8, 222, 150, 0.10);
    border-color: var(--frog-vif);
  }
  body.cursor-hover .cursor-dot { width: 0; height: 0; }
  body.cursor-dark .cursor-dot { background: var(--frog-vif); }
  body.cursor-dark .cursor-ring { border-color: rgba(250, 250, 247, 0.30); }
  @media (max-width: 900px), (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
  }

  /* ===== SCROLL PROGRESS ===== */
  .scroll-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 2px; z-index: 200; background: transparent;
  }
  .scroll-progress span {
    display: block; height: 100%;
    background: var(--frog-vif);
    transform: scaleX(0); transform-origin: left;
    transition: transform 80ms linear;
  }

  /* ===== PILLS / CTAs ===== */
  .pill {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 13px; font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
    cursor: pointer; position: relative; overflow: hidden;
  }
  .pill .arrow { display: inline-block; transition: transform 280ms var(--ease-out); }
  .pill:hover .arrow { transform: translateX(4px); }
  .pill.solid { background: var(--ink); color: var(--paper); }
  .pill.solid:hover { background: var(--frog-vif); color: var(--ink); }
  .pill.outline-light { background: transparent; border-color: var(--paper); color: var(--paper); }
  .pill.outline-light:hover { background: var(--paper); color: var(--ink); }
  .pill.outline-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
  .pill.outline-dark:hover { background: var(--ink); color: var(--paper); }
  .pill.green { background: var(--frog-vif); color: var(--ink); }
  .pill.green:hover { background: var(--ink); color: var(--frog-vif); }

  .cta-circle {
    display: inline-flex; align-items: center; gap: 16px;
    text-decoration: none; color: var(--ink);
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.14em; font-weight: 500;
    text-transform: uppercase; cursor: pointer;
    transition: transform 200ms var(--ease-out);
  }
  .cta-circle .label { transition: transform 280ms var(--ease-out); }
  .cta-circle .circ {
    width: 60px; height: 60px; border-radius: 999px;
    border: 1px solid currentColor;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 260ms var(--ease-out), color 260ms var(--ease-out);
    flex-shrink: 0;
  }
  .cta-circle .circ svg { transition: transform 360ms var(--ease-out); }
  .cta-circle:hover .circ { background: var(--ink); color: var(--paper); }
  .cta-circle:hover .circ svg { transform: rotate(-45deg); }
  .cta-circle:hover .label { transform: translateX(4px); }
  .cta-circle.on-dark { color: var(--paper); }
  .cta-circle.on-dark:hover .circ { background: var(--paper); color: var(--ink); }

  /* ===== OVERTITLE ===== */
  .overtitle {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--frog); margin-bottom: 24px;
  }
  .on-dark .overtitle, .overtitle.on-dark { color: var(--frog-vif); }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 0 clamp(20px, 5vw, 56px);
    background: var(--ink);
    color: var(--paper);
  }
  .hero__bg {
    position: absolute; inset: 0;
    background-image: url('/assets/careers-dsc03180.jpg');
    background-size: cover; background-position: 50% 40%;
    opacity: 0; z-index: 0;
    transform: scale(1.0);
    animation: heroFadeIn 1200ms cubic-bezier(0.22, 1, 0.36, 1) forwards, heroKenBurns 20s ease-in-out 1200ms infinite;
  }
  @keyframes heroFadeIn {
    to { opacity: 0.5; }
  }
  @keyframes heroKenBurns {
    from { transform: scale(1.0); }
    to   { transform: scale(1.10); }
  }
  /* hero content entrance (uniform across pages) */
  .hero .overline,
  .hero .subtitle,
  .hero .vision,
  .hero .lede,
  .hero .hero-cta,
  .hero .ctas {
    opacity: 0;
    animation: heroContentUp 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero .overline { animation-delay: 120ms; }
  .hero .subtitle,
  .hero .vision { animation-delay: 240ms; }
  .hero .lede { animation-delay: 300ms; }
  .hero .hero-cta,
  .hero .ctas { animation-delay: 360ms; }
  @keyframes heroContentUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(80% 60% at 78% 40%, rgba(8, 222, 150, 0.14) 0%, transparent 60%),
      linear-gradient(180deg, rgba(15, 46, 44, 0.55) 0%, rgba(15, 46, 44, 0.40) 40%, rgba(15, 46, 44, 0.88) 100%);
  }
  .hero .content {
    position: relative; z-index: 1;
    max-width: 1320px; margin: 0 auto; width: 100%;
    padding: 130px 0 96px;
  }
  .hero .meta-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 64px;
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; opacity: 0.78;
  }
  .hero .crumb { display: flex; gap: 10px; align-items: center; }
  .hero .crumb .sep { opacity: 0.4; }
  .hero .crumb .now { color: var(--frog-vif); }
  .hero .ticker { display: flex; align-items: center; gap: 10px; }
  .hero .ticker .live {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--frog-vif); animation: pulseDot 2s infinite;
  }
  @keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(8, 222, 150, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(8, 222, 150, 0); }
    100% { box-shadow: 0 0 0 0 rgba(8, 222, 150, 0); }
  }
  .hero .overline {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--frog-vif);
    margin-bottom: 32px;
    padding: 6px 14px;
    border: 1px solid var(--frog-vif);
    border-radius: 999px;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(56px, 9vw, 160px);
    line-height: 0.92;
    letter-spacing: -0.022em;
    color: var(--paper);
    margin-bottom: 0;
  }
  .hero h1 em { font-style: italic; color: var(--frog-vif); }
  .hero h1 .period { color: var(--coral); }
  .hero .subtitle {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1.2; letter-spacing: -0.01em;
    color: var(--paper); opacity: 0.92;
    margin-top: 28px; max-width: 22ch;
    text-wrap: balance;
  }
  .hero .hero-cta { margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap; }
  .hero .scroll-cue {
    position: absolute; bottom: 32px; right: clamp(20px, 5vw, 56px); z-index: 1;
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 500; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--paper); opacity: 0.78;
    display: flex; align-items: center; gap: 14px;
    writing-mode: vertical-rl;
  }
  .hero .scroll-cue .line {
    width: 1px; height: 28px; background: var(--frog-vif);
    animation: scrollLineH 2s var(--ease-out) infinite;
    transform-origin: top;
  }
  @keyframes scrollLineH {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50%      { transform: scaleY(1);   opacity: 1; }
  }

  /* split-line reveal */
  .split-line { display: block; overflow: hidden; }
  .split-line .inner {
    display: block;
    transform: translateY(110%);
    transition: transform 1100ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .loaded .split-line .inner { transform: translateY(0); }

  /* ===== INTRO TEXT BLOCK ===== */
  .intro {
    background: var(--paper);
    padding: 180px clamp(20px, 5vw, 56px);
    position: relative;
  }
  .intro .wrap {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 5fr 7fr;
    gap: 96px;
    align-items: start;
  }
  .intro .lead .num {
    font-family: var(--font-display); font-style: italic;
    font-size: 80px; line-height: 1;
    color: var(--frog-vif); opacity: 0.5;
    letter-spacing: -0.02em;
    margin-top: 8px;
  }
  .intro .body h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(40px, 4.8vw, 76px);
    line-height: 1; letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 48px;
    text-wrap: balance;
  }
  .intro .body h2 em { font-style: italic; color: var(--frog); }
  .intro .body h2 .mark { color: var(--frog-vif); font-style: italic; }
  .intro .body p {
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.6;
    color: var(--ink); opacity: 0.86;
    max-width: 640px;
    text-wrap: pretty;
  }
  .intro .body p + p { margin-top: 20px; }
  .intro .body p a {
    color: var(--frog); text-decoration: underline;
    text-decoration-color: var(--frog-vif);
    text-decoration-thickness: 1.5px; text-underline-offset: 3px;
    transition: color 200ms;
  }
  .intro .body p a:hover { color: var(--frog-vif); }
  .intro .body .constraints {
    margin-top: 28px; max-width: 640px;
    border-top: 0.5px solid var(--ink-12);
  }
  .intro .body .constraints li {
    list-style: none;
    display: flex; align-items: baseline; gap: 18px;
    padding: 16px 0;
    border-bottom: 0.5px solid var(--ink-12);
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--ink); opacity: 0.9;
  }
  .intro .body .constraints li .ix {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.16em;
    color: var(--frog-vif); flex-shrink: 0;
    width: 30px;
  }
  .intro .body .pull {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(22px, 1.9vw, 28px);
    line-height: 1.35; letter-spacing: -0.005em;
    color: var(--ink);
    margin-top: 40px; padding-top: 32px;
    border-top: 0.5px solid var(--ink-12);
    max-width: 640px;
    text-wrap: balance;
  }
  .intro .body .pull em { color: var(--frog); }

  /* ===== GENERIC SECTION ===== */
  .section {
    padding: 160px clamp(20px, 5vw, 56px);
  }
  .section.dark { background: var(--frog-deep); color: var(--paper); }
  .section.light { background: var(--paper); color: var(--ink); }
  .section.ink { background: var(--ink); color: var(--paper); }
  .section.paper2 { background: var(--paper-2); color: var(--ink); }
  .section .head {
    max-width: 1320px; margin: 0 auto 88px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: end;
  }
  .section .head.single { grid-template-columns: 1fr; }
  .section.light .head .overtitle { color: var(--frog); }
  .section.dark .head .overtitle,
  .section.ink .head .overtitle { color: var(--frog-vif); }
  .section h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(48px, 6.4vw, 96px);
    line-height: 0.96; letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .section h2 em { font-style: italic; }
  .section.light h2 em { color: var(--frog); }
  .section.dark h2 em, .section.ink h2 em { color: var(--frog-vif); }
  .section .head-note {
    max-width: 380px; padding-bottom: 12px; padding-top: 24px;
    border-top: 0.5px solid currentColor;
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; line-height: 1.6;
  }
  .section.dark .head-note, .section.ink .head-note { border-color: rgba(8,222,150,0.24); color: var(--frog-vif); opacity: 0.78; }
  .section.light .head-note, .section.paper2 .head-note { border-color: var(--ink-12); color: var(--frog); opacity: 0.78; }

  /* ===== IMPACT — three columns ===== */
  .impact-grid {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid currentColor;
  }
  .impact-cell {
    padding: 56px 40px 56px 0;
    border-bottom: 0.5px solid var(--ink-12);
    border-right: 0.5px solid var(--ink-12);
    position: relative;
  }
  .section.dark .impact-cell, .section.ink .impact-cell { border-color: rgba(8,222,150,0.18); }
  .impact-cell:last-child { border-right: 0; }
  .impact-cell { padding-left: 40px; }
  .impact-cell:first-child { padding-left: 0; }
  .impact-cell .ix {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--frog-vif); opacity: 0.9;
    margin-bottom: 28px;
  }
  .impact-cell h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1; letter-spacing: -0.015em;
    margin-bottom: 22px;
  }
  .section.light .impact-cell h3 { color: var(--frog); }
  .impact-cell p {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.6; opacity: 0.86; max-width: 36ch;
    text-wrap: pretty;
  }
  .impact-cell .icon {
    width: 76px; height: 76px;
    border-radius: 999px; overflow: hidden;
    margin-bottom: 26px; display: block;
  }
  .impact-cell .icon img { width: 100%; height: 100%; display: block; }

  /* ===== SHARED FRAMED IMAGE ===== */
  .framed-img {
    position: relative; overflow: hidden;
    border: 0.5px solid var(--ink-12);
    background: rgba(8,222,150,0.05);
  }
  .section.dark .framed-img, .section.ink .framed-img { border-color: rgba(8,222,150,0.2); }
  .framed-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 800ms var(--ease-out);
  }
  .framed-img:hover img { transform: scale(1.04); }
  .framed-img .cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 28px 18px 14px;
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--paper);
    background: linear-gradient(transparent, rgba(15,46,44,0.82));
  }
  .intro .lead .lead-media { margin-top: 40px; aspect-ratio: 4/5; }
  .env .lead .lead-media { margin-top: 40px; aspect-ratio: 5/4; }
  .spontaneous .lead .lead-media { margin-top: 40px; aspect-ratio: 4/3; }

  /* ===== ENVIRONMENT — text block ===== */
  .env .wrap {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 5fr 7fr;
    gap: 96px; align-items: start;
  }
  .env h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(40px, 4.6vw, 72px);
    line-height: 1; letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .env h2 em { font-style: italic; color: var(--frog-vif); }
  .env .body p {
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.6; opacity: 0.86; max-width: 640px;
    text-wrap: pretty;
  }
  .env .body p + p { margin-top: 22px; }

  /* ===== EXPERTISE — 4 columns ===== */
  .expertise-grid {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .expertise-card {
    border: 0.5px solid currentColor;
    padding: 0; overflow: hidden;
    display: flex; flex-direction: column;
    transition: background 320ms var(--ease-out), transform 320ms var(--ease-out);
  }
  .section.dark .expertise-card, .section.ink .expertise-card { border-color: rgba(8,222,150,0.22); }
  .section.light .expertise-card, .section.paper2 .expertise-card { border-color: var(--ink-12); }
  .expertise-card:hover { transform: translateY(-6px); }
  .expertise-card .ex-img {
    aspect-ratio: 4/3; overflow: hidden;
    background: rgba(8,222,150,0.05);
  }
  .expertise-card .ex-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 700ms var(--ease-out);
  }
  .expertise-card:hover .ex-img img { transform: scale(1.06); }
  .expertise-card .ex-body {
    padding: 22px 24px 26px;
    display: flex; flex-direction: column; gap: 10px;
  }
  .expertise-card .ix {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.18em;
    color: var(--frog-vif);
  }
  .expertise-card h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(24px, 1.9vw, 30px);
    line-height: 1.05; letter-spacing: -0.01em;
  }

  /* ===== ROLES ===== */
  .roles-intro {
    max-width: 1320px; margin: 96px auto 0;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: end;
  }
  .roles-intro h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1; letter-spacing: -0.015em;
  }
  .roles-intro h3 em { font-style: italic; color: var(--frog-vif); }
  .roles-intro p {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.6; opacity: 0.86; max-width: 46ch;
    padding-bottom: 8px; text-wrap: pretty;
  }

  .role-group {
    max-width: 1320px; margin: 0 auto;
  }
  .role-group + .role-group { margin-top: 72px; }
  .role-group .group-label {
    display: flex; align-items: center; gap: 16px;
    padding-bottom: 22px; margin-bottom: 0;
    border-bottom: 1px solid currentColor;
    font-family: var(--font-mono);
    font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .section.dark .group-label, .section.ink .group-label { color: var(--frog-vif); border-color: rgba(8,222,150,0.4); }
  .section.light .group-label, .section.paper2 .group-label { color: var(--frog); border-color: var(--ink); }
  .role-group .group-label svg { width: 20px; height: 20px; flex-shrink: 0; }

  .role-row {
    display: grid; grid-template-columns: 360px 1fr;
    gap: 48px; padding: 40px 0;
    border-bottom: 0.5px solid var(--ink-12);
    align-items: start;
    transition: background 320ms ease, padding 320ms ease;
  }
  .section.dark .role-row, .section.ink .role-row { border-color: rgba(8,222,150,0.16); }
  .role-row:hover { padding-left: 20px; padding-right: 20px; }
  .section.light .role-row:hover, .section.paper2 .role-row:hover { background: rgba(8,222,150,0.03); }
  .section.dark .role-row:hover, .section.ink .role-row:hover { background: rgba(8,222,150,0.05); }
  .role-row .role-title {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(24px, 2.1vw, 32px);
    line-height: 1.08; letter-spacing: -0.01em;
    display: flex; align-items: baseline; gap: 14px;
  }
  .role-row .role-title .tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mono-tag);
    border: 0.5px solid var(--ink-12);
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
    opacity: 0.85;
  }
  .section.dark .role-title .tag, .section.ink .role-title .tag {
    color: rgba(250,250,247,0.6); border-color: rgba(250,250,247,0.2);
  }
  .role-row .role-desc {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.6; opacity: 0.86; max-width: 62ch;
    text-wrap: pretty;
  }
  .role-row .role-desc p + p { margin-top: 12px; }
  .role-row.tbd .role-desc { opacity: 0.5; font-style: italic; }

  /* ===== EXPLORE FURTHER — big cross-link block ===== */
  .explore {
    background: var(--ink); color: var(--paper);
    padding: 0 clamp(20px, 5vw, 56px);
  }
  .explore .inner {
    max-width: 1320px; margin: 0 auto;
    padding: 130px 0;
    border-top: 0.5px solid rgba(244, 241, 234, 0.2);
    border-bottom: 0.5px solid rgba(244, 241, 234, 0.2);
  }
  .explore .overtitle { color: var(--frog-vif); margin-bottom: 22px; }
  .explore .row {
    display: grid; grid-template-columns: 1fr auto;
    gap: 48px; align-items: center;
  }
  .explore h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(40px, 5.2vw, 88px);
    line-height: 0.98; letter-spacing: -0.02em;
    text-wrap: balance; max-width: 16ch;
  }
  .explore h2 em { font-style: italic; color: var(--frog-vif); }
  .explore .row p {
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.55; opacity: 0.82; max-width: 30ch;
    margin-top: 24px;
  }
  .explore .cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

  /* ===== SPONTANEOUS ===== */
  .spontaneous {
    background: var(--paper); color: var(--ink);
    padding: 160px clamp(20px, 5vw, 56px);
  }
  .spontaneous .wrap {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 5fr 7fr;
    gap: 96px; align-items: center;
  }
  .spontaneous h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(40px, 4.6vw, 72px);
    line-height: 1; letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .spontaneous h2 em { font-style: italic; color: var(--frog); }
  .spontaneous .body p {
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.6; opacity: 0.86; max-width: 620px;
    margin-bottom: 40px; text-wrap: pretty;
  }

  /* ===== REVEAL ===== */
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 800ms var(--ease-out),
                transform 800ms var(--ease-out);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal-stagger > * {
    opacity: 0; transform: translateY(28px);
    transition: opacity 800ms var(--ease-out),
                transform 800ms var(--ease-out);
  }
  .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.in > *:nth-child(1)  { transition-delay: 0ms;   }
  .reveal-stagger.in > *:nth-child(2)  { transition-delay: 80ms;  }
  .reveal-stagger.in > *:nth-child(3)  { transition-delay: 160ms; }
  .reveal-stagger.in > *:nth-child(4)  { transition-delay: 240ms; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .intro .wrap { grid-template-columns: 1fr; gap: 40px; }
    .section .head { grid-template-columns: 1fr; gap: 32px; }
    .impact-grid { grid-template-columns: 1fr; }
    .impact-cell { padding: 40px 0; border-right: 0; }
    .impact-cell:first-child { padding-top: 40px; }
    .env .wrap { grid-template-columns: 1fr; gap: 40px; }
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .roles-intro { grid-template-columns: 1fr; gap: 24px; }
    .role-row { grid-template-columns: 1fr; gap: 18px; }
    .explore .row { grid-template-columns: 1fr; gap: 40px; }
    .spontaneous .wrap { grid-template-columns: 1fr; gap: 32px; }
  }
  @media (max-width: 640px) {
    .expertise-grid { grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }
