/* ═══════════════════════════════════════════════════════════
   LOKENDRA DEWANGAN · lokendradewangan.com
   Dark editorial luxury · Fraunces / Inter / JetBrains Mono
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0B0E11;
  --charcoal: #111418;
  --charcoal-2: #161B20;
  --white: #FFFFFF;
  --paper: #F7F9FA;
  --blue: #1E4FD8;
  --blue-bright: #2E63E7;
  --gold: #8FB3FF;
  --gold-soft: #C9D2DB;
  --hairline-dark: #232A31;
  --hairline-light: #E5ECF0;
  --text-dark: #0E1216;
  --text-dark-2: #4A555F;
  --text-light: #EDF1F4;
  --text-light-2: #9AA7B2;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }

::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 3000;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  border-radius: 4px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { text-align: center; width: min(420px, 80vw); }
.preloader-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 4vw, 34px); letter-spacing: .04em;
  color: var(--text-light); margin-bottom: 28px;
}
.preloader-name span { display: inline-block; opacity: 0; transform: translateY(18px); }
.preloader-bar {
  height: 1px; background: var(--hairline-dark);
  position: relative; overflow: hidden;
}
.preloader-bar span {
  position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: var(--gold); display: block;
}
.preloader-count {
  margin-top: 14px; font-size: 12px; color: var(--text-light-2);
  letter-spacing: .2em;
}

/* ═══════════ CURSOR ═══════════ */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 4000;
    width: 36px; height: 36px; border: 1px solid rgba(143,179,255,.55);
    border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease-out), height .25s var(--ease-out),
                background-color .25s, border-color .25s, opacity .3s;
  }
  .cursor.is-hover {
    width: 64px; height: 64px;
    background: rgba(143,179,255,.08);
    border-color: rgba(143,179,255,.9);
  }
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 4001;
    width: 4px; height: 4px; background: var(--gold);
    border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%);
  }
}

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
  height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  transform: translateY(-110%);
  transition: transform .6s var(--ease-out), background-color .4s, backdrop-filter .4s;
}
.nav.is-visible { transform: translateY(0); }
.nav.is-solid {
  background: rgba(18,12,8,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-dark);
}
.nav-brand {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  letter-spacing: .01em; color: var(--text-light); white-space: nowrap;
}
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-light-2);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text-light); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  padding: 10px 20px; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 3px; white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 1200;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--text-light);
  margin: 5px auto; transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(18,12,8,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 44px);
  color: var(--text-light); padding: 6px 20px;
  transition: color .25s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mm-cv { font-family: var(--mono); font-size: 14px; color: var(--gold); margin-top: 22px; letter-spacing: .12em; text-transform: uppercase; }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: clamp(96px, 12vw, 170px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--text-light); }
.section-dark:nth-of-type(even) { background: var(--charcoal); }
.section-light { background: var(--paper); color: var(--text-dark); }

.section-index {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 62px); line-height: 1.08;
  letter-spacing: -0.01em; max-width: 21ch;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-light .section-title em { color: var(--blue); }
.section-sub {
  margin-top: 26px; max-width: 54ch; font-size: 17px;
  color: var(--text-light-2);
}
.section-light .section-sub { color: var(--text-dark-2); }
.section-head { margin-bottom: clamp(56px, 7vw, 96px); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-block; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; padding: 16px 34px; border-radius: 3px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s var(--ease-out);
}
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid::before { background: var(--white); }
.btn-solid:hover::before { transform: scaleY(1); }
.btn-ghost { border: 1px solid var(--hairline-dark); color: var(--text-light); }
.btn-ghost::before { background: var(--gold); }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn-ghost:hover::before { transform: scaleY(1); }
.btn { z-index: 1; }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 720px at 78% 18%, rgba(31,78,121,.32), transparent 62%),
    radial-gradient(820px 560px at 12% 88%, rgba(143,179,255,.07), transparent 60%),
    var(--ink);
  padding-top: 110px;
}
.hero-grain {
  position: absolute; inset: -50%; z-index: 1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-8%); }
  30% { transform: translate(3%,-12%); } 50% { transform: translate(-8%,4%); }
  70% { transform: translate(6%,8%); } 90% { transform: translate(-3%,6%); }
}
.hero-wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(18,12,8,.85) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end; flex: 1;
}
.hero-copy { padding-bottom: clamp(32px, 5vw, 64px); }
.hero-kicker {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 30px;
}
.hero-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9.6vw, 128px); line-height: .98;
  letter-spacing: -0.015em; color: var(--white);
}
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-line > span { display: inline-block; }
.hero-rule {
  width: 120px; height: 1px; background: var(--gold);
  margin: 34px 0 26px; transform-origin: left;
}
.hero-role {
  font-size: 15px; font-weight: 500; letter-spacing: .04em;
  color: var(--gold-soft); margin-bottom: 18px;
}
.hero-pitch { max-width: 52ch; color: var(--text-light-2); font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-portrait { position: relative; z-index: 2; }
.hero-portrait-frame {
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75);
  border: 1px solid rgba(143,179,255,.22);
  aspect-ratio: 4 / 5;
}
.hero-portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero-portrait-caption {
  margin-top: 16px; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-light-2);
}

