/* ===================================================================
   CULTUREKODE — Combined Studio Site
   Light glassmorphism — Attitude blue/lavender palette
=================================================================== */

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

:root {
  /* ─── Background tones ─── */
  --bg:           #ffffff;
  --bg-2:         #f7f4ff;
  --bg-3:         #f2e6ee;

  /* ─── Brand palette (Attitude) ─── */
  --pink-pale:    #FFCCF2;
  --lavender:     #977DFF;
  --lavender-2:   #b3a3ff;
  --blue:         #0033FF;
  --blue-deep:    #0600AB;
  --navy:         #00033D;
  --cream:        #F2E6EE;

  --iridescent:   linear-gradient(135deg, #FFCCF2 0%, #977DFF 38%, #0033FF 70%, #0600AB 100%);
  --iridescent-2: linear-gradient(135deg, #977DFF 0%, #0033FF 60%, #0600AB 100%);

  /* ─── Text (dark on light) ─── */
  --text:         #00033D;
  --text-2:       #1a1f5a;
  --text-dim:     #5a608a;
  --text-muted:   #9aa0c0;

  /* ─── Glass tokens (white frosted) ─── */
  --glass-bg:     rgba(255, 255, 255, 0.55);
  --glass-bg-h:   rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-h: rgba(151, 125, 255, 0.45);
  --glass-blur:   blur(22px) saturate(180%);
  --glass-shadow: 0 12px 40px rgba(6, 0, 171, 0.08), 0 2px 8px rgba(0, 3, 61, 0.04);
  --glass-shadow-h: 0 16px 48px rgba(6, 0, 171, 0.14), 0 4px 12px rgba(0, 3, 61, 0.06);

  /* ─── Borders ─── */
  --border:       rgba(0, 3, 61, 0.08);
  --border-soft:  rgba(0, 3, 61, 0.05);

  /* ─── Fonts ─── */
  --font-display: 'Syncopate', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-prose:   'Lora', Georgia, serif;

  /* ─── Motion ─── */
  --t-fast:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-med:     0.4s  cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:    0.7s  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
@media (pointer: fine) { body { cursor: none; } }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: inherit; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Site-wide ambient blobs (provide colour through glass) ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 204, 242, 0.55) 0%, transparent 35%),
    radial-gradient(circle at 82% 22%, rgba(151, 125, 255, 0.42) 0%, transparent 40%),
    radial-gradient(circle at 12% 78%, rgba(0, 51, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 88% 88%, rgba(151, 125, 255, 0.32) 0%, transparent 40%),
    var(--bg);
  pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--lavender), var(--blue));
  border-radius: 4px;
}
::selection { background: rgba(151, 125, 255, 0.35); color: var(--navy); }

/* ──────────────────────────────────────────────────────────────────
   GLASS UTILITY
─────────────────────────────────────────────────────────────────── */
.glass-card,
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 18px;
  position: relative;
  isolation: isolate;
  box-shadow: var(--glass-shadow);
  transition: background var(--t-med), box-shadow var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.1) 40%, rgba(151,125,255,0.5) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity var(--t-med);
}
.glass-card:hover {
  background: var(--glass-bg-h);
  box-shadow: var(--glass-shadow-h);
}
.glass-card:hover::before { opacity: 1; }

/* Inner soft highlight at top */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

