/* ============================================
   Lori Cai · Portfolio
   Tokens & globals
   ============================================ */

:root {
  /* Aligned to leicai99.com — neutral editorial + neon mint accent */
  --bg:        #FAF9F6;   /* warm off-white (her actual #faf9f6) */
  --bg-alt:    #F2F2F2;   /* neutral light gray */
  --text:      #0B0B0B;   /* near-black */
  --muted:     #666666;   /* neutral mid gray */
  --border:    #EEEEEE;   /* neutral light */
  --accent:    #68FF7E;   /* signature mint green */
  --accent-soft: #DCFEE2; /* very soft mint */

  /* Project cover tones — grayscale with one green and one black for variety */
  --sand:        #F2F2F2;
  --sage:        #DCFEE2;  /* green-tinted */
  --terracotta:  #DDDDDD;
  --cream:       #F8F8F8;
  --slate:       #0B0B0B;  /* deep black */

  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;            /* prevent horizontal overflow without breaking position: sticky */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: clip;            /* clip (not hidden) so descendants can use position: sticky */
  width: 100%;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================
   Header / Nav
   ============================================ */

/* Floating pill header — sits with margin from edges, glass on top, dark on scroll */
.site-header {
  position: sticky;
  top: 16px;
  margin-top: 16px;
  padding: 0 var(--gutter);
  z-index: 100;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 10px 40px -16px rgba(0, 0, 0, 0.12);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

body.nav-scrolled .nav-pill {
  background: rgba(11, 11, 11, 0.92);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px -16px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 14px;
  gap: 16px;
}

/* Logo: monogram circle + name */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-monogram {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-family: 'Caveat', 'Brush Script MT', cursive;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  letter-spacing: -0.04em;
  line-height: 1;
  padding-bottom: 2px;
}
.logo-name {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.35s ease;
}
.logo-name .dot { color: var(--accent); }
body.nav-scrolled .logo-name { color: #fff; }

.nav-center {
  display: flex;
  gap: 32px;
}
.nav-center a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-center a:hover,
.nav-center a.is-active { color: var(--text); }
.nav-center a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
body.nav-scrolled .nav-center a { color: rgba(255, 255, 255, 0.55); }
body.nav-scrolled .nav-center a:hover,
body.nav-scrolled .nav-center a.is-active { color: #fff; }

.nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Special pill: white text capsule + dark arrow circle */
.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 4px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.btn-resume:hover { background: #F2F2F2; }
.btn-resume-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: var(--accent);
  font-size: 13px;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1);
}
.btn-resume:hover .btn-resume-arrow { transform: translateX(2px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s, background 0.35s;
}
body.nav-scrolled .nav-toggle span { background: #fff; }

/* Rotating word in hero — joins typewriter via --i */
.rotator {
  display: inline-grid;
  vertical-align: top;
  text-align: left;
  opacity: 0;
  transform: translateY(0.3em);
  animation: tw-in 0.45s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 28ms);
}
.rotator .word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.45em);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.2,.7,.2,1);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  white-space: nowrap;
  text-shadow:
    0 0 18px rgba(104, 255, 126, 0.18),
    0 0 36px rgba(104, 255, 126, 0.12);
}
.rotator .word.is-active {
  opacity: 1;
  transform: translateY(0);
}
.rotator .word.is-leaving {
  opacity: 0;
  transform: translateY(-0.45em);
}

@media (prefers-reduced-motion: reduce) {
  .rotator { animation: none; opacity: 1; transform: none; }
  .rotator .word { transition: none; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: #2b2b2b; }

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-secondary:hover { background: var(--bg-alt); border-color: var(--text); }

.btn-ghost {
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn .arrow { transition: transform 0.2s; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 96px 0 64px;
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 92px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  max-width: 17ch;
}

.hero h1 .nowrap { white-space: nowrap; }

@media (max-width: 520px) {
  .hero h1 .nowrap { white-space: normal; }
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

.hero-intro {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   Banner art
   ============================================ */

.banner {
  margin: 40px 0 96px;
}
.banner-head {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.banner-head .eyebrow { margin: 0; }
.banner-head .section-title { margin: 0; font-size: clamp(28px, 4vw, 44px); }

.banner-art {
  height: clamp(300px, 50vh, 520px);
  border-radius: var(--radius-lg);
  /* Vivid pastel bedding behind the quote — corners pop, center stays soft so text reads */
  background:
    radial-gradient(ellipse 50% 55% at 14% 22%, #FFB8D6 0%, transparent 62%),
    radial-gradient(ellipse 48% 52% at 86% 20%, #B8C8FF 0%, transparent 62%),
    radial-gradient(ellipse 52% 50% at 18% 82%, #B7F0CA 0%, transparent 62%),
    radial-gradient(ellipse 50% 52% at 84% 80%, #FFD9A8 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 50% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 60%),
    linear-gradient(135deg, #FFF1F6, #F2F6FF);
  position: relative;
  overflow: hidden;
}
.banner-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 70%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Quote sits beneath the foil — readable through scratches, fully revealed at threshold */
.banner-quote {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 clamp(24px, 6vw, 96px);
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(.2, .7, .2, 1);
}
.banner-art.is-revealed .banner-quote {
  transform: scale(1.02);
}

/* Scratch card — black foil over the quote, scratch off ~75% to reveal */
.banner-art { cursor: crosshair; }
.banner-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  z-index: 1;
  transition: opacity 0.7s cubic-bezier(.2, .7, .2, 1);
}
.banner-art.is-revealed .banner-canvas {
  opacity: 0;
  pointer-events: none;
}

.banner-hint {
  position: absolute;
  top: 22px;
  left: 26px;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.banner-hint-mark { font-size: 16px; opacity: 0.85; }
.banner-art.has-stroke .banner-hint,
.banner-art.is-revealed .banner-hint {
  opacity: 0;
  transform: translateY(-4px);
}

.banner-clear {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
}
.banner-art.has-stroke .banner-clear,
.banner-art.is-revealed .banner-clear {
  opacity: 1;
  transform: translateY(0);
}
.banner-art.is-revealed .banner-clear {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text);
}
.banner-clear:hover { background: rgba(255, 255, 255, 0.22); }
.banner-art.is-revealed .banner-clear:hover { background: rgba(0, 0, 0, 0.08); }

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 48px;
  max-width: 22ch;
  text-wrap: balance;
}

/* About / bio block */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.bio-stack { min-width: 0; }

/* Photo card · parallax tilt + glow + sticker tag */
.profile-card {
  position: relative;
  margin: 0;
  perspective: 1200px;
  cursor: pointer;
}

.profile-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft) 0%, transparent 55%),
    linear-gradient(135deg, #F2F2F2, #DDDDDD);
  transform-style: preserve-3d;
  transform:
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateZ(0);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease;
  box-shadow:
    0 18px 50px -28px rgba(0,0,0,0.18),
    0 2px 8px -4px rgba(0,0,0,0.08);
  will-change: transform;
}

.profile-card:hover .profile-frame {
  box-shadow:
    0 28px 70px -24px rgba(0,0,0,0.28),
    0 0 0 1px rgba(104, 255, 126, 0.25);
}

.profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
  filter: saturate(0.96) contrast(1.02);
}

.profile-card:hover .profile-photo {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.04);
}

/* Inner accent ring that traces the frame on hover */
.profile-ring {
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.5s ease, inset 0.5s ease;
}
.profile-card:hover .profile-ring {
  border-color: rgba(255, 255, 255, 0.55);
  inset: 14px;
}

/* Mint-green glow that follows the cursor across the photo */
.profile-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(280px circle at var(--mx, 30%) var(--my, 30%),
      rgba(104, 255, 126, 0.28),
      transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}
.profile-card:hover .profile-glow { opacity: 1; }

/* Caveat-script "say hi ↗" sticker · floats on hover */
.profile-tag {
  position: absolute;
  top: 18px;
  right: -14px;
  padding: 8px 14px 8px 16px;
  background: var(--accent);
  color: #0E1A12;
  border-radius: 999px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: rotate(6deg) translateY(-4px);
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 8px 22px -10px rgba(104, 255, 126, 0.6);
  pointer-events: none;
}
.profile-card:hover .profile-tag {
  opacity: 1;
  transform: rotate(-3deg) translateY(0);
}
.profile-tag-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .profile-frame,
  .profile-photo,
  .profile-tag { transition: none; }
  .profile-card:hover .profile-photo { transform: none; }
}

.bio-lead {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}

.cred-list li {
  font-size: 16px;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  line-height: 1.55;
}
.cred-list li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   Projects
   ============================================ */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

.project {
  display: block;
  transition: transform 0.3s ease;
}
.project:hover { transform: translateY(-4px); }

.project-cover {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.project-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
  z-index: 2;
}
.project-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.project:hover .project-cover img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .project-cover img,
  .project:hover .project-cover img { transition: none; transform: none; }
}
.project-cover[data-tone="sand"]       { background: var(--sand); }
.project-cover[data-tone="sage"]       { background: var(--sage); }
.project-cover[data-tone="terracotta"] { background: var(--terracotta); }
.project-cover[data-tone="cream"]      { background: var(--cream); }
.project-cover[data-tone="slate"]      { background: var(--slate); }

.project-tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.project h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 8px 0 8px;
  line-height: 1.3;
}
.project p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.project .more {
  font-size: 14px;
  color: var(--text);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.project:hover .more .arrow { transform: translateX(3px); }

.project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cs-accent);
  font-weight: 600;
}
.project-stats strong { font-weight: 700; }
.project-stats .sep { color: var(--border); font-weight: 400; }

/* ============================================
   Principles (About page)
   ============================================ */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principle {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.principle .num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.principle h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.principle p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Testimonials */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.testimonial blockquote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 16px;
}
.testimonial cite {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.testimonial cite strong { color: var(--text); font-weight: 600; }

/* ============================================
   CTA strip
   ============================================ */

.cta-strip {
  text-align: center;
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 60px 0 0;
  background: var(--bg-alt);
}
.cta-strip h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-strip p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Contact block */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.contact-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}
.contact-item .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-item .value {
  font-size: 18px;
  font-weight: 500;
}

/* ============================================
   Case study
   ============================================ */

.case-hero {
  padding: 80px 0 40px;
}
.case-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 32px;
}

.case-info {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.case-info dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.case-info dd { font-size: 14px; }

.case-section {
  padding: 48px 0;
  max-width: 760px;
}
.case-section .num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.case-section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.case-section p { font-size: 17px; line-height: 1.65; color: var(--text); margin-bottom: 16px; }
.case-section p.muted { color: var(--muted); }
.case-section ul { padding-left: 0; margin: 16px 0; }
.case-section ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  color: var(--text);
}
.case-section ul li::before {
  content: '0' counter(item);
  counter-increment: item;
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}
.case-section ul { counter-reset: item; }

.case-image {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #F2F2F2, #DDDDDD);
  aspect-ratio: 16/9;
  margin: 24px 0 8px;
  position: relative;
}
.case-image::after {
  content: 'image placeholder';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: rgba(0,0,0,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 17px;
  line-height: 1.55;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}
.case-result {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}
.case-result .stat {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.case-result p { font-size: 14px; color: var(--muted); margin: 0; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand .logo { font-size: 14px; }
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.55;
}
.footer-heading {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-list li { padding: 4px 0; }
.footer-list a {
  font-size: 14px;
  color: var(--text);
  transition: color 0.2s;
}
.footer-list a:hover { color: var(--accent); }

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.keywords span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .case-info { grid-template-columns: repeat(2, 1fr); }
  .case-results { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .logo-name { display: none; }
  .nav-center { display: none; }
  .nav-toggle { display: block; }
  .nav { padding: 6px 6px 6px 12px; }
  .btn-resume { padding: 4px 4px 4px 14px; font-size: 12px; }
  .btn-resume-arrow { width: 26px; height: 26px; font-size: 12px; }
  .nav-center.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px;
    gap: 16px;
    border-radius: 24px;
    box-shadow: 0 16px 40px -16px rgba(0,0,0,0.18);
  }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects { grid-template-columns: 1fr; gap: 40px; }
  .principles { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   Pen underline · draws under key words on scroll
   Reusable across pages; color follows --ink-color
   (defaults to current page accent).
   ============================================ */

.ink {
  position: relative;
  display: inline-block;
  max-width: 100%;            /* wrap if the phrase exceeds parent width */
  color: inherit;
  /* Note: dropped white-space: nowrap — long underlined phrases used to force
     horizontal page overflow on narrow viewports. The underline now only
     renders under the LAST line if the phrase wraps; acceptable trade-off. */
}
.ink > svg {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -0.16em;
  width: 106%;
  height: 0.42em;
  color: var(--ink-color, var(--accent));
  overflow: visible;
  pointer-events: none;
}
.ink > svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pathLength: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.95s cubic-bezier(.6,.1,.35,1) 0.18s;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.04));
}
.ink.is-drawn > svg path {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ink > svg path { transition: none; stroke-dashoffset: 0; }
}

/* ============================================
   Per-page accent themes
   Override the accent without touching the rest
   of the design system.
   ============================================ */

body.theme-nexa {
  /* Nexa's product purple — adjust hex to match the
     exact product screen if needed. */
  --accent:        #7C5CFF;
  --accent-soft:   #E5E0FF;
  --cs-accent:        #7C5CFF;
  --cs-accent-soft:   #E5E0FF;
  --cs-periwinkle:        #7C5CFF;
  --cs-periwinkle-soft:   #E5E0FF;
}

body.theme-octo {
  /* Octopus AI · monochrome grey for refined feel — but with a single
     brand-green focal accent (--cs-accent-vivid) used sparingly on
     anchor elements: hero italic, section numbers, big stats, key labels.
     Just enough green to guide the eye without breaking the monochrome calm. */
  --accent:        #0B0B0B;
  --accent-soft:   #EBEBEB;
  --cs-accent:        #0B0B0B;
  --cs-accent-soft:   #EBEBEB;
  --cs-periwinkle:        #0B0B0B;
  --cs-periwinkle-soft:   #EBEBEB;
  /* Signature mint — matches the home page accent (#68FF7E).
     One brand green throughout the case study; soft/edge are tint
     variants derived from the same hue. */
  --cs-accent-vivid:        #68FF7E;
  --cs-accent-vivid-soft:   rgba(104, 255, 126, 0.18);  /* tint wash for fills / icon backgrounds */
  --cs-accent-vivid-edge:   rgba(104, 255, 126, 0.40);  /* hairline for tinted surfaces */
  --cs-accent-vivid-on-dark: #68FF7E;  /* same mint — already bright enough for dark backgrounds */
  /* Pen underline uses a medium grey so it's still visible
     under black text — distinct from the accent. */
  --ink-color: #888;
}

/* Octopus theme · per-element overrides for places where the
   default green/dark combination would collapse to one color
   in greyscale. Keep them narrow. */
body.theme-octo .octo-editorial-section {
  background: #F6F3EC;
}
body.theme-octo .octo-tablets .tablet {
  background:
    radial-gradient(circle at 30% 20%, rgba(0,0,0,0.06), transparent 50%),
    linear-gradient(180deg, #FAFAFA, #EEE);
}
body.theme-octo .octo-inline-stat,
body.theme-octo .octo-inline-pill { color: #fff; }
body.theme-octo .octo-inline-card::before { background: #fff; }
body.theme-octo .octo-arch-box.is-key {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
body.theme-octo .octo-pillar.is-key h4 .dot { background: rgba(255,255,255,0.16); }
body.theme-octo .octo-pillar.is-key li::before { color: rgba(255,255,255,0.55); }
body.theme-octo .octo-quote-photo {
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 50%),
    linear-gradient(135deg, #555, #888);
}

/* Octopus theme · vivid green focal anchors.
   Strategically injects brand green into 4 anchor types so the eye has
   places to land while reading the long page. Kept narrow on purpose —
   widening this list will erode the monochrome calm. */

/* 01 · Hero italic — the page-opening focal point */
body.theme-octo .octo-hero-title em {
  color: var(--cs-accent-vivid);
}

/* 02 · Section-level eyebrow numbers (one per top-level section) */
body.theme-octo .octo-section .head .num,
body.theme-octo .octo-flow-section .head .num,
body.theme-octo .octo-iteration .num,
body.theme-octo .octo-responsive .num,
body.theme-octo .octo-solutions-block .head .num,
body.theme-octo .octo-insight .label,
body.theme-octo .octo-overview .eyebrow,
body.theme-octo .octo-videos-intro .label,
body.theme-octo .octo-reflection .cs-eyebrow,
body.theme-octo .cs-dark .cs-eyebrow {
  color: var(--cs-accent-vivid);
}

/* 03 · Big stats — closing-section punch numbers */
body.theme-octo .octo-insight .stat,
body.theme-octo .cs-stat-card .big-number {
  color: var(--cs-accent-vivid);
}

/* 04 · On dark backgrounds, swap to the brighter variant */
body.theme-octo .octo-iteration .num,
body.theme-octo .octo-iteration h2 em,
body.theme-octo .cs-dark .cs-eyebrow,
body.theme-octo .cs-stat-card .big-number {
  /* big-number sits on a white card, so it stays on the light variant —
     overridden back here for clarity */
}
body.theme-octo .octo-iteration .num {
  color: var(--cs-accent-vivid-on-dark);
}
body.theme-octo .octo-iteration h2 em {
  color: var(--cs-accent-vivid-on-dark);
}
body.theme-octo .cs-dark .cs-eyebrow {
  color: var(--cs-accent-vivid-on-dark);
}

/* ============================================
   Nexa AI Tools · case-study custom components
   ============================================ */

/* Hero variant — purple radial wash, search bar mockup centerpiece */

.nexa-hero {
  position: relative;
  height: clamp(620px, 90vh, 880px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, var(--cs-accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, #F2F2F2 0%, transparent 60%),
    var(--cs-cream);
}
.nexa-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,0.025) 100%);
  pointer-events: none;
}
.nexa-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 920px;
}
.nexa-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}
.nexa-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.nexa-hero .tagline {
  margin: 28px auto 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

/* Hero search bar mockup (decorative — sets the page's product theme) */

.nexa-hero-bar {
  margin: 56px auto 0;
  width: min(640px, 92%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #EAEAEA;
  box-shadow: 0 30px 60px -28px rgba(124, 92, 255, 0.35);
  font-size: 16px;
  color: var(--muted);
}
.nexa-hero-bar svg { flex-shrink: 0; color: var(--cs-accent); }
.nexa-hero-bar .placeholder {
  flex: 1;
  text-align: left;
  font-style: italic;
}
.nexa-hero-bar .kbd {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  background: var(--bg-alt);
  color: var(--muted);
  border-radius: 6px;
}

/* Numbered principle ladder — replaces tilted cards on this page */

.nexa-principles {
  background: var(--cs-cream);
  padding: 100px 0;
}
.nexa-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 56px;
  margin-top: 60px;
}
.nexa-principle {
  position: relative;
  padding: 28px 0 32px;
  border-top: 1px solid var(--border);
}
.nexa-principle .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 14px;
  display: block;
}
.nexa-principle h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.nexa-principle p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Search demo — the centerpiece interaction */

.nexa-demo-section {
  background: var(--cs-cream);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.nexa-demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--cs-accent-soft) 0%, transparent 65%);
  pointer-events: none;
}
.nexa-demo-section > .container { position: relative; z-index: 1; }

.nexa-demo {
  margin: 60px auto 0;
  max-width: 880px;
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 30px 60px -24px rgba(124, 92, 255, 0.22);
  border: 1px solid var(--border);
}

.nexa-demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: 999px;
  border: 1px solid #EAEAEA;
  font-size: 17px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.nexa-demo-bar .icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--cs-accent);
}
.nexa-demo-input {
  flex: 1;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nexa-demo-bar .caret {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--cs-accent);
  vertical-align: middle;
  margin-left: 2px;
  animation: nexa-caret 1.1s steps(2) infinite;
}
@keyframes nexa-caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.nexa-demo-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-left: 4px;
}
.suggestion {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  font-family: inherit;
}
.suggestion:hover {
  background: var(--cs-accent-soft);
  border-color: var(--cs-accent);
  color: var(--text);
}
.suggestion.is-active {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
  color: #fff;
}

