/* ===========================================================
   AIXEL TECH — homepage system
   Pixel-dissolve visual language · Gold + Blue on Ink
   =========================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --gold: #FFC107;
  --gold-soft: #FFD24D;
  --gold-deep: #C98A00;
  --blue: #0056D2;
  --blue-bright: #2E7CF6;
  --blue-deep: #00399B;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --pixel: 14px; /* base pixel unit */

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  color-scheme: dark;
}

/* Dark theme (default) — Ink base */
:root[data-theme="dark"] {
  --bg: #070B1A;
  --bg-2: #0B1124;
  --surface: #0F1631;
  --surface-2: #151E3F;
  --surface-3: #1B254C;
  --text: #EEF1FA;
  --text-2: #AEB6D2;
  --text-3: #6E7798;
  --border: rgba(255,255,255,.10);
  --border-2: rgba(255,255,255,.06);
  --grid: rgba(255,255,255,.045);
  --grid-strong: rgba(255,255,255,.09);
  --shadow: 0 30px 70px -30px rgba(0,0,0,.7);
  --glass: rgba(11,17,36,.72);
  --hero-glow-1: rgba(255,193,7,.22);
  --hero-glow-2: rgba(0,86,210,.30);
}

/* Light theme — Paper base */
:root[data-theme="light"] {
  --bg: #F4F6FC;
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F7F9FE;
  --surface-3: #EEF2FB;
  --text: #0A1024;
  --text-2: #424B66;
  --text-3: #828BA6;
  --border: rgba(10,16,36,.12);
  --border-2: rgba(10,16,36,.07);
  --grid: rgba(10,16,36,.045);
  --grid-strong: rgba(10,16,36,.085);
  --shadow: 0 30px 60px -34px rgba(16,28,70,.32);
  --glass: rgba(255,255,255,.74);
  --hero-glow-1: rgba(255,193,7,.30);
  --hero-glow-2: rgba(0,86,210,.18);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

::selection { background: var(--gold); color: #1a1300; }

a { color: inherit; text-decoration: none; }

/* ---------- Pixel-grid background utility ---------- */
.pixgrid {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 8px;
  background:
    linear-gradient(var(--gold) 0 0) 0 0/8px 8px no-repeat,
    linear-gradient(var(--gold) 0 0) 14px 0/4px 4px no-repeat;
}
:root[data-theme="light"] .eyebrow { color: var(--blue); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }

.h-sec { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 56ch; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #1a1300;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: 15px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: none; border-radius: 12px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  box-shadow: 0 12px 28px -12px rgba(255,193,7,.6);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(255,193,7,.7); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
/* pixel sweep */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; box-shadow: 0 12px 28px -12px rgba(0,86,210,.7); }
.btn--blue:hover { box-shadow: 0 20px 42px -14px rgba(0,86,210,.8); }

.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-2); box-shadow: none; border-color: var(--text-3); }
.btn--ghost::after { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: var(--glass);
  border-bottom: 1px solid var(--border-2);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: clamp(14px, 3vw, 40px); }
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand img { height: 38px; width: auto; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: .01em; white-space: nowrap; }
.brand__name b { color: var(--gold); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-weight: 600; font-size: .95rem; color: var(--text-2); white-space: nowrap;
  padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--text); background: var(--surface-2); }
.nav__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.theme-toggle {
  width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 11px; cursor: pointer; color: var(--text);
  display: grid; place-items: center; flex: none;
  transition: background .2s, border-color .2s, transform .2s var(--ease-out);
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--text-3); transform: translateY(-2px); }
.theme-toggle svg { transition: transform .4s var(--ease); }
.theme-toggle:active svg { transform: rotate(40deg); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 11px; cursor: pointer; color: var(--text);
  align-items: center; justify-content: center; flex: none;
}
.nav__menu { display: none; }
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu.open {
    display: grid; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--glass); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 12px var(--gutter) 18px; gap: 2px;
  }
  .nav__menu.open a { padding: 13px 14px; border-radius: 10px; font-weight: 600; color: var(--text-2); }
  .nav__menu.open a:hover { background: var(--surface-2); color: var(--text); }
}
@media (max-width: 540px) {
  .nav__cta .btn span.lbl { display: none; }
}