/* ──────────────────────────────────────────────────────────────────
   PRELOADER
─────────────────────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-logo {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  animation: preLogoIn .7s ease .2s forwards;
}
.pre-logo .logo-img { height: 80px; width: auto; }
  background-clip: text;
}
@keyframes preLogoIn { to { opacity: 1; transform: translateY(0); } }
.pre-bar-wrap { width: 180px; height: 2px; background: rgba(0,3,61,0.06); border-radius: 2px; overflow: hidden; }
.pre-bar { height: 100%; width: 0; background: var(--iridescent); animation: preBarFill 1.4s cubic-bezier(.4,0,.2,1) .3s forwards; }
@keyframes preBarFill { to { width: 100%; } }

/* ──────────────────────────────────────────────────────────────────
   SCROLL PROGRESS
─────────────────────────────────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--iridescent);
  z-index: 500;
  transition: width .05s linear;
  box-shadow: 0 0 16px rgba(151,125,255,0.55);
}

/* ──────────────────────────────────────────────────────────────────
   GRAIN — soft on white
─────────────────────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1000;
  animation: grainShift .25s steps(1) infinite;
  mix-blend-mode: multiply;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }   12%  { transform: translate(-3%,-5%); }
  25%  { transform: translate(-6%,2%); } 37%  { transform: translate(4%,-2%); }
  50%  { transform: translate(-2%,6%); } 62%  { transform: translate(-7%,3%); }
  75%  { transform: translate(3%,-7%); } 87%  { transform: translate(5%,4%); }
  100% { transform: translate(-3%,-4%); }
}
.scanlines { display: none; }

/* ──────────────────────────────────────────────────────────────────
   CUSTOM CURSOR
─────────────────────────────────────────────────────────────────── */
@media (pointer: fine) {
  .cursor {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--blue); border-radius: 50%;
    pointer-events: none; z-index: 8999;
    transform: translate(-50%, -50%);
    transition: width .18s, height .18s, background .18s;
    box-shadow: 0 0 14px rgba(0,51,255,0.6);
  }
  .cursor-trail {
    position: fixed; top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid rgba(151,125,255,0.55); border-radius: 50%;
    pointer-events: none; z-index: 8998;
    transform: translate(-50%, -50%);
    transition: width .3s, height .3s, border-color .3s;
  }
  .cursor-glow {
    position: fixed; top: 0; left: 0;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151,125,255,0.16) 0%, rgba(255,204,242,0.08) 40%, transparent 70%);
    pointer-events: none; z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity .3s ease;
    mix-blend-mode: multiply;
  }
  body.hov .cursor       { width: 22px; height: 22px; background: var(--lavender); }
  body.hov .cursor-trail { width: 56px; height: 56px; border-color: rgba(151,125,255,0.7); }
}
@media (pointer: coarse) {
  .cursor, .cursor-trail, .cursor-glow { display: none; }
}

/* ──────────────────────────────────────────────────────────────────
   LOGO
─────────────────────────────────────────────────────────────────── */
.logo-img { display: block; height: auto; }

/* ──────────────────────────────────────────────────────────────────
   NAVIGATION
─────────────────────────────────────────────────────────────────── */
nav#nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 52px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid var(--border-soft);
  transition: padding var(--t-med), background var(--t-med), box-shadow var(--t-med);
}
nav#nav.scrolled {
  padding: 10px 52px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 30px rgba(6, 0, 171, 0.06);
}
.nav-logo {
  display: flex; align-items: center;
  color: var(--text);
}
.nav-logo .logo-img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 13px; letter-spacing: .04em;
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--iridescent);
  transition: width var(--t-med);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 22px !important;
  border: 1px solid rgba(151,125,255,0.5) !important;
  border-radius: 100px;
  color: var(--blue-deep) !important;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med), color var(--t-med) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 0 26px rgba(0,51,255,0.4) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  padding: 4px;
  position: relative; z-index: 2;
}
.nav-hamburger span {
  display: block; height: 1.5px; background: var(--text);
  transition: transform var(--t-med), opacity var(--t-med), width var(--t-med);
  transform-origin: center;
}
.nav-hamburger span:last-child { width: 60%; margin-left: auto; }
.nav-hamburger.active span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:last-child { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s ease, visibility .4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.mobile-menu-blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(151,125,255,.45) 0%, transparent 65%);
  top: -120px; left: -120px; filter: blur(80px);
}
.mobile-menu-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,204,242,.7) 0%, transparent 65%);
  bottom: -90px; right: -90px; filter: blur(80px);
}
.mobile-nav-links { text-align: center; position: relative; z-index: 1; }
.mobile-nav-links li {
  transform: translateY(30px); opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.mobile-menu.open .mobile-nav-links li:nth-child(1) { transform: translateY(0); opacity: 1; transition-delay: .05s; }
.mobile-menu.open .mobile-nav-links li:nth-child(2) { transform: translateY(0); opacity: 1; transition-delay: .10s; }
.mobile-menu.open .mobile-nav-links li:nth-child(3) { transform: translateY(0); opacity: 1; transition-delay: .15s; }
.mobile-menu.open .mobile-nav-links li:nth-child(4) { transform: translateY(0); opacity: 1; transition-delay: .20s; }
.mobile-menu.open .mobile-nav-links li:nth-child(5) { transform: translateY(0); opacity: 1; transition-delay: .25s; }
.mobile-nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7vw, 48px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  display: block; padding: 12px 0;
  transition: color var(--t-fast);
}
.mobile-nav-links a:hover { color: var(--text); }
.mobile-menu-cta {
  margin-top: 28px;
  transform: translateY(30px); opacity: 0;
  transition: transform .5s ease .3s, opacity .5s ease .3s;
  position: relative; z-index: 1;
}
.mobile-menu.open .mobile-menu-cta { transform: translateY(0); opacity: 1; }

