/* Sharad Patel — full-width portfolio · dark / light */

@property --orbit {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ─── Dark theme (default) ─── */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #040406;
  --bg-elevated: #0c0c12;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;
  --accent: #10b981;
  --accent-2: #06b6d4;
  --accent-3: #a855f7;
  --accent-soft: rgba(16, 185, 129, 0.15);
  --grad: linear-gradient(125deg, #10b981, #06b6d4, #a855f7);
  --grad-text: linear-gradient(125deg, #34d399, #22d3ee, #c084fc, #34d399);
  --hero-bg: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(16, 185, 129, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(168, 85, 247, 0.08), transparent 50%);
  --grid-line: rgba(255, 255, 255, 0.04);
  --glow-1: rgba(16, 185, 129, 0.12);
  --glow-2: rgba(6, 182, 212, 0.1);
  --glow-3: rgba(168, 85, 247, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(4, 4, 6, 0.72);
  --input-bg: rgba(0, 0, 0, 0.35);
  --code-bg: #0a0a10;
  --bad-bg: rgba(239, 68, 68, 0.06);
  --bad-border: rgba(239, 68, 68, 0.2);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* ─── Light theme ─── */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fb;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #0f172a;
  --muted: #475569;
  --dim: #64748b;
  --accent: #059669;
  --accent-2: #0891b2;
  --accent-3: #7c3aed;
  --accent-soft: rgba(5, 150, 105, 0.12);
  --grad: linear-gradient(125deg, #059669, #0891b2, #7c3aed);
  --grad-text: linear-gradient(125deg, #059669, #0891b2, #7c3aed, #059669);
  --hero-bg: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(5, 150, 105, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(124, 58, 237, 0.06), transparent 50%);
  --grid-line: rgba(15, 23, 42, 0.06);
  --glow-1: rgba(5, 150, 105, 0.15);
  --glow-2: rgba(8, 145, 178, 0.12);
  --glow-3: rgba(124, 58, 237, 0.1);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --header-bg: rgba(244, 246, 251, 0.85);
  --input-bg: #f1f5f9;
  --code-bg: #1e293b;
  --bad-bg: rgba(239, 68, 68, 0.05);
  --bad-border: rgba(239, 68, 68, 0.25);
  --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

/* ─── Tokens ─── */
:root {
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --pad-y: clamp(4.5rem, 9vw, 8rem);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --max-text: 44rem;
  --content-max: 100%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img, video { max-width: 100%; height: auto; display: block; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.is-loaded) { overflow: hidden; }
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-2); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Full-width shell — edge padding only */
.shell {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.shell--narrow {
  max-width: 52rem;
  margin-inline: auto;
}

.gradient-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .gradient-text {
    animation: gradFlow 6s linear infinite;
  }
}
@keyframes gradFlow { to { background-position: 200% center; } }

/* Background layers */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 20%, transparent 75%);
  transition: opacity 0.45s;
}
[data-theme="light"] .bg-grid { opacity: 0.7; }

.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed; border-radius: 50%; filter: blur(100px);
  pointer-events: none; z-index: 0;
  animation: orbDrift 18s ease-in-out infinite;
}
.orb--1 { width: min(50vw, 520px); height: min(50vw, 520px); top: -8%; right: 5%; background: var(--glow-1); }
.orb--2 { width: min(40vw, 400px); height: min(40vw, 400px); bottom: 10%; left: -5%; background: var(--glow-2); animation-delay: -6s; }
.orb--3 { width: min(35vw, 360px); height: min(35vw, 360px); top: 45%; left: 40%; background: var(--glow-3); animation-delay: -12s; }
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 300;
  background: var(--grad);
  width: 0;
  box-shadow: 0 0 16px var(--accent-soft);
}

.skip {
  position: fixed; top: -100%; left: var(--pad-x); z-index: 999;
  padding: 0.5rem 1rem; background: var(--accent); color: #fff;
  border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 1rem; }

main, .header, .footer, .ticker, .hire-strip { position: relative; z-index: 1; }

/* ─── Header ─── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 200;
  height: var(--header-h);
  transition: height 0.35s var(--ease), background 0.35s, box-shadow 0.35s;
}
.header.scrolled {
  --header-h: 64px;
  background: var(--header-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.header__bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand span { white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.brand:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 24px var(--accent-soft);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  flex: 1;
  padding-inline: 1rem;
}
.header__nav a:not(.btn) {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.header__nav a:not(.btn):hover,
.header__nav a:not(.btn).active {
  color: var(--text);
  background: var(--bg-card);
}
.header__nav .nav-external { color: var(--accent); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

body.nav-open { overflow: hidden; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  transform: scale(1.06);
  border-color: var(--accent);
}
.theme-toggle svg { width: 20px; height: 20px; transition: transform 0.5s var(--ease), opacity 0.3s; }
.theme-toggle__sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle__moon { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  width: 20px; height: 2px; background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: show full nav, hide burger */
@media (min-width: 769px) {
  .burger { display: none !important; }
  .header__nav {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    visibility: visible !important;
    flex-direction: row !important;
    flex: 1 !important;
    padding: 0 0.75rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .header__nav a:not(.btn) {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
  }
  .header__nav .btn--sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* Tablet & mobile: slide-in menu */
@media (max-width: 768px) {
  .burger { display: flex; }
  .header__nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(280px, 85vw);
    height: calc(100dvh - var(--header-h));
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem;
    gap: 0.25rem;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow);
    z-index: 199;
    overflow-y: auto;
  }
  .header__nav.open { transform: translateX(0); }
  .header__nav a:not(.btn) {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    white-space: nowrap;
  }
  .header__nav .btn { margin-top: 0.5rem; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font); font-size: 0.92rem; font-weight: 700;
  border-radius: 12px; border: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-soft);
}
.btn--glow {
  position: relative;
}
.btn--glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0.35;
  filter: blur(12px);
  z-index: -1;
  transition: opacity 0.3s;
}
.btn--glow:hover::after { opacity: 0.55; }
[data-theme="light"] .btn--primary { color: #fff; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-soft);
  color: #fff;
}
.btn--ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn--full { width: 100%; }

