/* ============================================================
   AFRIDI HASSAN — Portfolio Design System
   Gold on deep space · Motion-driven · Aurora UI
   ============================================================ */

:root {
  /* ---- Gold scale ---- */
  --gold-100: #FEF3C7;
  --gold-200: #FDE68A;
  --gold-300: #FCD34D;
  --gold-400: #FBBF24;
  --gold-500: #FFB627; /* PRIMARY */
  --gold-600: #FF8C00;
  --gold-700: #B45309;

  /* ---- Backgrounds ---- */
  --bg-0: #050608;   /* primary */
  --bg-1: #0A0D14;   /* secondary */
  --bg-2: #0F1420;   /* card */
  --glass: rgba(16, 21, 38, 0.55);
  --glass-brd: rgba(255, 182, 39, 0.10);

  /* ---- Text ---- */
  --tx-0: #F2F5FC;   /* primary */
  --tx-1: #AAB3C5;   /* secondary */
  --tx-2: #5B6478;   /* muted */
  --tx-3: #2A3142;   /* faint */

  /* ---- Glow accents ---- */
  --cyan: #00D4FF;
  --purple: #7B2FFF;

  /* ---- Type ---- */
  --f-display: "Clash Display", "Syne", sans-serif;
  --f-head: "Syne", sans-serif;
  --f-body: "DM Sans", sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  /* ---- Spacing ---- */
  --section-y: clamp(5rem, 10vw, 10rem);
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;

  --r-card: 22px;
  --r-pill: 999px;
  --r-btn: 6px;

  --ease-brand: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg-0);
  color: var(--tx-0);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* hide native cursor on devices that support custom cursor */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, .magnetic, [data-cursor] { cursor: none; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; }
::selection { background: var(--gold-500); color: #1a1303; }

/* custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #1d2435; border-radius: 99px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-700); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

h1, h2, h3 { font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; }
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.0;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 16ch;
  text-wrap: balance;
}
.lead { color: var(--tx-1); font-size: clamp(1rem, 1.1vw, 1.18rem); max-width: 52ch; }

.gold-text {
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 45%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   GLASS CARD 2.0
   ============================================================ */
.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-card);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}
.glass::after { /* noise */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035; mix-blend-mode: overlay; pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 1.05em 1.7em;
  border-radius: var(--r-btn);
  font-family: var(--f-mono);
  font-size: 0.82rem; letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .5s var(--ease-brand), background .3s, color .3s, box-shadow .4s;
  will-change: transform;
}
.btn .arrow { transition: transform .4s var(--ease-brand); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-600));
  color: #1a1303;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(255,140,0,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { box-shadow: 0 14px 44px rgba(255,140,0,0.4); }