/* ──────────────────────────────────────────────────────────────────
   HERO
─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 48px 140px;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.blob-1 {
  width: 720px; height: 580px;
  background: radial-gradient(ellipse, rgba(255,204,242,0.95) 0%, rgba(255,204,242,0.5) 45%, transparent 72%);
  top: -160px; left: -140px; opacity: .75;
  animation: bf1 13s ease-in-out infinite;
}
.blob-2 {
  width: 720px; height: 520px;
  background: radial-gradient(ellipse, rgba(151,125,255,0.7) 0%, rgba(151,125,255,0.32) 40%, transparent 70%);
  top: 30px; left: 28%; opacity: .65;
  animation: bf2 16s ease-in-out infinite;
}
.blob-3 {
  width: 600px; height: 700px;
  background: radial-gradient(ellipse, rgba(0,51,255,0.45) 0%, rgba(151,125,255,0.25) 45%, transparent 72%);
  top: -180px; right: -100px; opacity: .55;
  animation: bf3 11s ease-in-out infinite;
}
.blob-4 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(151,125,255,0.6) 0%, rgba(255,204,242,0.3) 40%, transparent 70%);
  top: 80px; left: 50%; transform: translateX(-50%);
  filter: blur(70px); opacity: .55;
  animation: bf4 9s ease-in-out infinite;
}
.blob-5 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,51,255,0.4) 0%, transparent 60%);
  top: 22%; left: 48%; filter: blur(36px); opacity: .35;
  animation: bf4 7s ease-in-out infinite reverse;
}
@keyframes bf1 {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 60% 40% 35% 65%/55% 35% 65% 45%; }
  33%  { transform: translate(70px,50px) scale(1.08); border-radius: 30% 70% 55% 45%/45% 55% 35% 65%; }
  66%  { transform: translate(-35px,80px) scale(.93); border-radius: 52% 48% 68% 32%/48% 68% 32% 58%; }
}
@keyframes bf2 {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 42% 58% 48% 52%/58% 42% 58% 42%; }
  33%  { transform: translate(-90px,65px) scale(1.12); border-radius: 68% 32% 42% 58%/32% 68% 52% 48%; }
  66%  { transform: translate(50px,-55px) scale(.9); border-radius: 52% 48% 32% 68%/68% 32% 58% 42%; }
}
@keyframes bf3 {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 52% 48% 32% 68%/58% 42% 58% 42%; }
  50%  { transform: translate(-55px,90px) scale(1.1); border-radius: 32% 68% 58% 42%/42% 58% 32% 68%; }
}
@keyframes bf4 {
  0%,100% { transform: translateX(-50%) scale(1); opacity: .5; }
  50%  { transform: translateX(-50%) scale(1.22); opacity: .8; }
}

.hero-eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 36px; font-weight: 600;
  display: flex; align-items: center; gap: 18px;
  position: relative; z-index: 3;
  opacity: 0; animation: fadeUp .8s ease .4s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 36px; height: 1px;
  background: var(--lavender);
  opacity: 0.6;
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(54px, 9vw, 132px); line-height: .88;
  letter-spacing: -.02em; text-transform: uppercase;
  color: var(--text);
  position: relative; z-index: 3; margin-bottom: 44px;
  opacity: 0; animation: fadeUp .9s ease .55s forwards;
}
.hero-title .g {
  background: var(--iridescent); background-size: 220% 220%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gShift 7s ease infinite;
}
@keyframes gShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-sub {
  font-size: 17px; font-weight: 400; color: var(--text-dim);
  max-width: 480px; margin: 0 auto 50px;
  line-height: 1.85;
  position: relative; z-index: 3;
  opacity: 0; animation: fadeUp .8s ease .8s forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 18px;
  position: relative; z-index: 3;
  opacity: 0; animation: fadeUp .8s ease 1s forwards;
}
.btn-primary {
  padding: 15px 42px;
  background: var(--iridescent-2);
  background-size: 180% 180%;
  color: #fff;
  border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: transform var(--t-med), box-shadow var(--t-med), background-position var(--t-med);
  box-shadow: 0 8px 28px rgba(0, 51, 255, 0.32);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background-position: 0% 50%;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0, 51, 255, 0.45);
  background-position: 100% 50%;
}
.btn-secondary {
  padding: 15px 42px;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 100px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color var(--t-med), background var(--t-med), color var(--t-med);
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--lavender);
  background: rgba(255,255,255,0.85);
  color: var(--blue-deep);
}
.btn-full { width: 100%; padding: 15px; }

.hero-stats {
  margin-top: 64px;
  padding: 22px 36px;
  display: flex; align-items: center; justify-content: center; gap: 36px;
  position: relative; z-index: 3;
  opacity: 0; animation: fadeUp .8s ease 1.2s forwards;
  flex-wrap: wrap;
}
.stat-mini { text-align: center; }
.stat-mini-num {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 42px);
  background: var(--iridescent); background-size: 220% 220%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gShift 7s ease infinite;
  line-height: 1;
}
.stat-mini-label {
  display: block;
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  margin-top: 8px;
}
.stat-mini-divider { width: 1px; height: 36px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-muted);
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  z-index: 3;
}
.scroll-track {
  width: 1px; height: 44px;
  background: var(--border);
  position: relative; overflow: hidden;
}
.scroll-thumb {
  position: absolute; top: -100%; left: 0;
  width: 1px; height: 50%;
  background: var(--iridescent);
  animation: scrollThumb 2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0%   { top: -50%; }
  100% { top: 150%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────────
   MARQUEE
─────────────────────────────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 19px 0;
  overflow: hidden;
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.marquee-track {
  display: flex; width: max-content;
  animation: mScroll 32s linear infinite;
}
.marquee-item {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 44px;
  font-weight: 700;
}
.marquee-item em {
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal; margin: 0 6px;
}
@keyframes mScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────────────
   SHARED SECTION
─────────────────────────────────────────────────────────────────── */
.section,
.work-section,
.process-section,
.team-section,
.testimonials-section {
  padding: 128px 52px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  max-width: 640px;
  letter-spacing: -.01em;
  color: var(--text);
}
.section-title em {
  font-style: normal;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-family: var(--font-prose);
  font-style: italic;
  color: var(--text-dim);
  font-size: 16px;
  margin-top: 14px;
  max-width: 560px;
  line-height: 1.6;
}
.section-header { margin-bottom: 80px; }