/* ===========================================================
   HERO — three directions (data-hero a|b|c)
   =========================================================== */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(45% 50% at 78% 28%, var(--hero-glow-2), transparent 70%),
    radial-gradient(40% 45% at 18% 42%, var(--hero-glow-1), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero .wrap { position: relative; z-index: 2; }

/* hide all variants by default; show selected */
.hero-variant { display: none; }
:root[data-hero="a"] .hero-variant.v-a,
:root[data-hero="b"] .hero-variant.v-b,
:root[data-hero="c"] .hero-variant.v-c { display: block; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em;
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 2px; animation: blink 2.4s var(--ease) infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.6rem);
  letter-spacing: -.035em;
}
.hero-h1 .word { display: inline-block; }
.hero-h1 .grad {
  background: linear-gradient(96deg, var(--gold) 6%, var(--gold-soft) 52%, var(--gold) 78%, var(--blue-bright) 122%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-h1 .blue { color: var(--blue-bright); }
:root[data-theme="light"] .hero-h1 .blue { color: var(--blue); }

.hero-sub { margin-top: 26px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 50ch; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 34px; }
.hero-meta .stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem,2.6vw,2.2rem); }
.hero-meta .stat .l { font-size: .82rem; color: var(--text-3); letter-spacing: .02em; }
.hero-meta .stat .n b { color: var(--gold); }

/* ----- Variant A: split with live pixel canvas ----- */
.v-a .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: clamp(60px, 9vw, 120px); }
.pixstage { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 540px; margin-inline: auto; }
.pixstage canvas { width: 100%; height: 100%; display: block; }
.pixstage .mark {
  position: absolute; inset: 0; margin: auto; width: 58%; height: auto;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.45));
  z-index: 2;
}
.pixstage .ring {
  position: absolute; inset: 8%; border: 1px solid var(--border);
  border-radius: 30px;
}
@media (max-width: 880px){
  .v-a .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .pixstage { max-width: 380px; }
}

/* ----- Variant B: centered statement ----- */
.v-b .hero-center { text-align: center; padding-block: clamp(80px, 13vw, 170px); display: flex; flex-direction: column; align-items: center; }
.v-b .hero-h1 { max-width: 16ch; }
.v-b .hero-sub { margin-inline: auto; }
.v-b .hero-actions { justify-content: center; }
.v-b .float-pix { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.v-b .float-pix span {
  position: absolute; display: block; border-radius: 4px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
}

/* ----- Variant C: showcase card ----- */
.v-c .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.showcase {
  position: relative; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.showcase__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border-2); }
.showcase__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.showcase__bar .t { margin-left: 10px; font-family: var(--font-mono); font-size: .72rem; color: var(--text-3); }
.showcase__body { padding: 22px; display: grid; gap: 14px; }
.sc-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); }
.sc-row .ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; }
.sc-row .bars { display: grid; gap: 7px; }
.sc-row .bars i { height: 8px; border-radius: 4px; background: var(--border); display: block; }
.sc-row .bars i:first-child { width: 60%; background: var(--text-3); }
.sc-row .tag { font-family: var(--font-mono); font-size: .68rem; padding: 4px 9px; border-radius: 6px; background: rgba(0,86,210,.14); color: var(--blue-bright); }
@media (max-width: 880px){
  .v-c .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Marquee / client logos ---------- */
.marquee { border-block: 1px solid var(--border-2); padding-block: 26px; overflow: hidden; }
.marquee__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; color: var(--text-3); text-transform: uppercase; text-align: center; margin-bottom: 22px; }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track .logo { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--text-3); opacity: .8; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee__track .logo .sq { width: 13px; height: 13px; background: var(--text-3); border-radius: 3px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 54px; }
.sec-head .lead { margin-top: 16px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px){ .services { grid-template-columns: 1fr; } }
.svc {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120% 80% at 100% 0%, var(--svc-tint, rgba(255,193,7,.10)), transparent 60%);
}
.svc:hover { transform: translateY(-7px); border-color: var(--svc-line, var(--gold)); box-shadow: var(--shadow); }
.svc:hover::before { opacity: 1; }
.svc__pix { display: grid; grid-template-columns: repeat(3, 16px); grid-auto-rows: 16px; gap: 4px; margin-bottom: 26px; }
.svc__pix i { background: var(--svc-line, var(--gold)); border-radius: 3px; opacity: .3; animation: svcpx 3.2s var(--ease) infinite; transition: filter .4s var(--ease); }
.svc__pix i:nth-child(1){ animation-delay: 0s; } .svc__pix i:nth-child(2){ animation-delay: .5s; }
.svc__pix i:nth-child(3){ animation-delay: 1.1s; } .svc__pix i:nth-child(4){ animation-delay: .8s; }
.svc__pix i:nth-child(5){ animation-delay: .2s; } .svc__pix i:nth-child(6){ animation-delay: 1.4s; }
.svc__pix i:nth-child(7){ animation-delay: 1s; } .svc__pix i:nth-child(8){ animation-delay: .35s; }
.svc__pix i:nth-child(9){ animation-delay: .7s; }
.svc:hover .svc__pix i { animation-duration: 1.5s; filter: drop-shadow(0 3px 8px var(--svc-line, var(--gold))); }
@keyframes svcpx { 0%,100%{ opacity:.22; transform: translateY(0) scale(.9); } 45%{ opacity:1; transform: translateY(-4px) scale(1); } }
.svc__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); }
.svc h3 { font-size: 1.5rem; margin-bottom: 12px; }
.svc p { color: var(--text-2); font-size: .98rem; }
.svc__list { list-style: none; margin-top: 20px; display: grid; gap: 9px; }
.svc__list li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--text-2); }
.svc__list li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--svc-line, var(--gold)); flex: none; }
.svc__more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--svc-line, var(--gold)); }
.svc__more .arrow { transition: transform .3s var(--ease-out); }
.svc:hover .svc__more .arrow { transform: translateX(5px); }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 940px){ .why { grid-template-columns: 1fr; gap: 38px; } }
.why-points { display: grid; gap: 14px; }
.why-pt { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .3s; }
.why-pt:hover { border-color: var(--gold); transform: translateX(5px); }
.why-pt .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-2); }
.why-pt h4 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 5px; }
.why-pt p { font-size: .93rem; color: var(--text-2); }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: sticky; top: 100px; }
.why-stat { padding: 28px; border-radius: var(--radius-sm); background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); }
.why-stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.why-stat .n b { color: var(--gold); }
.why-stat .l { margin-top: 10px; font-size: .88rem; color: var(--text-2); }
.why-stat:nth-child(2) .n b, .why-stat:nth-child(3) .n b { color: var(--blue-bright); }
:root[data-theme="light"] .why-stat:nth-child(2) .n b, :root[data-theme="light"] .why-stat:nth-child(3) .n b { color: var(--blue); }

