:root {
  --jl-bg: #F1EFE8;
  --jl-surface: #ffffff;
  --jl-surface-soft: #D9DECF;
  --jl-text: #0f172a;
  --jl-text-muted: #334155;
  --jl-text-soft: #64748b;
  --jl-indigo: #718355;
  --jl-cyan: #b5c99a;
  --jl-violet: #87986a;
  --jl-pink: #97a97c;
  --jl-lime: #cfe1b9;
  --jl-border: rgba(15, 23, 42, 0.08);
  --jl-shadow-soft: 0 20px 40px rgba(32, 35, 29, 0.07);
  --jl-shadow-hover: 0 28px 70px rgba(113, 131, 85, 0.18);
  --jl-ease: cubic-bezier(.16, 1, .3, 1);
  --mouse-x: 50%;
  --mouse-y: 50%;

  --stone: #E7E4DA;
  --stone-soft: #F1EFE8;
  --stone-light: #F7F5EF;
  --stone-depth: #D6D2C4;

  --olive: #778065;
  --olive-dark: #3F4637;
  --olive-deep: #20231D;
  --olive-soft: #D9DECF;

  --clay: #B8795B;
  --terracotta: #A95F45;
  --charcoal: #20231D;
  --cream-card: #FFFCF4;

  --frosted-mint: #e9f5db;
  --tea-green: #cfe1b9;
  --muted-olive: #b5c99a;
  --muted-olive-2: #97a97c;
  --palm-leaf: #87986a;
  --dusty-olive: #718355;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 85% 5%, rgba(119, 128, 101, .11), transparent 30%),
    radial-gradient(circle at 8% 12%, rgba(184, 121, 91, .05), transparent 28%),
    linear-gradient(180deg, var(--stone-light) 0%, var(--stone-soft) 22%, var(--stone) 100%);
  color: var(--jl-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 35, 29, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 29, .028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
  opacity: .42;
  z-index: -2;
}

.cursor-orb {
  position: fixed;
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(119, 128, 101, .13), rgba(184, 121, 91, .06) 42%, transparent 70%);
  filter: blur(18px);
  opacity: .8;
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
p { color: var(--jl-text-muted); line-height: 1.7; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 56px);
  background: rgba(247, 245, 239, .84);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: -.05em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 13px; color: white; font-size: 13px; letter-spacing: -.03em; background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan)); box-shadow: 0 0 28px rgba(181, 201, 154, .30); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); color: var(--jl-text-muted); font-weight: 700; }
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jl-indigo), var(--jl-cyan));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--jl-ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.mobile-menu-toggle { display: none; border: 0; background: #fff; border-radius: 999px; padding: 10px 14px; font: inherit; font-weight: 800; box-shadow: var(--jl-shadow-soft); }

.nav-cta, .button-primary, .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 320ms var(--jl-ease), box-shadow 320ms var(--jl-ease), border-color 320ms var(--jl-ease), background 320ms var(--jl-ease);
}
.nav-cta { padding: 10px 17px; background: var(--jl-text); color: white; box-shadow: 0 14px 30px rgba(15, 23, 42, .16); }
.nav-cta:hover, .button-primary:hover, .button-ghost:hover { transform: translateY(-3px) scale(1.025); box-shadow: 0 22px 50px rgba(15, 23, 42, .18), 0 0 32px rgba(181, 201, 154, .40); }