/* ──────────────────────────────────────────────────────────────────
   TRUST STRIP
─────────────────────────────────────────────────────────────────── */
.trust-section {
  padding: 64px 52px;
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  margin-bottom: 44px;
}
.trust-grid {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-item {
  padding: 12px 40px;
  border-right: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-med);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { color: var(--blue-deep); }

/* ──────────────────────────────────────────────────────────────────
   SERVICES
─────────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  padding: 50px 44px;
  overflow: hidden;
  will-change: transform;
}
.service-card .glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  top: -100px; right: -100px;
  opacity: 0.5;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--t-slow);
}
.service-card:hover .glow { opacity: 0.9; }
.service-card:nth-child(1) .glow { background: radial-gradient(circle, rgba(255,204,242,.85) 0%, transparent 70%); }
.service-card:nth-child(2) .glow { background: radial-gradient(circle, rgba(151,125,255,.7) 0%, transparent 70%); }
.service-card:nth-child(3) .glow { background: radial-gradient(circle, rgba(0,51,255,.55) 0%, transparent 70%); }
.service-card:nth-child(4) .glow { background: radial-gradient(circle, rgba(6,0,171,.45) 0%, transparent 70%); }

.service-number {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .22em;
  margin-bottom: 36px;
  font-weight: 700;
}
.service-icon {
  width: 46px; height: 46px;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 14px rgba(0, 51, 255, 0.25));
  transition: transform var(--t-med);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); }
.service-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px;
  color: var(--text);
}
.service-desc {
  font-size: 14px; font-weight: 400;
  color: var(--text-dim); line-height: 1.85;
  max-width: 380px;
  margin-bottom: 22px;
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 28px;
}
.service-tags li {
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 700;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.5);
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 700;
  transition: color var(--t-fast), gap var(--t-fast);
}
.service-link:hover { color: var(--blue); gap: 14px; }

/* ──────────────────────────────────────────────────────────────────
   ABOUT
─────────────────────────────────────────────────────────────────── */
.about {
  padding: 128px 52px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151,125,255,.45) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.glass-cube {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 60px rgba(151, 125, 255, 0.3));
  animation: floatCube 7s ease-in-out infinite;
}
@keyframes floatCube {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(0.5deg); }
}
.glass-cube .pill {
  transform-origin: center;
  animation: pillSlide 4s ease-in-out infinite;
}
.glass-cube .pill-1 { animation-delay: 0s; }
.glass-cube .pill-2 { animation-delay: 0.7s; }
.glass-cube .pill-3 { animation-delay: 1.4s; }
.glass-cube .pill-4 { animation-delay: 2.1s; }
.glass-cube .pill-5 { animation-delay: 2.8s; }
@keyframes pillSlide {
  0%, 100% { opacity: 0.7; transform: translateX(0); }
  50%      { opacity: 1;   transform: translateX(4px); }
}
.glass-cube .circuit-nodes circle {
  animation: nodePulse 3s ease-in-out infinite;
}
.glass-cube .circuit-nodes circle:nth-child(1) { animation-delay: 0s; }
.glass-cube .circuit-nodes circle:nth-child(2) { animation-delay: 0.5s; }
.glass-cube .circuit-nodes circle:nth-child(3) { animation-delay: 1.0s; }
.glass-cube .circuit-nodes circle:nth-child(4) { animation-delay: 1.5s; }
.glass-cube .circuit-nodes circle:nth-child(5) { animation-delay: 2.0s; }
.glass-cube .circuit-nodes circle:nth-child(6) { animation-delay: 2.5s; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; filter: drop-shadow(0 0 8px currentColor); }
}

