/* =====================================================================
   IVONNE AYALA — "Señal Cálida" v1.2 · tech ordenado
   Hero y contacto en obsidiana con video; contenido en marfil legible.
   Sora (titulares) · Instrument Sans (cuerpo) · JetBrains Mono (datos)
   ===================================================================== */

:root {
  --obsidian: #0B0C10;
  --obsidian-2: #12141A;
  --ivory: #F6F3EC;
  --ivory-2: #EEEAE0;
  --paper: #FFFDF8;
  --ink: #0F1014;
  --ink-70: rgba(15, 16, 20, .72);
  --ink-50: rgba(15, 16, 20, .5);
  --line: rgba(15, 16, 20, .12);
  --on-dark: #F4F1EA;
  --on-dark-70: rgba(244, 241, 234, .7);
  --on-dark-40: rgba(244, 241, 234, .4);
  --line-dark: rgba(244, 241, 234, .12);
  --coral: #E9573F;
  --coral-soft: #FF6B5B;
  --ion: #7FE3FF;

  --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --gutter: clamp(20px, 5vw, 88px);
  --section: clamp(80px, 11vw, 160px);
  --container: 1360px;
  --radius: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--ivory); color: var(--ink); font-family: var(--font-body); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 4px; }

/* ---------- TYPE ---------- */
h1, h2, .cta__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.0; }
h1 em, h2 em, .cta__title em { font-style: normal; color: var(--coral); }
h1 { font-size: clamp(2.7rem, 6vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 4.2rem); }
h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.45vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: clamp(16px, 2vw, 24px); }
.eyebrow span { padding: 3px 7px; border: 1px solid currentColor; border-radius: 4px; font-size: 11.5px; }
.eyebrow--dark { color: var(--coral-soft); }
.muted { color: var(--ink-50); font-size: .92em; }
.section-head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-intro { margin-top: 20px; max-width: 58ch; color: var(--ink-70); font-size: 1.05em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 16px; }

/* Split text */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-word > span { display: inline-block; transform: translateY(105%); will-change: transform; }
.split-done .split-word > span { will-change: auto; }