.btn-ghost {
  color: var(--tx-0);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-300); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none; z-index: 9000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: var(--gold-500); mix-blend-mode: normal; }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.55);
  transition: width .3s var(--ease-brand), height .3s var(--ease-brand), background .3s, border-color .3s;
}
.cursor-ring.hover { width: 64px; height: 64px; border-color: var(--gold-500); background: rgba(255,182,39,0.08); }
.cursor-ring.view { width: 86px; height: 86px; background: var(--gold-500); border-color: var(--gold-500); mix-blend-mode: normal; }
.cursor-ring .ring-label {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  color: #1a1303; opacity: 0; transition: opacity .2s; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; height: 100%;
}
.cursor-ring.view .ring-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-0);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-brand);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.pre-logo { position: relative; width: clamp(220px, 32vw, 340px); overflow: hidden; opacity: 1; animation: preLogoIn .9s var(--ease-brand) both; }
.pre-mark { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 0 40px rgba(255,182,39,0.22)); }
@keyframes preLogoIn { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }
.pre-shine { position: absolute; top: 0; left: -60%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg); animation: preShine 2.1s ease-in-out 0.6s infinite; }
@keyframes preShine { 0% { left: -60%; } 55%,100% { left: 130%; } }
.preloader.filled .pre-logo { animation: preLogoPop .5s var(--ease-brand) forwards; }
@keyframes preLogoPop { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }
.pre-bar { width: 210px; height: 2px; background: #1c2233; overflow: hidden; position: relative; border-radius: 2px; }
.pre-bar i { position: absolute; inset: 0; width: 0%; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); box-shadow: 0 0 12px rgba(255,182,39,0.7); }
.pre-pct { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--tx-2); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: padding .4s var(--ease-brand), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-block: 0.9rem;
  background: rgba(5,6,8,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,182,39,0.08);
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-full { height: 38px; width: auto; display: block; filter: drop-shadow(0 5px 14px rgba(255,140,0,0.22)); transition: transform .5s var(--ease-brand), filter .4s; }
.nav-logo:hover .logo-full { transform: scale(1.04); filter: drop-shadow(0 6px 20px rgba(255,140,0,0.4)); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-link {
  position: relative; font-size: 0.9rem; color: var(--tx-1);
  font-weight: 500; transition: color .3s; overflow: hidden;
}
.nav-link:hover { color: var(--tx-0); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500);
  opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s;
}
.nav-link:hover::after, .nav-link.active::after { opacity: 1; transform: translateX(0); }
.nav-cta { display: flex; align-items: center; gap: 1.2rem; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px; width: 30px; padding: 6px 0;
  }
  .nav-burger span { height: 2px; background: var(--tx-0); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--bg-0);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-brand);
}
.mobile-menu.open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 600; color: var(--tx-0); }
.mobile-menu a span { color: var(--gold-500); font-family: var(--f-mono); font-size: 0.8rem; vertical-align: super; margin-right: 0.6rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-block: 7rem 5rem; }
.hero-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.aurora-blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: radial-gradient(circle, rgba(255,182,39,0.4), transparent 65%); }
.aurora-blob.b2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw; background: radial-gradient(circle, rgba(0,212,255,0.16), transparent 65%); }
.aurora-blob.b3 { width: 38vw; height: 38vw; left: 30vw; bottom: -14vw; background: radial-gradient(circle, rgba(123,47,255,0.14), transparent 65%); }
/* ---- Hero stage: sphere + portrait concentric ---- */
.hero-stage { position: absolute; top: 0; bottom: 0; right: 0; width: clamp(440px, 52%, 940px); z-index: 1; pointer-events: none; }
.hero canvas#sphere { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* ---- Hero portrait figure (h-centered in sphere, bottom planted on marquee) ---- */
.hero-figure {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  height: min(94%, 880px); aspect-ratio: 486 / 800;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none; perspective: 1200px; z-index: 2;
  opacity: 0; animation: figReveal 1.1s var(--ease-brand) 0.35s forwards;
}
@keyframes figReveal { to { opacity: 1; } }
.hero-portrait { transform-origin: 50% 100%; }
.hero-portrait {
  position: relative; z-index: 2;
  height: 100%; width: auto; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,0.65)) drop-shadow(0 0 42px rgba(255,182,39,0.16));
  will-change: transform; transform-origin: 50% 80%;
}
.figure-glow {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 56%; height: 56%; z-index: 1;
  background: radial-gradient(closest-side, rgba(255,182,39,0.40), rgba(255,140,0,0.10) 58%, transparent 74%);
  filter: blur(24px);
}
.figure-ring {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 52%; aspect-ratio: 1; border-radius: 50%; z-index: 1;
  border: 1px solid rgba(255,182,39,0.22);
  box-shadow: inset 0 0 70px rgba(255,182,39,0.05);
}
.hero-figure::after { /* reflective floor fade */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 80%; height: 40%; z-index: 0;
  background: radial-gradient(closest-side at 50% 100%, rgba(255,182,39,0.12), transparent 70%);
  filter: blur(10px);
}
.figure-float {
  position: absolute; z-index: 3;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.03em; white-space: nowrap;
  padding: 0.6em 0.95em; border-radius: 12px; color: var(--tx-0);
  background: var(--glass); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,182,39,0.25); box-shadow: 0 12px 30px rgba(0,0,0,0.55);
  will-change: transform;
}
.figure-float .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; margin-right: 6px; box-shadow: 0 0 8px #3ddc84; }
@media (prefers-reduced-motion: reduce) { .hero-figure { opacity: 1; animation: none; } }
.figure-float.chip-a { top: 16%; left: -4%; }
.figure-float.chip-b { bottom: 20%; right: -4%; }

@media (max-width: 1024px) {
  .figure-float.chip-a { left: 2%; }
  .figure-float.chip-b { right: 2%; }
}
.hero-grid { position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 30% 40%, #000 10%, transparent 70%);
}