.about-content h2 {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  margin-top: 12px;
  color: var(--text);
}
.about-content h2 em {
  font-style: normal;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-lead {
  font-family: var(--font-prose);
  font-size: 18px; font-weight: 600;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
  border-left: 2px solid var(--lavender);
  padding-left: 20px;
}
.about-content > p {
  font-family: var(--font-prose);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-pillars {
  margin-top: 36px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.pillar {
  display: flex; align-items: flex-start; gap: 16px;
}
.pillar-icon {
  font-size: 18px;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 1px; flex-shrink: 0;
}
.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 3px;
}
.pillar span {
  font-family: var(--font-prose);
  font-size: 14px;
  color: var(--text-dim);
}

/* ──────────────────────────────────────────────────────────────────
   STATS SECTION
─────────────────────────────────────────────────────────────────── */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 52px;
  position: relative;
  overflow: hidden;
}
.stats-blob {
  position: absolute; width: 720px; height: 460px;
  background: radial-gradient(ellipse, rgba(151,125,255,.4) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  filter: blur(70px); pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-item {
  padding: 48px 36px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1; margin-bottom: 14px;
  background: var(--iridescent);
  background-size: 220% 220%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gShift 8s ease infinite;
}
.stat-label {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────
   WORK
─────────────────────────────────────────────────────────────────── */
.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.work-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.work-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  transition: transform var(--t-slow), box-shadow var(--t-med);
}
.work-card.featured { grid-row: span 2; min-height: 540px; }
.work-card:hover { transform: translateY(-4px); }
.work-card-bg {
  position: absolute; inset: 0;
  border-radius: inherit;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
  z-index: -1;
}
.work-card:hover .work-card-bg { transform: scale(1.05); }
.wc1 .work-card-bg { background: linear-gradient(145deg, rgba(255,204,242,0.55) 0%, rgba(151,125,255,0.4) 100%); }
.wc1 .work-card-bg::after {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  top: 10%; left: 20%; background: radial-gradient(circle, rgba(151,125,255,.7) 0%, transparent 65%); filter: blur(50px);
}
.wc2 .work-card-bg { background: linear-gradient(145deg, rgba(255,204,242,0.45) 0%, rgba(255,255,255,0.4) 100%); }
.wc2 .work-card-bg::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  top: 15%; left: 15%; background: radial-gradient(circle, rgba(255,204,242,.85) 0%, transparent 65%); filter: blur(50px);
}
.wc3 .work-card-bg { background: linear-gradient(145deg, rgba(151,125,255,0.4) 0%, rgba(0,51,255,0.3) 100%); }
.wc3 .work-card-bg::after {
  content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  top: 10%; left: 20%; background: radial-gradient(circle, rgba(0,51,255,.5) 0%, transparent 65%); filter: blur(50px);
}
.work-card-art {
  position: absolute; inset: 0;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.work-card-art svg { width: 100%; height: 100%; }
.work-card-inner {
  position: absolute; inset: 0;
  padding: 38px 40px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 55%);
  z-index: 2;
  border-radius: inherit;
}
.work-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 700;
  margin-bottom: 14px;
  width: fit-content;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}
.work-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
  color: var(--text);
}
.work-desc {
  font-size: 13px; font-weight: 400;
  color: var(--text-dim);
  max-width: 320px;
}