/* Reveals */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal-img] { overflow: hidden; }
[data-reveal-img] img, [data-reveal-img] video { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.2s var(--ease-out), transform 1.5s var(--ease-out); }
[data-reveal-img].is-in img, [data-reveal-img].is-in video { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1; letter-spacing: -.01em; border: 1.5px solid var(--ink); color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease-out); white-space: nowrap; }
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--outline { border-color: var(--on-dark-40); color: var(--on-dark); }
.btn--outline:hover { border-color: var(--on-dark); background: rgba(244,241,234,.08); }
.btn--small { padding: 12px 18px; font-size: 14px; }
.btn--large { padding: 19px 30px; font-size: 16.5px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--coral); margin-top: 6px; }
.link-arrow::after { content: '→'; transition: transform .35s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* HUD corners */
.corner { position: absolute; width: 14px; height: 14px; border-color: var(--coral); border-style: solid; border-width: 0; opacity: 0; transition: opacity .35s, transform .45s var(--ease-out); }
.corner--tl { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; transform: translate(6px, 6px); }
.corner--br { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; transform: translate(-6px, -6px); }
.service:hover .corner { opacity: 1; transform: none; }

/* Overlays */
.grain { position: fixed; inset: 0; background: url('assets/grain.png') repeat; background-size: 256px; opacity: .04; pointer-events: none; z-index: 900; mix-blend-mode: multiply; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); z-index: 950; }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 800; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 18px var(--gutter); color: var(--on-dark); transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--ease-out); }
.nav.is-light { color: var(--ink); }
.nav.is-scrolled { background: rgba(246, 243, 236, .9); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled.is-dark { background: rgba(11, 12, 16, .8); color: var(--on-dark); box-shadow: 0 1px 0 var(--line-dark); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(233,87,63,.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233,87,63,.5); } 70% { box-shadow: 0 0 0 9px rgba(233,87,63,0); } 100% { box-shadow: 0 0 0 0 rgba(233,87,63,0); } }
.nav__links { display: flex; gap: 28px; }
.nav__links a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; font-size: 15.5px; font-weight: 500; opacity: .75; transition: opacity .3s; padding: 4px 0; }
.nav__links small { font-family: var(--font-mono); font-size: 10.5px; color: var(--coral); }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 46px; height: 46px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .45s var(--ease-inout), top .45s var(--ease-inout); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 790; background: var(--obsidian); color: var(--on-dark); display: flex; flex-direction: column; justify-content: space-between; padding: 100px var(--gutter) 28px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-inout); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: grid; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.03em; line-height: 1.2; border-bottom: 1px solid var(--line-dark); padding: 12px 0; }
.menu__links small { font-family: var(--font-mono); font-size: 12px; color: var(--coral-soft); }
.menu__foot { display: grid; gap: 14px; }
.menu .muted { color: var(--on-dark-70); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: clamp(120px, 16vh, 160px) 0 clamp(120px, 14vh, 150px); background: var(--obsidian); color: var(--on-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video, .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero__media.mode-video .hero__video { left: 5%; right: auto; width: 140%; object-position: 50% 35%; }
.hero__video { display: none; }
.hero__media.mode-video .hero__video { display: block; }
.hero__media.mode-video .hero__photo { display: none; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,16,.92) 0%, rgba(11,12,16,.7) 42%, rgba(11,12,16,.2) 75%, rgba(11,12,16,.05) 100%), linear-gradient(0deg, var(--obsidian) 0%, rgba(11,12,16,0) 30%, rgba(11,12,16,0) 80%, rgba(11,12,16,.6) 100%); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(244,241,234,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,.06) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%); pointer-events: none; }
.hud { position: absolute; top: 84px; z-index: 2; display: flex; flex-direction: column; gap: 4px; color: var(--on-dark-40); text-transform: uppercase; font-size: 11.5px; }
.hud--tl { left: var(--gutter); }
.hud--tr { right: var(--gutter); text-align: right; }
.hud span:first-child { color: var(--on-dark-70); }
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 760px; }
.hero__title { margin-bottom: 18px; }
.hero__typed { display: flex; align-items: center; gap: 10px; color: var(--ion); font-size: 14px; margin-bottom: clamp(20px, 3vh, 28px); min-height: 22px; }
.hero__typed-label { color: var(--on-dark-40); }
.caret { width: 8px; height: 16px; background: var(--ion); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { max-width: 46ch; font-size: clamp(18px, 1.35vw, 22px); color: var(--on-dark-70); margin-bottom: clamp(28px, 4vh, 40px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__cred { position: absolute; left: var(--gutter); bottom: 34px; z-index: 2; display: flex; gap: 32px; flex-wrap: wrap; color: var(--on-dark-70); text-transform: uppercase; font-size: 11.5px; }
.hero__cred li { display: inline-flex; gap: 8px; align-items: baseline; }
.hero__cred small { color: var(--coral-soft); font-size: 11px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--on-dark-40); text-transform: uppercase; font-size: 11px; }
.hero__scroll-line { width: 1px; height: 48px; background: var(--line-dark); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--coral-soft); animation: scrollLine 2.4s var(--ease-inout) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

/* ---------- STATS ---------- */
.stats { position: relative; background: var(--obsidian-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); overflow: hidden; }
.stats__signal { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(32px, 3.5vw, 56px) clamp(16px, 2vw, 36px); border-right: 1px solid var(--line-dark); min-width: 0; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__pre { text-transform: uppercase; color: var(--coral-soft); font-size: 12px; }
.stat__suf { color: var(--coral-soft); font-size: .55em; }
.stat__label { font-size: 15px; line-height: 1.45; color: var(--on-dark-70); }
.stat__label strong { color: var(--on-dark); }

/* ---------- SERVICIOS ---------- */
.services { padding: var(--section) 0; }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); display: grid; gap: 14px; align-content: start; transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.service:hover { border-color: rgba(233,87,63,.5); transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(15,16,20,.3); }
.service__num { color: var(--coral); }
.service h3 { font-size: clamp(1.5rem, 2vw, 2.1rem); }
.service p { color: var(--ink-70); }
.service__for { font-size: .95em; }
.service__for strong { color: var(--ink); }

/* ---------- MÉTODO (banda oscura con escena 02 de fondo) ---------- */
.method { position: relative; padding: var(--section) 0; background: var(--obsidian); color: var(--on-dark); overflow: hidden; }
.method__media { position: absolute; inset: 0; z-index: 0; }
.method__video, .method__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.method__video { display: none; }
.method__media.mode-video .method__video { display: block; }
.method__media.mode-video .method__photo { display: none; }
.method__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,16,.94) 0%, rgba(11,12,16,.88) 40%, rgba(11,12,16,.55) 70%, rgba(11,12,16,.35) 100%), linear-gradient(0deg, var(--obsidian) 0%, rgba(11,12,16,.2) 25%, rgba(11,12,16,.2) 75%, var(--obsidian) 100%); }
.method .hero__grid { mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%); }
.method__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.method__lead { margin-top: 18px; max-width: 46ch; color: var(--on-dark-70); font-size: 1.05em; }
.pillars { display: grid; margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line-dark); }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.pillar__num { grid-row: 1 / 3; color: var(--coral-soft); padding-top: 6px; }
.pillar h3 { color: var(--on-dark); }
.pillar p { grid-column: 2; color: var(--on-dark-70); max-width: 52ch; }
.method__demo { position: sticky; top: 100px; display: grid; gap: 14px; }
.method__demo-label { color: var(--ion); text-transform: uppercase; font-size: 11.5px; letter-spacing: .12em; }
.method__demo-note { color: var(--on-dark-70); font-size: .95em; max-width: 48ch; }
.terminal { background: rgba(11,12,16,.82); color: var(--on-dark); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(244,241,234,.12); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.terminal__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-40); font-size: 12px; }
.terminal__dots { display: inline-flex; gap: 6px; }
.terminal__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); }
.terminal__dots i:first-child { background: var(--coral-soft); }
.terminal__body { padding: 22px 20px 20px; display: grid; gap: 12px; font-size: 13.5px; line-height: 1.6; }
.terminal__body p { display: grid; grid-template-columns: auto auto auto 1fr; gap: 0 10px; align-items: baseline; }
.t-key { color: var(--coral-soft); font-weight: 500; }
.t-label { color: var(--on-dark-40); margin-left: -10px; }
.t-sep { color: var(--on-dark-40); }
.t-val { color: var(--on-dark); min-height: 1.6em; }
.t-val.is-typing::after { content: '▍'; color: var(--ion); animation: blink 1s steps(2) infinite; }
.t-out { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-dark); display: block !important; }
.t-status { color: var(--ion); opacity: 0; transition: opacity .6s; }
.t-status.is-on { opacity: 1; }