/* ---- Hero left ruler ---- */
.hero-ruler { position: absolute; left: clamp(12px, 2vw, 36px); top: 0; bottom: 0; width: 34px; z-index: 4; pointer-events: none; }
.ruler-line { position: absolute; left: 0; top: 11%; bottom: 11%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,182,39,0.32) 9%, rgba(255,182,39,0.32) 91%, transparent); }
.ruler-ticks { position: absolute; left: 0; top: 11%; bottom: 11%; width: 8px; background: repeating-linear-gradient(to bottom, rgba(255,182,39,0.4) 0 1px, transparent 1px 22px); }
.ruler-ticks::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(to bottom, rgba(255,182,39,0.7) 0 1.5px, transparent 1.5px 110px); }
.ruler-cap { position: absolute; left: 2px; font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.18em; color: var(--tx-2); }
.ruler-cap.top { top: calc(11% - 16px); }
.ruler-cap.bot { bottom: calc(11% - 16px); }
.ruler-label { position: absolute; left: 17px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.34em; color: var(--tx-2); text-transform: uppercase; white-space: nowrap; }
@media (max-width: 980px) { .hero-ruler { display: none; } }
.hero-inner.wrap { max-width: none; }
.hero-content { max-width: min(58%, 720px); }
@media (min-width: 981px) { .hero-content { padding-left: 52px; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.55em 1.1em; border-radius: var(--r-pill);
  background: rgba(255,182,39,0.06); border: 1px solid rgba(255,182,39,0.22);
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gold-200);
}
.badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); position: relative; }
.badge .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold-500); animation: pulsering 2s ease-out infinite; }
@keyframes pulsering { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6.2vw, 6rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-block: 1.3rem 1.4rem;
}
.hero h1 .line { display: block; overflow: hidden; white-space: nowrap; }
.hero-sub { color: var(--tx-1); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 46ch; }

.role-switch { display: inline-flex; align-items: baseline; gap: 0.5ch; font-family: var(--f-mono); font-size: 0.95rem; color: var(--tx-2); margin-top: 1.4rem; }
.role-rotator { position: relative; height: 1.4em; overflow: hidden; display: inline-block; min-width: 26ch; }
.role-rotator span { position: absolute; left: 0; top: 0; color: var(--gold-500); white-space: nowrap; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.6rem; }
.hero-stat .n { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--tx-0); }
.hero-stat .l { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--tx-2); text-transform: uppercase; }
.hero-stat { position: relative; padding-left: 1.4rem; }
.hero-stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: linear-gradient(var(--gold-500), transparent); }

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.scroll-cue .mouse { width: 22px; height: 36px; border: 1px solid var(--tx-2); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue .mouse i { width: 3px; height: 7px; border-radius: 2px; background: var(--gold-500); animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(7px); opacity: 0.3; } }
.scroll-cue span { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.3em; color: var(--tx-2); text-transform: uppercase; }

@media (max-width: 860px) {
  .hero-stage { width: 100%; }
  .hero canvas#sphere { opacity: 0.28; }
  .hero-content { max-width: 100%; }
  .hero h1 .line { white-space: normal; }
  .hero-figure { height: 76%; opacity: 0.3; animation: none; }
  .figure-float { display: none; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-block: 1px solid rgba(255,255,255,0.07); padding-block: 1.6rem; overflow: hidden; background: var(--bg-1); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-mono); font-size: clamp(1rem, 1.6vw, 1.5rem); text-transform: uppercase; letter-spacing: 0.18em; color: var(--tx-2); display: inline-flex; align-items: center; gap: 3rem; transition: color .3s; }
.marquee-track span:hover { color: var(--gold-500); }
.marquee-track span::after { content: "✦"; color: var(--gold-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-copy h2 { margin-block: 1.2rem 1.5rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 1.8rem; }
.tag { padding: 0.5em 1em; border-radius: var(--r-pill); font-size: 0.8rem; background: rgba(255,182,39,0.06); border: 1px solid rgba(255,182,39,0.18); color: var(--gold-200); transition: background .3s, color .3s, transform .3s; }
.tag:hover { background: var(--gold-500); color: #1a1303; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 0.5em; color: var(--gold-300); font-family: var(--f-mono); font-size: 0.85rem; position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-brand); }
.text-link:hover::after { transform: scaleX(1); }

.tilt-wrap { position: relative; perspective: 1100px; }
.about-orbit { position: absolute; top: 47%; left: 50%; width: 168%; height: 162%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; opacity: 1; }
.tilt-card { position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: var(--r-card); transform-style: preserve-3d; transition: transform .2s var(--ease-brand); will-change: transform; }
.portrait-slot {
  position: absolute; inset: 0; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid rgba(255,182,39,0.3);
  background:
    repeating-linear-gradient(135deg, rgba(255,182,39,0.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
  display: grid; place-items: center;
}
.portrait-slot .ph-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--tx-2); text-transform: uppercase; text-align: center; padding: 1rem; }
.portrait-slot .ph-label b { display: block; color: var(--gold-400); margin-bottom: 0.4rem; font-size: 1.6rem; font-family: var(--f-display); letter-spacing: 0; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait-sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, transparent 45%, rgba(5,6,8,0.15) 70%, rgba(5,6,8,0.72) 100%); }
.portrait-slot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--r-card);
  box-shadow: inset 0 0 80px rgba(255,182,39,0.06); mix-blend-mode: screen; }