.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  width: min(1240px, calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(72px, 10vw, 136px) 0;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 1px;
  height: 74px;
  background: linear-gradient(180deg, var(--jl-cyan), transparent);
  opacity: .7;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(54px, 8vw, 108px);
  line-height: .93;
  letter-spacing: -.075em;
}
.hero-lede { max-width: 680px; font-size: clamp(18px, 2.1vw, 24px); font-weight: 520; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button-primary { padding: 15px 24px; background: var(--jl-text); color: #fff; font-weight: 850; box-shadow: 0 14px 28px rgba(15, 23, 42, .16); }
.button-primary::after { content: ""; width: 0; height: 1em; }
.button-ghost { padding: 15px 24px; background: rgba(255,255,255,.76); border: 1px solid var(--jl-border); color: var(--jl-text); font-weight: 850; box-shadow: var(--jl-shadow-soft); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-proof span { padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid var(--jl-border); color: var(--jl-text-soft); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }

.jl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--jl-text-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.jl-eyebrow::before { content: ""; width: 32px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--jl-indigo), var(--jl-cyan)); }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; perspective: 1200px; }
.mockup-stack { position: relative; width: min(520px, 88vw); aspect-ratio: 1 / 1; display: grid; place-items: center; transform-style: preserve-3d; }
.mockup-stack::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, rgba(181, 201, 154, .28), rgba(113, 131, 85, .18) 42%, rgba(151, 169, 124, .14) 55%, transparent 72%);
  filter: blur(40px);
  border-radius: 999px;
}
.orbit-ring { position: absolute; border: 1px solid rgba(113, 131, 85, .18); border-radius: 999px; transform: rotateX(62deg) rotateZ(-24deg); }
.ring-one { inset: 12%; animation: spin-slow 18s linear infinite; }
.ring-two { inset: 3%; animation: spin-slow 26s linear infinite reverse; }
.mockup-card {
  position: relative;
  width: 92%;
  min-height: 360px;
  padding: 18px;
  border-radius: 38px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 40px 110px rgba(15, 23, 42, .22), 0 0 80px rgba(181, 201, 154, .20);
  backdrop-filter: blur(24px);
  transform: translateZ(40px);
}
.mockup-topbar { display: flex; gap: 8px; padding: 8px 10px 16px; }
.mockup-topbar span { width: 10px; height: 10px; border-radius: 999px; background: rgba(15,23,42,.24); }
.mockup-grid { display: grid; grid-template-columns: .8fr 1fr; grid-auto-rows: 94px; gap: 14px; }
.mockup-panel { display: flex; align-items: flex-end; padding: 14px; border-radius: 22px; color: rgba(255,255,255,.76); background: linear-gradient(135deg, #101827, #26324c); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mockup-panel.tall { grid-row: span 2; }
.mockup-panel.wide { grid-column: span 2; }
.mockup-panel.glow { background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan)); box-shadow: 0 0 30px rgba(181, 201, 154, .44); }
.floating-chip, .mini-dashboard { position: absolute; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--jl-border); box-shadow: var(--jl-shadow-soft); font-size: 13px; font-weight: 850; color: var(--jl-text-muted); }
.mini-dashboard { display: grid; gap: 2px; border-radius: 22px; padding: 15px 18px; right: 12px; bottom: 14px; }
.mini-dashboard strong { color: var(--jl-indigo); font-size: 22px; letter-spacing: -.04em; }
.mini-dashboard span { color: var(--jl-text-soft); font-size: 12px; }
.chip-one { top: 40px; left: 0; }
.chip-two { right: -10px; top: 180px; }
.chip-three { bottom: 80px; left: 20px; }
.floating-layer { animation: floaty 6s ease-in-out infinite; }
.layer-two { animation-delay: -1.3s; }
.layer-three { animation-delay: -2.4s; }
.layer-four { animation-delay: -3.2s; }

.section { padding: clamp(76px, 12vw, 150px) 0; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading h2, .split-section h2, .about-panel h2, .contact-card h2 { margin: 0 0 16px; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.055em; }
.section-heading p, .split-section p, .about-panel p, .contact-card p { font-size: clamp(18px, 2vw, 22px); }

.jl-gradient-card {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  background: #fff;
  border-radius: 44px;
  box-shadow: 0 22px 56px rgba(15,23,42,.08);
  isolation: isolate;
}
.jl-gradient-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(113, 131, 85, .72), rgba(181, 201, 154, .58), rgba(151, 169, 124, .58));
  opacity: .72;
}
.spotlight-card { overflow: hidden; }
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(181, 201, 154, .18), transparent 32%);
}
.case-copy { position: relative; z-index: 1; }
.case-hero h3 { font-size: clamp(34px, 4vw, 58px); line-height: 1.03; letter-spacing: -.055em; margin: 26px 0 0; }
.case-copy p { font-size: 18px; margin: 18px 0 0; }
.jl-pill { display: inline-flex; margin: 0 8px 10px 0; padding: 9px 14px; border-radius: 999px; background: rgba(231, 228, 218, .72); border: 1px solid var(--jl-border); color: var(--jl-text-muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 900; color: var(--jl-indigo); }
.text-link span, .card-link span { transition: transform 240ms var(--jl-ease); }
.text-link:hover span, .card-link:hover span { transform: translateX(4px); }
.product-frame { border-radius: 32px; padding: 20px; background: rgba(255,255,255,.72); box-shadow: 0 30px 80px rgba(15,23,42,.18); position: relative; z-index: 1; }
.product-screen { display: grid; grid-template-columns: 90px 1fr; min-height: 330px; border-radius: 24px; background: #111827; overflow: hidden; }
.screen-sidebar { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: linear-gradient(180deg, rgba(113, 131, 85, .80), rgba(181, 201, 154, .44)); }
.screen-sidebar span { width: 34px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.34); }
.screen-content { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.line { height: 12px; border-radius: 999px; background: rgba(255,255,255,.16); width: 74%; }
.line.big { height: 24px; width: 88%; background: rgba(255,255,255,.24); }
.line.short { width: 48%; }
.ai-card { margin-top: 16px; align-self: flex-start; padding: 14px 18px; border-radius: 999px; color: white; background: linear-gradient(90deg, var(--jl-indigo), var(--jl-cyan)); font-weight: 800; box-shadow: 0 0 30px rgba(181, 201, 154, .32); }
.summary-card { flex: 1; min-height: 90px; margin-top: 4px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.08); padding: 20px; display: grid; gap: 10px; align-content: start; }
.summary-card span { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
.summary-card span:nth-child(2) { width: 70%; }
.summary-card span:nth-child(3) { width: 52%; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.project-card, .jl-glass-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: var(--jl-shadow-soft);
  transition: transform 360ms var(--jl-ease), box-shadow 360ms var(--jl-ease), border-color 360ms var(--jl-ease);
}
.project-card::before, .jl-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(181, 201, 154, .22), transparent 34%);
  opacity: 0;
  transition: opacity 300ms var(--jl-ease);
}
.project-card:hover::before, .jl-glass-card:hover::before { opacity: 1; }
.project-card:hover, .jl-glass-card:hover { transform: translateY(-8px); border-color: rgba(113, 131, 85, .30); box-shadow: var(--jl-shadow-hover); }
.project-card { min-height: 390px; padding: 26px; border-radius: 32px; display: flex; flex-direction: column; }
.project-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 52px; position: relative; z-index: 1; }
.project-index { font-size: 13px; font-weight: 900; color: var(--jl-indigo); }
.project-type { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--jl-text-soft); }
.project-card h3 { position: relative; z-index: 1; margin: 0 0 12px; font-size: 30px; letter-spacing: -.05em; }
.project-card p { position: relative; z-index: 1; margin: 0; }
.project-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.project-tags span { padding: 7px 10px; border-radius: 999px; background: rgba(231, 228, 218, .80); border: 1px solid var(--jl-border); color: var(--jl-text-soft); font-size: 11px; font-weight: 850; }
.card-link { position: relative; z-index: 1; margin-top: auto; }