.float-hire {
  position: fixed; bottom: 1.5rem; right: var(--pad-x); z-index: 150;
  padding: 0.9rem 1.5rem;
  background: var(--grad);
  color: #fff; font-weight: 800; font-size: 0.88rem;
  border-radius: 99px;
  box-shadow: 0 8px 40px var(--accent-soft);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
  pointer-events: none;
}
.float-hire.show { opacity: 1; transform: none; pointer-events: auto; }
.float-hire:hover { color: #fff; transform: translateY(-3px); }
@media (prefers-reduced-motion: no-preference) {
  .float-hire.show {
    animation: hirePulse 2.5s ease-in-out infinite;
  }
}
@keyframes hirePulse {
  0%, 100% { box-shadow: 0 8px 40px var(--accent-soft); }
  50% { box-shadow: 0 12px 48px rgba(16, 185, 129, 0.45); }
}
@media (max-width: 768px) {
  .float-hire { bottom: 1rem; right: max(1rem, var(--pad-x)); }
  #contact { padding-bottom: 5rem; }
}

/* ─── Hero ─── */
.hero {
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
}
.hero__bg {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--hero-bg);
  pointer-events: none;
}
.hero > .shell {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}
@media (min-width: 1200px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  }
}
@media (min-width: 1600px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 560px);
  }
}
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 3rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__text { order: 1; }
  .hero__visual { order: 2; }
  .hero__text { text-align: left; }
  .hero__chips, .hero__btns { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .hero__text { text-align: center; }
  .hero__chips, .hero__btns { justify-content: center; }
  .hero-stats { margin-inline: auto; }
}

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  margin-bottom: 1.5rem;
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.hero__clarity {
  font-size: 0.88rem;
  line-height: 1.55;
  padding: 0.7rem 1rem;
  margin-bottom: 1.1rem;
  max-width: var(--max-text);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
}
.hero__clarity strong { color: var(--text); font-weight: 700; }

.contact__clarity {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 36rem;
  line-height: 1.6;
}
.contact__clarity strong { color: var(--text); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

.hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  max-width: 16em;
  line-height: 1.08;
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text);
  max-width: var(--max-text);
  margin-bottom: 0.85rem;
  line-height: 1.6;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--muted);
  max-width: var(--max-text);
  margin-bottom: 1.75rem;
}
.hero__sub strong { color: var(--text); }
.hero__sub em { color: var(--accent); font-style: normal; font-weight: 600; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 2rem;
}
.chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem; color: var(--muted);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--accent); }
.chip svg { color: var(--accent); flex-shrink: 0; }

.hero__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 520px;
}
@media (max-width: 500px) { .hero-stats { grid-template-columns: 1fr; } }
.hero-stat {
  padding: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.hero-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hero-stat__n {
  display: block;
  font-size: 1.75rem; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat__l {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--dim);
}

/* Photo — large, premium, no crop */
.hero__visual {
  width: 100%;
  max-width: min(480px, 42vw);
  justify-self: end;
  flex-shrink: 0;
}
@media (min-width: 1200px) {
  .hero__visual { max-width: min(520px, 44vw); }
}
@media (min-width: 1600px) {
  .hero__visual { max-width: min(560px, 46vw); }
}
@media (max-width: 1024px) {
  .hero__visual {
    max-width: min(400px, 90vw);
    justify-self: center;
    margin-inline: auto;
  }
  .code-window { display: none; }
}
@media (max-width: 600px) {
  .hero__visual { max-width: min(360px, 94vw); }
}

.photo-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 4px;
  border-radius: 24px;
  background: var(--grad);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
@media (prefers-reduced-motion: no-preference) {
  .photo-wrap--premium {
    animation: photoFloat 7s ease-in-out infinite;
  }
}
@keyframes photoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.photo-wrap--premium {
  background: linear-gradient(
    var(--orbit, 0deg),
    #10b981,
    #06b6d4,
    #a855f7,
    #10b981
  );
}
@media (prefers-reduced-motion: no-preference) {
  .photo-wrap--premium {
    animation: photoFloat 7s ease-in-out infinite, borderSpin 10s linear infinite;
  }
}
@keyframes borderSpin {
  to { --orbit: 360deg; }
}

.photo-wrap__glow {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 28px;
  background: var(--grad);
  opacity: 0.35;
  filter: blur(48px);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .photo-wrap__glow {
    animation: glowPulse 5s ease-in-out infinite;
  }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.28; transform: scale(0.95); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

.photo-wrap__ring {
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .photo-wrap__ring {
    animation: ringPulse 3s ease-in-out infinite;
  }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.03); opacity: 1; }
}