.tilt-card .glow-frame { position: absolute; inset: 0; border-radius: var(--r-card); border: 1px solid rgba(255,182,39,0.25); box-shadow: inset 0 0 60px rgba(255,182,39,0.08); pointer-events: none; transition: border-color .3s; }
.tilt-card:hover .glow-frame { border-color: rgba(255,182,39,0.6); }

.float-badge {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem; border-radius: 14px; font-size: 0.78rem; white-space: nowrap;
  background: var(--glass); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,182,39,0.25); box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  transform: translateZ(60px) translateY(var(--fy, 0px));
}
.float-badge svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }
.float-badge b { color: var(--tx-0); font-family: var(--f-mono); }
.float-badge.fb1 { top: -1.2rem; left: -1.8rem; }
.float-badge.fb2 { bottom: -1.2rem; right: -1.6rem; }
.float-badge.fb3 { top: 38%; right: -2.6rem; }

/* ============================================================
   SERVICES (bento)
   ============================================================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.4rem; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* premium service card */
.svc-card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-card); overflow: hidden;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(255,182,39,0.08), transparent 42%),
    linear-gradient(165deg, rgba(20,26,42,0.92), rgba(9,12,20,0.92));
  transition: transform .55s var(--ease-brand), box-shadow .5s, border-color .5s;
  isolation: isolate;
}
.svc-card::before { /* gradient hairline border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1;
  background: linear-gradient(160deg, rgba(255,182,39,0.34), rgba(255,255,255,0.05) 38%, rgba(255,255,255,0.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
  transition: background .5s;
}
.svc-spot { /* cursor-follow spotlight */
  position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .45s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,182,39,0.16), transparent 60%);
}
.svc-card:hover .svc-spot { opacity: 1; }
.svc-card:hover { transform: translateY(-12px); border-color: transparent; box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,182,39,0.05); }
.svc-card:hover::before { background: linear-gradient(160deg, rgba(255,182,39,0.85), rgba(255,182,39,0.18) 45%, rgba(255,182,39,0.06)); }
.svc-inner { position: relative; z-index: 2; padding: 2.1rem 2rem 1.8rem; display: flex; flex-direction: column; height: 100%; }

.svc-num { position: absolute; top: 1.3rem; right: 1.7rem; font-family: var(--f-display); font-size: 3.4rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,182,39,0.16); transition: -webkit-text-stroke-color .5s; }
.svc-card:hover .svc-num { -webkit-text-stroke-color: rgba(255,182,39,0.4); }

.svc-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.7rem; }
.svc-icon { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(150deg, rgba(255,182,39,0.16), rgba(255,182,39,0.03));
  border: 1px solid rgba(255,182,39,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); transition: transform .5s var(--ease-brand), background .5s, box-shadow .5s; }
.svc-icon svg { width: 26px; height: 26px; color: var(--gold-400); transition: color .4s; }
.svc-card:hover .svc-icon { transform: rotate(-6deg) scale(1.06); background: linear-gradient(150deg, var(--gold-400), var(--gold-600)); box-shadow: 0 10px 28px rgba(255,140,0,0.4), inset 0 1px 0 rgba(255,255,255,0.4); }
.svc-card:hover .svc-icon svg { color: #1a1303; }

.svc-pill { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); padding: 0.42em 0.85em; border: 1px solid rgba(255,182,39,0.22); border-radius: 99px; background: rgba(255,182,39,0.04); }
.svc-card h3 { font-family: var(--f-head); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.svc-card p { color: var(--tx-1); font-size: 0.93rem; line-height: 1.55; }

.svc-tools { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.4rem; }
.svc-tools span { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.02em; color: var(--tx-1); padding: 0.4em 0.7em; border-radius: 7px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); transition: color .3s, border-color .3s; }
.svc-card:hover .svc-tools span { border-color: rgba(255,182,39,0.18); }