.hero-statband {
  position: relative; z-index: 2;
  border-top: 1px solid var(--hairline-dark);
  background: rgba(18,12,8,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(24px, 4vw, 56px);
}
.hs-item {
  padding: clamp(18px, 2.4vw, 30px) clamp(12px, 1.8vw, 28px);
  border-right: 1px solid var(--hairline-dark);
  display: flex; flex-direction: column; gap: 6px;
}
.hs-item:last-child { border-right: 0; }
.hs-num { font-size: clamp(18px, 2vw, 27px); font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.hs-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light-2); }

.hero-scrollcue {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 130px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-light-2); writing-mode: vertical-rl;
}
.hero-scrollcue i {
  width: 1px; height: 54px; background: var(--hairline-dark);
  position: relative; overflow: hidden;
}
.hero-scrollcue i::after {
  content: ""; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollcue 2.2s var(--ease-out) infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* ═══════════ PROOF ═══════════ */
.proof-block {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  margin-bottom: clamp(72px, 9vw, 128px);
}
.proof-block-flip .browser-frame { order: 2; }
.proof-block-flip .proof-stats { order: 1; }
.browser-frame {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--hairline-dark);
  background: var(--charcoal-2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--hairline-dark);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline-dark); }
.browser-bar span:first-child { background: #5c6670; }
.browser-bar p {
  margin-left: 12px; font-size: 11px; color: var(--text-light-2);
  letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.proof-platform {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.proof-stat {
  padding: 18px 0; border-bottom: 1px solid var(--hairline-dark);
  display: flex; flex-direction: column; gap: 4px;
}
.proof-stat:last-child { border-bottom: 0; }
.ps-num { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.ps-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light-2); }
.proof-stat-hero .ps-num { color: var(--gold); font-size: clamp(38px, 4.6vw, 58px); }
.proof-foot { border-top: 1px solid var(--hairline-dark); padding-top: 32px; }
.proof-foot p { max-width: 64ch; color: var(--text-light-2); font-size: 15px; }

/* ═══════════ ABOUT ═══════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(36px, 6vw, 90px); align-items: start;
}
.about-portrait { border-radius: 6px; overflow: hidden; position: sticky; top: 110px; }
.about-portrait img { width: 100%; transform: scale(1.08); }
.about-text p { margin-top: 22px; max-width: 58ch; font-size: 17px; color: var(--text-dark-2); }
.about-text p:first-child { font-size: 19px; color: var(--text-dark); }
.about-facts {
  margin-top: 44px; display: grid; gap: 26px;
  border-top: 1px solid var(--hairline-light); padding-top: 36px;
}
.af-label {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.af-block p:not(.af-label) { color: var(--text-dark); font-size: 15px; }

/* ═══════════ WORK INDEX ═══════════ */
.work-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card {
  position: relative; display: block;
  border: 1px solid var(--hairline-dark); border-radius: 8px;
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(150deg, var(--charcoal-2), var(--ink) 70%);
  transition: border-color .4s, transform .4s var(--ease-out), box-shadow .4s;
  overflow: hidden;
  will-change: transform;
}
.work-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at var(--mx, 50%) var(--my, 0%), rgba(143,179,255,.1), transparent 65%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.work-card:hover { border-color: rgba(143,179,255,.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.work-card:hover::after { opacity: 1; }
.work-card:nth-child(5) { grid-column: 1 / -1; }
.wc-num { font-size: 12px; color: var(--gold); letter-spacing: .3em; margin-bottom: 40px; }
.work-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); color: var(--white); margin-bottom: 12px;
}
.wc-result { color: var(--text-light-2); max-width: 44ch; font-size: 15.5px; }
.wc-tags { margin-top: 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light-2); opacity: .75; }
.wc-arrow {
  position: absolute; top: clamp(24px, 3vw, 38px); right: clamp(24px, 3vw, 38px);
  font-size: 22px; color: var(--gold);
  transform: translateX(-8px); opacity: 0;
  transition: transform .35s var(--ease-out), opacity .35s;
}
.work-card:hover .wc-arrow { transform: translateX(0); opacity: 1; }

/* ═══════════ CASE STUDIES ═══════════ */
.cs-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 84px); }
.cs-index {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.section-light .cs-index { color: var(--blue); }
.cs-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.01em;
}
.cs-tags { margin-top: 22px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.cs-body {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(36px, 6vw, 90px);
}
.cs-text > div { margin-bottom: clamp(30px, 4vw, 48px); }
.cs-h {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 14px; color: var(--gold);
}
.section-light .cs-h { color: var(--blue); }
.cs-text p { max-width: 58ch; font-size: 16.5px; }
.section-dark .cs-text p { color: var(--text-light-2); }
.section-light .cs-text p { color: var(--text-dark-2); }
.cs-pillars { list-style: none; counter-reset: pillar; }
.cs-pillars li {
  counter-increment: pillar; position: relative;
  padding: 14px 0 14px 52px; font-size: 16px;
  border-bottom: 1px solid var(--hairline-light); max-width: 60ch;
}
.section-dark .cs-pillars li { border-color: var(--hairline-dark); color: var(--text-light-2); }
.section-light .cs-pillars li { color: var(--text-dark-2); }
.cs-pillars li::before {
  content: "0" counter(pillar);
  position: absolute; left: 0; top: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--gold);
}
.section-light .cs-pillars li::before { color: var(--blue); }
.cs-pillars strong, .cs-list strong { font-weight: 600; }
.section-dark .cs-pillars strong, .section-dark .cs-list strong { color: var(--text-light); }
.section-light .cs-pillars strong, .section-light .cs-list strong { color: var(--text-dark); }
.cs-list { list-style: none; max-width: 60ch; }
.cs-list li {
  padding: 11px 0; font-size: 16px;
  border-bottom: 1px solid var(--hairline-light);
}
.section-dark .cs-list li { border-color: var(--hairline-dark); color: var(--text-light-2); }
.section-light .cs-list li { color: var(--text-dark-2); }
.cs-list strong { font-family: var(--mono); font-size: 15px; margin-right: 6px; }
.section-dark .cs-list strong { color: var(--gold); }
.section-light .cs-list strong { color: var(--blue); }