.photo-wrap__inner {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-elevated);
  line-height: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.photo-wrap__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}
.photo-wrap:hover .photo-wrap__img {
  transform: scale(1.02);
}
.photo-wrap__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.35rem;
  background: rgba(12, 12, 18, 0.85);
  border: 1px solid var(--accent);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .photo-wrap__badge {
  background: rgba(255, 255, 255, 0.92);
}

.code-window {
  margin-top: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--code-bg);
  max-width: 100%;
  margin-inline: auto;
  box-shadow: var(--card-shadow);
}
@media (prefers-reduced-motion: no-preference) {
  .code-window--float {
    animation: codeFloat 6s ease-in-out infinite;
    animation-delay: 0.5s;
  }
}
@keyframes codeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.code-window__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0.7rem 1rem;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-window__bar i { width: 10px; height: 10px; border-radius: 50%; }
.code-window__bar i:nth-child(1) { background: #ef4444; }
.code-window__bar i:nth-child(2) { background: #eab308; }
.code-window__bar i:nth-child(3) { background: #22c55e; }
.code-window__bar span {
  margin-left: auto;
  font-family: var(--mono); font-size: 0.7rem; color: #94a3b8;
}
.code-window__body {
  padding: 1rem 1.25rem;
  font-family: var(--mono); font-size: 0.78rem;
  line-height: 1.75; color: #cbd5e1;
  min-height: 130px;
}
.code-window__body .kw { color: #c084fc; }
.code-window__body .fn { color: #34d399; }
.code-window__body .str { color: #fbbf24; }
.code-window__body .cm { color: #64748b; }
.cursor-blink { color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Full-width band sections */
.section--band {
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-soft) 20%,
    var(--accent-soft) 80%,
    transparent
  );
  border-block: 1px solid var(--border);
}

/* Ticker */
.ticker {
  width: 100%;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.15rem 0;
  overflow: hidden;
}
.ticker__track {
  display: flex; gap: 3rem; width: max-content;
  animation: ticker 35s linear infinite;
}
.ticker__track span {
  font-family: var(--mono);
  font-size: 0.8rem; font-weight: 500;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.ticker__track span::after { content: " ◆ "; margin-left: 3rem; color: var(--accent); opacity: 0.5; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Trust band */
.trust-band {
  width: 100%;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.trust-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .trust-band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust-band__grid { grid-template-columns: 1fr; } }

.trust-card {
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.trust-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.trust-card__n {
  display: block;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust-card__l {
  display: block; margin-top: 0.35rem;
  font-size: 0.78rem; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.trust-band__note {
  text-align: center; margin-top: 1.75rem;
  color: var(--muted); font-size: 0.95rem;
}
.trust-band__note a { font-weight: 700; }

/* Who I help */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .audience { grid-template-columns: 1fr; } }
.audience-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.audience-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.audience-card__icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }
.audience-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
}
.engage__title {
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  margin-bottom: -0.5rem;
}
.engage__list {
  flex: 1;
  min-width: 200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}
.engage__list li::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 560px) { .engage__list { grid-template-columns: 1fr; } }

/* Hiring process */
.process {
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}
.process__step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.process__step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.process__n {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.process__step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.process__step p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0.65rem; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq__item[open] { border-color: var(--accent); }
.faq__item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq__item p a { font-weight: 600; }

/* Social */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform 0.25s, border-color 0.25s, color 0.25s;
}
.social__link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.social__link--wa:hover { color: #25d366; border-color: #25d366; }
.social--footer {
  margin-top: 0.65rem;
  margin-bottom: 0;
}
.social--footer a {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.social--footer a:hover { color: var(--accent); border-color: var(--accent); }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Sections */
.section {
  width: 100%;
  padding-block: var(--pad-y);
}
.section--alt { background: var(--bg-elevated); }

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 40rem;
}
.section-head--center {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .label { margin-inline: auto; }
.section-head--center h2::after { margin-inline: auto; }

.label {
  display: inline-block;
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--accent);
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin-top: 1rem;
  background: var(--grad);
  border-radius: 99px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.head-note { font-size: 0.9rem !important; color: var(--dim) !important; font-style: italic; margin-top: 0.5rem; }

/* Legacy aliases */
.head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 40rem; }
.head h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 0.75rem; }
.head h2::after {
  content: ""; display: block; width: 56px; height: 4px;
  margin-top: 1rem; background: var(--grad); border-radius: 99px;
  transform-origin: left center;
}
.head--center h2::after { transform-origin: center; }
.head p { color: var(--muted); max-width: 38rem; }

.head--center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.head--center .label { margin-inline: auto; }
.head--center h2::after { margin-inline: auto; }
.head--center p { margin-inline: auto; }

.section--premium {
  width: 100%;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}

/* Roles */
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) { .roles { grid-template-columns: 1fr; } }
.roles__box {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.roles__box:hover { transform: translateY(-4px); border-color: var(--accent); }
.roles__box--me { border-color: rgba(16, 185, 129, 0.35); }
.roles__box h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.roles__box li {
  list-style: none; padding-left: 1.25rem; position: relative;
  font-size: 0.92rem; color: var(--muted); margin-bottom: 0.5rem;
}
.roles__box li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent);
}

/* Flow */
.flow {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.flow__step {
  flex: 1; min-width: 160px; max-width: 240px;
  padding: 1.5rem; text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease);
}
.flow__step:hover { transform: translateY(-6px); }
.flow__step--lead { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-soft); }
.flow__step--lead img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent);
  margin-bottom: 0.5rem;
}
.flow__label { display: block; font-weight: 800; margin-bottom: 0.35rem; }
.flow__step p { font-size: 0.8rem; color: var(--dim); }
.flow__arrow { align-self: center; font-size: 1.5rem; color: var(--accent); }
@media (max-width: 700px) { .flow__arrow { display: none; } .flow__step { max-width: 100%; } }

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) { .team-cards { grid-template-columns: 1fr; } }
.team-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.team-card__icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.9rem; color: var(--muted); }