.nexa-demo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.understanding-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.3s;
}
.understanding-card.is-shown {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--cs-accent-soft);
}
.understanding-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 600;
}
.understanding-value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 500;
}

.nexa-demo-foot {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Horizontal layout-explorations carousel */

.nexa-layouts {
  background: var(--cs-cream);
  padding: 100px 0 120px;
}
.nexa-layouts .container > .head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.nexa-layouts h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  max-width: 22ch;
}
.nexa-layouts .head .meta {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
}

.nexa-layout-track {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 4px 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.nexa-layout-track li {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s, border-color 0.3s;
}
.nexa-layout-track li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -16px rgba(124, 92, 255, 0.22);
  border-color: var(--cs-accent-soft);
}
.nexa-layout-track li.is-shipped {
  background: var(--cs-accent);
  color: #fff;
  border-color: var(--cs-accent);
}
.nexa-layout-track li.is-shipped .wireframe { background: rgba(255,255,255,0.12); }
.nexa-layout-track li.is-shipped .wireframe::before,
.nexa-layout-track li.is-shipped .wireframe::after { background: rgba(255,255,255,0.6); }
.nexa-layout-track li.is-shipped .label { color: #fff; }
.nexa-layout-track li.is-shipped .num { color: rgba(255,255,255,0.6); }
.nexa-layout-track li .shipped-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: #fff;
  color: var(--cs-accent);
  padding: 4px 8px;
  border-radius: 999px;
}

.nexa-layout-track .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--cs-accent);
}
.nexa-layout-track .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

/* Wireframe — tiny CSS sketch of each layout idea */
.wireframe {
  height: 130px;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.wireframe::before, .wireframe::after {
  content: '';
  background: rgba(0,0,0,0.18);
  border-radius: 3px;
}

/* Variants: 12 wireframe shapes corresponding to 12 layout explorations */
.wireframe.w-side    { flex-direction: row; }
.wireframe.w-side::before { width: 36%; height: 100%; }
.wireframe.w-side::after  { flex: 1; height: 100%; opacity: 0.6; }

.wireframe.w-search  { flex-direction: column; align-items: stretch; }
.wireframe.w-search::before { height: 18px; width: 100%; border-radius: 999px; }
.wireframe.w-search::after  { flex: 1; opacity: 0.5; }

.wireframe.w-stack   { flex-direction: column; gap: 6px; }
.wireframe.w-stack::before { height: 22px; width: 70%; border-radius: 999px; }
.wireframe.w-stack::after  { flex: 1; opacity: 0.6; }

.wireframe.w-history { flex-direction: column; gap: 4px; }
.wireframe.w-history::before { height: 18px; width: 100%; border-radius: 999px; }
.wireframe.w-history::after  { height: 30px; opacity: 0.5; }

.wireframe.w-guided  { flex-direction: column; gap: 4px; }
.wireframe.w-guided::before { height: 30px; width: 80%; opacity: 0.4; border-radius: 6px; }
.wireframe.w-guided::after  { flex: 1; opacity: 0.6; }

.wireframe.w-launch  { align-items: center; justify-content: center; }
.wireframe.w-launch::before { width: 48%; height: 22px; border-radius: 999px; }
.wireframe.w-launch::after  { display: none; }

.wireframe.w-three { flex-direction: row; gap: 4px; }
.wireframe.w-three::before { width: 28%; height: 100%; }
.wireframe.w-three::after  { flex: 1; height: 100%; opacity: 0.55; }

.wireframe.w-inline { flex-direction: column; gap: 4px; }
.wireframe.w-inline::before { height: 22px; width: 100%; border-radius: 6px; opacity: 0.7; }
.wireframe.w-inline::after  { flex: 1; opacity: 0.5; }

.wireframe.w-hover  { position: relative; }
.wireframe.w-hover::before { width: 40px; height: 40px; border-radius: 999px; position: absolute; bottom: 8px; right: 8px; }
.wireframe.w-hover::after  { flex: 1; opacity: 0.4; }

.wireframe.w-cards  { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.wireframe.w-cards::before { height: 100%; opacity: 0.6; }
.wireframe.w-cards::after  { height: 100%; opacity: 0.6; }

.wireframe.w-conv   { flex-direction: column; gap: 4px; align-items: flex-start; }
.wireframe.w-conv::before { width: 60%; height: 18px; border-radius: 999px; opacity: 0.6; }
.wireframe.w-conv::after  { width: 80%; height: 22px; border-radius: 8px; opacity: 0.5; }

.wireframe.w-ship   { flex-direction: column; gap: 4px; }
.wireframe.w-ship::before { height: 18px; width: 100%; border-radius: 999px; }
.wireframe.w-ship::after  { flex: 1; opacity: 0.6; }

@media (max-width: 720px) {
  .nexa-principles-grid { grid-template-columns: 1fr; gap: 0; }
  .nexa-demo-cards { grid-template-columns: 1fr; }
  .nexa-demo { padding: 24px; }
  .nexa-layouts .container > .head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nexa-layouts .head .meta { text-align: left; }
}

/* Nexa product shot — wide hero showcase + ecosystem card images */
.nexa-product-shot {
  background: var(--cs-cream);
  padding: 60px 0 0;
}
.nexa-product-shot-frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(124, 92, 255, 0.22);
  border: 1px solid var(--border);
  background: #fff;
}
.nexa-product-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.nexa-product-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nexa-eco-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nexa-eco-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.nexa-eco-card-body {
  padding: 28px 32px 32px;
}
.nexa-eco-card .cs-eyebrow {
  color: var(--cs-accent);
  display: block;
}
.nexa-eco-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 14px 0 10px;
}
.nexa-eco-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ============================================
   Nexa · expanded sections
   Opening pull-quote · MVP critique · Industry ·
   Scenarios · IA · Layout groups · Card explorations ·
   Bridge · Ecosystem · Reflection
   ============================================ */

/* Opening pull-quote (after the scope strip) */
.nexa-opening {
  position: relative;
  margin: 60px auto 0;
  max-width: 760px;
  padding: 36px 40px 32px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -28px rgba(124, 92, 255, 0.18);
}
.nexa-opening-mark {
  position: absolute;
  top: -22px;
  left: 28px;
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--cs-accent);
  font-weight: 700;
}
.nexa-opening p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.005em;
  margin: 0;
}
.nexa-opening-attr {
  margin-top: 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted) !important;
  font-weight: 500;
}

/* MVP critique — Web + Mobile platform pair */
.nexa-mvp-platforms {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 48px 0 56px;
  align-items: end;
}
.nexa-mvp-platform { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.nexa-mvp-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
}
.nexa-mvp-frame {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.nexa-mvp-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.nexa-mvp-frame--mobile {
  max-width: 280px;
  border-radius: 22px;
}

/* Critique list (numbered, dark-section friendly) */
.nexa-critique-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.nexa-critique-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.nexa-critique-list li:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(229, 224, 255, 0.3);
  transform: translateX(4px);
}
.nexa-crit-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cs-accent);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}
.nexa-crit-body h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #fff;
  margin: 0 0 6px;
}
.nexa-crit-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.nexa-crit-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cs-accent);
  background: rgba(124,92,255,0.14);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 1.2 Industry context */
.nexa-industry {
  background: var(--cs-cream);
  padding: 100px 0;
}
.nexa-industry-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.nexa-industry-lede h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 0;
}
.nexa-industry-lede h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.nexa-industry-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 18px;
}
.nexa-industry-body p:last-child { margin-bottom: 0; }

.nexa-industry-pulse {
  margin-top: 64px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.nexa-pulse-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.nexa-pulse-bar {
  position: relative;
  display: block;
  height: 10px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
}
.nexa-pulse-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--w);
  background: var(--text);
  border-radius: 999px;
  transform-origin: left center;
  animation: nexa-pulse-grow 1.2s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both;
}
.nexa-pulse-bar--accent::after {
  background: var(--cs-accent);
}
@keyframes nexa-pulse-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.nexa-pulse-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
}
.nexa-pulse-foot {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
  font-style: italic;
}