.cs-stats { display: flex; flex-direction: column; }
.cs-stat {
  padding: 20px 0; border-bottom: 1px solid var(--hairline-light);
  display: flex; flex-direction: column; gap: 5px;
}
.section-dark .cs-stat { border-color: var(--hairline-dark); }
.cs-stat > span { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.02em; }
.section-dark .cs-stat > span { color: var(--white); }
.section-light .cs-stat > span { color: var(--text-dark); }
.cs-stat em {
  font-style: normal; font-size: 13px; letter-spacing: .04em;
  color: var(--text-light-2);
}
.section-light .cs-stat em { color: var(--text-dark-2); }

.cs-charts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin-top: clamp(48px, 6vw, 80px);
}
.cs-charts-two { grid-template-columns: repeat(2, 1fr); }
.chart-card {
  border: 1px solid var(--hairline-light); border-radius: 8px;
  background: var(--white); padding: clamp(20px, 2.4vw, 32px);
}
.chart-card-dark { background: var(--charcoal-2); border-color: var(--hairline-dark); }
.chart-card-wide { grid-column: 1 / -1; }
.chart-card figcaption {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--text-dark-2);
}
.chart-card-dark figcaption { color: var(--text-light-2); }
.chart { width: 100%; height: auto; }

.chart-grid line { stroke: var(--hairline-light); stroke-width: 1; }
.chart-card-dark .chart-grid line { stroke: var(--hairline-dark); }
.chart-ylabels text, .chart-xlabels text {
  font-size: 11px; fill: var(--text-dark-2); font-family: var(--mono);
}
.chart-ylabels text { text-anchor: end; }
.chart-xlabels-sub text { font-family: var(--sans); font-size: 10.5px; opacity: .7; }
.chart-card-dark .chart-ylabels text, .chart-card-dark .chart-xlabels text { fill: var(--text-light-2); }
.chart-line {
  fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round;
}
.chart-card-dark .chart-line { stroke: var(--gold); }
.chart-area { fill: rgba(31,78,121,.09); opacity: 0; transition: opacity .8s .5s; }
.chart-card-dark .chart-area { fill: rgba(143,179,255,.08); }
.chart.is-inview .chart-area { opacity: 1; }
.chart-dots circle { fill: var(--blue); opacity: 0; transition: opacity .4s .8s; }
.chart-card-dark .chart-dots circle { fill: var(--gold); }
.chart.is-inview .chart-dots circle { opacity: 1; }
[data-draw] { stroke-dasharray: var(--len, 800); stroke-dashoffset: var(--len, 800); }
.chart.is-inview [data-draw] { animation: draw 1.6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.chart-bars rect { fill: var(--blue); rx: 3; transform: scaleY(0); transform-origin: center bottom; transform-box: fill-box; }
.chart-bars rect[data-bar-accent] { fill: var(--gold); }
.chart-bars rect[data-bar-muted] { fill: #C3CDD6; }
.chart.is-inview [data-bar] { animation: barup .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes barup { to { transform: scaleY(1); } }

.hbar-group text.hbar-label { font-size: 12.5px; fill: var(--text-dark-2); font-family: var(--sans); }
.hbar-group .hbar-val { font-size: 11px; fill: var(--text-dark-2); text-anchor: end; }
[data-hbar] { fill: var(--blue); rx: 2; transform: scaleX(0); transform-origin: left center; transform-box: fill-box; }
.chart.is-inview [data-hbar] { animation: barright .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes barright { to { transform: scaleX(1); } }

/* Cubemoons diagrams */
.stack-layers rect { fill: rgba(31,78,121,.32); stroke: var(--blue-bright); stroke-width: 1; }
.stack-layers text { fill: var(--text-light); font-size: 14px; font-family: var(--sans); font-weight: 500; }
.stack-layers g { opacity: 0; transform: translateY(14px); }
.chart.is-inview .stack-layers g { animation: layerup .7s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.stack-layers g:last-child rect { fill: rgba(143,179,255,.18); stroke: var(--gold); }
@keyframes layerup { to { opacity: 1; transform: translateY(0); } }
.agent-core { fill: rgba(143,179,255,.14); stroke: var(--gold); stroke-width: 1.4; }
.agent-core-label { fill: var(--gold); font-size: 12.5px; font-family: var(--mono); }
.agent-spokes line { stroke: var(--hairline-dark); stroke-width: 1; }
.agent-nodes circle { fill: var(--charcoal); stroke: var(--blue-bright); stroke-width: 1.2; }
.agent-nodes text { fill: var(--text-light-2); font-size: 10.5px; font-family: var(--sans); }
.agent-nodes g, .agent-spokes line { opacity: 0; }
.chart.is-inview .agent-spokes line { animation: fadein .6s forwards; animation-delay: var(--d, 0s); }
.chart.is-inview .agent-nodes g { animation: fadein .6s forwards; animation-delay: var(--d, 0s); }
@keyframes fadein { to { opacity: 1; } }

.cs-outcome {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 34px; border-top: 1px solid var(--hairline-light);
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45; max-width: 46ch;
}
.section-dark .cs-outcome { border-color: var(--hairline-dark); color: var(--text-light); }
.section-light .cs-outcome { color: var(--text-dark); }

/* ═══════════ CAPABILITIES ═══════════ */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cap-block {
  border: 1px solid var(--hairline-dark); border-radius: 8px;
  padding: clamp(26px, 3vw, 40px);
  background: linear-gradient(160deg, var(--charcoal-2), var(--ink) 75%);
  transition: border-color .4s;
  will-change: transform;
}
.cap-block:hover { border-color: rgba(46,111,181,.55); }
.cap-num {
  font-size: 12px; color: var(--blue-bright); letter-spacing: .3em; margin-bottom: 34px;
}
.cap-block h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.4vw, 30px);
  color: var(--white); margin-bottom: 18px;
}
.cap-block ul { list-style: none; }
.cap-block li {
  padding: 9px 0 9px 22px; position: relative;
  color: var(--text-light-2); font-size: 15px;
  border-bottom: 1px solid var(--hairline-dark);
}
.cap-block li:last-child { border-bottom: 0; }
.cap-block li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 8px; height: 1px; background: var(--gold);
}

/* ═══════════ BRANDS ═══════════ */
.brands { overflow: hidden; }
.marquee {
  overflow: hidden; padding: 8px 0;
  border-top: 1px solid var(--hairline-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee:last-of-type { border-bottom: 1px solid var(--hairline-dark); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(26px, 3.6vw, 46px);
  color: var(--text-light-2); white-space: nowrap;
  padding: 18px 0 18px clamp(36px, 5vw, 72px);
  position: relative; transition: color .35s;
}
.marquee-track span::after {
  content: "·"; color: var(--gold); position: absolute;
  right: calc(clamp(36px, 5vw, 72px) * -0.5 - 5px);
}
.marquee-track span:hover { color: var(--white); }
.markets-strip {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex; align-items: baseline; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
}
.markets-label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.markets-list { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.markets-list span {
  font-size: 15px; color: var(--text-light-2); letter-spacing: .06em;
  position: relative; padding-left: 16px;
}
.markets-list span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-bright); transform: translateY(-50%);
}

/* ═══════════ CONTACT ═══════════ */
.contact-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 6.4vw, 84px); line-height: 1.05;
  letter-spacing: -.015em; margin-bottom: clamp(48px, 6vw, 80px);
}
.contact-title em { font-style: italic; color: var(--blue); }
.contact-rows { border-top: 1px solid var(--hairline-light); }
.contact-row {
  display: grid; grid-template-columns: 120px 1fr auto;
  align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--hairline-light);
  transition: padding-left .35s var(--ease-out), background-color .35s;
}
a.contact-row:hover { padding-left: 18px; }
.cr-label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); }
.cr-value { font-family: var(--serif); font-size: clamp(19px, 2.6vw, 30px); color: var(--text-dark); }
.cr-arrow {
  font-size: 24px; color: var(--blue);
  transform: translateX(-6px); opacity: .4;
  transition: transform .35s var(--ease-out), opacity .35s;
}
a.contact-row:hover .cr-arrow { transform: translateX(0); opacity: 1; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--ink); border-top: 1px solid var(--hairline-dark);
  padding: 34px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer p { font-size: 13px; color: var(--text-light-2); }