.compare {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
}
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare__col {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.compare__col--bad { background: var(--bad-bg); border-color: var(--bad-border); }
.compare__col--bad h3 { color: #f87171; margin-bottom: 1rem; }
.compare__col--bad li {
  list-style: none; color: var(--dim); font-size: 0.9rem;
  padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
}
.compare__col--bad li::before { content: "✕"; position: absolute; left: 0; color: #f87171; }
.compare__col--good {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.compare__good-title { color: var(--accent); margin-bottom: 1rem; font-size: 1.05rem; }
.compare__col--good li {
  list-style: none; color: var(--muted); font-size: 0.9rem;
  padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
}
.compare__col--good li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--accent); font-weight: 800;
}

/* Projects — full width grid */
.project-filters {
  display: inline-flex; flex-wrap: wrap; gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
}
.filter {
  padding: 0.6rem 1.2rem;
  font-weight: 600; font-size: 0.85rem;
  border: none; border-radius: 99px;
  background: transparent; color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--text); }
.filter.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-soft);
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 1200px) {
  .projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.project:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.project.hidden { display: none; }
.project.is-showing { animation: cardIn 0.45s var(--ease); }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.project__visual {
  height: clamp(140px, 18vw, 200px); position: relative;
  display: flex; align-items: flex-end; padding: 1rem;
}
.project__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, var(--bg) 100%);
  opacity: 0.4;
}
.project__visual--1 { background: linear-gradient(135deg, #065f46, #10b981); }
.project__visual--2 { background: linear-gradient(135deg, #9a3412, #fb923c); }
.project__visual--3 { background: linear-gradient(135deg, #1e3a8a, #60a5fa); }
.project__visual--4 { background: linear-gradient(135deg, #5b21b6, #a78bfa); }
.project__visual--5 { background: linear-gradient(135deg, #134e4a, #2dd4bf); }
.project__visual--6 { background: linear-gradient(135deg, #312e81, #818cf8); }
.project__badge {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,0.4);
  border-radius: 6px; color: #e2e8f0;
  text-transform: uppercase;
}
.project__body { padding: 1.5rem; }
.project__cat {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.08em;
}
.project__body h3 { font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.project__body > p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.projects-note { text-align: center; margin-top: 2.5rem; color: var(--dim); }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.review:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.review p { font-style: italic; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.7; }
.review cite { font-weight: 700; font-style: normal; display: block; }
.review__tag {
  display: block; margin-top: 0.5rem;
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--dim); text-transform: uppercase;
}

/* Services grid */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1600px) {
  .bento { gap: 1.75rem; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
}

.glass {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.glass::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.glass:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.glass:hover::before { transform: scaleX(1); }
.glass__icon {
  font-family: var(--mono); font-size: 0.8rem;
  color: var(--accent); margin-bottom: 1rem;
}
.glass h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.glass > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags span {
  font-family: var(--mono); font-size: 0.68rem;
  padding: 0.3rem 0.6rem;
  background: var(--accent-soft);
  border-radius: 6px; color: var(--muted);
}

/* Stack marquee */
.stack-wrap {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.stack-track {
  display: flex; gap: 0.75rem; width: max-content;
  animation: stackScroll 40s linear infinite;
}
.stack-track:hover { animation-play-state: paused; }
@keyframes stackScroll {
  to { transform: translateX(-50%); }
}
.stack-item {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.stack-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}
.stack-grid { display: none; }

/* Experience */
.exp-list { display: flex; flex-direction: column; gap: 0; }
.exp {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease);
}
.exp:hover { padding-left: 0.75rem; }
.exp:last-child { border-bottom: none; }
@media (max-width: 600px) { .exp { grid-template-columns: 1fr; gap: 0.5rem; } }
.exp time {
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--accent); font-weight: 600;
}
.exp h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.exp__co { color: var(--muted); margin-bottom: 0.5rem; }
.exp p:last-child { color: var(--dim); font-size: 0.9rem; }

/* CTA */
.cta { padding-block: var(--pad-y); }
.cta__box {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta__box::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0.06;
  pointer-events: none;
}
.cta__img {
  width: 80px; height: 80px; border-radius: 20px;
  object-fit: cover; border: 2px solid var(--accent);
  position: relative;
}
.cta__text { flex: 1; min-width: 200px; position: relative; }
.cta__text h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.35rem; }
.cta__text p { color: var(--muted); }
.cta__box .btn { margin-left: auto; position: relative; }

/* Contact */
#contact { position: relative; z-index: 2; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.contact__card img {
  width: 80px; height: 80px; border-radius: 16px;
  object-fit: cover; border: 2px solid var(--accent);
}
.contact__card strong { display: block; font-size: 1.1rem; }
.contact__card span { font-size: 0.85rem; color: var(--muted); }
.contact__card--premium { border-color: var(--accent); }

.link-row {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, color 0.25s;
}
.link-row:hover {
  transform: translateX(6px);
  border-color: var(--accent);
  color: var(--accent);
}
.link-row__k {
  font-family: var(--mono); font-size: 0.68rem;
  color: var(--dim); text-transform: uppercase;
}

.form {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
}
.form label { display: block; margin-bottom: 1.1rem; }
.form label span {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--muted); margin-bottom: 0.4rem;
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form input,
.form select,
.form textarea {
  width: 100%; padding: 0.85rem 1rem;
  font-family: var(--font); font-size: 0.95rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form__msg { margin-top: 0.75rem; text-align: center; font-size: 0.88rem; color: var(--muted); min-height: 1.2em; }
.form__msg--ok { color: var(--accent); font-weight: 700; }

/* Footer */
.footer {
  width: 100%;
  padding: 2rem var(--pad-x);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.88rem; color: var(--dim);
}
.footer__left { flex: 1; min-width: 200px; }
.footer__left p { margin: 0; }
.footer__left a { color: var(--muted); font-weight: 600; }
.footer__left a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .footer__inner .btn { order: 3; width: 100%; justify-content: center; }
}

/* ─── Page open splash ─── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg);
  text-align: center;
  padding: 2rem;
  pointer-events: all;
}
.splash__ring {
  position: absolute;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  opacity: 0.5;
}
.splash__name {
  position: relative;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.splash__tag {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}
.splash__hint {
  position: relative;
  font-size: 0.82rem;
  color: var(--dim);
  margin-top: 0.25rem;
}
body.is-loaded .splash {
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.is-loaded) .splash__ring {
    animation: splashRing 1.2s var(--ease) infinite;
  }
  body.is-loaded .splash {
    animation: splashOut 0.65s var(--ease) 0.35s forwards;
  }
  body.is-loaded .splash__name {
    animation: gradFlow 4s linear infinite;
  }
}
@keyframes splashRing {
  0%, 100% { transform: scale(0.92); opacity: 0.35; }
  50% { transform: scale(1.08); opacity: 0.65; }
}
@keyframes splashOut {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
  }
}

/* Hire confidence strip */
.hire-strip {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, var(--accent-soft), transparent 40%, var(--accent-soft));
  padding-block: 0.85rem;
}
.hire-strip__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding-inline: var(--pad-x);
  animation: hireStripScroll 32s linear infinite;
}
.hire-strip__item {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.hire-strip__item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 12px var(--accent);
}
@keyframes hireStripScroll {
  to { transform: translateX(-50%); }
}

/* Hero shine on load */
.hero__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .site.is-loaded .hero__shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      105deg,
      transparent 30%,
      rgba(16, 185, 129, 0.06) 50%,
      transparent 70%
    );
    animation: heroShine 1.4s var(--ease) 0.6s 1;
  }
}
@keyframes heroShine {
  to { left: 120%; }
}

/* Page load — header & grid */
@media (prefers-reduced-motion: no-preference) {
  body:not(.is-loaded) .header {
    opacity: 0;
    transform: translateY(-100%);
  }
  body:not(.is-loaded) .bg-grid {
    opacity: 0;
  }
  body.is-loaded .header {
    animation: headerDrop 0.85s var(--ease) 0.2s both;
  }
  body.is-loaded .bg-grid {
    animation: gridFade 1s var(--ease) 0.15s both;
  }
}
@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: none; }
}
@keyframes gridFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animations — content visible by default (no broken layout) */
.anim {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.is-loaded) .anim {
    opacity: 0;
  }
  .site.is-loaded .anim {
    animation: fadeUp 0.85s var(--ease) both;
    animation-delay: calc(0.15s + var(--delay, 0) * 0.1s);
  }
  .site.is-loaded .anim--from-left {
    animation-name: fadeFromLeft;
  }
  .site.is-loaded .anim--from-right {
    animation-name: fadeFromRight;
  }
  .site.is-loaded .anim--scale {
    animation-name: scaleIn;
  }
  .site.is-loaded .anim--blur {
    animation-name: blurIn;
  }

  .site.is-loaded .hero__chips--stagger .chip {
    animation: chipPop 0.6s var(--ease) both;
  }
  .site.is-loaded .hero__chips--stagger .chip:nth-child(1) { animation-delay: 0.55s; }
  .site.is-loaded .hero__chips--stagger .chip:nth-child(2) { animation-delay: 0.68s; }
  .site.is-loaded .hero__chips--stagger .chip:nth-child(3) { animation-delay: 0.81s; }

  .site.is-loaded .hero-stats--stagger .hero-stat {
    animation: statPop 0.65s var(--ease) both;
  }
  .site.is-loaded .hero-stats--stagger .hero-stat:nth-child(1) { animation-delay: 0.7s; }
  .site.is-loaded .hero-stats--stagger .hero-stat:nth-child(2) { animation-delay: 0.82s; }
  .site.is-loaded .hero-stats--stagger .hero-stat:nth-child(3) { animation-delay: 0.94s; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeFromRight {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: none; }
}
@keyframes blurIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes chipPop {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes statPop {
  from { opacity: 0; transform: translateY(20px) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}

/* Scroll reveals — visible by default; JS adds .reveals-ready to enable motion */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  body.reveals-ready .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  body.reveals-ready .reveal--up:not(.visible) {
    transform: translateY(28px) scale(0.98);
  }
  body.reveals-ready .reveal--left:not(.visible) {
    transform: translateX(-40px) scale(0.98);
  }
  body.reveals-ready .reveal--right:not(.visible) {
    transform: translateX(40px) scale(0.98);
  }
  body.reveals-ready .reveal--down:not(.visible) {
    transform: translateY(-24px) scale(0.98);
  }
  body.reveals-ready .reveal--scale:not(.visible) {
    transform: scale(0.9);
  }
  body.reveals-ready .reveal--flip:not(.visible) {
    transform: perspective(800px) rotateX(10deg) translateY(20px);
    transform-origin: center top;
  }
  body.reveals-ready .reveal--pop:not(.visible) {
    transform: translateY(32px) scale(0.92);
  }

  body.reveals-ready .reveal.visible {
    opacity: 1;
    transform: none;
  }
  body.reveals-ready .reveal--pop.visible {
    animation: trustPop 0.65s var(--ease) both;
  }
}
@keyframes trustPop {
  0% { opacity: 0; transform: scale(0.9); }
  70% { transform: scale(1.02); }
  100% { opacity: 1; transform: none; }
}
.stagger > .reveal.visible { transition-delay: calc(var(--i, 0) * 0.09s); }

/* Section enters view */
@media (prefers-reduced-motion: no-preference) {
  .section.is-active .head .label,
  .section--band.is-active .trust-band__note {
    animation: labelPulse 2.5s ease-in-out infinite;
  }
  .section.is-active .head h2::after {
    animation: lineGrow 0.8s var(--ease) both;
  }
}
@keyframes labelPulse {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 24px var(--accent-soft); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Sequential: flow, process, compare, roles — only hide after sequence starts */
@media (prefers-reduced-motion: no-preference) {
  .flow.is-sequenced .flow__step:not(.is-step-visible),
  .flow.is-sequenced .flow__arrow:not(.is-step-visible) {
    opacity: 0;
    transform: translateY(20px);
  }
  .flow.is-sequenced .flow__step.is-step-visible,
  .flow.is-sequenced .flow__arrow.is-step-visible {
    animation: stepIn 0.55s var(--ease) both;
  }
  .process.is-sequenced .process__step:not(.is-step-visible) {
    opacity: 0;
    transform: translateX(-28px);
  }
  .process.is-sequenced .process__step.is-step-visible {
    animation: processIn 0.6s var(--ease) both;
  }
  .compare.is-sequenced .compare__col:not(.is-step-visible) {
    opacity: 0;
  }
  .compare.is-sequenced .compare__col--bad.is-step-visible {
    animation: slideFromLeft 0.65s var(--ease) both;
  }
  .compare.is-sequenced .compare__col--good.is-step-visible {
    animation: slideFromRight 0.65s var(--ease) both;
  }
  .roles.is-sequenced .roles__box:not(.is-step-visible) {
    opacity: 0;
    transform: translateY(24px);
  }
  .roles.is-sequenced .roles__box.is-step-visible {
    animation: fadeUp 0.65s var(--ease) both;
  }

  .engage.visible .engage__list li {
    animation: fadeUp 0.5s var(--ease) both;
  }
  .engage.visible .engage__list li:nth-child(1) { animation-delay: 0.05s; }
  .engage.visible .engage__list li:nth-child(2) { animation-delay: 0.1s; }
  .engage.visible .engage__list li:nth-child(3) { animation-delay: 0.15s; }
  .engage.visible .engage__list li:nth-child(4) { animation-delay: 0.2s; }
  .engage.visible .engage__list li:nth-child(5) { animation-delay: 0.25s; }
  .engage.visible .engage__list li:nth-child(6) { animation-delay: 0.3s; }

  .contact__grid.visible .contact__info .link-row {
    animation: fadeFromLeft 0.5s var(--ease) both;
  }
  .contact__grid.visible .contact__info .link-row:nth-of-type(1) { animation-delay: 0.1s; }
  .contact__grid.visible .contact__info .link-row:nth-of-type(2) { animation-delay: 0.15s; }
  .contact__grid.visible .contact__info .link-row:nth-of-type(3) { animation-delay: 0.2s; }
  .contact__grid.visible .contact__info .link-row:nth-of-type(4) { animation-delay: 0.25s; }
  .contact__grid.visible .contact__info .link-row:nth-of-type(5) { animation-delay: 0.3s; }
  .contact__grid.visible .social .social__link {
    animation: scaleIn 0.45s var(--ease) both;
  }
  .contact__grid.visible .social .social__link:nth-child(1) { animation-delay: 0.05s; }
  .contact__grid.visible .social .social__link:nth-child(2) { animation-delay: 0.11s; }
  .contact__grid.visible .social .social__link:nth-child(3) { animation-delay: 0.17s; }
  .contact__grid.visible .contact__card {
    animation: scaleIn 0.55s var(--ease) 0.08s both;
  }
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@keyframes processIn {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: none; }
}
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: none; }
}
@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

/* Floating icons on audience cards */
@media (prefers-reduced-motion: no-preference) {
  .audience-card.visible .audience-card__icon {
    animation: iconBob 3s ease-in-out infinite;
  }
  .audience-card.visible:nth-child(2) .audience-card__icon { animation-delay: -1s; }
  .audience-card.visible:nth-child(3) .audience-card__icon { animation-delay: -2s; }
}
@keyframes iconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Contact form fields stagger */
@media (prefers-reduced-motion: no-preference) {
  .contact__grid.visible .form > label,
  .contact__grid.visible .form > .form__row {
    animation: fadeUp 0.5s var(--ease) both;
  }
  .contact__grid.visible .form > label:nth-of-type(1) { animation-delay: 0.08s; }
  .contact__grid.visible .form > label:nth-of-type(2) { animation-delay: 0.14s; }
  .contact__grid.visible .form > label:nth-of-type(3) { animation-delay: 0.2s; }
  .contact__grid.visible .form > .form__row { animation-delay: 0.26s; }
  .contact__grid.visible .form > label:nth-of-type(4) { animation-delay: 0.32s; }
  .contact__grid.visible .form .btn--full { animation: scaleIn 0.5s var(--ease) 0.38s both; }

  .glass.visible:not(.is-tilting):hover {
    transform: translateY(-8px) scale(1.02);
  }
  .audience-card.visible:not(.is-tilting):hover {
    transform: translateY(-8px);
  }
}

/* CTA image pulse */
@media (prefers-reduced-motion: no-preference) {
  .cta.visible .cta__img {
    animation: ctaImgPulse 4s ease-in-out infinite;
  }
}
@keyframes ctaImgPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { transform: scale(1.05); box-shadow: 0 0 32px var(--accent-soft); }
}

/* Cursor glow (desktop) */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}
body.has-cursor .cursor-glow { opacity: 1; }
@media (max-width: 1024px) { .cursor-glow { display: none; } }