/* ──────────────────────────────────────────────────────────────────
   PROCESS
─────────────────────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-item {
  padding: 40px 32px;
}
.process-step {
  font-family: var(--font-display);
  font-size: 9px; letter-spacing: .28em; text-transform: uppercase;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
  font-weight: 700;
}
.process-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
  color: var(--text);
}
.process-desc {
  font-size: 13px; font-weight: 400;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ──────────────────────────────────────────────────────────────────
   TEAM
─────────────────────────────────────────────────────────────────── */
.team-section {
  border-top: 1px solid var(--border);
  position: relative;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-card {
  padding: 36px 24px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 18px;
  overflow: hidden;
}
.team-card-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--seed-color, var(--lavender)), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: 1;
}
.team-card:hover .team-card-bottom { opacity: 1; }
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  transition: transform var(--t-med);
  filter: drop-shadow(0 8px 22px var(--seed-color, var(--lavender)));
}
.team-card:hover .team-avatar { transform: scale(1.06); }
.team-info h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--text);
}
.team-role {
  display: block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.team-info p {
  font-family: var(--font-prose);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────────────
   TESTIMONIALS
─────────────────────────────────────────────────────────────────── */
.testimonials-section {
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  width: 800px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,204,242,.5) 0%, rgba(151,125,255,.3) 50%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  filter: blur(80px);
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative; z-index: 2;
  margin-top: 50px;
}
.testimonial-card {
  padding: 50px 40px;
  overflow: hidden;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.7;
  background: var(--iridescent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  display: block;
  opacity: 0.85;
}
.testimonial-text {
  font-family: var(--font-prose);
  font-size: 15px; font-weight: 400; font-style: italic;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 32px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 16px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
}
.avatar-pink     { background: rgba(255,204,242,.55); color: #b6217a; border: 1px solid rgba(255,204,242,.85); }
.avatar-lavender { background: rgba(151,125,255,.18); color: var(--blue-deep); border: 1px solid rgba(151,125,255,.45); }
.avatar-blue     { background: rgba(0,51,255,.12);   color: var(--blue);    border: 1px solid rgba(0,51,255,.3); }
.author-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 4px;
  color: var(--text);
}
.author-role {
  font-size: 12px; font-weight: 400;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────────────────────────────
   CONTACT
─────────────────────────────────────────────────────────────────── */
.contact-section {
  padding: 130px 52px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-blob-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(151,125,255,.35) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  filter: blur(90px);
  animation: cPulse 7s ease-in-out infinite;
}
.cta-blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,204,242,.6) 0%, transparent 65%);
  top: 20%; left: 12%;
  filter: blur(110px);
  animation: cPulse2 9s ease-in-out infinite reverse;
}
.cta-blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,51,255,.32) 0%, transparent 65%);
  bottom: 15%; right: 10%;
  filter: blur(90px);
  animation: cPulse3 6s ease-in-out infinite 2s;
}
@keyframes cPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.18); }
}
@keyframes cPulse2 {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@keyframes cPulse3 {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.contact-left h2 {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -.01em;
  margin-bottom: 28px;
  margin-top: 8px;
  color: var(--text);
}
.contact-left h2 .cg {
  background: var(--iridescent);
  background-size: 220% 220%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gShift 7s ease infinite;
}
.contact-lead {
  font-family: var(--font-prose);
  font-size: 16px; font-style: italic;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 420px;
}
.contact-details {
  display: flex; flex-direction: column;
  gap: 22px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lavender);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(151,125,255,.7);
}
.contact-item:nth-child(2) .contact-dot { background: var(--blue);   box-shadow: 0 0 12px rgba(0,51,255,.7); }
.contact-item:nth-child(3) .contact-dot { background: var(--blue-deep); box-shadow: 0 0 12px rgba(6,0,171,.7); }
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
  margin-bottom: 4px;
}
.contact-item a,
.contact-item span {
  font-family: var(--font-prose);
  font-size: 15px;
  color: var(--text-dim);
  transition: color var(--t-fast);
}
.contact-item a:hover { color: var(--blue-deep); }