.thinking-band { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(231, 228, 218, .48), rgba(255,255,255,.1)); }
.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.sticky-copy { position: sticky; top: 112px; }
.thinking-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.jl-glass-card { min-height: 230px; padding: 28px; border-radius: 30px; }
.icon-dot { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px; color: white; font-weight: 900; background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan)); box-shadow: 0 0 32px rgba(181, 201, 154, .30); position: relative; z-index: 1; }
.jl-glass-card h3, .jl-glass-card p { position: relative; z-index: 1; }
.jl-glass-card h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.jl-glass-card p { margin: 0; }

.process-section { position: relative; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline-line { position: absolute; left: 0; right: 0; top: 31px; height: 3px; background: rgba(15,23,42,.08); border-radius: 999px; overflow: hidden; }
.timeline-line span { display: block; width: var(--timeline-progress, 12%); height: 100%; background: linear-gradient(90deg, var(--jl-indigo), var(--jl-cyan)); box-shadow: 0 0 24px rgba(181, 201, 154, .44); transition: width 600ms var(--jl-ease); }
.timeline-step { position: relative; padding: 76px 24px 24px; min-height: 280px; border-radius: 28px; background: rgba(255,255,255,.82); border: 1px solid var(--jl-border); box-shadow: var(--jl-shadow-soft); }
.step-number { position: absolute; top: 13px; left: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--jl-text); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 8px rgba(247, 245, 239, .96), 0 0 30px rgba(181, 201, 154, .34); }
.timeline-step h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.timeline-step p { margin: 0; }

.about-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; padding: clamp(44px, 7vw, 84px); border-radius: 44px; background: linear-gradient(180deg, #fff, var(--olive-soft)); border: 1px solid var(--jl-border); box-shadow: var(--jl-shadow-soft); }
.about-copy p:first-child { margin-top: 0; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.about-stats span { padding: 16px; border-radius: 20px; background: rgba(255,255,255,.76); border: 1px solid var(--jl-border); color: var(--jl-text-muted); }
.about-stats strong { display: block; color: var(--jl-indigo); font-size: 18px; }

.contact-card { text-align: center; padding: clamp(48px, 8vw, 96px); border-radius: 48px; background: radial-gradient(circle at 50% 0%, rgba(119, 128, 101, .22), transparent 35%), var(--charcoal); color: white; box-shadow: 0 36px 90px rgba(15,23,42,.24); }
.contact-card .jl-eyebrow, .contact-card p { color: rgba(255,255,255,.72); }
.contact-card .jl-eyebrow { justify-content: center; }
.contact-card h2 { max-width: 900px; margin-inline: auto; }
.contact-card p { max-width: 640px; margin-inline: auto; }
.contact-actions { justify-content: center; }
.contact-card .button-primary { background: white; color: var(--jl-text); }
.contact-card .button-ghost { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.18); }
.footer { display: flex; justify-content: space-between; gap: 18px; padding: 36px 0 56px; color: var(--jl-text-soft); border-top: 1px solid var(--jl-border); }

.jl-reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--jl-ease), transform 700ms var(--jl-ease); }
.jl-reveal.is-visible { opacity: 1; transform: translateY(0); }
.jl-delay-1 { transition-delay: 80ms; }
.jl-delay-2 { transition-delay: 160ms; }
.jl-delay-3 { transition-delay: 240ms; }

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 34px); }
  50% { transform: translate3d(0, -14px, 54px); }
}
@keyframes spin-slow {
  from { transform: rotateX(62deg) rotateZ(0deg); }
  to { transform: rotateX(62deg) rotateZ(360deg); }
}