/* ---------- HISTORIA ---------- */
.story { padding: var(--section) 0; }
.story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.story__text h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.story__body { display: grid; gap: 18px; max-width: 58ch; color: var(--ink-70); }
.story__body p:first-child { color: var(--ink); font-size: 1.06em; }
.timeline { position: relative; padding-top: 8px; }
.timeline__line { position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline__line span { display: block; width: 100%; height: 0; background: var(--coral); }
.tl { position: relative; display: grid; gap: 6px; padding: 18px 0 18px 32px; }
.tl::before { content: ''; position: absolute; left: 0; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--coral); }
.tl__year { color: var(--coral); font-size: 13px; }
.tl p { color: var(--ink-70); }
.story__quote { margin-top: clamp(28px, 3vw, 40px); padding: 22px 26px; border-left: 3px solid var(--coral); background: var(--paper); border-radius: 0 12px 12px 0; max-width: 58ch; }
.story__quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 10px; }
.story__quote cite { font-style: normal; font-size: 14px; }
.story__quote cite a { color: var(--coral); font-weight: 600; }
.story__quote cite a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ESCENARIOS ---------- */
.stage { padding: var(--section) 0 0; background: var(--paper); border-top: 1px solid var(--line); }
.talks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-bottom: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.talk { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.talk__where { text-transform: uppercase; color: var(--coral); font-size: 12px; }
.talk h3 { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.1rem, 1.3vw, 1.4rem); letter-spacing: 0; }
.press { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 16px; align-items: stretch; margin-bottom: clamp(48px, 6vw, 88px); }
.press__label { align-self: center; color: var(--coral); text-transform: uppercase; font-size: 11.5px; padding-right: 8px; }
.press__item { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .35s, transform .4s var(--ease-out); }
.press__item:hover { border-color: var(--coral); transform: translateY(-3px); }
.press__item .mono { color: var(--coral); text-transform: uppercase; font-size: 11px; }
.press__item strong { font-weight: 500; font-size: 15px; line-height: 1.35; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: clamp(56px, 7vw, 100px); }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-2); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; padding: 6px 10px; background: rgba(11,12,16,.72); color: var(--on-dark); font-size: 11px; text-transform: uppercase; border-radius: 6px; backdrop-filter: blur(6px); }
.clients { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.marquee { overflow: hidden; margin-top: 8px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; padding: 0 .55em; color: var(--ink-50); }
.marquee__track span:nth-child(odd) { color: var(--ink); }
.marquee__track span::after { content: '/'; margin-left: 1.1em; color: var(--coral); font-weight: 400; }
.impact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: clamp(40px, 5vw, 72px) var(--section); border-top: 1px solid var(--line); }
.impact__item { display: grid; gap: 8px; }
.impact__tag { color: var(--coral); text-transform: uppercase; font-size: 11.5px; }
.impact__item p { color: var(--ink-70); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: var(--section) 0; background: var(--obsidian); color: var(--on-dark); overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; display: none; }
.cta__media.mode-video .cta__video { display: block; }
.halo { position: absolute; width: 70vw; height: 70vw; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(233,87,63,.35), rgba(233,87,63,0) 62%); filter: blur(60px); pointer-events: none; }
.cta .hero__grid { mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%); }
.cta__content { position: relative; z-index: 1; max-width: 900px; }
.cta__title { font-size: clamp(3.4rem, 8.5vw, 8.5rem); margin-bottom: clamp(20px, 3vw, 32px); }
.cta__sub { font-size: clamp(18px, 1.35vw, 22px); color: var(--on-dark-70); max-width: 46ch; margin-bottom: clamp(28px, 3.5vw, 40px); }
.cta__actions { margin-bottom: clamp(36px, 4vw, 56px); }
.cta .btn--primary:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.cta__contacts { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 40px; justify-content: start; font-size: 14px; letter-spacing: .02em; }
.cta__contacts dt { color: var(--on-dark-40); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; margin-bottom: 6px; }
.cta__contacts dd a { border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; transition: border-color .3s; }
.cta__contacts dd a:hover { border-color: var(--coral-soft); }