/* ─── Unique FX: particles, words, tilt, waves ─── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  box-shadow: 0 0 12px var(--accent);
}
.hero__particles span:nth-child(1) { left: 8%; top: 20%; animation: particleDrift 12s ease-in-out infinite; }
.hero__particles span:nth-child(2) { left: 22%; top: 65%; animation: particleDrift 14s ease-in-out -2s infinite; }
.hero__particles span:nth-child(3) { left: 45%; top: 15%; animation: particleDrift 11s ease-in-out -4s infinite; }
.hero__particles span:nth-child(4) { left: 70%; top: 40%; animation: particleDrift 13s ease-in-out -1s infinite; }
.hero__particles span:nth-child(5) { left: 85%; top: 70%; animation: particleDrift 15s ease-in-out -3s infinite; }
.hero__particles span:nth-child(6) { left: 55%; top: 80%; animation: particleDrift 10s ease-in-out -5s infinite; }
.hero__particles span:nth-child(7) { left: 15%; top: 45%; animation: particleDrift 16s ease-in-out -6s infinite; width: 4px; height: 4px; }
.hero__particles span:nth-child(8) { left: 92%; top: 25%; animation: particleDrift 12s ease-in-out -2.5s infinite; width: 5px; height: 5px; }
@keyframes particleDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  25% { transform: translate(12px, -20px) scale(1.2); opacity: 0.55; }
  50% { transform: translate(-8px, -35px) scale(0.9); opacity: 0.35; }
  75% { transform: translate(16px, -12px) scale(1.1); opacity: 0.5; }
}

.section-wave {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent) 20%,
    var(--accent-2) 50%,
    var(--accent-3) 80%,
    transparent
  );
  background-size: 200% 100%;
  opacity: 0.6;
}
@media (prefers-reduced-motion: no-preference) {
  .section-wave {
    animation: waveSlide 4s linear infinite;
  }
}
@keyframes waveSlide {
  to { background-position: 200% 0; }
}

/* Word-by-word heading reveal */
.head h2 .word {
  display: inline-block;
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  body.reveals-ready .head:not(.visible) h2 .word {
    opacity: 0;
    transform: translateY(0.6em) rotate(2deg);
  }
  body.reveals-ready .head.visible h2 .word {
    animation: wordPop 0.55s var(--ease) both;
    animation-delay: calc(var(--wi, 0) * 0.04s);
  }
}
@keyframes wordPop {
  from { opacity: 0; transform: translateY(0.65em) rotate(3deg); }
  to { opacity: 1; transform: none; }
}