@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-line { display: none; }
}
@media (max-width: 900px) {
  .hero, .jl-gradient-card, .split-section, .about-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-visual { min-height: 430px; }
  .sticky-copy { position: static; }
}
@media (max-width: 720px) {
  .mobile-menu-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: calc(100% + 8px); right: 18px; width: min(280px, calc(100vw - 36px)); display: none; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; background: rgba(255,255,255,.92); border: 1px solid var(--jl-border); border-radius: 24px; box-shadow: var(--jl-shadow-soft); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a::after { display: none; }
  .project-grid, .thinking-grid, .timeline, .about-stats { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .cursor-orb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .jl-reveal { opacity: 1; transform: none; }
  .cursor-orb { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   CASE STUDY — SHARED COMPONENTS
   Used by nutshell.html and future case study pages.
   All tokens/animations come from the root design system above.
   ═══════════════════════════════════════════════════════════════ */

/* Back navigation */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(20px, 4vw, 32px) 0 0;
  color: var(--jl-text-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: color 240ms var(--jl-ease), gap 240ms var(--jl-ease);
}
.cs-back:hover { color: var(--jl-indigo); gap: 14px; }

/* Case study hero */
.cs-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(40px, 7vw, 88px) 0 clamp(60px, 9vw, 110px);
}
.cs-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: .9;
  letter-spacing: -.075em;
}
.cs-hero-subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--jl-text-muted);
  margin: 0 0 18px;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.cs-hero-overview {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--jl-text-soft);
  margin: 0 0 24px;
  line-height: 1.75;
}
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--jl-border);
}
.cs-meta-item { display: grid; gap: 5px; }
.cs-meta-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
}
.cs-meta-value { font-size: 14px; font-weight: 700; color: var(--jl-text-muted); }

/* Nutshell hero app mockup */
.nutshell-mockup-wrap {
  position: relative;
  border-radius: 32px;
  padding: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
}
.nutshell-app {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  min-height: 360px;
  border-radius: 22px;
  background: #0d1117;
  overflow: hidden;
}
.nutshell-sidebar {
  background: linear-gradient(180deg, rgba(113,131,85,.85), rgba(87,152,85,.35));
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 10px;
  align-items: center;
}
.nutshell-sidebar span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
}
.nutshell-sidebar span:first-child { background: rgba(255,255,255,.70); }
.nutshell-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,.05);
}
.nutshell-ai-panel { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.nutshell-panel-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.30);
  margin-bottom: 6px;
}
.nutshell-line { height: 9px; border-radius: 999px; background: rgba(255,255,255,.10); }
.nutshell-line.bright { background: rgba(255,255,255,.20); }
.nutshell-line.short { width: 60%; }
.nutshell-line.speaker {
  width: 38%;
  height: 7px;
  background: linear-gradient(90deg, rgba(113,131,85,.80), rgba(181,201,154,.50));
}
.nutshell-transcript-block { display: grid; gap: 6px; }
.nutshell-ai-bubble {
  align-self: flex-start;
  padding: 9px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan));
  color: white;
  font-size: 11px;
  font-weight: 800;
}
.nutshell-ai-response {
  background: rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 7px;
}
.nutshell-status {
  position: absolute;
  bottom: 26px;
  right: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--jl-border);
  font-size: 12px;
  font-weight: 800;
  color: var(--jl-indigo);
  box-shadow: var(--jl-shadow-soft);
  display: flex;
  align-items: center;
  gap: 7px;
}
.nutshell-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--jl-indigo);
  animation: cs-pulse 2s ease-in-out infinite;
}
@keyframes cs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.75); }
}

/* At a glance grid — 4 columns, collapsing */
.cs-glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }

/* Section intro block */
.cs-intro { max-width: 820px; }
.cs-intro h2 { margin: 0 0 20px; }

/* Problem grid — 3-col, compact cards */
.cs-problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cs-problem-grid .project-card { min-height: 0; }