/* ---------- FOOTER ---------- */
.footer { background: var(--obsidian); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: clamp(36px, 5vw, 56px); }
.footer__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 8px; }
.footer .muted { color: var(--on-dark-70); }
.footer__nav, .footer__social { display: grid; gap: 10px; align-content: start; font-size: 15.5px; color: var(--on-dark-70); }
.footer__nav a:hover, .footer__social a:hover { color: var(--coral-soft); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; border-top: 1px solid var(--line-dark); color: var(--on-dark-40); font-size: 12px; }
.footer__top { color: var(--on-dark-70); }
.footer__top:hover { color: var(--coral-soft); }
.wa-float { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 850; width: 58px; height: 58px; border-radius: 50%; background: var(--coral); color: #fff; place-items: center; box-shadow: 0 12px 30px rgba(233,87,63,.4); transform: scale(0); transition: transform .5s var(--ease-out); }
.wa-float.is-visible { transform: scale(1); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hud { display: none; }
  .hero { padding: 120px 0 150px; align-items: flex-end; }
  .hero__cred { flex-direction: column; gap: 8px; bottom: 28px; }
  .hero__scroll { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-left: 0; padding-right: 24px; }
  .stat:nth-child(2n) { border-right: 0; padding-left: 24px; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .services__grid { grid-template-columns: 1fr; }
  .method__grid { grid-template-columns: 1fr; }
  .method__demo { position: static; }
  .method__overlay { background: linear-gradient(0deg, rgba(11,12,16,.94) 0%, rgba(11,12,16,.9) 60%, rgba(11,12,16,.7) 100%); }
  .press { grid-template-columns: 1fr 1fr; }
  .press__label { grid-column: 1 / -1; }
  .story__grid { grid-template-columns: 1fr; }
  .talks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .impact { grid-template-columns: 1fr; }
  .cta__contacts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { display: grid; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  h2 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .hero { padding-bottom: 170px; }
  .hero__ctas .btn { width: 100%; }
  .hero__overlay { background: linear-gradient(0deg, var(--obsidian) 0%, rgba(11,12,16,.85) 45%, rgba(11,12,16,.35) 100%); }
  .hero__photo, .hero__video { object-position: 60% 20%; }
  .hero__media.mode-video .hero__video { left: 0; right: auto; width: 100%; height: 62%; object-position: 50% 30%; }
  .hero__overlay { background: linear-gradient(0deg, var(--obsidian) 0%, var(--obsidian) 36%, rgba(11,12,16,.55) 55%, rgba(11,12,16,.15) 80%, rgba(11,12,16,.5) 100%); }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-dark); padding-inline: 0 !important; }
  .stat:last-child { border-bottom: 0; }
  .press { grid-template-columns: 1fr; }
  .terminal__body p { grid-template-columns: auto auto auto; }
  .terminal__body .t-val { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr; }
  .cta__title { font-size: clamp(3rem, 16vw, 4.2rem); }
  .cta__actions .btn { width: 100%; }
  .cta__contacts { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-reveal-img] img, [data-reveal-img] video { opacity: 1; transform: none; clip-path: none; }
  .split-word > span { transform: none; }
  .marquee__track { transform: none !important; }
  .stats__signal { display: none; }
}