/* 1.4 / 1.5 Scenarios + IA */
.nexa-scenarios {
  background: #fff;
  padding: 100px 0 120px;
  border-top: 1px solid var(--border);
}
.nexa-scenarios-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.nexa-scenarios-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 16px 0 22px;
}
.nexa-scenarios-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.nexa-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nexa-scenario {
  background: var(--cs-cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.nexa-scenario:hover {
  transform: translateY(-4px);
  border-color: var(--cs-accent-soft);
  box-shadow: 0 16px 40px -20px rgba(124,92,255,0.25);
}
.nexa-scenario-glyph {
  font-size: 28px;
  color: var(--cs-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.nexa-scenario-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin: 0;
}
.nexa-scenario h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0 0 4px;
}
.nexa-scenario p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.nexa-scenario-need {
  margin-top: auto !important;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px !important;
  color: var(--text) !important;
  font-weight: 500;
}

/* IA diagram */
.nexa-ia {
  margin-top: 84px;
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.nexa-ia h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 14px auto 36px;
  max-width: 30ch;
  color: var(--text);
}
.nexa-ia-diagram {
  display: grid;
  grid-template-columns: 1fr auto 0.6fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 32px 28px;
  background: var(--cs-cream);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.nexa-ia-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  min-height: 100%;
}
.nexa-ia-col-label {
  margin-top: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nexa-ia-pill {
  display: inline-block;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.nexa-ia-pill--entry {
  border-color: var(--cs-accent-soft);
  color: var(--cs-accent);
  background: rgba(124,92,255,0.06);
}
.nexa-ia-pill--core {
  background: var(--cs-accent);
  color: #fff;
  border-color: var(--cs-accent);
  font-weight: 600;
  padding: 14px 18px;
}
.nexa-ia-arrow {
  font-size: 22px;
  color: var(--cs-accent);
  font-weight: 600;
  align-self: center;
}

/* Layout groups (rows of 3 wireframes) */
.nexa-layout-group {
  margin-top: 56px;
}
.nexa-layout-group:first-of-type {
  margin-top: 40px;
}
.nexa-layout-group-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.nexa-layout-group-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  background: var(--cs-accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
}
.nexa-layout-group-head h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0;
  white-space: nowrap;
}
.nexa-layout-group-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  text-align: right;
}
.nexa-layout-group .nexa-layout-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  overflow: visible;
  padding: 4px 0;
}
.nexa-layout-group .nexa-layout-track li {
  flex: initial;
}

/* 2.2 Information card explorations */
.nexa-cards-section {
  background: #fff;
  padding: 110px 0 120px;
  border-top: 1px solid var(--border);
}
.nexa-cards-head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}
.nexa-cards-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 14px 0 20px;
}
.nexa-cards-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.nexa-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nexa-card-mock {
  position: relative;
  background: var(--cs-cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nexa-card-mock:hover {
  transform: translateY(-3px);
  border-color: var(--cs-accent-soft);
  box-shadow: 0 14px 32px -18px rgba(124,92,255,0.22);
}
.nexa-card-mock--wide {
  grid-column: span 3;
}
.nexa-card-mock.is-final {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
  color: #fff;
}
.nexa-card-mock.is-final .nexa-card-mock-tag,
.nexa-card-mock.is-final h4,
.nexa-card-mock.is-final p { color: #fff; }
.nexa-card-mock.is-final .nexa-card-mock-tag { color: rgba(255,255,255,0.7); }
.nexa-card-mock.is-final p { color: rgba(255,255,255,0.85); }

.nexa-card-mock-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
}
.nexa-card-mock.is-final .nexa-card-mock-frame {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.nexa-card-mock-frame--visual { padding: 0; overflow: hidden; }
.nexa-card-mock-frame--editorial { gap: 6px; }
.nexa-card-mock-frame--compare { gap: 6px; padding: 18px 14px; }
.nexa-card-mock-frame--wide {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px;
  min-height: 96px;
}
.nexa-card-avatar {
  width: 30px;
  height: 30px;
  background: var(--cs-accent-soft);
  border-radius: 999px;
  flex-shrink: 0;
}
.nexa-card-mock.is-final .nexa-card-avatar {
  background: rgba(255,255,255,0.4);
}
.nexa-card-image {
  display: block;
  height: 60px;
  background: linear-gradient(135deg, var(--cs-accent-soft), #C8C0FF);
}
.nexa-card-image--small {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
}
.nexa-card-mock.is-final .nexa-card-image--small {
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2));
}
.nexa-card-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.nexa-card-line {
  display: block;
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  width: 100%;
}
.nexa-card-line--title { height: 12px; width: 70%; background: var(--text); opacity: 0.85; }
.nexa-card-line--meta { width: 50%; }
.nexa-card-line--short { width: 35%; }
.nexa-card-mock.is-final .nexa-card-line { background: rgba(255,255,255,0.4); }
.nexa-card-mock.is-final .nexa-card-line--title { background: #fff; opacity: 1; }
.nexa-card-cta {
  align-self: flex-end;
  margin-top: auto;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cs-accent);
  background: var(--cs-accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.nexa-card-mock.is-final .nexa-card-cta {
  color: var(--cs-accent);
  background: #fff;
  margin-left: auto;
  align-self: center;
  margin-top: 0;
}
.nexa-card-bar {
  display: block;
  height: 9px;
  background: var(--cs-accent);
  border-radius: 999px;
  width: var(--w);
  opacity: 0.8;
}
.nexa-card-bar:nth-child(2) { opacity: 0.55; }
.nexa-card-bar:nth-child(3) { opacity: 0.32; }
.nexa-card-tag {
  align-self: flex-start;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cs-accent);
  background: var(--cs-accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
}
.nexa-card-mock-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin: 4px 0 0 !important;
}
.nexa-card-mock h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0;
}
.nexa-card-mock p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.nexa-card-final-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: #fff;
  color: var(--cs-accent);
  padding: 4px 9px;
  border-radius: 999px;
}

/* 2.3 Bridge — phase arc */
.nexa-bridge {
  background: var(--cs-cream);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.nexa-bridge-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.nexa-bridge-inner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 14px 0 24px;
}
.nexa-bridge-inner h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.nexa-bridge-inner p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 16px;
}
.nexa-bridge-inner p:last-child { margin-bottom: 0; }
.nexa-bridge-arc {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.nexa-bridge-arc::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.nexa-bridge-arc li {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px 20px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.nexa-bridge-arc li.is-current {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(124,92,255,0.5);
}
.nexa-bridge-step {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
}
.nexa-bridge-arc li.is-current .nexa-bridge-step { color: rgba(255,255,255,0.8); }
.nexa-bridge-arc p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 8px 0 6px;
  color: var(--text);
}
.nexa-bridge-arc li.is-current p { color: #fff; }
.nexa-bridge-meta {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.nexa-bridge-arc li.is-current .nexa-bridge-meta { color: rgba(255,255,255,0.85); }

/* III Ecosystem framing — Why? badge + bullet points */
.nexa-ecosystem {
  background: var(--cs-cream);
  padding: 100px 0;
}
.nexa-ecosystem-head {
  max-width: 760px;
  margin: 0 auto;
}
.nexa-eco-why {
  margin: 0 0 14px !important;
  padding: 14px 16px;
  background: var(--cs-accent-soft);
  border-left: 3px solid var(--cs-accent);
  border-radius: 8px;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: var(--text) !important;
}
.nexa-eco-why-tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin-right: 8px;
}
.nexa-eco-points {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nexa-eco-points li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.nexa-eco-points li:first-child { border-top: 0; padding-top: 12px; }
.nexa-eco-points li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--cs-accent);
  font-weight: 700;
  font-size: 14px;
}

/* Reflection · Thoughts (asymmetric grid) */
.nexa-reflection {
  background: #fff;
  padding: 130px 0;
  border-top: 1px solid var(--border);
}
.nexa-reflection-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.nexa-reflection-lede h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin: 14px 0 0;
}
.nexa-reflection-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}
.nexa-reflection-quote {
  margin: 32px 0 0;
  padding: 26px 28px 24px;
  background: var(--cs-cream);
  border-left: 3px solid var(--cs-accent);
  border-radius: 0 14px 14px 0;
}
.nexa-reflection-quote p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0 0 14px;
}
.nexa-reflection-quote footer {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
}

/* Responsive */
@media (max-width: 960px) {
  .nexa-mvp-platforms { grid-template-columns: 1fr; }
  .nexa-mvp-frame--mobile { max-width: 220px; margin: 0 auto; }
  .nexa-industry-grid { grid-template-columns: 1fr; gap: 28px; }
  .nexa-scenario-grid { grid-template-columns: 1fr; }
  .nexa-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .nexa-card-mock--wide { grid-column: span 2; }
  .nexa-layout-group .nexa-layout-track { grid-template-columns: 1fr; }
  .nexa-bridge-arc { grid-template-columns: 1fr; }
  .nexa-bridge-arc::before { display: none; }
  .nexa-reflection-grid { grid-template-columns: 1fr; gap: 32px; }
  .nexa-ia-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nexa-ia-arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 640px) {
  .nexa-critique-list li {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .nexa-crit-tag { grid-column: 1 / -1; justify-self: start; }
  .nexa-cards-grid { grid-template-columns: 1fr; }
  .nexa-card-mock--wide { grid-column: auto; }
  .nexa-layout-group-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nexa-layout-group-head p { text-align: left; }
}

/* ============================================
   Smart Brook · case-study custom components
   Dark, bold-but-light type, environmental rhythm.
   ============================================ */

body.theme-brook { background: #0A0A0A; }

.brook-dark { background: #0A0A0A; color: #fff; position: relative; }
.brook-dark .container { position: relative; z-index: 1; }

/* Hero */
.brook-hero {
  background: #0A0A0A;
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
}
.brook-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 64px;
}
.brook-meta .dots { text-align: center; letter-spacing: 0.55em; color: rgba(255,255,255,0.32); font-size: 13px; }
.brook-meta .right { text-align: right; }
.brook-meta strong { color: #fff; font-weight: 500; }

.brook-hero h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(72px, 14vw, 220px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
  color: #fff;
}
.brook-hero-corners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.brook-hero-corners .left { max-width: 28ch; }
.brook-hero-corners .right { text-align: right; max-width: 36ch; margin-left: auto; }

/* Stage with abstract cluster art */
.brook-stage {
  background: #0A0A0A;
  padding: 60px 0 120px;
  text-align: center;
}
.brook-cluster-art {
  position: relative;
  width: min(640px, 92%);
  aspect-ratio: 1.4 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.brook-cluster-art .arc { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); }
.brook-cluster-art .arc.outer { inset: 6%; }
.brook-cluster-art .arc.mid   { inset: 18%; border-color: rgba(255,255,255,0.12); }
.brook-cluster-art .arc.inner { inset: 32%; border-color: rgba(104, 255, 126, 0.25); }
.brook-cluster-art .arc.glow  { inset: 14%; border: none; background: radial-gradient(circle, rgba(104,255,126,0.06) 0%, transparent 60%); }
.brook-cluster-art .speed {
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 300;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}
.brook-cluster-art .speed sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--cs-accent);
  margin-top: 8px;
  font-weight: 600;
}
.brook-cluster-tags {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 14px 32px;
  justify-content: center;
  margin-top: 48px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.brook-cluster-tags span::before { content: '·  '; color: var(--cs-accent); }

/* Big-statement project narrative */
.brook-project {
  background: #0A0A0A;
  color: #fff;
  padding: 100px 0 120px;
}
.brook-project .eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.brook-project .eyebrow-row::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
.brook-project p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,0.92);
  max-width: 28ch;
  margin: 0;
}
.brook-project p .ink > svg { color: var(--cs-accent); }

/* Tools / methods chip strip */
.brook-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.brook-tools .chip {
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, color 0.2s;
}
.brook-tools .chip:hover { border-color: var(--cs-accent); color: #fff; }

/* Connected-dot process timeline */
.brook-process-section { background: #0A0A0A; color: #fff; padding: 60px 0 120px; }
.brook-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding-top: 24px;
}
.brook-process::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.brook-process-step { position: relative; padding-top: 38px; }
.brook-process-step::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0A0A0A;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.brook-process-step.is-key::before {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
  box-shadow: 0 0 0 4px rgba(104, 255, 126, 0.18);
}
.brook-process-step h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 6px;
}
.brook-process-step span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  display: block;
}
.brook-process-foot {
  margin-top: 60px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 60ch;
}

/* User Persona */
.brook-persona-section { background: #0F0F12; color: #fff; padding: 120px 0; }
.brook-persona {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.brook-persona-bio { padding-top: 12px; }
.brook-persona-bio .name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 8px 0 16px;
  color: #fff;
}
.brook-persona-bio .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}
.brook-persona-bio .age {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.brook-persona-bio .age strong { color: #fff; font-weight: 500; }
.brook-persona-bio h6 { font-size: 13px; font-weight: 600; color: #fff; margin: 24px 0 8px; }
.brook-persona-bio p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.7); }
.brook-persona-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(135deg, #1a1a1a, #2c2c2c);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.brook-persona-photo::after {
  content: 'persona portrait';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.brook-persona-side h6 { font-size: 13px; font-weight: 600; color: #fff; margin: 0 0 14px; }
.brook-persona-side h6 + h6 { margin-top: 32px; }
.brook-persona-side ul { list-style: none; padding: 0; margin: 0; }
.brook-persona-side li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 12px;
}
.brook-persona-side li::before { content: '·'; color: var(--cs-accent); flex-shrink: 0; }

/* Annotated diagram — central HMI cluster with thin pointer lines */
.brook-annotated-section { background: #0A0A0A; color: #fff; padding: 120px 0; }
.brook-annotated-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 60px auto 0;
  aspect-ratio: 16 / 10;
}
.brook-annotated-art {
  position: absolute;
  inset: 18% 22%;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(104,255,126,0.08), transparent 60%),
    linear-gradient(160deg, #141417, #0F0F12);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brook-annotated-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(255,255,255,0.04), transparent 40%),
    radial-gradient(circle at 75% 40%, rgba(104,255,126,0.06), transparent 50%);
}
.brook-annotated-art .speed-num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: clamp(60px, 9vw, 110px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.brook-annotated-art .arc-progress {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cs-accent);
  border-right-color: var(--cs-accent);
  transform: rotate(-30deg);
  opacity: 0.7;
}

.brook-annotation {
  position: absolute;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
  max-width: 220px;
}
.brook-annotation .lbl {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cs-accent);
  margin-bottom: 4px;
  font-weight: 600;
}
.brook-annotation::before {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.3);
  height: 1px;
  top: 16px;
}
.brook-annotation::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--cs-accent);
  background: #0A0A0A;
  top: 13px;
}
.brook-annotation.tl { top: 4%;    left: 0; }
.brook-annotation.tl::before { left: 100%; width: 14%; }
.brook-annotation.tl::after  { left: calc(100% + 14% - 3px); }
.brook-annotation.tr { top: 4%;    right: 0; text-align: right; }
.brook-annotation.tr::before { right: 100%; width: 14%; }
.brook-annotation.tr::after  { right: calc(100% + 14% - 3px); }
.brook-annotation.bl { bottom: 8%; left: 0; top: auto; }
.brook-annotation.bl::before { top: auto; bottom: 16px; left: 100%; width: 14%; }
.brook-annotation.bl::after  { top: auto; bottom: 13px; left: calc(100% + 14% - 3px); }
.brook-annotation.br { bottom: 8%; right: 0; top: auto; text-align: right; }
.brook-annotation.br::before { top: auto; bottom: 16px; right: 100%; width: 14%; }
.brook-annotation.br::after  { top: auto; bottom: 13px; right: calc(100% + 14% - 3px); }

/* Tilted multi-screen stack */
.brook-screens-section {
  background: #0A0A0A;
  color: #fff;
  padding: 120px 0 140px;
  text-align: center;
  overflow: hidden;
}
.brook-screens-stage {
  position: relative;
  height: clamp(380px, 52vh, 560px);
  margin: 60px 0 60px;
}
.brook-screens-stage .screen {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(160deg, #1a1a1d, #0F0F12);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.brook-screens-stage .screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(104,255,126,0.08), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.03), transparent 50%);
}
.brook-screens-stage .screen.s1 { width: 28%; aspect-ratio: 16/10; top: 12%; left: 4%;  transform: rotate(-8deg); z-index: 1; }
.brook-screens-stage .screen.s2 { width: 30%; aspect-ratio: 16/10; top: 4%;  left: 28%; transform: rotate(3deg);  z-index: 2; }
.brook-screens-stage .screen.s3 { width: 36%; aspect-ratio: 16/10; top: 18%; left: 50%; transform: rotate(-2deg); z-index: 4; box-shadow: 0 40px 80px -28px rgba(0,0,0,0.7); }
.brook-screens-stage .screen.s4 { width: 26%; aspect-ratio: 16/10; top: 8%;  right: 4%; transform: rotate(7deg);  z-index: 3; }
.brook-screens-stage .screen.s5 { width: 22%; aspect-ratio: 16/10; bottom: 6%; left: 18%; transform: rotate(-5deg); z-index: 2; }
.brook-screens-stage .screen.s6 { width: 22%; aspect-ratio: 16/10; bottom: 0%; right: 18%; transform: rotate(4deg); z-index: 2; }
.brook-screens-stage .screen:hover { transform: translateY(-6px) rotate(0); z-index: 10; }

/* Section heads on dark — large lightweight type */
.brook-section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 60px;
}
.brook-section-head .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}
.brook-section-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  flex: 1;
}

/* Challenges — three vertical blocks with HMW big quote */
.brook-challenges { background: #0A0A0A; color: #fff; padding: 60px 0 120px; }
.brook-challenge {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.brook-challenge:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.brook-challenge .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 600;
}
.brook-challenge .hmw {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: #fff;
  margin: 14px 0 0;
}
.brook-challenge .hmw em { font-style: italic; color: var(--cs-accent); font-weight: 300; }
.brook-challenge ul { list-style: none; padding: 0; margin: 0; }
.brook-challenge li {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.brook-challenge li:first-child { border-top: none; padding-top: 0; }
.brook-challenge li strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cs-accent);
  margin-bottom: 6px;
}