/* 3D tilt cards (JS sets --rx, --ry) */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .tilt-card.is-tilting {
    transition: transform 0.12s ease-out, box-shadow 0.25s;
  }
  .project.tilt-card.is-tilting {
    box-shadow: 0 24px 60px var(--accent-soft);
  }
  .tilt-card.is-tilting {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  }
}

/* Trust card shine sweep */
@media (prefers-reduced-motion: no-preference) {
  .trust-card.visible {
    position: relative;
    overflow: hidden;
  }
  .trust-card.visible::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      105deg,
      transparent 40%,
      rgba(255, 255, 255, 0.12) 50%,
      transparent 60%
    );
    transform: translateX(-120%);
    animation: cardShine 4s ease-in-out infinite;
    pointer-events: none;
  }
}
@keyframes cardShine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Magnetic primary buttons */
.btn--magnetic {
  transition: transform 0.2s var(--ease);
}

/* Filter ripple */
.filter {
  position: relative;
  overflow: hidden;
}
.filter .filter__ripple {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-soft);
  transform: scale(0);
  animation: rippleOut 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(2.5); opacity: 0; }
}
.filter.active {
  animation: filterPop 0.4s var(--ease);
}
@keyframes filterPop {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Glass icon pulse */
@media (prefers-reduced-motion: no-preference) {
  .glass.visible .glass__icon {
    animation: iconPulse 2.5s ease-in-out infinite;
  }
  .glass.visible:hover .glass__icon {
    animation: iconSpin 0.6s var(--ease);
  }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes iconSpin {
  to { transform: rotate(12deg) scale(1.1); }
}

/* Link row hover draw */
.link-row {
  position: relative;
}
.link-row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.35s var(--ease);
}
.link-row:hover::before {
  width: 100%;
}

/* Form focus glow */
.form input:focus,
.form select:focus,
.form textarea:focus {
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-color: var(--accent);
}

/* Scroll progress glow pulse */
@media (prefers-reduced-motion: no-preference) {
  .progress {
    animation: progressGlow 2s ease-in-out infinite;
  }
}
@keyframes progressGlow {
  0%, 100% { box-shadow: 0 0 12px var(--accent-soft); }
  50% { box-shadow: 0 0 22px rgba(16, 185, 129, 0.5); }
}

/* Team card wiggle on visible */
@media (prefers-reduced-motion: no-preference) {
  .team-card.visible {
    animation: teamIn 0.7s var(--ease) both;
  }
}
@keyframes teamIn {
  0% { opacity: 0; transform: translateY(24px) rotate(-1deg); }
  60% { transform: translateY(-4px) rotate(0.5deg); }
  100% { opacity: 1; transform: none; }
}

/* Exp timeline slide */
@media (prefers-reduced-motion: no-preference) {
  .exp.visible {
    animation: expIn 0.65s var(--ease) both;
  }
}
@keyframes expIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: none; }
}