.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.6rem; }
.svc-foot::before { content: ""; position: absolute; left: 2rem; right: 2rem; height: 1px; margin-top: -1.6rem; background: linear-gradient(90deg, rgba(255,182,39,0.18), transparent); }
.svc-more { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--tx-2); transition: color .4s; }
.svc-card:hover .svc-more { color: var(--gold-300); }
.svc-arrow { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); color: var(--tx-1); transition: transform .5s var(--ease-brand), background .4s, color .4s, border-color .4s; }
.svc-arrow svg { width: 16px; height: 16px; }
.svc-card:hover .svc-arrow { background: var(--gold-500); border-color: var(--gold-500); color: #1a1303; transform: translateX(4px); }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .about-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { position: relative; overflow: hidden; border-block: 1px solid rgba(255,182,39,0.1); }
.stats-band .hero-aurora { opacity: 0.5; }
.stats-head { position: relative; z-index: 2; text-align: center; margin-bottom: 3.4rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.stats-head .eyebrow { justify-content: center; }
.stats-sub { color: var(--tx-1); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 50ch; text-wrap: balance; }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat-cell {
  position: relative; text-align: center; padding: 2.4rem 1.4rem 2rem; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(170deg, rgba(20,26,42,0.55), rgba(9,12,20,0.55));
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform .5s var(--ease-brand), border-color .4s, box-shadow .4s;
}
.stat-cell::before { content: ""; position: absolute; left: 50%; top: -40%; width: 130%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,182,39,0.14), transparent 62%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.stat-cell:hover { transform: translateY(-8px); border-color: rgba(255,182,39,0.28); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.stat-cell:hover::before { opacity: 1; }
.stat-ico { width: 46px; height: 46px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,182,39,0.22); background: rgba(255,182,39,0.05); color: var(--gold-400); transition: transform .5s var(--ease-brand), background .4s, color .4s; }
.stat-ico svg { width: 22px; height: 22px; }
.stat-cell:hover .stat-ico { transform: translateY(-2px) scale(1.05); background: var(--gold-500); color: #1a1303; }
.stat-cell .n { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.stat-cell .l { font-family: var(--f-head); font-size: 1rem; font-weight: 600; color: var(--tx-0); margin-top: 0.7rem; }
.stat-cell .stat-note { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--tx-2); margin-top: 0.7rem; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PORTFOLIO (bento)
   ============================================================ */
.filter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.6rem; }
.filter-btn { padding: 0.62em 1.25em; border-radius: 99px; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--tx-1); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.015); transition: color .3s, border-color .3s, background .3s; }
.filter-btn:hover { color: var(--tx-0); border-color: rgba(255,182,39,0.4); }
.filter-btn.active { background: var(--gold-500); color: #1a1303; border-color: var(--gold-500); font-weight: 600; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; grid-auto-rows: 232px; }
.proj {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,0.07); background: var(--bg-2);
  transition: transform .55s var(--ease-brand), box-shadow .5s, border-color .5s, opacity .4s;
}
.proj::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 4; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,182,39,0.6), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s;
}
.proj:hover { transform: translateY(-8px); box-shadow: 0 36px 70px rgba(0,0,0,0.6); border-color: transparent; }
.proj:hover::after { opacity: 1; }
.proj.hidden { display: none; }

.proj-img { position: absolute; inset: 0; z-index: 0; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.82); transition: transform .7s var(--ease-brand), filter .5s; }
.proj:hover .proj-img img { transform: scale(1.07); filter: saturate(1) brightness(0.92); }
.proj-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5,6,8,0.95) 4%, rgba(5,6,8,0.45) 42%, rgba(5,6,8,0.12) 100%); transition: opacity .4s; }