.brook-reflection { background: var(--cs-cream); color: var(--cs-ink); padding: 140px 0; }

/* ----- Brook · hero strap (info row under title) ----- */
.brook-hero-strap {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.brook-hero-strap strong { color: #fff; font-weight: 500; margin-right: 8px; }

/* ----- 02 · Trust paradox ----- */
.brook-paradox { background: #0F0F12; color: #fff; padding: 120px 0; }
.brook-paradox-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}
.brook-paradox-grid p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0 0 22px;
}
.brook-paradox-grid p em { color: #fff; font-style: italic; font-weight: 500; }
.brook-paradox-hmw {
  margin-top: 40px !important;
  padding: 28px 28px 28px 32px;
  border-left: 2px solid var(--cs-accent);
  background: rgba(104,255,126,0.04);
  border-radius: 0 12px 12px 0;
}
.brook-paradox-hmw .lbl {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--cs-accent);
  margin-right: 14px;
  text-transform: uppercase;
}
.brook-paradox-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-self: stretch;
}
.brook-stat {
  padding: 28px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) 1fr;
  gap: 24px;
  align-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.brook-stat:hover { border-color: rgba(104,255,126,0.35); background: rgba(104,255,126,0.04); }
.brook-stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brook-stat .lbl {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

/* ----- 03 · Research ----- */
.brook-research-section { background: #0A0A0A; color: #fff; padding: 120px 0; }
.brook-research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.brook-research-card {
  padding: 32px 28px 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.015);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s;
}
.brook-research-card:hover { border-color: rgba(104,255,126,0.35); transform: translateY(-3px); }
.brook-research-card .lbl {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--cs-accent);
  text-transform: uppercase;
}
.brook-research-card h4 {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.brook-research-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.brook-research-card .brook-research-find {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.brook-research-card .brook-research-find em { color: var(--cs-accent); font-style: italic; font-weight: 500; }

.brook-quotes {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.brook-quotes blockquote {
  margin: 0;
  padding: 28px 24px;
  border-left: 2px solid var(--cs-accent);
  background: rgba(255,255,255,0.02);
  border-radius: 0 12px 12px 0;
}
.brook-quotes blockquote p {
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  font-style: italic;
  font-weight: 300;
  margin: 0 0 12px;
}
.brook-quotes blockquote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ----- 04 · The trust loop (signature) ----- */
.brook-loop-section { background: #0A0A0A; color: #fff; padding: 140px 0; }
.brook-loop-lede {
  max-width: 60ch;
  margin: 32px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.brook-loop-lede em { color: #fff; font-style: italic; font-weight: 500; }
.brook-loop-wheel {
  position: relative;
  max-width: 760px;
  width: 100%;
  margin: 80px auto 60px;
  aspect-ratio: 1;
}
.brook-loop-svg { width: 100%; height: 100%; display: block; }
.brook-loop-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  text-align: center;
}
.brook-loop-center-eyebrow {
  display: block;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cs-accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.brook-loop-center p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-weight: 300;
}
.brook-loop-node {
  position: absolute;
  width: 200px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.brook-loop-node:hover {
  border-color: rgba(104,255,126,0.55);
  box-shadow: 0 24px 60px -28px rgba(104,255,126,0.4);
  z-index: 5;
}
.brook-loop-node .ix {
  display: block;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--cs-accent);
  margin-bottom: 6px;
}
.brook-loop-node h4 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.brook-loop-node p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.brook-loop-node p em { color: #fff; font-style: italic; font-weight: 500; }
/* Pentagon positioning around 760px wheel */
.brook-loop-node.n1 { top: 0;     left: 50%;  transform: translate(-50%, 0); }
.brook-loop-node.n2 { top: 38%;   right: 0;   transform: translate(0, -50%); }
.brook-loop-node.n3 { bottom: 0;  right: 14%; }
.brook-loop-node.n4 { bottom: 0;  left: 14%; }
.brook-loop-node.n5 { top: 38%;   left: 0;    transform: translate(0, -50%); }
.brook-loop-foot {
  max-width: 60ch;
  margin: 40px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.brook-loop-foot em { color: #fff; font-style: italic; }

/* ----- 05 · Failure modes ----- */
.brook-failures { background: #0F0F12; color: #fff; padding: 120px 0; }
.brook-failures-lede {
  max-width: 70ch;
  margin: 32px auto 60px;
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.brook-failure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.brook-failure-card {
  padding: 28px 26px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s;
}
.brook-failure-card:hover { border-color: rgba(255,120,120,0.4); transform: translateY(-3px); }
.brook-failure-tag {
  align-self: flex-start;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(255,120,120,0.4);
  border-radius: 999px;
  color: rgba(255,140,140,0.95);
  background: rgba(255,120,120,0.06);
}
.brook-failure-card h4 {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.brook-failure-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.brook-failure-card p strong {
  color: #fff;
  font-weight: 500;
  display: inline-block;
  margin-right: 4px;
}
.brook-failure-card .brook-failure-fix {
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}
.brook-failure-card .brook-failure-fix strong { color: var(--cs-accent); }

/* ----- 07 · Insight → HMI mapping ----- */
.brook-mapping { background: #0A0A0A; color: #fff; padding: 120px 0; }
.brook-mapping-lede {
  max-width: 64ch;
  margin: 32px 0 56px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.brook-mapping-table {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.brook-mapping-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr;
  gap: 28px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
  transition: background 0.3s;
}
.brook-mapping-row:last-child { border-bottom: none; }
.brook-mapping-row:not(.brook-mapping-head):hover { background: rgba(104,255,126,0.03); }
.brook-mapping-head {
  background: rgba(255,255,255,0.04);
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  padding: 18px 32px;
}
.brook-mapping-row > div { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.78); }
.brook-mapping-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brook-mapping-row > div:first-child .ix {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cs-accent);
  font-weight: 600;
}
.brook-mapping-row > div:first-child strong {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.brook-mapping-row > div em { color: #fff; font-style: italic; font-weight: 400; }
.brook-mapping-row > div:last-child {
  font-style: italic;
  color: rgba(255,255,255,0.65);
  border-left: 2px solid rgba(104,255,126,0.4);
  padding-left: 18px;
}

/* ----- 11 · Calibration ----- */
.brook-calibration-section { background: #0F0F12; color: #fff; padding: 120px 0; }
.brook-calib-lede {
  max-width: 68ch;
  margin: 32px 0 64px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.brook-spectrum { margin: 0 0 80px; }
.brook-spectrum-track {
  position: relative;
  height: 4px;
  background: linear-gradient(90deg,
    rgba(255,140,140,0.5) 0%,
    rgba(104,255,126,0.6) 50%,
    rgba(255,180,80,0.5) 100%);
  border-radius: 999px;
  margin: 0 0 60px;
}
.brook-spectrum-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.brook-spectrum-marker .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cs-accent);
  box-shadow: 0 0 0 4px rgba(104,255,126,0.18), 0 0 24px rgba(104,255,126,0.5);
}
.brook-spectrum-marker .lbl {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cs-accent);
  white-space: nowrap;
  margin-top: 24px;
}
.brook-spectrum-marker .sub {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.brook-spectrum-ends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.brook-spectrum-ends .end .lbl {
  display: block;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,180,180,0.9);
  margin-bottom: 10px;
}
.brook-spectrum-ends .end-right .lbl { color: rgba(255,210,140,0.9); text-align: right; }
.brook-spectrum-ends .end p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.brook-spectrum-ends .end-right p { text-align: right; }

.brook-calib-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.brook-calib-principle .ix {
  display: block;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cs-accent);
  margin-bottom: 12px;
}
.brook-calib-principle h5 {
  font-size: 19px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.brook-calib-principle p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ----- 12 · Reflection — takeaways + next steps ----- */
.brook-reflection-takeaways {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.brook-takeaway {
  padding: 28px 24px;
  border: 1px solid rgba(11,11,11,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.brook-takeaway .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--cs-ink);
  opacity: 0.6;
  display: block;
  margin-bottom: 12px;
}
.brook-takeaway h5 {
  font-size: 18px;
  font-weight: 500;
  color: var(--cs-ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.brook-takeaway p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cs-ink);
  opacity: 0.75;
  margin: 0;
}
.brook-nextsteps {
  margin-top: 80px;
  text-align: left;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.brook-nextsteps h6 {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cs-ink);
  opacity: 0.55;
  margin: 0 0 22px;
}
.brook-nextsteps ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.brook-nextsteps li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cs-ink);
  opacity: 0.85;
}
.brook-nextsteps li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cs-ink);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.brook-nextsteps li strong { font-weight: 600; opacity: 1; }

/* ----- Brook responsive (tablet & mobile) ----- */
@media (max-width: 960px) {
  .brook-paradox-grid { grid-template-columns: 1fr; gap: 50px; }
  .brook-research-grid,
  .brook-quotes,
  .brook-failure-grid,
  .brook-calib-principles,
  .brook-reflection-takeaways { grid-template-columns: 1fr; }
  .brook-mapping-row,
  .brook-mapping-head { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .brook-mapping-row > div:last-child { padding-left: 14px; }
  .brook-spectrum-ends { grid-template-columns: 1fr; gap: 32px; }
  .brook-spectrum-ends .end-right .lbl,
  .brook-spectrum-ends .end-right p { text-align: left; }
  .brook-stat { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .brook-stat .num { font-size: 36px; }
  .brook-hero-strap { gap: 16px 28px; font-size: 11px; }

  /* Trust loop wheel: collapse to a vertical stack on narrow viewports */
  .brook-loop-wheel {
    aspect-ratio: auto;
    max-width: 480px;
  }
  .brook-loop-svg,
  .brook-loop-center { display: none; }
  .brook-loop-node {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    margin-bottom: 18px;
  }
  .brook-loop-node:hover { transform: none !important; }
}

/* ============================================
   Octopus AI · case-study custom components
   Editorial running-text + technical Skyfly rhythm
   ============================================ */

/* Editorial running-text section (MyNotes-style) */
.octo-editorial-section {
  background: var(--cs-cream, #F6F3EC);
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.octo-editorial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 88% 12%, rgba(104, 255, 126, 0.16), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(104, 255, 126, 0.10), transparent 60%);
  pointer-events: none;
}
.octo-editorial-section > .container { position: relative; }

/* Top meta bar — eyebrow on left, NEXA badge on right, hairline below */
.octo-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(11, 11, 11, 0.12);
  margin-bottom: 72px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.octo-hero-meta .meta-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.octo-hero-meta .dot-accent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs-accent-vivid);
  display: inline-block;
}
.octo-hero-meta .meta-right {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.octo-hero-meta .meta-right:hover { color: var(--cs-accent-vivid); }
.octo-hero-meta .arrow {
  font-size: 14px;
  letter-spacing: 0;
}

/* Hero body — two-column layout */
.octo-hero-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  margin: 56px 0 0;
  max-width: 1080px;
}
.octo-hero-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}
.octo-hero-aside {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 400;
  letter-spacing: -0.004em;
  line-height: 1.65;
  color: rgba(11, 11, 11, 0.62);
  font-style: italic;
  margin: 0;
  padding-left: 28px;
  position: relative;
  align-self: end;
}
.octo-hero-aside .aside-rule {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--cs-accent);
  opacity: 0.7;
  border-radius: 2px;
}

/* Hero stats — 4 columns, no boxes, just clean type with subtle separators */
.octo-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 96px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(11, 11, 11, 0.12);
}
.octo-hero-stats > div {
  padding: 4px 0 4px 28px;
  border-left: 1px solid rgba(11, 11, 11, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.octo-hero-stats > div:first-child {
  padding-left: 0;
  border-left: none;
}
.octo-hero-stats dt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(11, 11, 11, 0.45);
  margin: 0;
}
.octo-hero-stats dd {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}
.octo-hero-stats .mute {
  color: rgba(11, 11, 11, 0.32);
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .octo-hero-body { grid-template-columns: 1fr; gap: 32px; }
  .octo-hero-aside { padding-left: 20px; align-self: start; }
  .octo-hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .octo-hero-stats > div:nth-child(3) { padding-left: 0; border-left: none; }
}
@media (max-width: 560px) {
  .octo-hero-meta { font-size: 10.5px; letter-spacing: 0.14em; margin-bottom: 48px; }
  .octo-hero-stats { grid-template-columns: 1fr; }
  .octo-hero-stats > div { padding-left: 0; border-left: none; border-top: 1px solid rgba(11,11,11,0.08); padding-top: 20px; }
  .octo-hero-stats > div:first-child { border-top: none; padding-top: 0; }
}

/* Inline UI mockups within the editorial paragraph */
.octo-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 0.18em 0.12em;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 0.28em;
  font-weight: 500;
  padding: 0.5em 1em;
  letter-spacing: 0;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(11, 11, 11, 0.08);
  line-height: 1.2;
  white-space: nowrap;
}
.octo-inline-stopwatch {
  background: #fff;
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
}
.octo-inline-stopwatch::before {
  content: '';
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  border: 0.12em solid var(--cs-accent);
  display: inline-block;
}
.octo-inline-card {
  background: var(--text);
  color: #fff;
  border: none;
}
.octo-inline-card::before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--cs-accent);
  display: inline-block;
  margin-right: 0.5em;
}
.octo-inline-pill {
  background: var(--cs-accent);
  color: var(--text);
  border: none;
  font-weight: 700;
}
.octo-inline-stat {
  background: var(--text);
  color: var(--cs-accent);
  border: none;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', monospace;
}

/* Skyfly-style overview section */
.octo-overview {
  background: var(--bg);
  padding: 120px 0;
  text-align: center;
}
.octo-overview .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 24px;
}
.octo-overview h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 auto 28px;
  max-width: 16ch;
}
.octo-overview .sub {
  max-width: 56ch;
  margin: 0 auto 80px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* 3 staggered tablet mockups */
.octo-tablets {
  position: relative;
  height: clamp(260px, 36vh, 400px);
  max-width: 1100px;
  margin: 0 auto;
}
.octo-tablets .tablet {
  position: absolute;
  background:
    radial-gradient(circle at 30% 20%, rgba(104,255,126,0.12), transparent 50%),
    linear-gradient(180deg, #FAFAFA, #EEE);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.18);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.octo-tablets .tablet::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 18px;
  background: rgba(0,0,0,0.04);
  border-radius: 6px;
}
.octo-tablets .tablet.t1 { top: 50%; left: 0;     width: 26%; transform: translateY(-50%) rotate(-2deg); opacity: 0.78; }
.octo-tablets .tablet.t2 { top: 50%; left: 50%;   width: 40%; transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 40px 80px -32px rgba(0,0,0,0.28); }
.octo-tablets .tablet.t3 { top: 50%; right: 0;    width: 26%; transform: translateY(-50%) rotate(2deg); opacity: 0.78; }

/* Problem flowchart */
.octo-problem {
  background: #F5F6F8;
  padding: 120px 0;
}
.octo-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.octo-problem .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C2362F;
  font-weight: 700;
  margin-bottom: 16px;
}
.octo-problem h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.octo-problem p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 14px; }
.octo-problem .closer {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #C2362F;
}

.octo-flow {
  display: grid;
  gap: 16px;
}
.octo-flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}
.octo-flow-row.solo { grid-template-columns: 1fr; }
.octo-flow-node {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 18px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.octo-flow-node.bad {
  background: #FFE4E4;
  border: 1.5px dashed #F87171;
  color: #C2362F;
}
.octo-flow-node.end {
  background: var(--text);
  color: #fff;
  border: none;
  letter-spacing: 0.08em;
}
.octo-flow-arrow {
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

/* User research quotes */
.octo-quotes {
  background: var(--cs-cream);
  padding: 120px 0;
}
.octo-quotes .head {
  text-align: center;
  margin-bottom: 60px;
}
.octo-quotes .head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.octo-quotes .head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 24ch;
}
.octo-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.octo-quote {
  background: #fff;
  border-radius: 24px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.octo-quote-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 50%),
    linear-gradient(135deg, #2a2a2a, #444);
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.octo-quote .text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}
.octo-quote .text::before {
  content: '"';
  display: inline;
  color: var(--cs-accent);
  font-weight: 700;
  margin-right: 2px;
}
.octo-quote .text::after { content: '"'; color: var(--cs-accent); font-weight: 700; }
.octo-quote .who {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Three design pillars */
.octo-pillars {
  background: var(--bg);
  padding: 120px 0;
}
.octo-pillars .head {
  text-align: center;
  margin-bottom: 60px;
}
.octo-pillars .head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}
.octo-pillars .head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 18ch;
}
.octo-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.octo-pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.octo-pillar.is-key {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.octo-pillar h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.octo-pillar h4 .dot {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cs-accent-soft);
}
.octo-pillar.is-key h4 .dot { background: rgba(104, 255, 126, 0.16); }
.octo-pillar.is-key h4 { color: #fff; }
.octo-pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
  flex-grow: 0;
}
.octo-pillar.is-key p { color: rgba(255,255,255,0.7); }
.octo-pillar ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.octo-pillar li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  color: var(--text);
}
.octo-pillar.is-key li { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.octo-pillar li::before {
  content: '·';
  color: var(--cs-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Architecture infrastructure (dark) */
.octo-arch-section {
  background: #0A0A0A;
  color: #fff;
  padding: 120px 0;
}
.octo-arch-section .head { text-align: center; margin-bottom: 60px; }
.octo-arch-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto 16px;
  max-width: 24ch;
}
.octo-arch-section .sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  max-width: 56ch;
  margin: 0 auto;
}
.octo-arch {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.octo-arch-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.octo-arch-col-head {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 12px;
}
.octo-arch-box {
  background: #161618;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-weight: 500;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.octo-arch-box:hover { background: #1c1c1f; border-color: rgba(255,255,255,0.15); }
.octo-arch-box.is-key {
  background: rgba(104, 255, 126, 0.08);
  border-color: var(--cs-accent);
  color: var(--cs-accent);
}

/* Impact before/after */
.octo-impact {
  background: var(--bg);
  padding: 120px 0;
  text-align: center;
}
.octo-impact .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}
.octo-impact h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto 60px;
  max-width: 18ch;
}
.octo-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  margin-bottom: 80px;
}
.octo-impact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 24px;
}
.octo-impact-card .before {
  display: inline-block;
  background: #FEE4E4;
  color: #C2362F;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: line-through;
  margin-bottom: 14px;
}
.octo-impact-card .arrow {
  display: block;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 300;
}
.octo-impact-card .after {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  display: block;
  margin-bottom: 14px;
}
.octo-impact-card .after em {
  color: var(--cs-accent);
  font-style: normal;
}
.octo-impact-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 30ch;
  margin: 0 auto;
}