/* Float hire wiggle */
@media (prefers-reduced-motion: no-preference) {
  .float-hire.show span {
    display: inline-block;
    animation: hireWiggle 3s ease-in-out infinite;
  }
}
@keyframes hireWiggle {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}

/* Hero parallax layer */
.hero__visual {
  transition: transform 0.15s ease-out;
}

/* Stack item gradient border on hover */
@media (prefers-reduced-motion: no-preference) {
  .stack-item {
    transition: transform 0.3s var(--ease), color 0.25s, box-shadow 0.3s;
  }
  .stack-item:hover {
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-soft);
  }
}

/* Compare good column glow when visible */
@media (prefers-reduced-motion: no-preference) {
  .compare__col--good.is-step-visible {
    animation: slideFromRight 0.65s var(--ease) both, goodGlow 3s ease-in-out 0.5s infinite;
  }
}
@keyframes goodGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { box-shadow: 0 0 32px var(--accent-soft); }
}

/* Premium polish & micro-interactions */
@media (prefers-reduced-motion: no-preference) {
  .header__nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--grad);
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
  }
  .header__nav a:not(.btn) {
    position: relative;
  }
  .header__nav a:not(.btn):hover::after,
  .header__nav a:not(.btn).active::after {
    transform: scaleX(1);
  }

  .trust-card,
  .audience-card,
  .team-card,
  .glass,
  .project {
    transition:
      transform 0.45s var(--ease),
      box-shadow 0.45s var(--ease),
      border-color 0.35s;
  }

  .hero-stat {
    transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
  }
  .hero-stat:hover {
    transform: translateY(-6px) scale(1.02);
  }

  .btn--primary {
    background-size: 200% auto;
    animation: btnShine 4s linear infinite;
  }
  @keyframes btnShine {
    to { background-position: 200% center; }
  }

  .pill {
    animation: pillGlow 3s ease-in-out infinite;
  }
  @keyframes pillGlow {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 20px var(--accent-soft); }
  }

  .stack-item:hover {
    transform: scale(1.08) translateY(-2px);
  }

  .review.visible {
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
  }
  .review.visible:hover {
    transform: translateY(-8px) rotate(-0.6deg);
    box-shadow: 0 20px 48px var(--accent-soft);
  }

  .project.visible:not(.is-tilting):hover {
    transform: translateY(-8px) scale(1.01);
  }

  .faq__item {
    transition: transform 0.35s var(--ease), border-color 0.25s;
  }
  .faq__item[open] {
    animation: faqOpen 0.4s var(--ease);
  }
  @keyframes faqOpen {
    from { opacity: 0.85; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
  }

  .cta__box {
    animation: ctaGlow 8s ease-in-out infinite;
  }
  @keyframes ctaGlow {
    0%, 100% { box-shadow: var(--card-shadow); }
    50% { box-shadow: 0 16px 48px var(--accent-soft); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .splash { display: none; }
  .anim, .reveal { opacity: 1; transform: none; }
  body.reveals-ready .reveal:not(.visible) { opacity: 1; transform: none; }
  .photo-wrap { animation: none; background: var(--grad); }
  .gradient-text { animation: none; }
  .stack-track, .hire-strip__track { animation: none; }
  .float-hire.show { animation: none; }
  .flow.is-sequenced .flow__step,
  .flow.is-sequenced .flow__arrow,
  .process.is-sequenced .process__step,
  .compare.is-sequenced .compare__col,
  .roles.is-sequenced .roles__box {
    opacity: 1;
    transform: none;
  }
}