.proj-top { position: absolute; top: 1.25rem; left: 1.4rem; right: 1.4rem; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.proj-idx { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.result-chip { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.04em; padding: 0.45em 0.85em; border-radius: 99px; background: rgba(255,182,39,0.16); border: 1px solid rgba(255,182,39,0.4); color: var(--gold-100); backdrop-filter: blur(8px); }

.proj-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1.6rem; }
.proj-meta { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.proj-cat { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.proj-year { font-family: var(--f-mono); font-size: 0.62rem; color: var(--tx-2); }
.proj-year::before { content: "· "; }
.proj-body h3 { font-family: var(--f-head); font-size: clamp(1.15rem, 1.5vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; max-width: 22ch; }

.proj-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease-brand), opacity .4s, margin-top .5s var(--ease-brand); }
.proj:hover .proj-foot { max-height: 60px; opacity: 1; margin-top: 1rem; }
.proj-tech { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.proj-tech span { font-family: var(--f-mono); font-size: 0.6rem; padding: 0.4em 0.65em; border-radius: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); color: var(--tx-0); backdrop-filter: blur(6px); }
.proj-go { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-500); color: #1a1303; transition: transform .45s var(--ease-brand); }
.proj-go svg { width: 16px; height: 16px; }
.proj:hover .proj-go { transform: scale(1.05); }

.proj.a { grid-column: span 7; grid-row: span 2; }
.proj.a h3 { font-size: clamp(1.4rem, 2.2vw, 2.4rem); }
.proj.b { grid-column: span 5; }
.proj.c { grid-column: span 5; }
.proj.d { grid-column: span 6; }
.proj.e { grid-column: span 6; }
.proj.f { grid-column: span 12; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .proj.a, .proj.b, .proj.c, .proj.d, .proj.e, .proj.f { grid-column: span 2; grid-row: span 1; }
  .proj-foot { max-height: 60px; opacity: 1; margin-top: 1rem; }
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: stretch; }
.skills-panel, .radar-panel {
  position: relative; border-radius: var(--r-card); padding: 2rem 2.1rem;
  background: linear-gradient(165deg, rgba(20,26,42,0.7), rgba(9,12,20,0.7));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 24px 50px rgba(0,0,0,0.4);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.panel-eyebrow { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); }
.panel-note { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--tx-2); }

.skill-tabs { display: flex; gap: 0.4rem; }
.skill-tab { padding: 0.5em 1em; border-radius: 99px; font-family: var(--f-mono); font-size: 0.7rem; color: var(--tx-1); border: 1px solid rgba(255,255,255,0.1); transition: all .3s; }
.skill-tab:hover { color: var(--tx-0); }
.skill-tab.active { background: rgba(255,182,39,0.12); color: var(--gold-300); border-color: rgba(255,182,39,0.4); }
.skill-panel { display: none; flex-direction: column; gap: 1.35rem; }
.skill-panel.active { display: flex; }
.skill-row .top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.6rem; }
.skill-row .top span:first-child { font-family: var(--f-body); font-size: 0.95rem; font-weight: 500; color: var(--tx-0); }
.skill-row .top .pct { font-family: var(--f-mono); font-size: 0.82rem; color: var(--gold-400); }
.skill-track { position: relative; height: 6px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; }
.skill-fill { position: relative; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold-700), var(--gold-400)); box-shadow: 0 0 14px rgba(255,182,39,0.7); transition: width 1.4s var(--ease-brand); }
.skill-fill::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5)); border-radius: 99px; }