/* Big result numbers row */
.octo-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.octo-result {
  text-align: center;
}
.octo-result .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cs-accent);
  display: block;
  line-height: 1;
}
.octo-result .num sup { font-size: 0.4em; }
.octo-result .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Octopus reflection (closing) */
.octo-reflection { background: var(--cs-cream); color: var(--text); padding: 140px 0; }

/* Octopus · additional sections needed for the full content import */

.octo-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin: 0;
  max-width: 18ch;
  color: var(--text);
}
.octo-hero-title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.022em;
}

.octo-section {
  background: var(--bg);
  padding: 100px 0;
}
.octo-section .head {
  max-width: 760px;
  margin: 0 auto 48px;
}
.octo-section .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--cs-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.octo-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
.octo-section .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px 0 0;
}

/* 4 Model Strengths — 2x2 grid of clean cards */
.octo-strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.octo-strength {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.octo-strength .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.octo-strength h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0 0 10px;
}
.octo-strength p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* 3 Market Trends — 3-col cards */
.octo-trends {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.octo-trend {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.octo-trend .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.octo-trend h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
}
.octo-trend p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* User Insight centerpiece — the 3/5 quote */
.octo-insight {
  background: var(--cs-cream);
  padding: 120px 0;
  text-align: center;
}
.octo-insight .stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(80px, 13vw, 200px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.octo-insight .stat sup {
  font-size: 0.4em;
  font-weight: 600;
  vertical-align: 50%;
  color: var(--cs-accent);
}
.octo-insight .label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 32px;
  display: inline-block;
}
.octo-insight blockquote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--text);
  margin: 32px auto 0;
  max-width: 26ch;
  padding: 0;
}
.octo-insight blockquote em {
  font-style: italic;
  font-weight: 300;
}
.octo-insight .attr {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* MVP Flow — 4 numbered steps with screenshots */
.octo-flow-section {
  background: var(--bg);
  padding: 100px 0;
}
.octo-mvp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.octo-mvp-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.octo-mvp-step img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.octo-mvp-step-body {
  padding: 18px 20px 22px;
}
.octo-mvp-step .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 8px;
  display: block;
}
.octo-mvp-step h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
  margin: 0;
}
.octo-mvp-extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.octo-mvp-extra {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.octo-mvp-extra img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}
.octo-mvp-extra-body {
  padding: 18px 24px;
}
.octo-mvp-extra .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 6px;
  display: block;
}
.octo-mvp-extra h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

/* Two Personas */
.octo-personas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.octo-persona {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  position: relative;
}
.octo-persona-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cs-accent-vivid-soft);
  color: var(--cs-accent-vivid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--cs-accent-vivid-edge);
}
.octo-persona-icon svg {
  width: 24px;
  height: 24px;
}
.octo-persona .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 16px;
  display: block;
}
.octo-persona h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0 0 14px;
}
.octo-persona p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.octo-persona-meta {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.octo-persona-meta li {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cs-fg);
}
.octo-persona-meta strong {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cs-accent);
  margin-right: 4px;
}
.octo-persona code {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 12.5px;
  background: var(--cs-cream);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--cs-fg);
}

/* Design solutions split — for non-technical + for technical */
.octo-solutions-block {
  background: var(--cs-cream);
  padding: 100px 0;
}
.octo-solution {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.octo-solution:first-of-type { border-top: none; }
.octo-solution.flip > :nth-child(1) { order: 2; }
.octo-solution.flip > :nth-child(2) { order: 1; }
.octo-solution .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 14px;
  display: block;
}
.octo-solution h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
}
.octo-solution p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
}
.octo-solution ul { padding: 0; margin: 16px 0 0; list-style: none; }
.octo-solution li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  display: flex;
  gap: 10px;
}
.octo-solution li::before {
  content: '·';
  color: var(--cs-accent);
  flex-shrink: 0;
  font-weight: 700;
}
.octo-solution-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.16);
}
.octo-solution-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Bridge strip — sets up a track before a long screenshot, gives the eye an anchor */
.octo-solution-bridge {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 32px;
  align-items: start;
  max-width: 980px;
  margin: 24px auto 40px;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
  border-bottom: 1px solid rgba(11, 11, 11, 0.08);
}
.octo-solution-bridge .bridge-marker {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent-vivid);
  padding-top: 6px;
  white-space: nowrap;
}
.octo-solution-bridge p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}
.octo-solution-bridge strong {
  font-weight: 700;
  color: var(--cs-accent-vivid);
}
@media (max-width: 720px) {
  .octo-solution-bridge { grid-template-columns: 1fr; gap: 12px; }
}

/* "Switch" variant — separates Track 01 (non-tech) from Track 02 (tech).
   More breathing room + a thicker accent rule on top so users feel the gear shift. */
.octo-solution-bridge-switch {
  margin-top: 88px;
  margin-bottom: 56px;
  padding-top: 36px;
  border-top: 2px solid var(--cs-accent-vivid);
}
.octo-solution-bridge-switch .bridge-marker {
  color: var(--cs-accent-vivid);
  font-size: 12px;
  letter-spacing: 0.26em;
}

/* Sticky text column variant — for solutions paired with very tall screenshots
   (e.g. full landing-page captures) so copy stays visible while image scrolls past.
   Requires ancestors to avoid overflow:hidden (we use overflow-x: clip globally). */
.octo-solution-sticky {
  align-items: start;
}
.octo-solution-sticky > div:not(.octo-solution-image) {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--cs-accent-vivid) transparent;
}
.octo-solution-sticky > div:not(.octo-solution-image)::-webkit-scrollbar {
  width: 4px;
}
.octo-solution-sticky > div:not(.octo-solution-image)::-webkit-scrollbar-thumb {
  background: rgba(104, 255, 126, 0.55);
  border-radius: 999px;
}
/* On narrow viewports the image stacks below — sticky would just keep text
   pinned above an image scrolling within itself, which feels broken. Disable. */
@media (max-width: 900px) {
  .octo-solution-sticky > div:not(.octo-solution-image) {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* Video prototypes — 4 imagined "agent" use cases, 2024 */
.octo-videos {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.octo-videos-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.octo-videos-intro .label {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  margin-bottom: 16px;
  display: block;
}
.octo-videos-intro h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 18px;
}
.octo-videos-intro h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent-vivid);
}
.octo-videos-intro p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.octo-videos-intro p em {
  font-style: italic;
  color: var(--cs-fg);
}
/* Horizontal scroll rail — videos break out of the container and snap-scroll.
   Bleeds to viewport edges so cards can be larger and there's a natural cue
   that more content exists off-screen. */
.octo-video-rail-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 14px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.octo-video-rail-hint .arrow {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--cs-accent-vivid);
  animation: octoVideoArrow 1.8s ease-in-out infinite;
}
@keyframes octoVideoArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .octo-video-rail-hint .arrow { animation: none; }
}

.octo-video-rail {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cs-accent-vivid) transparent;
  padding-bottom: 16px;
}
.octo-video-rail::-webkit-scrollbar { height: 8px; }
.octo-video-rail::-webkit-scrollbar-track { background: transparent; }
.octo-video-rail::-webkit-scrollbar-thumb {
  background: rgba(104, 255, 126, 0.55);
  border-radius: 999px;
}
.octo-video-rail::-webkit-scrollbar-thumb:hover {
  background: rgba(104, 255, 126, 0.85);
}
.octo-video-rail-track {
  display: flex;
  gap: 32px;
  padding-left: max(40px, calc(50vw - 580px));
  padding-right: 25vw;
}
.octo-video {
  flex: 0 0 clamp(420px, 60vw, 880px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}
.octo-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.octo-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.octo-video-cap {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.octo-video .industry {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cs-accent);
  display: inline-flex;
  align-items: center;
}
.octo-video h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0;
  color: var(--text);
}
@media (max-width: 820px) {
  .octo-video-rail-track { gap: 18px; padding-left: 24px; padding-right: 25vw; }
  .octo-video { flex: 0 0 78vw; }
}

/* Iteration narrative section (dark) */
.octo-iteration {
  background: var(--text);
  color: #fff;
  padding: 120px 0;
}
.octo-iteration .container { max-width: 880px; }
.octo-iteration .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cs-accent);
  font-weight: 700;
  display: block;
  margin-bottom: 18px;
}
.octo-iteration h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 24px;
  color: #fff;
}
.octo-iteration p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 14px;
}

/* Responsive Design — three-device strip */
.octo-responsive {
  background: var(--bg);
  padding: 100px 0;
}
.octo-responsive .head { max-width: 760px; margin: 0 auto 40px; }
.octo-responsive .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cs-accent);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.octo-responsive h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
.octo-responsive p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px 0 0;
}
.octo-responsive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.octo-responsive-figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
}
.octo-responsive-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.octo-responsive-figure figcaption {
  padding: 20px 24px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 820px) {
  .octo-responsive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .octo-strengths { grid-template-columns: 1fr; }
  .octo-trends { grid-template-columns: 1fr; }
  .octo-mvp-flow { grid-template-columns: repeat(2, 1fr); }
  .octo-mvp-extras { grid-template-columns: 1fr; }
  .octo-personas { grid-template-columns: 1fr; }
  .octo-solution { grid-template-columns: 1fr; gap: 32px; }
  .octo-solution.flip > :nth-child(1) { order: 1; }
  .octo-solution.flip > :nth-child(2) { order: 2; }
  .octo-mvp-extra { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .octo-mvp-flow { grid-template-columns: 1fr; }
}

/* ---- Octopus · class-based replacements for ex-inline styles ---- */

/* Information / scope wrapper */
.octo-info-section {
  background: var(--bg);
  padding: 0 0 100px;
}

/* Alt-background variant for the second .octo-section in sequence */
.octo-section.octo-section-alt { background: #F5F6F8; }

/* Dark problem section helpers */
.cs-sub-stack { margin-top: 24px; }
.cs-display-question {
  margin-top: 36px;
  font-style: italic;
  font-weight: 400;
}

/* Bridge paragraph after the 3/5 stat */
.octo-insight-bridge {
  max-width: 60ch;
  margin: 32px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.octo-trends-bridge {
  max-width: 62ch;
  margin: 40px auto 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--cs-fg);
  text-align: center;
}

/* MVP design head — share .octo-section pattern, left aligned */
.octo-flow-section .head {
  max-width: 760px;
  margin: 0 auto 40px;
}
.octo-flow-section .head .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--cs-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.octo-flow-section .head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
.octo-flow-section .head .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px 0 0;
}
.octo-flow-note {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0 0;
}

/* Iteration narrative tweaks
   NOTE: theme-octo overrides --cs-accent to #0B0B0B (near-black) for the
   monochrome page palette. Using it here on the dark iteration background
   renders black-on-black, so we set the em explicitly to white. */
.octo-iteration h2 em {
  color: #fff;
  font-style: italic;
  font-weight: 400;
}
.octo-iteration-stack { margin-top: 32px; }
.octo-iteration strong { color: #fff; font-weight: 600; }

/* Personas trailing question */
.octo-personas-question {
  max-width: 760px;
  margin: 64px auto 0;
}
.octo-personas-question h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.018em;
  line-height: 1.3;
  margin: 0;
  color: var(--text);
}

/* Solutions block head — left aligned */
.octo-solutions-block .head {
  max-width: 760px;
  margin: 0 auto 40px;
}
.octo-solutions-block .head .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--cs-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.octo-solutions-block .head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.octo-solution.octo-solution-last { padding-bottom: 0; padding-top: 30px; }

/* Reflection — centered as a coda */
.octo-reflection { text-align: center; }
.octo-reflection-inner { max-width: 760px; margin: 0 auto; }
.octo-reflection .cs-display {
  font-size: clamp(34px, 5vw, 60px);
  margin: 18px 0 28px;
}
.octo-reflection p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Real-image fills inside mockup containers — drop an <img> in and it covers cleanly. */
.octo-tablets .tablet img,
.brook-screens-stage .screen img,
.mentor-hero-art > img.fill,
.mentor-phone > img.fill,
.esp-phone-screen > img.fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Hide the decorative URL-bar / gradient / notch overlays once a real image is present */
.octo-tablets .tablet:has(img)::before,
.brook-screens-stage .screen:has(img)::before,
.mentor-hero-art:has(img.fill)::before,
.mentor-phone:has(img.fill)::before {
  display: none;
}

/* ============================================
   MentorUp · case-study custom components
   Warm, human, step-by-step rhythm.
   ============================================ */

.mentor-hero {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, var(--cs-accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, #F5EFE2 0%, transparent 60%),
    var(--cs-cream);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.mentor-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.mentor-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.mentor-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 24px 0 28px;
}
.mentor-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.mentor-hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.65;
  margin-bottom: 32px;
}
.mentor-hero .pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}
.mentor-hero .pill-btn:hover { background: #2b2b2b; }
.mentor-hero-art {
  position: relative;
  aspect-ratio: 9/19;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 25%, #fff, transparent 55%),
    linear-gradient(180deg, #FFFAF0, #F2EAD6);
  border: 8px solid var(--text);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.18);
  overflow: hidden;
}
.mentor-hero-art::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--text);
  border-radius: 999px;
}
.mentor-hero-art .floating-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.16);
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 12px;
  line-height: 1.4;
}
.mentor-hero-art .floating-card.fc1 { top: 24%; left: -12%; min-width: 60%; }
.mentor-hero-art .floating-card.fc2 { bottom: 12%; right: -16%; min-width: 70%; }
.mentor-hero-art .floating-card .who {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

/* Mindly-style soft cards: problem space */
.mentor-path {
  background: #F8F4EB;
  padding: 120px 0;
}
.mentor-path-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.mentor-path-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.mentor-path-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.mentor-path-head .sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36ch;
}
.mentor-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mentor-path-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mentor-path-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.14); }
.mentor-path-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-accent-soft), #FFE9D6);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--text);
}
.mentor-path-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
}
.mentor-path-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* HMW big-statement section */
.mentor-hmw {
  background: var(--cs-cream);
  padding: 120px 0;
  text-align: center;
}
.mentor-hmw .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 24px;
}
.mentor-hmw h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  max-width: 24ch;
  margin: 0 auto;
}
.mentor-hmw em { font-style: italic; font-weight: 400; color: var(--cs-accent); }