/* Design challenge callout */
.cs-challenge {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 56px);
}
.cs-challenge-q {
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.25;
  color: var(--jl-text);
  margin: 20px 0 28px;
  font-style: italic;
}
.cs-challenge-cards { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Chips */
.cs-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(231, 228, 218, .72);
  border: 1px solid var(--jl-border);
  color: var(--jl-text-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
}
.cs-chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.cs-prompt-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(113,131,85,.09);
  border: 1px solid rgba(113,131,85,.22);
  color: var(--jl-indigo);
  font-size: 12px;
  font-weight: 850;
  font-family: "Courier New", monospace;
  letter-spacing: .01em;
}

/* Strategy comparison table */
.cs-strategy-grid {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--jl-border);
  background: rgba(255,255,255,.82);
}
.cs-strategy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--jl-border);
}
.cs-strategy-row:last-child { border-bottom: none; }
.cs-strategy-row > div { padding: 16px 24px; font-size: 15px; }
.cs-strategy-row > div:first-child {
  color: var(--jl-text-soft);
  border-right: 1px solid var(--jl-border);
  font-weight: 600;
}
.cs-strategy-row > div:last-child { color: var(--jl-text-muted); font-weight: 700; }
.cs-strategy-header { background: linear-gradient(90deg, rgba(113,131,85,.10), rgba(181,201,154,.06)); }
.cs-strategy-header > div {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
}

/* Feature sections — alternating image/copy layout */
.cs-features { padding-top: 12px; }
.cs-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--jl-border);
}
.cs-feature:last-child { border-bottom: none; }
.cs-feature.reverse { direction: rtl; }
.cs-feature.reverse > * { direction: ltr; }
.cs-feature-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -.05em;
  line-height: 1.05;
}
.cs-feature-copy p { font-size: clamp(15px, 1.5vw, 17px); }
.cs-feature-visual {
  border-radius: 24px;
  padding: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 20px 60px rgba(15,23,42,.14);
}
.cs-feature-screen {
  border-radius: 16px;
  background: #111827;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
}
.cs-screen-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.30);
  margin-bottom: 4px;
}
.cs-transcript-item { display: grid; gap: 6px; }
.cs-speaker-tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(181,201,154,.72);
}
.cs-transcript-line { height: 9px; border-radius: 999px; background: rgba(255,255,255,.14); }
.cs-transcript-line.short { width: 62%; }

/* Decision cards */
.cs-decisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cs-decision-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--jl-border);
  box-shadow: var(--jl-shadow-soft);
  transition: transform 360ms var(--jl-ease), box-shadow 360ms var(--jl-ease), border-color 360ms var(--jl-ease);
}
.cs-decision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(181,201,154,.22), transparent 36%);
  opacity: 0;
  transition: opacity 300ms var(--jl-ease);
}
.cs-decision-card:hover::before { opacity: 1; }
.cs-decision-card:hover { transform: translateY(-6px); border-color: rgba(113,131,85,.28); box-shadow: var(--jl-shadow-hover); }
.cs-decision-title { font-size: 17px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; position: relative; z-index: 1; }
.cs-decision-what { font-size: 15px; font-weight: 600; color: var(--jl-text-muted); margin: 0 0 14px; position: relative; z-index: 1; }
.cs-decision-why {
  font-size: 13px;
  color: var(--jl-text-soft);
  margin: 0;
  position: relative;
  z-index: 1;
  padding-top: 14px;
  border-top: 1px solid var(--jl-border);
}
.cs-decision-why-label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jl-indigo);
  margin-bottom: 5px;
}

/* Consent by design block */
.cs-consent-block {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(231, 228, 218, .78), rgba(255,255,255,.90));
  border: 1px solid rgba(113,131,85,.18);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.cs-consent-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan));
  display: grid;
  place-items: center;
  color: white;
}
.cs-consent-copy h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.03em; }
.cs-consent-copy p { margin: 0; font-size: 15px; }

/* Outcome grid */
.cs-outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }

/* Looking forward grid */
.cs-forward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cs-forward-item {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--jl-border);
  box-shadow: var(--jl-shadow-soft);
}
.cs-forward-item h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.cs-forward-item p { margin: 0; font-size: 14px; }

/* Reflection pullquote */
.cs-reflection {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 60px) clamp(28px, 5vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(113,131,85,.07), rgba(181,201,154,.11));
  border: 1px solid rgba(113,131,85,.16);
}
.cs-reflection::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 26px;
  font-size: 88px;
  line-height: 1;
  color: rgba(113,131,85,.18);
  font-weight: 900;
  pointer-events: none;
}
.cs-reflection p {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--jl-text-muted);
  line-height: 1.65;
  letter-spacing: -.025em;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Responsive — case study */