.footer .mono { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ═══════════ REVEAL DEFAULTS (JS enhances) ═══════════ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-hero] { opacity: 0; }
.js [data-hero="line"] { transform: translateY(110%); opacity: 1; }
.js .hero-rule { transform: scaleX(0); }
.js .hero-statband .hs-item { opacity: 0; transform: translateY(20px); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-portrait { max-width: 420px; }
  .hero-statband { grid-template-columns: repeat(3, 1fr); }
  .hs-item:nth-child(3n) { border-right: 0; }
  .hs-item:nth-child(n+4) { border-top: 1px solid var(--hairline-dark); }
  .proof-block, .proof-block-flip { grid-template-columns: 1fr; }
  .proof-block-flip .browser-frame { order: 1; }
  .proof-block-flip .proof-stats { order: 2; }
  .cs-body { grid-template-columns: 1fr; }
  .cs-charts-two { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 380px; }
  .hero-scrollcue { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .work-index, .cap-grid { grid-template-columns: 1fr; }
  .hero-statband { grid-template-columns: repeat(2, 1fr); }
  .hs-item:nth-child(3n) { border-right: 1px solid var(--hairline-dark); }
  .hs-item:nth-child(2n) { border-right: 0; }
  .hs-item:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
  .cr-arrow { display: none; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal], .js [data-hero], .js [data-hero="line"],
  .js .hero-rule, .js .hero-statband .hs-item {
    opacity: 1 !important; transform: none !important;
  }
  [data-draw] { stroke-dashoffset: 0 !important; }
  .chart-bars rect, [data-hbar] { transform: none !important; }
  .stack-layers g, .agent-nodes g, .agent-spokes line { opacity: 1 !important; transform: none !important; }
  .chart-area, .chart-dots circle { opacity: 1 !important; }
  .preloader { display: none !important; }
  .cursor, .cursor-dot { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   V2 · OBSIDIAN / PLATINUM / COBALT INSTITUTIONAL LAYER
   ═══════════════════════════════════════════════════════════ */

:root {
  --container: 1360px;
  --accent: #2E63E7;
  --ice: #8FB3FF;
  --plat: #C9D2DB;
}

::selection { background: var(--accent); color: #fff; }

/* Buttons: platinum primary, cobalt interaction */
.btn-solid { background: #EDF1F6; color: var(--ink); }
.btn-solid::before { background: var(--accent); }
.btn-solid:hover { color: #fff; }
.btn-ghost::before { background: #EDF1F6; }
.btn-ghost:hover { color: var(--ink); border-color: #EDF1F6; }
.nav-cta { border-color: rgba(201,210,219,.5); color: var(--plat); }
.nav-cta:hover { background: #EDF1F6; border-color: #EDF1F6; color: var(--ink); }
.scroll-progress { background: linear-gradient(90deg, var(--accent), var(--ice)); }

/* Typography: lighter serif at scale, fuller measure */
.hero-name { font-weight: 300; font-size: clamp(60px, 10.5vw, 150px); letter-spacing: -0.022em; }
.section-title, .cs-title, .contact-title { font-weight: 300; }
.section-title { font-size: clamp(36px, 5.4vw, 72px); max-width: 24ch; }
.cs-title { font-size: clamp(32px, 4.6vw, 58px); }
.contact-title { font-size: clamp(42px, 7vw, 100px); }
.hs-num { font-size: clamp(20px, 2.2vw, 31px); }
.ps-num { font-size: clamp(28px, 3.2vw, 42px); }

/* Sections: clip ghost numerals, engineering grid on dark */
.section { overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(151,161,171,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,161,171,.045) 1px, transparent 1px);
  background-size: 88px 88px;
}
.section-light::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(14,18,22,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,18,22,.03) 1px, transparent 1px);
  background-size: 88px 88px;
}
.container, .cs-head, .cs-body, .cs-charts, .cs-visual { position: relative; }

/* Ghost numerals */
[data-num] { position: relative; }
[data-num]::before {
  content: attr(data-num);
  position: absolute; top: clamp(-90px, -8vw, -40px); right: -10px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(140px, 22vw, 320px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(151,161,171,.16);
  pointer-events: none; z-index: 0;
}
.section-light [data-num]::before, .section-light[data-num]::before,
.contact .container[data-num]::before {
  -webkit-text-stroke: 1px rgba(14,18,22,.1);
}

/* Hero: generated obsidian canvas + engineering grid */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%;
  opacity: .92;
}
.hero { background: var(--ink); }
.hero-gridlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(151,161,171,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,161,171,.05) 1px, transparent 1px);
  background-size: 110px 110px;
  -webkit-mask-image: radial-gradient(900px 600px at 30% 40%, transparent 30%, #000 90%);
  mask-image: radial-gradient(900px 600px at 30% 40%, transparent 30%, #000 90%);
}
.hero-wash {
  background:
    linear-gradient(90deg, rgba(18,12,8,.88) 0%, rgba(18,12,8,.55) 45%, rgba(18,12,8,.15) 100%),
    linear-gradient(180deg, transparent 55%, rgba(18,12,8,.92) 100%);
}
.hero-portrait-frame { border-color: rgba(201,210,219,.22); }
.hero-statband { background: rgba(18,12,8,.66); }

/* Ticker */
.ticker {
  overflow: hidden; background: var(--ink);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  padding: 13px 0;
}
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em;
  color: var(--text-light-2); white-space: nowrap;
  padding-left: 46px; position: relative;
}
.ticker-track span::before {
  content: "▲"; position: absolute; left: 18px; top: 0;
  font-size: 8px; line-height: 2.1; color: var(--accent);
}

/* Case study visuals */
.cs-visual {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.cs-visual figure {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--hairline-dark);
  background: var(--charcoal-2);
}
.section-light .cs-visual figure { border-color: var(--hairline-light); }
.cs-visual img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 16 / 10; transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.cs-visual figure:hover img { transform: scale(1.09); }
.cs-visual figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 30px 20px 14px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--plat);
  background: linear-gradient(180deg, transparent, rgba(6,8,10,.78));
}
.cs-visual figure::after {
  content: "+"; position: absolute; top: 10px; right: 14px; z-index: 2;
  font-family: var(--mono); font-size: 13px; color: rgba(201,210,219,.5);
}

/* Chart card corner ticks */
.chart-card { position: relative; }
.chart-card::after {
  content: "+"; position: absolute; top: 8px; right: 12px;
  font-family: var(--mono); font-size: 12px; color: rgba(151,161,171,.4);
}

/* Globe */
.globe-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
}
.globe-visual { position: relative; }
.globe-visual img { width: 100%; border-radius: 50%; }
.globe-visual::after {
  content: ""; position: absolute; inset: -7%;
  border: 1px solid rgba(151,161,171,.14); border-radius: 50%;
  pointer-events: none;
}
.globe-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.globe-title em { font-style: italic; color: var(--ice); }
.globe-sub { color: var(--text-light-2); max-width: 46ch; font-size: 16.5px; }
.globe-copy .markets-strip { margin-top: 36px; }

/* Preloader v2 */
.preloader-frame {
  position: absolute; inset: clamp(14px, 2.4vw, 28px);
  border: 1px solid rgba(151,161,171,.18); pointer-events: none;
}
.preloader-frame::before, .preloader-frame::after {
  content: "+"; position: absolute; font-family: var(--mono);
  font-size: 13px; color: rgba(151,161,171,.5);
}
.preloader-frame::before { top: -8px; left: -5px; }
.preloader-frame::after { bottom: -9px; right: -5px; }
.preloader-name { font-weight: 300; letter-spacing: .05em; }
.preloader-bar span { background: var(--accent); }
.preloader-meta {
  margin-top: 14px; display: flex; justify-content: space-between;
  font-size: 10.5px; letter-spacing: .22em; color: var(--text-light-2);
}
.preloader-pct {
  position: absolute; right: clamp(28px, 4.5vw, 60px); bottom: clamp(18px, 3.4vw, 42px);
  font-size: clamp(72px, 12vw, 150px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(151,161,171,.3);
}
.preloader-corner {
  position: absolute; font-size: 10px; letter-spacing: .26em;
  color: var(--text-light-2); text-transform: uppercase;
}
.preloader-corner-tl { top: clamp(26px, 4vw, 44px); left: clamp(28px, 4.5vw, 60px); }
.preloader-corner-tr { top: clamp(26px, 4vw, 44px); right: clamp(28px, 4.5vw, 60px); }
.preloader-corner-bl { bottom: clamp(26px, 4vw, 44px); left: clamp(28px, 4.5vw, 60px); }

/* Charts recolour: cobalt data, ice accents */
.chart-card-dark .chart-line { stroke: var(--ice); }
.chart-card-dark .chart-dots circle { fill: var(--ice); }
.chart-card-dark .chart-area { fill: rgba(143,179,255,.07); }
.chart-bars rect[data-bar-accent] { fill: var(--accent); }
.agent-core { fill: rgba(46,99,231,.12); stroke: var(--ice); }
.agent-core-label { fill: var(--ice); }
.stack-layers g:last-child rect { fill: rgba(46,99,231,.2); stroke: var(--ice); }
[data-hbar] { fill: var(--blue); }

/* Work cards: cobalt glow */
.work-card::after {
  background: radial-gradient(500px 260px at var(--mx, 50%) var(--my, 0%), rgba(70,115,235,.13), transparent 65%);
}
.work-card:hover { border-color: rgba(143,179,255,.45); }
.cap-block li::before { background: var(--ice); }
.marquee-track span::after { color: var(--accent); }

/* Responsive: new elements */
@media (max-width: 1024px) {
  .cs-visual { grid-template-columns: 1fr; }
  .globe-grid { grid-template-columns: 1fr; }
  .globe-visual { max-width: 440px; margin: 0 auto; }
  [data-num]::before { font-size: clamp(120px, 26vw, 220px); top: -30px; }
}
@media (max-width: 768px) {
  .preloader-pct { right: 20px; bottom: 16px; font-size: 64px; }
  .preloader-corner-tr { display: none; }
  [data-num]::before { right: -4px; opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-visual img { transform: none !important; }
  .ticker-track { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   V3 · CANDLELIT CINEMA — espresso, umber, ivory, ember
   A24 title card × Aman night lobby × a lit match
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #140D09;
  --charcoal: #1A110C;
  --charcoal-2: #221610;
  --white: #F9F1E4;
  --paper: #261711;            /* umber: former light sections are now warm dark */
  --blue: #E8703F;             /* chart primary on umber */
  --blue-bright: #F0956B;
  --gold: #F0956B;             /* legacy var: warm peach accents on espresso */
  --gold-soft: #E5C9AE;
  --hairline-dark: #2E2019;
  --hairline-light: #3D2B20;   /* borders inside umber sections */
  --text-dark: #F2E8DA;        /* umber sections read in ivory now */
  --text-dark-2: #C4B29D;
  --text-light: #F2E8DA;
  --text-light-2: #B9A794;
  --accent: #E8703F;
  --ice: #F0956B;
  --plat: #E5C9AE;
  --ember: #E8703F;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

body { background: var(--ink); }
::selection { background: var(--ember); color: #140D09; }
:focus-visible { outline-color: var(--ember); }

/* ── Typography: Didone display, warm ivory ─────────────── */
.hero-name { font-weight: 420; font-size: clamp(56px, 9.8vw, 134px); letter-spacing: -0.005em; line-height: 1.02; }
.section-title, .cs-title, .contact-title, .globe-title { font-weight: 420; letter-spacing: 0; }
.section-title em, .cs-title em, .contact-title em, .globe-title em { font-weight: 400; }
.work-card h3, .cap-block h3, .cr-value, .mobile-menu a, .nav-brand,
.marquee-track span, .preloader-name, .cs-outcome { font-family: var(--serif); }
body { line-height: 1.68; }

/* ── Kickers: serif italic ember, not mono eyebrows ─────── */
.section-index, .cs-index, .cs-h, .proof-platform, .hero-kicker,
.af-label, .markets-label {
  font-family: var(--serif); font-style: italic; font-weight: 460;
  text-transform: none; letter-spacing: .03em;
  font-size: 16px; color: var(--ember);
}
.hero-kicker { font-size: clamp(15px, 1.5vw, 19px); }
.cs-h { font-size: 17px; margin-bottom: 12px; }
.section-light .cs-index, .section-light .cs-h { color: var(--ember); }
.af-label { color: var(--ember); font-size: 15px; }

/* ── Sections: espresso and umber alternation ───────────── */
.section-light { background: radial-gradient(1200px 800px at 80% 0%, #2E1B12, var(--paper) 60%); color: var(--text-dark); }
.section-dark:nth-of-type(even) { background: var(--charcoal); }
.section-light::before {
  background-image:
    linear-gradient(rgba(242,232,218,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,232,218,.035) 1px, transparent 1px);
}
.section-light [data-num]::before, .contact .container[data-num]::before {
  -webkit-text-stroke: 1px rgba(242,232,218,.13);
}
[data-num]::before { -webkit-text-stroke: 1px rgba(242,232,218,.12); font-weight: 400; }
.section-light .section-title em { color: var(--ember); }
.section-light .cs-pillars li, .section-light .cs-list li { border-color: var(--hairline-light); color: var(--text-dark-2); }
.section-light .cs-pillars li::before { color: var(--ember); }
.section-light .cs-list strong { color: var(--ember); }

/* ── Hero: warm wash over the molten silk ───────────────── */
.hero {
  background:
    radial-gradient(1100px 720px at 78% 18%, rgba(232,112,63,.10), transparent 62%),
    var(--ink);
}
.hero-grain { opacity: .07; }
.hero-gridlines { display: none; }
.hero-wash {
  background:
    linear-gradient(90deg, rgba(18,12,8,.92) 0%, rgba(18,12,8,.55) 45%, rgba(18,12,8,.08) 100%),
    linear-gradient(180deg, transparent 50%, rgba(18,12,8,.94) 100%);
}
.hero-role { color: var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.7vw, 21px); letter-spacing: .02em; }
.hero-rule { background: var(--ember); }
.hero-portrait-frame { border-color: rgba(229,201,174,.25); box-shadow: 0 44px 90px -30px rgba(0,0,0,.85), 0 0 120px -40px rgba(232,112,63,.35); }
.hero-statband { background: rgba(18,12,8,.7); }
.hs-num { color: var(--white); }
.hero-scrollcue i::after { background: var(--ember); }

/* ── Buttons: ember primary ─────────────────────────────── */
.btn-solid { background: var(--ember); color: #140D09; }
.btn-solid::before { background: var(--white); }
.btn-solid:hover { color: #140D09; }
.btn-ghost { border-color: rgba(229,201,174,.35); color: var(--text-light); }
.btn-ghost::before { background: var(--ember); }
.btn-ghost:hover { color: #140D09; border-color: var(--ember); }
.nav-cta { border-color: rgba(232,112,63,.6); color: var(--ember); }
.nav-cta:hover { background: var(--ember); border-color: var(--ember); color: #140D09; }
.scroll-progress { background: linear-gradient(90deg, var(--ember), var(--gold-soft)); }
.nav-brand span { color: var(--ember); }
.nav-links a::after { background: var(--ember); }
.mobile-menu .mm-cv { color: var(--ember); }

/* ── Cursor: ivory ring, ember dot ──────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .cursor { border-color: rgba(229,201,174,.5); }
  .cursor.is-hover { background: rgba(232,112,63,.1); border-color: rgba(232,112,63,.9); }
  .cursor-dot { background: var(--ember); }
}

/* ── Preloader: title sequence in ember ─────────────────── */
.preloader { background: var(--ink); }
.preloader-bar span { background: var(--ember); }
.preloader-pct { -webkit-text-stroke: 1px rgba(229,201,174,.32); }
.preloader-frame { border-color: rgba(229,201,174,.16); }
.preloader-name { font-weight: 460; }

/* ── Ticker ─────────────────────────────────────────────── */
.ticker-track span::before { color: var(--ember); }

/* ── Proof / dashboards ─────────────────────────────────── */
.proof-stat-hero .ps-num { color: var(--ember); }
.browser-frame { box-shadow: 0 50px 100px -40px rgba(0,0,0,.85), 0 0 90px -50px rgba(232,112,63,.3); }

/* ── Charts on umber: warm cards, ember data ────────────── */
.chart-card { background: #2C1B13; border-color: var(--hairline-light); }
.chart-card figcaption { color: var(--text-dark-2); }
.chart-grid line { stroke: #3D2B20; }
.chart-ylabels text, .chart-xlabels text { fill: var(--text-dark-2); }
.chart-line { stroke: var(--ember); }
.chart-area { fill: rgba(232,112,63,.09); }
.chart-dots circle { fill: var(--ember); }
.chart-bars rect { fill: #A85332; }
.chart-bars rect[data-bar-accent] { fill: var(--ember); }
.chart-bars rect[data-bar-muted] { fill: #5A4335; }
.hbar-group text.hbar-label, .hbar-group .hbar-val { fill: var(--text-dark-2); }
[data-hbar] { fill: #C25E33; }
.chart-card-dark { background: var(--charcoal-2); border-color: var(--hairline-dark); }
.chart-card-dark .chart-line { stroke: var(--ember); }
.chart-card-dark .chart-dots circle { fill: var(--ember); }
.chart-card-dark .chart-area { fill: rgba(232,112,63,.08); }
.chart-card-dark .chart-grid line { stroke: var(--hairline-dark); }
.stack-layers rect { fill: rgba(232,112,63,.12); stroke: #C25E33; }
.stack-layers g:last-child rect { fill: rgba(232,112,63,.22); stroke: var(--ember); }
.stack-layers text { fill: var(--text-light); }
.agent-core { fill: rgba(232,112,63,.14); stroke: var(--ember); }
.agent-core-label { fill: var(--ember); }
.agent-nodes circle { fill: var(--charcoal); stroke: #C25E33; }
.agent-spokes line { stroke: var(--hairline-dark); }

/* ── Work index / capabilities: warm cards ──────────────── */
.work-card { background: linear-gradient(150deg, #221610, var(--ink) 70%); }
.work-card::after { background: radial-gradient(500px 260px at var(--mx, 50%) var(--my, 0%), rgba(232,112,63,.14), transparent 65%); }
.work-card:hover { border-color: rgba(232,112,63,.5); }
.wc-num { color: var(--ember); }
.wc-arrow { color: var(--ember); }
.cap-block { background: linear-gradient(160deg, #221610, var(--ink) 75%); }
.cap-block:hover { border-color: rgba(232,112,63,.45); }
.cap-num { color: var(--ember); }
.cap-block li::before { background: var(--ember); }

/* ── About / visuals on umber ───────────────────────────── */
.about-text p:first-child { color: var(--text-dark); }
.about-facts { border-color: var(--hairline-light); }
.cs-visual figure { border-color: var(--hairline-light); }
.section-dark .cs-visual figure { border-color: var(--hairline-dark); }
.cs-visual figcaption { color: var(--gold-soft); background: linear-gradient(180deg, transparent, rgba(12,7,4,.8)); font-family: var(--mono); }
.cs-visual figure::after { color: rgba(229,201,174,.55); }
.chart-card::after { color: rgba(229,201,174,.4); }

/* ── Globe / markets ────────────────────────────────────── */
.globe-visual::after { border-color: rgba(229,201,174,.18); }
.globe-title em { color: var(--ember); }
.markets-list span::before { background: var(--ember); }
.marquee-track span { color: var(--text-light-2); }
.marquee-track span:hover { color: var(--white); }
.marquee-track span::after { color: var(--ember); }

/* ── Contact on umber ───────────────────────────────────── */
.contact-title em { color: var(--ember); }
.contact-rows { border-color: var(--hairline-light); }
.contact-row { border-color: var(--hairline-light); }
.cr-label { color: var(--ember); font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .03em; font-size: 15px; }
.cr-value { color: var(--text-dark); }
.cr-arrow { color: var(--ember); }

/* ── Footer ─────────────────────────────────────────────── */
.footer .mono { color: var(--ember); }

/* ── Skip link ──────────────────────────────────────────── */
.skip-link { background: var(--ember); color: #140D09; }
