:root {
  --ink: #0B1B3A; --blue: #0E2F6E; --blue-soft: #1E4FB0;
  --yellow: #F7C600; --yellow-deep: #D9A900; --yellow-soft: #FFE47A;
  --kraft: #F4EFE6; --paper: #FAF7F1;
  --slate: #4A5565; --slate-soft: #8A93A1; --rule: #E3DED3;
  --black: #0A0F1A; --white: #FFFFFF; --green: #1F7A4C;
  --max: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--kraft); color: var(--ink); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-size: 17px; line-height: 1.55; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.meta-bar { background: var(--ink); color: var(--kraft); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.04em; }
.meta-bar .wrap { padding: 9px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.meta-bar .left { display: flex; gap: 24px; align-items: center; }
.meta-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(31,122,76,.2); display: inline-block; margin-right: 8px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(31,122,76,.2); } 50% { box-shadow: 0 0 0 6px rgba(31,122,76,.05); } }
.meta-bar .muted { color: var(--slate-soft); }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { padding: 2px 8px; color: var(--slate-soft); text-decoration: none; border-radius: 3px; transition: all .15s; }
.lang-switch a.active { color: var(--ink); background: var(--yellow); }
.lang-switch a:hover:not(.active) { color: var(--kraft); }
header.site { border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(8px); background: rgba(250,247,241,.92); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.logo-lockup { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.logo-lockup .mark { display: flex; align-items: baseline; position: relative; }
.logo-lockup .mark .txt { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 30px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.logo-lockup .mark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); margin-left: 3px; transform: translateY(-2px); }
.logo-lockup .mark .bar { position: absolute; left: 0; right: -12px; bottom: -5px; height: 4px; background: var(--yellow); }
.logo-lockup .sep { width: 1px; height: 26px; background: var(--rule); }
.logo-lockup .full { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; }
.logo-lockup .tag { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 10.5px; color: var(--slate); margin-top: 2px; display: block; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px; color: var(--ink); padding: 8px 14px; text-decoration: none; border-radius: 4px; transition: background .15s; }
nav.main a:hover { background: var(--rule); }
.cta { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--yellow); color: var(--ink); border: none; padding: 12px 20px; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 0 0 var(--yellow-deep); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: transform .1s; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 3px 0 0 var(--yellow-deep); }
.cta:active { transform: translateY(1px); box-shadow: 0 0 0 0 var(--yellow-deep); }
.cta.dark { background: var(--ink); color: var(--kraft); box-shadow: 0 2px 0 0 #000; }
.cta.ghost { background: transparent; color: var(--ink); box-shadow: none; padding: 12px 8px; text-decoration: underline; text-underline-offset: 4px; }
section.hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.hero-stripes { position: absolute; right: -40px; top: 110px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.hero-stripes > div { height: 6px; background: var(--yellow); animation: stripe-in 1.2s cubic-bezier(.2,.7,.3,1) both; }
.hero-stripes > div:nth-child(1) { width: 340px; animation-delay: .2s; }
.hero-stripes > div:nth-child(2) { width: 280px; opacity: .55; animation-delay: .35s; }
.hero-stripes > div:nth-child(3) { width: 200px; opacity: .3; animation-delay: .5s; }
@keyframes stripe-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--ink); border-radius: 40px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--ink); letter-spacing: 0.03em; background: var(--paper); }
.pill .pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
h1.hero-title { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(48px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.035em; color: var(--ink); margin: 26px 0 24px; text-wrap: balance; max-width: 14ch; }
h1.hero-title .hl { position: relative; white-space: nowrap; }
h1.hero-title .hl::before { content: ''; position: absolute; left: -6px; right: -6px; bottom: 6px; height: 16px; background: var(--yellow); z-index: -1; transform: skewX(-8deg); animation: hl-grow 1s cubic-bezier(.2,.7,.3,1) .3s both; transform-origin: left; }
@keyframes hl-grow { from { transform: skewX(-8deg) scaleX(0); } to { transform: skewX(-8deg) scaleX(1); } }
p.lead { font-size: 19px; color: var(--slate); max-width: 580px; margin: 0 0 36px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.key-msgs { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px dashed var(--rule); padding-top: 32px; }
.key-msg { display: flex; align-items: flex-start; gap: 14px; }
.key-msg .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--slate-soft); letter-spacing: 0.08em; padding-top: 4px; }
.key-msg p { margin: 0; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
section.block { padding: 110px 0; border-top: 1px solid var(--rule); position: relative; }
section.block.dark { background: var(--ink); color: var(--kraft); border-top: none; }
section.block.dark .eyebrow { color: var(--yellow); }
section.block.dark h2 { color: var(--kraft); }
section.block.dark p { color: var(--slate-soft); }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--yellow); }
h2 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(36px, 4.5vw, 54px); line-height: 1; letter-spacing: -0.025em; color: var(--ink); margin: 18px 0 22px; text-wrap: balance; max-width: 18ch; }
.lede { font-size: 18px; color: var(--slate); max-width: 620px; line-height: 1.55; margin: 0; }
.symptoms { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.symptom { padding: 28px 28px 28px 24px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); background: var(--paper); display: flex; gap: 18px; align-items: flex-start; transition: background .2s; }
.symptom:hover { background: var(--yellow-soft); }
.symptom .check { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.symptom .check::after { content: '!'; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 13px; color: var(--ink); line-height: 1; }
.symptom:hover .check { background: #F2821A; }
.symptom h4 { margin: 0 0 4px; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.symptom p { margin: 0; color: var(--slate); font-size: 14.5px; line-height: 1.55; }
.problem-out { margin-top: 48px; padding: 28px 32px; background: var(--ink); color: var(--kraft); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.problem-out strong { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.problem-out .sub { font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--slate-soft); margin-top: 4px; }
.hats { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 56px; }
.hats-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hat { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.02em; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 40px; background: var(--paper); color: var(--slate); text-decoration: line-through; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; }
.hat.keep { text-decoration: none; color: var(--ink); border-color: var(--ink); background: var(--kraft); }
.hats-note { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--yellow); padding: 28px 32px; border-radius: 2px; }
.hats-note p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.hats-note p:last-child { margin-bottom: 0; }
.hats-note strong { font-weight: 700; }
.hats-label { margin-top: 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--slate); letter-spacing: 0.04em; }
.process { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before { content: ''; position: absolute; top: 34px; left: 34px; right: 34px; height: 4px; background: var(--yellow); opacity: .35; z-index: 0; }
.step { position: relative; z-index: 1; padding-right: 28px; }
.step .circle { width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: var(--kraft); font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 24px; display: flex; align-items: center; justify-content: center; letter-spacing: -0.02em; border: 6px solid var(--kraft); box-shadow: 0 0 0 1px var(--rule); }
.step.active .circle { background: var(--yellow); color: var(--ink); }
.step h4 { margin: 18px 0 8px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.step .sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-soft); margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--slate); line-height: 1.55; }
.cases { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--paper); border: 1px solid rgba(244,239,230,.1); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
section.block.dark .case { background: #0F2245; border: 1px solid rgba(244,239,230,.08); }
.case .tag-row { background: rgba(255,255,255,.04); padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); border-bottom: 1px dashed rgba(244,239,230,.12); }
.case .tag-row .code { color: var(--slate-soft); }
.case .body { padding: 24px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.case h4 { margin: 0; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--kraft); }
.case .row { display: flex; gap: 12px; align-items: flex-start; }
.case .row .lbl { flex: 0 0 58px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-soft); padding-top: 3px; }
.case .row p { margin: 0; font-size: 14.5px; color: var(--kraft); line-height: 1.55; }
.case .row.result p { color: var(--yellow); font-weight: 500; }
.bio { margin-top: 56px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.bio-portrait { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--ink) 0%, var(--blue) 100%); border-radius: 6px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; color: var(--kraft); }
.bio-portrait::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,27,58,.55) 0%, transparent 50%); z-index: 1; }
.bio-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.bio-portrait .stamp { position: relative; z-index: 2; border: 1px dashed rgba(244,239,230,.4); padding: 8px 14px; border-radius: 40px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.bio-text p { font-size: 17px; line-height: 1.65; color: var(--slate); margin: 0 0 18px; }
.bio-text p:first-child { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 21px; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em; }
.bio-text p strong { color: var(--ink); font-weight: 600; }
.bio-credits { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--rule); padding-top: 22px; }
.bio-credits .k { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 34px; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.bio-credits .l { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--slate); margin-top: 6px; letter-spacing: 0.06em; }
section.final-cta { background: var(--kraft); padding: 130px 0 100px; position: relative; overflow: hidden; border-top: 1px solid var(--rule); }
.final-cta::before { content: ''; position: absolute; top: 50%; left: -8%; right: -8%; height: 80px; background: var(--yellow); transform: translateY(-50%) rotate(-2deg); opacity: .18; }
.final-cta .wrap { position: relative; z-index: 1; text-align: center; }
.final-cta h2 { font-size: clamp(42px, 6vw, 72px); max-width: 20ch; margin: 18px auto 28px; line-height: 1; }
.final-cta .sub { font-size: 18px; color: var(--slate); max-width: 540px; margin: 0 auto 42px; }
.big-cta { display: inline-flex; align-items: center; gap: 14px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; background: var(--ink); color: var(--kraft); padding: 20px 30px; border-radius: 6px; text-decoration: none; border: none; cursor: pointer; box-shadow: 0 4px 0 0 #000; transition: transform .1s; }
.big-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 #000; }
.big-cta .li { width: 20px; height: 20px; background: var(--yellow); border-radius: 3px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 12px; }
.fallback-email { margin-top: 22px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--slate); }
.fallback-email a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
footer.site { background: var(--ink); color: var(--slate-soft); padding: 40px 0 32px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.04em; }
footer.site .brand { display: flex; align-items: center; gap: 10px; }
footer.site .brand .m { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 20px; color: var(--kraft); letter-spacing: -0.04em; }
footer.site .brand .y { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
footer.site a { color: var(--slate-soft); text-decoration: none; }
footer.site a:hover { color: var(--yellow); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.counter { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process::before { display: none; }
  .cases, .symptoms { grid-template-columns: 1fr; }
  .hats, .bio { grid-template-columns: 1fr; gap: 36px; }
  .key-msgs { grid-template-columns: 1fr; gap: 20px; }
  nav.main a:not(.cta) { display: none; }
  .meta-bar .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .logo-lockup .sep, .logo-lockup .text-block { display: none; }
  .hero-stripes { display: none; }
}

/* ── Articles ── */
.articles-grid { margin-top: 56px; }
.article-item { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: center; text-decoration: none; color: var(--ink); }
.article-item:first-child { border-top: 1px solid var(--rule); }
.article-item-main { transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.article-item:hover .article-item-main { transform: translateX(6px); }
.article-item-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.article-tag { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 3px 10px; border-radius: 40px; }
.article-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--slate-soft); }
.article-item h3 { margin: 0 0 8px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.article-item p { margin: 0; font-size: 15px; color: var(--slate); line-height: 1.55; max-width: 620px; }
.article-item-arrow { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 24px; color: var(--slate-soft); flex-shrink: 0; transition: color .15s, transform .15s; }
.article-item:hover .article-item-arrow { color: var(--ink); transform: translateX(4px); }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); text-decoration: none; transition: color .15s; }
.article-back::before { content: '←'; }
.article-back:hover { color: var(--ink); }
.article-page-meta { padding: 40px 0 0; }
.article-page-header { padding: 28px 0 52px; border-bottom: 1px solid var(--rule); }
.article-page-header h1 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(38px, 5.5vw, 68px); line-height: 0.96; letter-spacing: -0.035em; margin: 18px 0 24px; max-width: 16ch; text-wrap: balance; }
.article-page-header .article-lead { font-size: 20px; color: var(--slate); max-width: 580px; line-height: 1.55; margin: 0; }
.article-content { max-width: 700px; padding: 52px 0 80px; }
.article-content h2 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; margin: 52px 0 16px; max-width: none; color: var(--ink); }
.article-content h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin: 36px 0 12px; color: var(--ink); }
.article-content p { font-size: 17px; line-height: 1.72; color: var(--slate); margin: 0 0 22px; }
.article-content p strong { color: var(--ink); font-weight: 600; }
.article-content blockquote { margin: 32px 0; padding: 22px 28px; background: var(--paper); border-left: 4px solid var(--yellow); border-radius: 2px; }
.article-content blockquote p { margin: 0; color: var(--ink); font-style: italic; font-size: 18px; }
.article-content ul, .article-content ol { padding-left: 22px; margin: 0 0 22px; }
.article-content li { font-size: 17px; line-height: 1.65; color: var(--slate); margin-bottom: 8px; }
.article-content hr { border: none; border-top: 1px solid var(--rule); margin: 48px 0; }
.article-more { padding: 52px 0 80px; border-top: 1px solid var(--rule); }
.article-more .eyebrow { display: block; margin-bottom: 28px; }
@media (max-width: 900px) {
  .article-item { grid-template-columns: 1fr; gap: 16px; }
  .article-item-arrow { display: none; }
  .article-page-header h1 { font-size: clamp(32px, 8vw, 52px); }
}