@media (max-width: 1100px) {
  .cs-glance-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-decisions-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-forward-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cs-hero { grid-template-columns: 1fr; }
  .cs-feature { grid-template-columns: 1fr; }
  .cs-feature.reverse { direction: ltr; }
  .cs-outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-consent-block { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cs-glance-grid,
  .cs-problem-grid,
  .cs-decisions-grid,
  .cs-forward-grid,
  .cs-outcome-grid { grid-template-columns: 1fr; }
  .cs-strategy-row { grid-template-columns: 1fr; }
  .cs-strategy-row > div:first-child { border-right: none; border-bottom: 1px solid var(--jl-border); }
  .nutshell-app { grid-template-columns: 40px 1fr; }
  .nutshell-ai-panel { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   AI COMPASS — PAGE-SPECIFIC COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* Hero mockup: guided decision interface */
.aicx-mockup-wrap {
  position: relative;
  border-radius: 32px;
  padding: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
}
.aicx-app {
  border-radius: 22px;
  background: #0d1117;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
  padding: 22px;
}
.aicx-steps-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 11px 14px;
}
.aicx-step { display: flex; align-items: center; gap: 7px; flex: 1; }
.aicx-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  color: rgba(255,255,255,.28);
  flex-shrink: 0;
}
.aicx-step.active .aicx-step-dot {
  background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan));
  border-color: transparent;
  color: white;
}
.aicx-step-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
}
.aicx-step.active .aicx-step-label { color: rgba(181,201,154,.88); }
.aicx-step-connector { flex: 1; height: 1px; background: rgba(255,255,255,.07); margin: 0 2px; }
.aicx-goal-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px 18px;
}
.aicx-goal-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(181,201,154,.68);
  margin-bottom: 10px;
}
.aicx-goal-line {
  height: 26px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  margin-bottom: 8px;
}
.aicx-goal-line:last-child { margin-bottom: 0; width: 55%; }
.aicx-goal-line.active {
  background: rgba(113,131,85,.18);
  border-color: rgba(113,131,85,.32);
}
.aicx-pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
}
.aicx-pathway-card {
  border-radius: 13px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aicx-pathway-card.highlighted {
  background: rgba(113,131,85,.14);
  border-color: rgba(113,131,85,.30);
}
.aicx-pathway-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.18); }
.aicx-pathway-card.highlighted .aicx-pathway-dot { background: rgba(181,201,154,.80); }
.aicx-pathway-line { height: 7px; border-radius: 999px; background: rgba(255,255,255,.09); }
.aicx-pathway-line.short { width: 62%; }
.aicx-pathway-card.highlighted .aicx-pathway-line { background: rgba(255,255,255,.17); }
.aicx-badge {
  position: absolute;
  bottom: 26px;
  right: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--jl-border);
  font-size: 12px;
  font-weight: 800;
  color: var(--jl-indigo);
  box-shadow: var(--jl-shadow-soft);
  display: flex;
  align-items: center;
  gap: 7px;
}
.aicx-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--jl-indigo);
  animation: cs-pulse 2s ease-in-out infinite;
}

/* 7-step process loop */
.cs-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cs-process-step {
  padding: 22px 20px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--jl-border);
  box-shadow: var(--jl-shadow-soft);
  transition: transform 280ms var(--jl-ease), box-shadow 280ms var(--jl-ease), border-color 280ms var(--jl-ease);
}
.cs-process-step:hover { transform: translateY(-5px); box-shadow: var(--jl-shadow-hover); border-color: rgba(113,131,85,.24); }
.cs-process-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--jl-text);
  color: white;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 16px;
}
.cs-process-step h3 { margin: 0 0 7px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.cs-process-step p { margin: 0; font-size: 13px; }

/* Experience flow list */
.cs-flow-list { display: grid; gap: 10px; }
.cs-flow-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--jl-border);
  transition: transform 240ms var(--jl-ease), border-color 240ms var(--jl-ease);
}
.cs-flow-item:hover { transform: translateX(5px); border-color: rgba(113,131,85,.26); }
.cs-flow-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan));
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.cs-flow-copy h4 { margin: 0 0 3px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: var(--jl-text); }
.cs-flow-copy p { margin: 0; font-size: 13px; }

/* Target user state cards */
.cs-user-state-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.cs-user-state {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--jl-border);
  box-shadow: var(--jl-shadow-soft);
  font-size: 15px;
  font-weight: 700;
  color: var(--jl-text-muted);
  letter-spacing: -.015em;
  line-height: 1.55;
  font-style: italic;
  transition: transform 280ms var(--jl-ease), border-color 280ms var(--jl-ease);
}
.cs-user-state:hover { transform: translateY(-3px); border-color: rgba(113,131,85,.22); }
.cs-user-state::after {
  content: "\201C";
  position: absolute;
  bottom: -8px;
  right: 14px;
  font-size: 64px;
  font-weight: 900;
  font-style: normal;
  color: rgba(113,131,85,.09);
  line-height: 1;
  pointer-events: none;
}

/* 3-col beliefs / principles grid */
.cs-beliefs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }

/* Responsive — AI Compass additions */
@media (max-width: 1100px) {
  .cs-process-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-beliefs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cs-user-state-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cs-process-grid { grid-template-columns: 1fr; }
  .cs-beliefs-grid { grid-template-columns: 1fr; }
  .aicx-step-label { display: none; }
  .aicx-pathways { grid-template-columns: 1fr; }
  .aicx-pathway-card:not(.highlighted) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   CASE STUDY LAYOUT — EDITORIAL SYSTEM  (csl- prefix)
   Applied to nutshell.html and ai-compass.html.
   Homepage (index.html) is never touched by these rules.
   ═══════════════════════════════════════════════════════════════ */

/* Reading progress bar */
.csl-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--jl-indigo), var(--jl-cyan));
  z-index: 100;
  pointer-events: none;
  transition: width 80ms linear;
}

/* Fixed chapter nav — visible only on very wide screens */
.csl-nav {
  position: fixed;
  left: max(20px, calc((100vw - 1180px) / 2 - 160px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}
.csl-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.csl-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--jl-text-soft);
  opacity: .45;
  transition: color 220ms var(--jl-ease), opacity 220ms var(--jl-ease);
  white-space: nowrap;
}
.csl-nav-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
  transition: transform 220ms var(--jl-ease);
}
.csl-nav-link:hover { color: var(--jl-indigo); opacity: .8; }
.csl-nav-link.is-active { color: var(--jl-indigo); opacity: 1; }
.csl-nav-link.is-active::before { transform: scale(1.7); }
@media (max-width: 1440px) { .csl-nav { display: none; } }

/* ── EDITORIAL HERO ─────────────────────────────────────────── */

.csl-hero { padding: clamp(36px, 5vw, 72px) 0 0; }
.csl-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--jl-border);
}
.csl-hero-kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.csl-kicker-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(231, 228, 218, .78);
  border: 1px solid rgba(113,131,85,.20);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--jl-indigo);
}
.csl-hero-title {
  margin: 0 0 14px;
  font-size: clamp(52px, 8vw, 100px);
  line-height: .9;
  letter-spacing: -.075em;
}
.csl-hero-position {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--jl-text-muted);
  line-height: 1.5;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  max-width: 520px;
}
.csl-hero-why {
  background: rgba(231, 228, 218, .50);
  border-left: 3px solid var(--jl-indigo);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 0 0 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jl-text-muted);
  line-height: 1.65;
}
.csl-hero-why strong { color: var(--jl-indigo); }
.csl-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 20px;
  border-top: 1px solid var(--jl-border);
}
.csl-hero-meta-item {
  padding: 0 20px 0 0;
  margin-right: 20px;
  border-right: 1px solid var(--jl-border);
}
.csl-hero-meta-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.csl-meta-label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
  margin-bottom: 4px;
}
.csl-meta-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--jl-text-muted);
}
.csl-hero-visual {
  position: sticky;
  top: 96px;
  align-self: start;
}
@media (max-width: 900px) { .csl-hero-visual { position: static; } }

/* ── SNAPSHOT PANEL ─────────────────────────────────────────── */

.csl-snapshot { padding: clamp(32px, 5vw, 52px) 0; border-bottom: 1px solid var(--jl-border); }
.csl-snapshot-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
}
.csl-snapshot-label-row::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jl-indigo), var(--jl-cyan));
}
.csl-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--jl-border);
  border-radius: 20px;
  overflow: hidden;
  gap: 1px;
  background: var(--jl-border);
}
.csl-snapshot-item { padding: 20px 22px; background: rgba(255,255,255,.88); }
.csl-snapshot-key {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-indigo);
  margin-bottom: 7px;
}
.csl-snapshot-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--jl-text-muted);
  line-height: 1.55;
}

/* ── CONTENT SECTIONS ───────────────────────────────────────── */

.csl-content-wrap {
  padding: clamp(60px, 9vw, 104px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 9vw, 104px);
}
.csl-section { scroll-margin-top: 88px; }
.csl-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.csl-section-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--jl-text);
  color: white;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: 0;
}
.csl-section-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
}
.csl-section-title {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.05em;
  max-width: 720px;
}
.csl-prose {
  max-width: 680px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--jl-text-muted);
}
.csl-prose p { margin: 0 0 18px; }
.csl-prose p:last-child { margin-bottom: 0; }

/* Insight callout */
.csl-insight {
  border-left: 3px solid var(--jl-indigo);
  background: rgba(231, 228, 218, .50);
  border-radius: 0 14px 14px 0;
  padding: 15px 20px;
  margin: 28px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--jl-text-muted);
  line-height: 1.65;
  max-width: 640px;
}
.csl-insight strong { color: var(--jl-text); }