.radar-panel { display: flex; flex-direction: column; }
.radar-wrap { flex: 1; display: grid; place-items: center; }
.radar { width: 100%; max-width: 380px; }
.radar .grid-line { fill: none; stroke: rgba(255,255,255,0.06); }
.radar .axis { stroke: rgba(255,255,255,0.08); }
.radar .area { fill: rgba(255,182,39,0.14); stroke: var(--gold-500); stroke-width: 2; filter: drop-shadow(0 0 12px rgba(255,182,39,0.45)); transition: all 1.2s var(--ease-brand); }
.radar .pt { fill: var(--gold-300); stroke: var(--bg-0); stroke-width: 2; }
.radar .hub { fill: var(--gold-500); }
.radar .lbl { font-family: var(--f-mono); font-size: 11px; fill: var(--tx-1); }
.radar .lbl .v { fill: var(--gold-400); }
@media (max-width: 820px) { .skills-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-ctrl { display: flex; gap: 0.7rem; }
.testi-arrow { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); color: var(--tx-0); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.testi-arrow:hover { background: var(--gold-500); border-color: var(--gold-500); color: #1a1303; transform: translateY(-2px); }
.testi-arrow svg { width: 19px; height: 19px; }

.testi-viewport { overflow: hidden; cursor: grab; padding: 1rem 0; }
.testi-viewport:active { cursor: grabbing; }
.testi-track { display: flex; gap: 1.6rem; transition: transform .6s var(--ease-brand); will-change: transform; }
.testi-card {
  flex: 0 0 clamp(310px, 44vw, 520px); position: relative; padding: 2.6rem;
  border-radius: var(--r-card); opacity: 0.45;
  background: linear-gradient(165deg, rgba(20,26,42,0.8), rgba(9,12,20,0.85));
  border: 1px solid rgba(255,255,255,0.07);
  transition: opacity .5s var(--ease-brand), transform .5s var(--ease-brand), border-color .5s, box-shadow .5s;
}
.testi-card.is-active { opacity: 1; border-color: rgba(255,182,39,0.22); box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 50px rgba(255,182,39,0.05); }
.testi-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.4rem; }
.testi-card .quote-mark { font-family: var(--f-display); font-size: 5.5rem; color: rgba(255,182,39,0.22); line-height: 0.6; }
.testi-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 16px; height: 16px; color: var(--gold-500); }
.testi-score { font-family: var(--f-mono); font-size: 0.72rem; color: var(--tx-2); }
.testi-card blockquote { font-family: var(--f-head); font-size: clamp(1.05rem, 1.4vw, 1.32rem); font-weight: 500; color: var(--tx-0); line-height: 1.5; letter-spacing: -0.01em; }
.testi-author { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-700)); display: grid; place-items: center; font-family: var(--f-display); color: #1a1303; font-weight: 600; font-size: 1.05rem; flex: none; box-shadow: 0 6px 18px rgba(255,140,0,0.3); }
.testi-id { flex: 1; }
.testi-id .name { color: var(--tx-0); font-weight: 600; font-size: 1rem; }
.testi-id .role { font-size: 0.82rem; color: var(--gold-300); font-family: var(--f-mono); }
.testi-loc { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--tx-2); text-align: right; max-width: 9ch; }
.testi-nav { display: flex; gap: 0.7rem; margin-top: 2rem; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: #2a3142; transition: all .3s; }
.testi-dot.active { width: 26px; border-radius: 99px; background: var(--gold-500); }
@media (max-width: 600px) { .testi-ctrl { display: none; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 26px; text-align: center;
  padding: 1px; /* room for conic border */
  background: conic-gradient(from 140deg, rgba(255,182,39,0.5), rgba(255,182,39,0.04) 25%, rgba(255,182,39,0.04) 55%, rgba(255,140,0,0.45) 75%, rgba(255,182,39,0.5));
  box-shadow: 0 50px 100px rgba(0,0,0,0.55), 0 0 80px rgba(255,140,0,0.06);
}
.cta-inner {
  position: relative; z-index: 3; border-radius: 25px;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  background: radial-gradient(120% 130% at 50% -10%, rgba(255,182,39,0.13), transparent 55%), linear-gradient(180deg, #0c1019, #070a11);
  overflow: hidden;
}
.cta-aura {
  position: absolute; z-index: 0; left: 50%; top: -30%; width: 75%; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,182,39,0.32), rgba(255,140,0,0.08) 45%, transparent 68%);
  filter: blur(50px); animation: ctaPulse 7s ease-in-out infinite;
}
@keyframes ctaPulse { 0%,100% { opacity: 0.7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.12); } }
.cta-grid-bg {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
}
.cta-avail {
  display: inline-flex; align-items: center; gap: 0.6em; margin-bottom: 1.8rem;
  padding: 0.55em 1.15em; border-radius: var(--r-pill);
  background: rgba(255,182,39,0.07); border: 1px solid rgba(255,182,39,0.25);
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--gold-200);
}
.cta-avail .pulse { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; position: relative; box-shadow: 0 0 8px #3ddc84; }
.cta-avail .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ddc84; animation: pulsering 2s ease-out infinite; }
.cta-card h2 { position: relative; font-family: var(--f-display); font-size: clamp(2.3rem, 5.6vw, 4.8rem); line-height: 0.98; letter-spacing: -0.03em; }
.cta-card p { position: relative; color: var(--tx-1); margin: 1.3rem auto 2.6rem; font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 56ch; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-actions .btn { font-size: 0.9rem; padding: 1.15em 2rem; }

.cta-trust { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid rgba(255,255,255,0.07); }
.cta-trust-item { display: inline-flex; align-items: center; gap: 0.8rem; text-align: left; transition: transform .3s; }
.cta-trust-item:not(.static):hover { transform: translateY(-2px); }
.cti-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255,182,39,0.2); background: rgba(255,182,39,0.05); color: var(--gold-400); transition: background .3s, color .3s, border-color .3s; }
.cti-icon svg { width: 18px; height: 18px; }
.cta-trust-item:not(.static):hover .cti-icon { background: var(--gold-500); color: #1a1303; border-color: var(--gold-500); }
.cta-trust-item span span, .cta-trust-item > span:last-child { display: flex; flex-direction: column; }
.cta-trust-item b { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-2); font-weight: 400; }
.cta-trust-item > span:last-child { font-size: 0.9rem; color: var(--tx-0); font-weight: 500; }
.cta-trust-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.1); }
@media (max-width: 700px) { .cta-trust-sep { display: none; } .cta-trust { gap: 1.2rem; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; border-top: 1px solid rgba(255,255,255,0.07); background: linear-gradient(180deg, var(--bg-1), #060810); overflow: hidden; }

/* big CTA strip */
.footer-cta-strip { border-bottom: 1px solid rgba(255,255,255,0.06); padding-block: clamp(2.6rem, 5vw, 4.4rem); }
.footer-bigline { display: inline-flex; flex-direction: column; gap: 0.5rem; }
.fbl-sm { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); }
.fbl-lg { font-family: var(--f-display); font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--tx-0); display: inline-flex; align-items: center; gap: 0.3em; }
.fbl-arrow { display: inline-block; color: var(--gold-500); transition: transform .45s var(--ease-brand); }
.footer-bigline:hover .fbl-arrow { transform: translate(8px, -8px); }
.footer-bigline:hover .fbl-lg { color: #fff; }

.footer .wrap { position: relative; padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; position: relative; z-index: 2; }
.footer-brand .nav-logo { margin-bottom: 1.2rem; }
.footer-brand .logo-full { height: 50px; }
.footer-brand p { color: var(--tx-1); max-width: 32ch; font-size: 0.92rem; line-height: 1.6; }
.footer-avail { display: inline-flex; align-items: center; gap: 0.6em; margin-top: 1.4rem; padding: 0.5em 0.95em; border-radius: var(--r-pill); background: rgba(61,220,132,0.06); border: 1px solid rgba(61,220,132,0.22); font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: #8fe9b6; }
.footer-avail .pulse { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; position: relative; box-shadow: 0 0 7px #3ddc84; }
.footer-avail .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ddc84; animation: pulsering 2s ease-out infinite; }

.footer-col h4 { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-2); margin-bottom: 1.3rem; }
.footer-col a { display: block; width: fit-content; color: var(--tx-1); font-size: 0.92rem; padding: 0.4rem 0; transition: color .3s; }
.footer-col a span { position: relative; display: inline-block; transition: transform .35s var(--ease-brand); }
.footer-col a span::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold-500); transition: width .35s var(--ease-brand); }
.footer-col a:hover { color: var(--gold-400); }
.footer-col a:hover span { transform: translateX(18px); }
.footer-col a:hover span::before { width: 12px; left: -18px; }