/* ---------- Process ---------- */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
@media (max-width: 940px){ .steps { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 30px; }
.step__line { position: absolute; top: 13px; left: 0; right: -20px; height: 2px; background: var(--border); overflow: hidden; }
.step__line::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--gold), var(--blue-bright)); transition: width 1s var(--ease); }
.step.in .step__line::after { width: 100%; }
.step:last-child .step__line { display: none; }
.step__dot { position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 4px; background: var(--bg); border: 2px solid var(--gold); z-index: 2; }
.step.in .step__dot { background: var(--gold); }
.step__k { font-family: var(--font-mono); font-size: .76rem; color: var(--text-3); letter-spacing: .12em; }
.step h4 { font-family: var(--font-display); font-size: 1.32rem; margin: 12px 0 9px; }
.step p { font-size: .93rem; color: var(--text-2); }

/* ---------- Work / case studies ---------- */
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.case { grid-column: span 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease-out), box-shadow .4s; }
.case:first-child { grid-column: span 6; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case__shot {
  position: relative; width: 100%; overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,193,7,.16), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(46,124,246,.20), transparent 55%),
    var(--surface-2);
  display: grid; place-items: center;
}
.case:first-child .case__shot { height: 380px; }
.case:not(:first-child) .case__shot { height: 240px; }
.case__shot::before {
  content: attr(data-label); position: absolute; top: 16px; left: 18px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  color: var(--text-3); text-transform: uppercase;
}
.case__shot .ph {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); padding: 9px 16px; border: 1px dashed var(--border);
  border-radius: 8px; background: var(--surface);
}
@media (max-width: 820px){
  .case, .case:first-child { grid-column: span 6; }
  .case:first-child .case__shot, .case:not(:first-child) .case__shot { height: 240px; }
}
.case__body { padding: 24px 26px 28px; }
.case__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.case__tags span { font-family: var(--font-mono); font-size: .68rem; padding: 5px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-2); }
.case h3 { font-size: 1.5rem; margin-bottom: 8px; }
.case p { color: var(--text-2); font-size: .96rem; max-width: 60ch; }
.case__metric { margin-top: 18px; display: flex; gap: 26px; }
.case__metric .m b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); display: block; line-height: 1.1; }
.case__metric .m span { font-size: .8rem; color: var(--text-3); }

/* ---------- CTA banner ---------- */
.cta-wrap { padding-block: clamp(40px, 8vw, 90px); }
.cta {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(44px, 7vw, 86px);
  background: linear-gradient(125deg, var(--blue-deep), var(--blue) 55%, #0b67e6);
  color: #fff;
}
.cta__pix { position: absolute; inset: 0; opacity: .9; pointer-events: none; }
.cta__pix span { position: absolute; border-radius: 5px; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; position: relative; z-index: 2; }
.cta p { margin-top: 18px; font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 48ch; position: relative; z-index: 2; }
.cta .hero-actions { position: relative; z-index: 2; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-2); padding-block: 64px 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer .brand { margin-bottom: 18px; }
.footer__col h5 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-2); font-size: .94rem; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__about { color: var(--text-2); font-size: .95rem; max-width: 34ch; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--text-3); font-size: .85rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  * { scroll-behavior: auto; }
}