/* form */
.contact-form {
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex; flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0c0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
  padding-right: 44px;
}
.form-group select option { background: #fff; color: var(--text); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 0 4px rgba(151,125,255,.18);
  background: #ffffff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  font-family: var(--font-prose);
  font-style: italic;
  font-size: 13px;
  color: var(--blue-deep);
  text-align: center;
  padding: 12px;
  border: 1px solid rgba(151,125,255,.45);
  border-radius: 12px;
  background: rgba(151,125,255,.10);
}
.form-success.visible { display: block; }

/* ──────────────────────────────────────────────────────────────────
   FOOTER
─────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 52px 44px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: relative;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo .logo-img { height: 60px; width: auto; }
.footer-tagline {
  font-family: var(--font-prose);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.footer-nav-col h4 {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--text); font-weight: 700;
  margin-bottom: 22px;
}
.footer-nav-col ul {
  display: flex; flex-direction: column;
  gap: 14px;
}
.footer-nav-col a {
  color: var(--text-dim);
  font-size: 14px; font-weight: 400;
  transition: color var(--t-fast);
}
.footer-nav-col a:hover { color: var(--blue-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--text-dim); }

/* ──────────────────────────────────────────────────────────────────
   BACK TO TOP
─────────────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 36px; right: 36px; z-index: 200;
  width: 46px; height: 46px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s, transform .35s, background var(--t-med), border-color var(--t-med);
  pointer-events: none;
  color: var(--text);
  box-shadow: var(--glass-shadow);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 24px rgba(0,51,255,.5);
}
#back-to-top svg { width: 16px; height: 16px; }

/* ──────────────────────────────────────────────────────────────────
   TOAST
─────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 36px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text);
  z-index: 9001;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
  white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 40px rgba(6,0,171,0.14);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-dot {
  width: 8px; height: 8px;
  border-radius: 50%; flex-shrink: 0;
}
.toast-dot.success { background: var(--lavender); box-shadow: 0 0 10px rgba(151,125,255,.55); }
.toast-dot.error   { background: #e0235a; box-shadow: 0 0 10px rgba(224,35,90,.5); }

/* ──────────────────────────────────────────────────────────────────
   SCROLL REVEAL
─────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1),
              transform .85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ──────────────────────────────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-card.featured { grid-row: span 1; min-height: 360px; }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { flex-direction: column; gap: 50px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 760px) {
  nav#nav, nav#nav.scrolled { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 60px 22px 110px; }
  .hero-stats { gap: 18px; padding: 18px 22px; }
  .stat-mini-divider { display: none; }

  .marquee-section { padding: 14px 0; }
  .trust-section { padding: 50px 22px; }
  .trust-grid { gap: 0; flex-direction: column; align-items: center; }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }
  .trust-item:last-child { border-bottom: none; }

  .section,
  .work-section,
  .process-section,
  .team-section,
  .testimonials-section,
  .contact-section,
  .about,
  .stats-section { padding: 80px 22px; }

  .section-header { margin-bottom: 50px; }
  .services-grid,
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .work-header { flex-direction: column; align-items: flex-start; gap: 24px; }

  .footer-top { padding: 0 0 30px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; padding-top: 24px; }

  footer { padding: 56px 22px 36px; }
  #back-to-top { bottom: 22px; right: 22px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(42px, 13vw, 80px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; padding: 15px 24px; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  #hero-canvas { display: none; }
}