/* Step-by-step journey list with phone */
.mentor-journey {
  background: #F8F4EB;
  padding: 120px 0;
}
.mentor-journey-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.mentor-journey > .container > .head {
  margin-bottom: 60px;
}
.mentor-journey .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.mentor-journey h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.mentor-journey .lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 44ch;
}
.mentor-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mentor-step {
  padding: 22px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  cursor: default;
  transition: border-color 0.2s, transform 0.2s;
}
.mentor-step:hover {
  border-color: var(--text);
  transform: translateX(4px);
}
.mentor-step h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
}
.mentor-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.mentor-phone {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9/19;
  margin: 0 auto;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 30%, #fff, transparent 60%),
    linear-gradient(180deg, #FFFAF0, #F2EAD6);
  border: 8px solid var(--text);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}
.mentor-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--text);
  border-radius: 999px;
}

/* Insight stats — soft */
.mentor-insights {
  background: var(--cs-cream);
  padding: 100px 0;
}
.mentor-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.mentor-insight {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 28px;
}
.mentor-insight .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--cs-accent);
  line-height: 1;
  flex-shrink: 0;
}
.mentor-insight .num sup { font-size: 0.4em; }
.mentor-insight .text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.mentor-insight .text strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* TONE-SHIFT DEMO — the signature interaction */
.mentor-tone-section {
  background: #F8F4EB;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.mentor-tone-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--cs-accent-soft) 0%, transparent 65%);
  pointer-events: none;
}
.mentor-tone-section > .container { position: relative; z-index: 1; }
.mentor-tone-head { text-align: center; margin-bottom: 48px; }
.mentor-tone-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}
.mentor-tone-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 auto 16px;
  max-width: 24ch;
}
.mentor-tone-head .sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

.mentor-tone-demo {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 30px 60px -24px rgba(11, 11, 11, 0.14);
  border: 1px solid var(--border);
}
.mentor-tone-personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.persona {
  background: var(--bg-alt);
  border: 1px solid transparent;
  color: var(--muted);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.persona:hover {
  background: var(--cs-accent-soft);
  color: var(--text);
}
.persona.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.persona.is-active::before {
  content: '· ';
  color: var(--cs-accent);
  font-weight: 700;
}

.mentor-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  min-height: 180px;
}
.chat-bubble {
  max-width: 78%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.chat-bubble.user {
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--text);
  border-bottom-left-radius: 6px;
}
.chat-bubble.mentor {
  align-self: flex-end;
  background: var(--text);
  color: #fff;
  border-bottom-right-radius: 6px;
  position: relative;
  min-height: 50px;
}
.chat-bubble.mentor.is-typing::after {
  content: '· · ·';
  letter-spacing: 0.3em;
  color: var(--cs-accent);
  animation: mentor-typing 1.2s infinite;
}
@keyframes mentor-typing {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.mentor-tone-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.mentor-tone-meta .meta-card {
  background: var(--bg-alt);
  padding: 16px 18px;
  border-radius: 12px;
}
.mentor-tone-meta .meta-card .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.mentor-tone-meta .meta-card .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.mentor-tone-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Results — quiet */
.mentor-results {
  background: var(--cs-cream);
  padding: 120px 0;
  text-align: center;
}
.mentor-results .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}
.mentor-results h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto 60px;
  max-width: 22ch;
}
.mentor-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.mentor-result .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  line-height: 1;
}
.mentor-result .num em { color: var(--cs-accent); font-style: normal; }
.mentor-result .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.mentor-reflection { background: #F8F4EB; padding: 140px 0; }

/* ============================================
   MentorUp · expanded narrative sections
   ============================================ */

/* INTRO NARRATIVE — quiet, editorial */
.mentor-intro {
  background: var(--cs-cream);
  padding: 100px 0 120px;
}
.mentor-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.mentor-intro .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.mentor-intro h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.mentor-intro h2 .ink { color: var(--cs-accent); font-style: italic; font-weight: 400; }
.mentor-intro-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 56ch;
}
.mentor-intro-body p em { color: var(--cs-accent); font-style: italic; font-weight: 400; }
.mentor-intro-body p strong { color: var(--text); font-weight: 600; }
.mentor-intro-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
}
.mentor-intro-tags li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

/* COMMUNITY / VALUE narrative */
.mentor-community {
  background: #F4EFE2;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.mentor-community::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 80% 100%, var(--cs-accent-soft) 0%, transparent 60%);
  pointer-events: none;
}
.mentor-community > .container { position: relative; z-index: 1; }
.mentor-community-head {
  max-width: 880px;
  margin-bottom: 60px;
}
.mentor-community-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-block;
}
.mentor-community-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  max-width: 22ch;
}
.mentor-community-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.mentor-community-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}
.mentor-community-quote {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -28px rgba(0,0,0,0.14);
  position: relative;
}
.mentor-community-quote::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 80px;
  line-height: 1;
  color: var(--cs-accent);
  opacity: 0.3;
}
.mentor-community-quote p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.45;
  margin: 0 0 20px;
  color: var(--text);
  position: relative;
}
.mentor-community-quote .who {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 500;
}
.mentor-community-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 18px;
}
.mentor-community-copy p em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.mentor-community-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mentor-community-pillars li {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border);
}
.mentor-community-pillars .num {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cs-accent);
  margin-bottom: 14px;
}
.mentor-community-pillars h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--text);
}
.mentor-community-pillars p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.mentor-community-pillars p em { color: var(--text); font-style: italic; font-weight: 500; }

/* SUPPORTING FLOWS */
.mentor-supporting {
  background: var(--cs-cream);
  padding: 120px 0;
}
.mentor-supporting-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.mentor-supporting-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.mentor-supporting-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.mentor-supporting-head .sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}
.mentor-supporting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mentor-support-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.mentor-support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.12);
}
.mentor-support-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-alt);
  position: relative;
}
.mentor-support-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mentor-support-img.alt {
  background: linear-gradient(135deg, var(--cs-accent-soft), #FFE9D6);
  display: grid;
  place-items: center;
}
.mentor-support-placeholder {
  color: var(--text);
  opacity: 0.7;
}
.mentor-support-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}
.mentor-support-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* DESIGN SYSTEM */
.mentor-system {
  background: #F8F4EB;
  padding: 140px 0;
}
.mentor-system-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.mentor-system .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.mentor-system h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.mentor-system .lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 50ch;
}
.mentor-system-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.mentor-system-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.mentor-system-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs-accent);
}
.mentor-system-list strong { font-weight: 600; }
.mentor-system-visual {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.18);
}
.mentor-system-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* DUAL EXPERIENCE */
.mentor-dual {
  background: var(--cs-cream);
  padding: 140px 0;
}
.mentor-dual-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.mentor-dual-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.mentor-dual-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.mentor-dual-head .sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}
.mentor-dual-head .sub em { font-style: italic; color: var(--text); font-weight: 500; }
.mentor-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mentor-dual-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}
.mentor-dual-card.mentor { background: #FAF6EC; }
.mentor-dual-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cs-accent-soft);
  color: var(--text);
  margin-bottom: 22px;
}
.mentor-dual-card.mentor .mentor-dual-tag { background: var(--text); color: #fff; }
.mentor-dual-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--bg-alt);
}
.mentor-dual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mentor-dual-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.mentor-dual-card ul li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.mentor-dual-card ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--cs-accent);
  font-weight: 700;
  font-size: 18px;
}

/* RESPONSIVE MOBILE */
.mentor-responsive {
  background: #F8F4EB;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.mentor-responsive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 20% 30%, var(--cs-accent-soft) 0%, transparent 60%);
  pointer-events: none;
}
.mentor-responsive > .container { position: relative; z-index: 1; }
.mentor-responsive-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.mentor-responsive .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.mentor-responsive h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.mentor-responsive .lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 28px;
}
.mentor-responsive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.mentor-responsive-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.mentor-responsive-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cs-accent);
  font-weight: 700;
}
.mentor-responsive-art {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 9/19;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 25%, #fff, transparent 55%),
    linear-gradient(180deg, #FFFAF0, #F2EAD6);
  border: 8px solid var(--text);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.18);
  overflow: hidden;
}
.mentor-responsive-art::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--text);
  border-radius: 999px;
  z-index: 1;
}
.mentor-responsive-art > img.fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* EMOTIONAL CONTEXT — dark editorial */
.mentor-emotional {
  background: #0B0B0B;
  color: #fff;
  padding: 140px 0;
}
.mentor-emotional-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.mentor-emotional .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent-soft);
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
}
.mentor-emotional h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 36px;
  color: #fff;
}
.mentor-emotional h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent-soft);
}
.mentor-emotional h2 .ink { color: var(--cs-accent-soft); }
.mentor-emotional p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 0 auto 18px;
  max-width: 60ch;
}

/* AI FEATURES GRID */
.mentor-ai-features {
  background: var(--cs-cream);
  padding: 140px 0;
}
.mentor-ai-features-head {
  text-align: center;
  margin-bottom: 60px;
}
.mentor-ai-features-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}
.mentor-ai-features-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 auto 16px;
  max-width: 22ch;
}
.mentor-ai-features-head .sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}
.mentor-ai-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mentor-ai-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.mentor-ai-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px rgba(0,0,0,0.14);
  border-color: var(--cs-accent);
}
.mentor-ai-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--cs-accent-soft);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.mentor-ai-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--text);
}
.mentor-ai-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Responsive collapse for expanded sections */
@media (max-width: 1024px) {
  .mentor-intro-grid,
  .mentor-supporting-head,
  .mentor-system-grid,
  .mentor-dual-head,
  .mentor-responsive-grid,
  .mentor-community-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mentor-supporting-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-ai-grid { grid-template-columns: repeat(2, 1fr); }
  .mentor-community-pillars { grid-template-columns: 1fr; }
  .mentor-dual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mentor-intro,
  .mentor-community,
  .mentor-supporting,
  .mentor-system,
  .mentor-dual,
  .mentor-responsive,
  .mentor-emotional,
  .mentor-ai-features { padding: 88px 0; }
  .mentor-supporting-grid { grid-template-columns: 1fr; }
  .mentor-ai-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Espoirer · case-study custom components
   Mobile-first, scannability-driven, Japan-restraint.
   ============================================ */

/* Hero — clean white, two-column with a phone showing redesigned card */
.esp-hero {
  background: #FAFAFA;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.esp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 20%, var(--cs-accent-soft) 0%, transparent 60%);
  pointer-events: none;
}
.esp-hero > .container { position: relative; z-index: 1; }
.esp-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.esp-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.esp-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 24px 0 28px;
}
.esp-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--cs-accent);
}
.esp-hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}
.esp-hero .meta-strip {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
.esp-hero .meta-strip strong { color: var(--text); font-weight: 600; }

/* Phone mockup with internal card content */
.esp-phone {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 9/19;
  border-radius: 36px;
  background: #fff;
  border: 8px solid var(--text);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  padding: 36px 14px 18px;
}
.esp-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--text);
  border-radius: 999px;
}
.esp-phone-screen {
  width: 100%;
  height: 100%;
  background: #FAFAFA;
  border-radius: 18px;
  padding: 16px 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.esp-phone-screen .head {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.esp-phone-screen .head .badge {
  background: var(--cs-accent);
  color: var(--text);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

/* Scannable delivery card — "after" state */
.esp-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
}
.esp-card .num-bg {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--text);
  color: var(--cs-accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.esp-card .info { min-width: 0; }
.esp-card .info .who {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.esp-card .info .addr {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.esp-card .pkg {
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  background: var(--cs-accent-soft);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Cluttered "before" delivery row */
.esp-row-before {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 9px;
  line-height: 1.5;
  color: #555;
  font-family: 'Inter', sans-serif;
}
.esp-row-before .small { font-size: 8px; color: #999; }

/* Centerpiece insight quote */
.esp-insight {
  background: var(--cs-cream);
  padding: 140px 0;
  text-align: center;
  position: relative;
}
.esp-insight .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 32px;
  display: inline-block;
}
.esp-insight blockquote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 auto;
  max-width: 18ch;
}
.esp-insight blockquote em {
  font-style: italic;
  font-weight: 400;
  color: var(--cs-accent);
}
.esp-insight .attr {
  margin-top: 36px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* SIGNATURE 1 · Before/After comparison with annotation lines */
.esp-comparison {
  background: #FAFAFA;
  padding: 120px 0;
}
.esp-comparison .head {
  text-align: center;
  margin-bottom: 80px;
}
.esp-comparison .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}
.esp-comparison h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 22ch;
}
.esp-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.esp-side {
  position: relative;
}
.esp-side .label {
  text-align: center;
  margin-bottom: 32px;
}
.esp-side .label .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.esp-side.before .label .tag { background: #FEE4E4; color: #C2362F; }
.esp-side.after .label .tag { background: var(--cs-accent); color: var(--text); }
.esp-side .label h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 12px 0 0;
}

.esp-side .annotations {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}
.esp-side .anno {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  align-items: start;
}
.esp-side .anno .marker {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 10px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.esp-side.before .anno .marker { background: #FEE4E4; color: #C2362F; }
.esp-side.after .anno .marker { background: var(--cs-accent-soft); color: var(--text); }
.esp-side .anno .text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.esp-side .anno .text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.esp-side .anno .text strong { color: var(--text); font-size: 14px; }

/* SIGNATURE 2 · Nested data hierarchy visualization */
.esp-hierarchy-section {
  background: var(--cs-cream);
  padding: 120px 0;
}
.esp-hierarchy-section .head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.esp-hierarchy-section .head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.esp-hierarchy-section .head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.esp-hierarchy-section .head .sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}

.esp-hierarchy {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.esp-h-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.esp-h-row:last-child { border-bottom: none; }
.esp-h-row .level {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.esp-h-row .items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.esp-h-row .item {
  background: var(--bg-alt);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.esp-h-row .item:hover { background: var(--cs-accent-soft); border-color: var(--cs-accent); transform: translateY(-1px); }
.esp-h-row .item.is-key { background: var(--text); color: var(--cs-accent); }
.esp-h-row .indent {
  display: inline-block;
  width: 12px;
  border-top: 1px solid var(--border);
  margin-right: -4px;
}
.esp-h-row .level .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--cs-accent);
  margin-right: 8px;
}

.esp-h-foot {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* Localization — split section */
.esp-loc {
  background: #FAFAFA;
  padding: 100px 0;
}
.esp-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.esp-loc h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.esp-loc .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.esp-loc p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.esp-loc-cards {
  display: grid;
  gap: 16px;
}
.esp-loc-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}
.esp-loc-card .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.esp-loc-card .addr {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

/* Results — three big numbers */
.esp-results {
  background: var(--cs-cream);
  padding: 120px 0;
  text-align: center;
}
.esp-results .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}
.esp-results h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto 60px;
  max-width: 22ch;
}
.esp-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.esp-result {
  text-align: center;
}
.esp-result .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  display: block;
  line-height: 1;
}
.esp-result .num em { color: var(--cs-accent); font-style: normal; font-weight: 400; }
.esp-result .num sup { font-size: 0.4em; }
.esp-result .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.esp-reflection { background: #FAFAFA; padding: 140px 0; }

/* Real-screens gallery (between hierarchy and localization) */
.esp-gallery {
  background: var(--cs-cream);
  padding: 100px 0;
}
.esp-gallery .head {
  text-align: center;
  margin-bottom: 56px;
}
.esp-gallery .eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
}
.esp-gallery h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 24ch;
  line-height: 1.15;
}
.esp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.esp-gallery-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.esp-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.16);
}
.esp-gallery-grid figcaption {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 960px) {
  .esp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .esp-gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   About page · macOS-desktop-inspired (lighter pass)
   Menu bar nav · folder grid · window-panel reveal
   ============================================ */

body.aboutos { background: var(--cs-cream); }

/* Hide the floating pill on the about page; menu bar replaces it */
body.aboutos .site-header { display: none; }

.aboutos-menubar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: -0.005em;
  user-select: none;
}
.aboutos-menubar .menu-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.aboutos-menubar .menu-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}
.aboutos-menubar .logo-mini {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: var(--cs-accent);
  font-family: 'Caveat', cursive;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 2px;
}
.aboutos-menubar .menu-item {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: default;
  transition: background 0.15s, color 0.15s;
}
.aboutos-menubar .menu-item.is-app { font-weight: 700; }
.aboutos-menubar a.menu-item { cursor: pointer; }
.aboutos-menubar a.menu-item:hover {
  background: rgba(0, 0, 0, 0.06);
}
.aboutos-menubar .menu-item.is-active { background: rgba(0, 0, 0, 0.06); }
.aboutos-menubar .clock {
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.aboutos-menubar .clock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cs-accent);
  box-shadow: 0 0 0 0 rgba(104, 255, 126, 0.6);
  animation: now-pulse 2s ease-out infinite;
}