/* animated social icons */
.socials { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.socials a { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; transition: border-color .4s, transform .5s var(--ease-brand); }
.socials a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, var(--gold-400), var(--gold-600)); transform: translateY(101%); transition: transform .45s var(--ease-brand); z-index: 0; }
.socials a:hover { border-color: var(--gold-500); transform: translateY(-5px); }
.socials a:hover::before { transform: translateY(0); }
.socials svg { position: relative; z-index: 1; width: 18px; height: 18px; color: var(--tx-1); transition: color .35s, transform .45s var(--ease-brand); }
.socials a:hover svg { color: #1a1303; transform: scale(1.12) rotate(-6deg); }

.footer-wordmark { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 600; font-size: clamp(4rem, 21vw, 17rem); line-height: 0.8; letter-spacing: -0.04em; text-align: center; margin-top: 1rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05); background: linear-gradient(180deg, rgba(255,182,39,0.08), transparent 75%); -webkit-background-clip: text; background-clip: text; pointer-events: none; user-select: none; }

.footer-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-block: 2rem; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 1rem; margin-top: -1rem; }
.footer-bottom p { font-family: var(--f-mono); font-size: 0.74rem; color: var(--tx-2); }
.to-top { display: inline-flex; align-items: center; gap: 0.6em; font-family: var(--f-mono); font-size: 0.74rem; color: var(--tx-1); }
.to-top:hover { color: var(--gold-400); }
.tt-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.to-top:hover .tt-arrow { background: var(--gold-500); color: #1a1303; border-color: var(--gold-500); transform: translateY(-3px); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-brand), transform .9s var(--ease-brand); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-brand), transform .8s var(--ease-brand); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

.word-split .word { display: inline-block; overflow: hidden; }
.word-split .word > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease-brand); }
.word-split.in .word > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-stagger > *, .word-split .word > span { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