/* Pull quote */
.csl-pull-quote {
  max-width: 640px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--jl-indigo);
  line-height: 1.38;
  letter-spacing: -.03em;
  font-style: italic;
  padding: 26px 0;
  border-top: 2px solid rgba(113,131,85,.18);
  border-bottom: 2px solid rgba(113,131,85,.18);
  margin: 36px 0;
}

/* Two-column split within a section */
.csl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin-top: 28px;
}

/* Chip tags within editorial sections */
.csl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.csl-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(231, 228, 218, .72);
  border: 1px solid rgba(113,131,85,.18);
  font-size: 12px;
  font-weight: 750;
  color: var(--jl-text-muted);
  letter-spacing: .02em;
}

/* ── DECISION CARDS — 4-field format ────────────────────────── */

.csl-decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.csl-decision-card {
  border: 1px solid var(--jl-border);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  overflow: hidden;
  transition: transform 280ms var(--jl-ease), box-shadow 280ms var(--jl-ease);
}
.csl-decision-card:hover { transform: translateY(-4px); box-shadow: var(--jl-shadow-hover); }
.csl-decision-head {
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(113,131,85,.08), rgba(181,201,154,.04));
  border-bottom: 1px solid var(--jl-border);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--jl-text);
}
.csl-decision-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--jl-border);
  align-items: baseline;
}
.csl-decision-row:last-child { border-bottom: none; }
.csl-decision-key {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
  padding-top: 2px;
}
.csl-decision-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--jl-text-muted);
  line-height: 1.58;
}

/* ── PROCESS STEPS — vertical connected list ────────────────── */

.csl-steps { display: grid; gap: 0; margin-top: 28px; max-width: 680px; }
.csl-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.csl-step-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.csl-step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jl-indigo), var(--jl-cyan));
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.csl-step-line {
  width: 1px;
  flex: 1;
  min-height: 20px;
  background: var(--jl-border);
  margin: 4px 0;
}
.csl-step:last-child .csl-step-line { display: none; }
.csl-step-body { padding: 4px 0 24px; }
.csl-step-body h4 { margin: 0 0 5px; font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.csl-step-body p { margin: 0; font-size: 14px; line-height: 1.65; }

/* ── OUTCOME ITEMS ──────────────────────────────────────────── */

.csl-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.csl-outcome-item {
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--jl-border);
  border-top: 3px solid rgba(113,131,85,.28);
}
.csl-outcome-item h4 { margin: 0 0 7px; font-size: 15px; font-weight: 800; letter-spacing: -.025em; }
.csl-outcome-item p { margin: 0; font-size: 13px; line-height: 1.62; }

/* ── REFLECTION BLOCK ───────────────────────────────────────── */

.csl-reflection-wrap {
  max-width: 720px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(113,131,85,.06), rgba(181,201,154,.10));
  border: 1px solid rgba(113,131,85,.14);
  margin-top: 28px;
}
.csl-reflection-wrap p {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--jl-text-muted);
  line-height: 1.7;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.csl-reflection-wrap p:last-child { margin-bottom: 0; }
.csl-learned { display: grid; gap: 8px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(113,131,85,.12); }
.csl-learned-item {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: var(--jl-text-muted);
  line-height: 1.6;
}
.csl-learned-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--jl-indigo);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── NEXT PROJECT CTA ───────────────────────────────────────── */

.csl-next { padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--jl-border); }
.csl-next-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.csl-next-project {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  padding: 18px;
  border-radius: 16px;
  transition: background 240ms var(--jl-ease);
}
.csl-next-project:hover { background: rgba(231, 228, 218, .58); }
.csl-next-project:first-child { align-items: flex-start; }
.csl-next-project:last-child { align-items: flex-end; }
.csl-next-dir {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
}
.csl-next-name {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--jl-text);
  transition: color 200ms var(--jl-ease);
}
.csl-next-project:hover .csl-next-name { color: var(--jl-indigo); }
.csl-next-desc { font-size: 13px; color: var(--jl-text-soft); }
.csl-next-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.csl-next-or {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--jl-text-soft);
}
.csl-next-line { width: 1px; height: 36px; background: var(--jl-border); }
.csl-next-contact {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--jl-text);
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 240ms var(--jl-ease), box-shadow 240ms var(--jl-ease);
}
.csl-next-contact:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15,23,42,.18); }

/* ── EDITORIAL RESPONSIVE ───────────────────────────────────── */

@media (max-width: 1100px) {
  .csl-decision-grid { grid-template-columns: 1fr; }
  .csl-outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .csl-hero-inner { grid-template-columns: 1fr; }
  .csl-split { grid-template-columns: 1fr; }
  .csl-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .csl-snapshot-grid { grid-template-columns: 1fr; }
  .csl-outcomes { grid-template-columns: 1fr; }
  .csl-next-inner { grid-template-columns: 1fr; text-align: center; }
  .csl-next-project { align-items: center !important; }
  .csl-next-center { display: none; }
}