/* Hero */
.aboutos-hero {
  padding: 120px 0 80px;
  text-align: center;
}
.aboutos-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 24px;
}
.aboutos-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--cs-accent);
}
.aboutos-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* Hint between hero and folder grid */
.aboutos-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin: 40px auto 0;
  font-weight: 500;
}
.aboutos-hint .arrow {
  display: inline-block;
  color: var(--cs-accent);
  font-weight: 700;
  margin-right: 6px;
  animation: hint-bob 1.6s ease-in-out infinite;
}
.aboutos-hint kbd {
  font-family: 'Plus Jakarta Sans', monospace;
  background: var(--bg-alt);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  border: 1px solid var(--border);
  margin: 0 2px;
  color: var(--text);
  font-weight: 600;
}
@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .aboutos-hint .arrow { animation: none; }
}

/* Folder grid */
.aboutos-folders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 var(--gutter);
}
.aboutos-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: none;
  border: 2px solid transparent;
  font-family: inherit;
  padding: 20px 12px;
  border-radius: 14px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.aboutos-folder:hover {
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}
.aboutos-folder.is-open {
  background: rgba(11, 11, 11, 0.06);
  border-color: rgba(11, 11, 11, 0.12);
}
.aboutos-folder .folder-icon {
  width: 84px;
  height: 64px;
  display: grid;
  place-items: center;
}
.aboutos-folder .folder-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}
.aboutos-folder .folder-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* Window panel (opens when folder clicked) */
.aboutos-window {
  max-width: 980px;
  margin: 48px auto 80px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: none;
}
.aboutos-window.is-shown {
  display: block;
  animation: aboutos-window-in 0.32s cubic-bezier(.2, .7, .2, 1);
  transform-origin: top center;
}
@keyframes aboutos-window-in {
  0% { opacity: 0; transform: scale(0.97) translateY(-12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.aboutos-window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #F4F4F2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.aboutos-window-bar .traffic {
  display: flex;
  gap: 8px;
  width: 60px;
  flex-shrink: 0;
}
.aboutos-window-bar .traffic button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: default;
}
.aboutos-window-bar .traffic .red {
  background: #FF5F57;
  cursor: pointer;
  position: relative;
}
.aboutos-window-bar .traffic .red:hover::after {
  content: '×';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #800;
  font-weight: 700;
  line-height: 1;
}
.aboutos-window-bar .traffic .yellow { background: #FEBC2E; }
.aboutos-window-bar .traffic .green { background: #28C840; }
.aboutos-window-bar .title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.aboutos-window-bar .spacer { width: 60px; flex-shrink: 0; }

.aboutos-window-body {
  padding: 56px 64px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.aboutos-window-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.aboutos-window-body p { margin: 0 0 16px; color: var(--muted); }
.aboutos-window-body p.lead { font-size: 19px; line-height: 1.5; color: var(--text); margin-bottom: 28px; }

.aboutos-trajectory {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.aboutos-trajectory-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.aboutos-trajectory-row:first-child { border-top: none; }
.aboutos-trajectory-row .stage {
  font-size: 13px;
  font-weight: 600;
  color: var(--cs-accent);
  letter-spacing: 0.04em;
}
.aboutos-trajectory-row .desc { font-size: 14px; color: var(--text); line-height: 1.55; }
.aboutos-trajectory-row .desc strong { display: block; font-weight: 600; margin-bottom: 4px; }

.aboutos-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.aboutos-skill-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px 22px;
}
.aboutos-skill-card .num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cs-accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.aboutos-skill-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
}
.aboutos-skill-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

.aboutos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.aboutos-tags .tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}
.aboutos-tags .tag:hover { background: var(--cs-accent-soft); border-color: var(--cs-accent); }

.aboutos-now {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.aboutos-now-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: 12px;
  align-items: center;
}
.aboutos-now-row strong { display: block; font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.aboutos-now-row span { font-size: 13px; color: var(--muted); }
.aboutos-now-row .badge {
  background: var(--cs-accent);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* Recommendations grid — staggered 5-col layout, vibrant hover */
.aboutos-recs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.aboutos-rec {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.32s cubic-bezier(.2,.7,.2,1), transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}
/* Top row: cards 1–4 in cols 1–4; bottom row: cards 5–8 in cols 2–5 (offset stagger) */
.aboutos-rec:nth-child(1) { grid-column: 1; }
.aboutos-rec:nth-child(2) { grid-column: 2; }
.aboutos-rec:nth-child(3) { grid-column: 3; }
.aboutos-rec:nth-child(4) { grid-column: 4; }
.aboutos-rec:nth-child(5) { grid-column: 2; grid-row: 2; }
.aboutos-rec:nth-child(6) { grid-column: 3; grid-row: 2; }
.aboutos-rec:nth-child(7) { grid-column: 4; grid-row: 2; }
.aboutos-rec:nth-child(8) { grid-column: 5; grid-row: 2; }
.aboutos-rec:hover {
  background: linear-gradient(135deg, #D6FFB8 0%, #68FF7E 55%, #B0E5FF 100%);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -18px rgba(104, 255, 126, 0.45);
  border-color: var(--cs-accent);
}
.aboutos-rec-head {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
}
.aboutos-rec-head .photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 50%),
    linear-gradient(135deg, #888, #444);
  border: 1.5px solid #fff;
  flex-shrink: 0;
}
.aboutos-rec-head .name strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.aboutos-rec-head .name span {
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.aboutos-rec-head .quote-mark {
  font-family: 'Plus Jakarta Sans', serif;
  font-size: 28px;
  color: var(--cs-accent);
  line-height: 0.7;
  font-weight: 700;
  align-self: start;
  margin-top: 2px;
  transition: color 0.3s;
}
.aboutos-rec:hover .quote-mark { color: var(--text); }
.aboutos-rec:hover .aboutos-rec-head .name span { color: rgba(11,11,11,0.55); }
.aboutos-rec-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
  transition: background 0.3s;
}
.aboutos-rec:hover .aboutos-rec-divider {
  background: linear-gradient(90deg, rgba(11,11,11,0.18) 0%, transparent 100%);
}
.aboutos-rec-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* Wider window for the recommendations to fit the 4+4 stagger */
.aboutos-window[data-folder="recommendations"] {
  max-width: 1200px;
}
.aboutos-window[data-folder="recommendations"] .aboutos-window-body {
  padding: 48px 40px;
}

@media (max-width: 1024px) {
  .aboutos-recs { grid-template-columns: repeat(2, 1fr); }
  .aboutos-rec:nth-child(n) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .aboutos-recs { grid-template-columns: 1fr; }
}

.aboutos-recognitions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.aboutos-recognition {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.aboutos-recognition:first-child { border-top: none; }
.aboutos-recognition .year {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--cs-accent);
  letter-spacing: 0.04em;
}
.aboutos-recognition .what { font-size: 14px; color: var(--text); }
.aboutos-recognition .what strong { display: block; font-weight: 600; margin-bottom: 2px; }
.aboutos-recognition .where {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.aboutos-readings {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.aboutos-reading {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease, transform 160ms ease;
}
a.aboutos-reading:hover { background: var(--cs-accent-soft); transform: translateY(-1px); }
.aboutos-reading .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cs-accent-soft);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.aboutos-reading .title-row strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.aboutos-reading .title-row span { font-size: 13px; color: var(--muted); }
.aboutos-reading .why {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  text-align: right;
  max-width: 30ch;
}

@media (max-width: 720px) {
  .aboutos-menubar { display: none; }
  body.aboutos .site-header { display: block; }
  body.aboutos { background: var(--cs-cream); }
  .aboutos-folders { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .aboutos-folder { padding: 14px 8px; }
  .aboutos-folder .folder-icon { width: 64px; height: 50px; }
  .aboutos-window-body { padding: 32px 24px; }
  .aboutos-skills-grid { grid-template-columns: 1fr; }
  .aboutos-recs { grid-template-columns: 1fr; }
  .aboutos-trajectory-row { grid-template-columns: 1fr; gap: 6px; }
  .aboutos-recognition { grid-template-columns: 70px 1fr; }
  .aboutos-recognition .where { grid-column: 2; font-size: 11px; }
}

@media (max-width: 960px) {
  .esp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .esp-comparison-grid { grid-template-columns: 1fr; gap: 60px; }
  .esp-hierarchy-section .head { grid-template-columns: 1fr; gap: 16px; }
  .esp-loc-grid { grid-template-columns: 1fr; gap: 40px; }
  .esp-results-row { grid-template-columns: 1fr; gap: 40px; }
  .esp-h-row { grid-template-columns: 1fr; gap: 8px; }
  .esp-hierarchy { padding: 24px; }
}

@media (max-width: 960px) {
  .mentor-hero-grid { grid-template-columns: 1fr; }
  .mentor-hero-art { max-width: 240px; }
  .mentor-path-head { grid-template-columns: 1fr; gap: 16px; }
  .mentor-path-grid { grid-template-columns: 1fr; }
  .mentor-journey-grid { grid-template-columns: 1fr; gap: 40px; }
  .mentor-insights-grid { grid-template-columns: 1fr; }
  .mentor-tone-personas { grid-template-columns: 1fr; }
  .mentor-tone-meta { grid-template-columns: 1fr; }
  .mentor-results-row { grid-template-columns: 1fr; gap: 32px; }
  .mentor-tone-demo { padding: 24px; }
}

@media (max-width: 960px) {
  .octo-problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .octo-quote-grid { grid-template-columns: 1fr; }
  .octo-pillar-grid { grid-template-columns: 1fr; }
  .octo-arch { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .octo-impact-grid { grid-template-columns: 1fr; }
  .octo-results-row { grid-template-columns: 1fr; gap: 32px; }
  .octo-tablets { height: 260px; }
  .octo-tablets .tablet.t1, .octo-tablets .tablet.t3 { display: none; }
  .octo-tablets .tablet.t2 { width: 86%; }
}

@media (max-width: 960px) {
  .brook-meta { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .brook-meta .dots, .brook-meta .right { text-align: left; }
  .brook-hero-corners { grid-template-columns: 1fr; }
  .brook-hero-corners .right { text-align: left; margin-left: 0; }
  .brook-process { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .brook-process::before { display: none; }
  .brook-persona { grid-template-columns: 1fr; gap: 40px; }
  .brook-challenge { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .brook-annotation { position: static; max-width: none; margin: 12px 0; }
  .brook-annotation::before, .brook-annotation::after { display: none; }
  .brook-annotated-art { position: relative; inset: 0; aspect-ratio: 16/10; margin: 24px 0; }
  .brook-annotated-stage { aspect-ratio: auto; height: auto; }
  .brook-screens-stage { display: none; }
}

/* ============================================
   Peek section · spotlight reveal (designs page)
   ============================================ */

.peek-section { padding: 60px 0 100px; }

.peek-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: -32px 0 40px;
  line-height: 1.55;
}

.peek-stage {
  --mx: 50%;
  --my: 50%;
  position: relative;
  height: clamp(320px, 46vh, 460px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), #D8DEFF 0%, transparent 50%),
    radial-gradient(circle at 22% 78%, #EEEEEE 0%, transparent 60%),
    linear-gradient(135deg, #F8F8F8, #F2F2F2);
  transition: background 0.2s ease;
}

.peek-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.peek-stage:hover .peek-hint { opacity: 0; }

.peek-target {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--text);
  opacity: 0.85;
}
.peek-hint-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.peek-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 50px 40px;
  align-content: center;
  -webkit-mask: radial-gradient(circle 220px at var(--mx) var(--my), #000 30%, transparent 75%);
          mask: radial-gradient(circle 220px at var(--mx) var(--my), #000 30%, transparent 75%);
}

.peek-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.peek-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}
.peek-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%);
}
.peek-thumb[data-tone="sand"]       { background: linear-gradient(135deg, #FAFAFA, var(--sand)); }
.peek-thumb[data-tone="sage"]       { background: linear-gradient(135deg, #F8FFF9, var(--sage)); }
.peek-thumb[data-tone="terracotta"] { background: linear-gradient(135deg, #F5F5F5, var(--terracotta)); }
.peek-thumb[data-tone="cream"]      { background: linear-gradient(135deg, #FFFFFF, var(--cream)); }
.peek-thumb[data-tone="slate"]      { background: linear-gradient(135deg, #2A2A2A, var(--slate)); border-color: var(--text); }

.peek-tile figcaption {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 960px) {
  .peek-grid { grid-template-columns: repeat(3, 1fr); padding: 40px 28px; }
}
@media (max-width: 720px) {
  .peek-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 32px 20px; }
  .peek-intro { margin: -24px 0 28px; }
}

@media (pointer: coarse) {
  .peek-stage { cursor: default; }
  .peek-grid {
    -webkit-mask: none;
            mask: none;
    opacity: 1;
  }
  .peek-hint { display: none; }
}

/* ====================================================================
   CASE STUDY · Premium product page system
   Used on all /projects/*.html pages. Self-contained — won't leak into
   the marketing pages above.
   ==================================================================== */

:root {
  /* Case-study tokens — aligned to the marketing palette above
     so the case study feels like an extension of the rest of the site. */
  --cs-cream:       #FAF9F6;   /* matches --bg */
  --cs-cream-warm:  #F2F2F2;   /* matches --bg-alt */
  --cs-ink:         #0B0B0B;   /* near-black, matches --text */
  --cs-ink-soft:    #1A1A1A;
  --cs-accent:      #68FF7E;   /* mint green — matches --accent */
  --cs-accent-soft: #DCFEE2;
  --cs-watermark:   #EEEEEE;   /* neutral light — for ghost text */
  /* legacy aliases */
  --cs-periwinkle:        var(--cs-accent);
  --cs-periwinkle-soft:   var(--cs-accent-soft);
}

.cs-page {
  background: var(--cs-cream);
  color: var(--cs-ink);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

/* Case study pages — let the floating pill use its default glass; no override needed. */

/* --- Eyebrows / shared bits --- */

.cs-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.cs-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

/* --- Hero: sunset gradient --- */

.cs-hero {
  position: relative;
  height: clamp(520px, 80vh, 760px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 60% at 80% 25%, var(--cs-accent-soft) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 18% 75%, #F2F2F2 0%, transparent 55%),
    var(--cs-cream);
}
.cs-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,0.025) 100%);
  pointer-events: none;
}

.cs-hero-inner {
  position: relative;
  text-align: center;
  color: var(--cs-ink);
  padding: 0 24px;
  z-index: 1;
}
.cs-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 16ch;
  margin: 0 auto;
}
.cs-hero .cs-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--cs-accent);
  color: var(--cs-ink);
  border-radius: 999px;
  margin-bottom: 32px;
}

/* --- Section: cream with ghost watermark --- */

.cs-stage {
  position: relative;
  background: var(--cs-cream);
  padding: 120px 0 80px;
  overflow: hidden;
}

.cs-watermark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(160px, 28vw, 360px);
  letter-spacing: -0.05em;
  color: var(--cs-watermark);
  opacity: 0.55;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

.cs-stage > .container {
  position: relative;
  z-index: 1;
}

.cs-mockup {
  display: block;
  margin: 60px auto 0;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9/19;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 35%, #FAFAFA 0%, transparent 60%),
    linear-gradient(180deg, #F2F2F2 0%, #DDDDDD 100%);
  border: 8px solid #0B0B0B;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18);
  position: relative;
}
.cs-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #1A1A1D;
  border-radius: 999px;
}
.cs-mockup-wide {
  max-width: 880px;
  aspect-ratio: 16/10;
  border-radius: 18px;
  border-width: 4px;
}
.cs-mockup-wide::before { display: none; }

/* --- Scope of work / Gantt-style project info --- */

.cs-scope {
  margin-top: 80px;
  background: rgba(255,255,255,0.5);
  border-radius: 32px;
  padding: 48px;
}
.cs-scope h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}
.cs-gantt {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px 24px;
  align-items: center;
}
.cs-gantt dt {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.cs-gantt dd {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-gantt dd .bar {
  height: 36px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.cs-gantt dd .bar .chip {
  background: var(--cs-periwinkle);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.cs-gantt dd .bar.shift-1 { margin-left: 8%; }
.cs-gantt dd .bar.shift-2 { margin-left: 22%; }
.cs-gantt dd .bar.shift-3 { margin-left: 38%; }
.cs-gantt dd .bar.shift-4 { margin-left: 52%; }

/* --- Dark section --- */

.cs-dark {
  background: var(--cs-ink);
  color: #fff;
  padding: 140px 0 120px;
  text-align: center;
}
.cs-dark .cs-eyebrow { color: rgba(255,255,255,0.45); }
.cs-dark h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 18px auto 28px;
}
.cs-dark .cs-sub {
  color: rgba(255,255,255,0.55);
  max-width: 56ch;
  margin: 0 auto 64px;
  font-size: 18px;
  line-height: 1.65;
}

/* --- Insight stat cards --- */

.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.cs-stat-card {
  background: #fff;
  color: var(--cs-ink);
  border-radius: 28px;
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.cs-stat-card .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.cs-stat-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  margin: 14px 0;
  letter-spacing: -0.01em;
}
.cs-stat-card .big-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(80px, 9vw, 130px);
  font-weight: 700;
  color: var(--cs-periwinkle);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: auto 0 0;
}
.cs-stat-card .big-number sup {
  font-size: 0.42em;
  vertical-align: 50%;
  font-weight: 600;
  letter-spacing: 0;
}
.cs-stat-card .stat-foot {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cs-periwinkle);
  margin-top: 12px;
  font-weight: 600;
}

.cs-stats-foot {
  margin-top: 56px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.cs-stats-foot strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: rgba(255,255,255,0.85);
}

/* --- Solution / cream rounded card --- */

.cs-card {
  background: var(--cs-cream-warm);
  border-radius: 36px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
  margin: 80px 0;
}
.cs-card .cs-eyebrow { margin-bottom: 18px; display: block; }
.cs-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.cs-card .cs-card-side {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  padding-bottom: 12px;
}

.cs-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 80px;
}
.cs-card-grid > div {
  border-radius: 28px;
  aspect-ratio: 1.2/1;
  position: relative;
  overflow: hidden;
}
.cs-card-grid .cell-blob {
  background:
    radial-gradient(ellipse at 30% 30%, var(--cs-accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, #EEEEEE 0%, transparent 60%),
    #F8F8F8;
}
.cs-card-grid .cell-mockup {
  background: #F2F2F2;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  border: 1px solid #EEE;
}

/* --- Tilted color cards (research / concept / ideation / solution) --- */

.cs-tilted {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 80px 0;
}
.cs-tilted .ttile {
  width: 240px;
  height: 280px;
  border-radius: 22px;
  padding: 28px;
  color: #fff;
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.2);
}
.cs-tilted .ttile h4 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-style: italic;
}
.cs-tilted .ttile ul {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.85;
  font-weight: 500;
}
.cs-tilted .ttile:nth-child(1) { background: #FAFAFA; color: var(--cs-ink);    border: 1px solid #EEE; transform: rotate(-6deg); }
.cs-tilted .ttile:nth-child(2) { background: #0B0B0B; color: var(--cs-accent);                          transform: rotate(3deg) translateY(20px); }
.cs-tilted .ttile:nth-child(3) { background: #F2F2F2; color: var(--cs-ink);    border: 1px solid #EEE; transform: rotate(-3deg) translateY(8px); }
.cs-tilted .ttile:nth-child(4) { background: #DDDDDD; color: var(--cs-ink);                             transform: rotate(6deg); }
.cs-tilted .ttile:hover { transform: rotate(0) translateY(-10px); }

/* --- Scattered chip / collage section --- */

.cs-scatter {
  position: relative;
  padding: 100px 0;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.cs-scatter-stage {
  position: relative;
  height: 480px;
}
.cs-scatter-stage .cs-mockup {
  margin: 0 auto;
  max-width: 280px;
}
.cs-chip {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px 9px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.15);
  white-space: nowrap;
  background: #fff;
  color: var(--cs-ink);
}
.cs-chip::after {
  content: '×';
  font-size: 14px;
  opacity: 0.5;
  margin-left: 4px;
}
/* 4 reusable chip variants — use freely on any chip element */
.cs-chip.dark     { background: #0B0B0B; color: #fff; }
.cs-chip.accent   { background: var(--cs-accent); color: var(--cs-ink); }
.cs-chip.outline  { background: transparent; color: var(--cs-ink); border: 1px solid var(--cs-ink); }
/* legacy class aliases — old HTML still works */
.cs-chip.purple,
.cs-chip.peri,
.cs-chip.pink,
.cs-chip.coral    { background: #fff; color: var(--cs-ink); border: 1px solid #EEE; }
.cs-chip.yellow   { background: var(--cs-accent); color: var(--cs-ink); }
.cs-chip.orange,
.cs-chip.lilac    { background: transparent; color: var(--cs-ink); border: 1px solid var(--cs-ink); }
.cs-chip.maroon   { background: #0B0B0B; color: #fff; }

.cs-scatter-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-style: italic;
}
.cs-scatter-text p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
}

/* --- Two-column feature explanation --- */

.cs-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
}
.cs-feature.flip > :nth-child(1) { order: 2; }
.cs-feature.flip > :nth-child(2) { order: 1; }
.cs-feature .cs-feature-text { padding: 20px 0; }
.cs-feature .cs-feature-text .cs-eyebrow { color: var(--cs-periwinkle); }
.cs-feature h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 16px 0 20px;
}
.cs-feature p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

/* --- Pure breather section (large empty space + ghost mark) --- */

.cs-breather {
  position: relative;
  padding: 200px 0;
  text-align: center;
  overflow: hidden;
}
.cs-breather .ghost {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(120px, 18vw, 240px);
  letter-spacing: -0.04em;
  color: var(--cs-watermark);
  line-height: 1;
}

/* --- Reveal-on-scroll --- */

.cs-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-reveal-delay-1 { transition-delay: 0.08s; }
.cs-reveal-delay-2 { transition-delay: 0.16s; }
.cs-reveal-delay-3 { transition-delay: 0.24s; }

@media (max-width: 960px) {
  .cs-stats { grid-template-columns: 1fr; }
  .cs-card { padding: 48px; grid-template-columns: 1fr; gap: 32px; }
  .cs-feature { grid-template-columns: 1fr; gap: 40px; padding: 80px 0; }
  .cs-feature.flip { direction: ltr; }
  .cs-card-grid { grid-template-columns: 1fr; }
  .cs-scatter { grid-template-columns: 1fr; min-height: auto; }
  .cs-scope { padding: 28px; }
  .cs-gantt { grid-template-columns: 1fr; gap: 6px 12px; }
  .cs-gantt dd .bar.shift-1,
  .cs-gantt dd .bar.shift-2,
  .cs-gantt dd .bar.shift-3,
  .cs-gantt dd .bar.shift-4 { margin-left: 0; }
}

/* ====================================================================
   INTERACTIVE LAYER · cursor, magnetic, ripple, typewriter, time-tint
   Cleanly degrades on touch / reduced-motion.
   ==================================================================== */

/* --- Custom cursor --- */

body.has-custom-cursor,
body.has-custom-cursor *:not(input):not(textarea) { cursor: none !important; }

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 999px;
  mix-blend-mode: difference;
  will-change: transform, width, height;
  transform: translate3d(-100px, -100px, 0);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.4px solid #fff;
  background: transparent;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  transition: width 0.28s cubic-bezier(.2,.7,.2,1),
              height 0.28s cubic-bezier(.2,.7,.2,1),
              padding 0.22s cubic-bezier(.2,.7,.2,1),
              border-radius 0.22s,
              background-color 0.2s,
              border-color 0.2s,
              color 0.2s,
              font-size 0.2s;
}
.cursor-ring.is-link {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
}
.cursor-ring.has-label {
  width: auto;
  height: auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-size: 11px;
  mix-blend-mode: normal;
}

/* --- Magnetic button — override existing hover translateY --- */

.btn { transition: background 0.18s, border-color 0.18s, transform 0.45s cubic-bezier(.2,.7,.2,1); }
.btn:hover { transform: none; }

/* --- Click ripple --- */

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn > * { position: relative; z-index: 1; }
.ripple {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 0;
  animation: ripple-out 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.btn-primary .ripple { background: rgba(255,255,255,0.32); }
.btn-secondary .ripple,
.btn-ghost .ripple { background: rgba(0,0,0,0.08); }
@keyframes ripple-out {
  to { transform: translate(-50%, -50%) scale(50); opacity: 0; }
}

/* --- Typewriter char stagger --- */

/* .tw-word groups characters of one word so wrapping happens BETWEEN words, not mid-word */
.tw-word {
  display: inline-block;
  white-space: nowrap;
}
.tw-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: tw-in 0.45s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 28ms);
}
@keyframes tw-in {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Scramble — JS swaps text on intersection. Tabular figures so width doesn't jump. --- */

.scramble { font-variant-numeric: tabular-nums; }

/* --- "Now" strip in hero --- */

.now-strip {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.4;
}
.now-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
}
.now-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(104, 255, 126, 0.55);
  animation: now-pulse 2s ease-out infinite;
}
@keyframes now-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(104, 255, 126, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(104, 255, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(104, 255, 126, 0); }
}
.now-strip [data-counter-since],
.now-strip strong {
  color: var(--text);
  font-weight: 600;
}
.now-strip .sep { color: var(--border); user-select: none; }
.now-icon {
  display: inline-block;
  vertical-align: -0.22em;
  margin-left: 5px;
  color: var(--accent);
}

/* --- Hero 2-col grid (text + arm canvas) --- */

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
    gap: 60px;
  }
}

.hero-content { min-width: 0; }

/* --- Arm 3D stage --- */

.arm-stage {
  position: relative;
  width: 100%;
  height: clamp(440px, 62vh, 620px);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.arm-stage.is-loaded { opacity: 1; }
.arm-stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Hide arm on narrower screens — text fills full width */
@media (max-width: 1024px) {
  .arm-stage { display: none; }
}

/* --- Fruit cursor (only visible while inside .arm-stage) --- */

.fruit-cursor {
  position: fixed;
  top: 0; left: 0;
  font-size: 44px;
  line-height: 1;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: opacity 0.18s ease;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
  user-select: none;
  will-change: transform, opacity;
}
body.in-arm-region .fruit-cursor { opacity: 1; }

/* Suppress the dot+ring cursor while a fruit is shown */
body.in-arm-region .cursor-dot,
body.in-arm-region .cursor-ring {
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* --- Touch + reduced-motion fallbacks --- */

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-custom-cursor,
  body.has-custom-cursor *:not(input):not(textarea) { cursor: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tw-char { animation: none !important; opacity: 1; transform: none; }
  .ripple { display: none !important; }
  .now-eyebrow::before { animation: none; }
  .cursor-ring { transition: none; }
}
