/* ============================================================
   AURENVIBES — production static build (v3)
   Design tokens locked per CLAUDE.md. Text-safe variants pass
   WCAG AA on the light theme (see README for the audited numbers).

   Hero signature moment: the Cube-Shatter Reveal — a 3x3x3 cube
   orbits, splits, and shatters outward, leaving the logo cube to
   cast the AURENVIBES wordmark before the hero takes over.
   Sequenced in js/intro.js on GSAP; see the HERO INTRO section
   below. Supporting motion (interactive constellation,
   breathing aurora, scroll-rail waypoints, glassmorphism, film
   grain) stays disciplined so nothing competes with that moment.
   ============================================================ */

:root{
  --bg:#F4F7FC;
  --bg-band:#EAF0FA;
  --surface:#FFFFFF;
  --line: rgba(16,27,52,0.10);
  --line-soft: rgba(16,27,52,0.06);
  --navy:#0F1B34;
  --text-mid:#4E5B76;
  --text-low:#60697A;
  --teal:#15B8A6;
  --purple:#7C5CFC;
  /* text-safe variants: --teal/--purple are the locked brand hexes (gradients,
     icons, borders, decorative marks); on this light background they fall short
     of WCAG AA at text sizes, so text/focus-ring uses these darkened siblings. */
  --teal-text:#0E786C;
  --purple-text:#7053E3;
  --grad: linear-gradient(120deg, #15B8A6 0%, #7C5CFC 100%);
  --grad-text: linear-gradient(120deg, #0E786C 0%, #7053E3 100%);
  --grad-soft: linear-gradient(120deg, rgba(21,184,166,0.12), rgba(124,92,252,0.12));
  --shadow: 0 24px 60px -24px rgba(16,27,52,0.20);
  --shadow-sm: 0 12px 30px -16px rgba(16,27,52,0.18);
  --shadow-lg: 0 40px 90px -30px rgba(16,27,52,0.28);
  --glass: rgba(255,255,255,0.72);
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
  --scroll-progress: 0;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--navy);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{background:rgba(21,184,166,0.25);}
img{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
button{font:inherit;}

/* subtle film-grain texture — tactile, premium, cheap (inline SVG, no request) */
body::after{
  content:''; position:fixed; inset:0; z-index:1; pointer-events:none;
  opacity:0.022; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container{max-width:1180px; margin:0 auto; padding:0 40px;}
section{padding:130px 0; position:relative;}
.band{background:var(--bg-band);}

h1,h2,h3{font-family:'Space Grotesk', sans-serif; font-weight:600; letter-spacing:-0.02em; line-height:1.08; color:var(--navy);}
.eyebrow{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--teal-text); display:flex; align-items:center;
  gap:10px; margin-bottom:18px; font-weight:500;
}
.eyebrow::before{content:''; width:22px; height:1px; background:var(--teal); display:inline-block;}
.section-head{max-width:640px; margin-bottom:64px;}
.section-head h2{font-size:clamp(28px,3.6vw,42px);}
.section-head p{color:var(--text-mid); font-size:16.5px; margin-top:16px; line-height:1.6;}

/* skip link — accessibility */
.skip-link{
  position:fixed; top:-100px; left:16px; z-index:200;
  background:var(--navy); color:#fff; padding:12px 20px; border-radius:10px;
  font-size:14px; font-weight:600; transition:top .25s var(--ease);
}
.skip-link:focus{top:16px;}

/* focus visibility */
a:focus-visible, button:focus-visible, .service-card:focus-visible, .team-card:focus-visible{
  outline:2px solid var(--teal-text);
  outline-offset:4px;
  border-radius:8px;
}

/* ============================================================
   REVEAL SYSTEM — clip-path "blind" wipe, position-aware stagger
   The hidden state is gated behind .js (set by an inline head
   script), so if JS never runs the content is fully visible
   rather than a blank page.
   ============================================================ */
.js .reveal{
  opacity:0;
  clip-path: inset(0 0 100% 0 round 24px);
  transform: translateY(18px);
  transition: opacity .9s var(--ease), clip-path .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--stagger-index, 0) * 90ms);
}
.js .reveal.in{ opacity:1; clip-path: inset(0 0 0% 0 round 24px); transform: translateY(0); }

.js .reveal-stagger > *{
  opacity:0;
  clip-path: inset(0 0 100% 0 round 20px);
  transform: translateY(16px);
  transition: opacity .8s var(--ease), clip-path .8s var(--ease), transform .8s var(--ease);
}
.js .reveal-stagger.in > *{ opacity:1; clip-path: inset(0 0 0% 0 round 20px); transform: translateY(0); }
.js .reveal-stagger.in > *{ transition-delay: calc(var(--stagger-index) * 90ms); }

/* ============================================================
   SCROLL RAIL — page-wide, genuinely scroll-position-linked
   ============================================================ */
.scroll-rail{
  position:fixed; left:18px; top:50%; transform:translateY(-50%);
  width:2px; height:min(56vh,520px);
  background:var(--line); border-radius:2px; z-index:90; display:block;
}
.scroll-rail-fill{
  position:absolute; left:0; top:0; width:100%; height:100%;
  background:var(--grad); border-radius:2px;
  transform-origin:top; transform:scaleY(var(--scroll-progress));
}
.scroll-rail-node{
  position:absolute; left:50%; top:calc(var(--scroll-progress) * 100%);
  width:11px; height:11px; margin-left:-5.5px; margin-top:-5.5px;
  border-radius:50%; background:var(--surface); border:2px solid var(--purple);
  box-shadow:0 0 0 5px rgba(124,92,252,0.14), var(--shadow-sm);
}
.rail-waypoint{
  position:absolute; left:50%; width:5px; height:5px; margin-left:-2.5px; margin-top:-2.5px;
  border-radius:50%; background:var(--surface); border:1.5px solid var(--line);
}
@media(max-width:1200px){ .scroll-rail{display:none;} }

/* ---------- NAV ---------- */
nav{position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(244,247,252,0.72); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-bottom:1px solid transparent; transition:border-color .3s, box-shadow .3s;}
nav.scrolled{border-color:var(--line); box-shadow:0 8px 30px -20px rgba(16,27,52,0.25);}
.nav-inner{max-width:1180px; margin:0 auto; padding:16px 40px; display:flex; align-items:center; justify-content:space-between;}
.brand{display:flex; align-items:center; gap:10px;}
.brand-svg{height:30px; width:30px; object-fit:contain;}
.brand span{font-family:'Space Grotesk'; font-weight:600; font-size:17px; letter-spacing:-0.01em; color:var(--navy);}
.nav-links{position:relative; display:flex; gap:36px; font-size:14px; color:var(--text-mid);}
.nav-links a{position:relative; padding-bottom:3px; transition:color .2s ease;}
.nav-links a.active, .nav-links a:hover{color:var(--navy);}
.nav-underline{
  position:absolute; bottom:0; height:1.5px; background:var(--grad); border-radius:2px;
  transform:translateX(var(--nx,0px)); width:var(--nw,0px);
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s ease; opacity:0;
}
.nav-underline.ready{opacity:1;}
.nav-cta{font-size:13px; font-weight:600; padding:10px 20px; border-radius:100px; background:var(--navy); color:#fff; transition:transform .3s var(--ease-back), box-shadow .3s ease; transform:translate(var(--mx,0),var(--my,0));}
.nav-cta:hover{box-shadow:var(--shadow-sm);}

.nav-toggle{display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; border:1px solid var(--line); border-radius:10px; background:var(--surface); cursor:pointer; padding:0; align-items:center;}
.nav-toggle span{width:16px; height:1.5px; background:var(--navy); border-radius:2px; transition:transform .3s var(--ease), opacity .2s ease;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}
.mobile-menu{display:none;}

/* ---------- HERO ---------- */
.hero{position:relative; padding:196px 0 140px; overflow:hidden;}

/* animated aurora backdrop — one slow-breathing gradient field */
.hero-aurora{
  position:absolute; top:-60px; left:50%; margin-left:-460px; width:920px; height:920px; border-radius:50%;
  pointer-events:none; filter:blur(70px); opacity:.7;
  background:
    radial-gradient(circle at 38% 38%, rgba(21,184,166,0.20), transparent 55%),
    radial-gradient(circle at 66% 60%, rgba(124,92,252,0.18), transparent 55%),
    conic-gradient(from 0deg at 50% 50%, rgba(21,184,166,0.10), rgba(124,92,252,0.10), rgba(21,184,166,0.10));
  animation: auroraBreathe 14s ease-in-out infinite;
}
@keyframes auroraBreathe{
  0%,100%{ transform:scale(1) rotate(0deg); opacity:.7; }
  50%{ transform:scale(1.08) rotate(12deg); opacity:.85; }
}

/* interactive constellation canvas — drawn by JS, low-key, desktop-forward */
.hero-constellation{
  position:absolute; inset:0; width:100%; height:100%;
  pointer-events:none; z-index:0; opacity:.55;
}

/* ---------- HERO: headline wrap ---------- */
.hero-headline-wrap{ position:relative; display:block; max-width:100%; margin:0 auto 30px; }

.hero-title{
  font-family:'Instrument Serif', Georgia, 'Times New Roman', serif; font-weight:400;
  font-size:clamp(44px, 6.4vw, 84px); line-height:1.04; letter-spacing:-0.005em;
  color:var(--navy); margin:0;
}
.hero-title em{
  font-style:italic;
  background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* lead paragraph + buttons stay down until the cube has cleared, then fade up in order */
.js .hero-late{ opacity:0; transform:translateY(18px); }
.hero-late{ transition:opacity .8s var(--ease), transform .8s var(--ease); }
.hero-late.show{ opacity:1; transform:none; }
.btn-row.hero-late{ transition-delay:.12s; }

.hero-content{position:relative; z-index:2; max-width:900px; margin:0 auto; text-align:center;}
.badge-pill{display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:.08em; color:var(--text-mid); background:var(--glass); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border:1px solid var(--line); padding:8px 16px 8px 8px; border-radius:100px; margin-bottom:28px; box-shadow:var(--shadow-sm);}
.badge-dot{width:8px; height:8px; border-radius:50%; background:var(--grad); animation: pulse 2.4s ease-in-out infinite;}
@keyframes pulse{ 0%,100%{box-shadow:0 0 0 0 rgba(21,184,166,.4);} 50%{box-shadow:0 0 0 6px rgba(21,184,166,0);} }
.hero p.lead{font-size:18.5px; color:var(--text-mid); max-width:600px; line-height:1.65; margin:0 auto 42px;}

.btn-row{display:flex; gap:16px; align-items:center; justify-content:center; flex-wrap:wrap; margin-bottom:44px;}
.btn-primary, .btn-secondary{ display:inline-flex; align-items:center; gap:9px; border:none; }
.btn-primary{
  background:var(--grad); color:#fff; font-weight:600; font-size:14.5px; padding:15px 28px; border-radius:100px;
  box-shadow:0 14px 30px -12px rgba(21,184,166,0.45);
  transform: translate(var(--mx,0), var(--my,0));
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.btn-primary:hover{ box-shadow:0 18px 34px -10px rgba(124,92,252,0.5); }
.btn-secondary{
  font-size:14.5px; font-weight:500; color:var(--navy); padding:15px 24px; border:1px solid var(--line); border-radius:100px; background:var(--surface);
  transform: translate(var(--mx,0), var(--my,0));
  transition:border-color .2s ease, transform .25s var(--ease);
}
.btn-secondary:hover{ border-color:var(--teal-text); }
.btn-primary svg, .btn-secondary svg{ transition:transform .25s ease; }
.btn-primary:hover svg{ transform:translateX(3px); }

.hero-scroll-cue{
  position:absolute; left:50%; bottom:32px; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px; z-index:2; color:var(--text-low);
}
.hero-scroll-cue span{font-family:'IBM Plex Mono'; font-size:10.5px; letter-spacing:0.14em; text-transform:uppercase;}
.cue-dot{animation: cueDrop 1.8s ease-in-out infinite;}
@keyframes cueDrop{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }
@media(max-width:860px){ .hero-scroll-cue{ display:none; } }

@media(min-width:861px){
  /* dvh so the hero tracks the *visible* viewport as mobile/tablet browser
     chrome shows and hides — no content jump; vh kept as the fallback */
  .hero{min-height:100vh; min-height:100dvh; display:flex; align-items:center; padding-top:120px;}
}

/* ============================================================
   TILT (3D pointer tilt + specular highlight) — shared utility
   ============================================================ */
.tilt{
  position:relative;
  transform: perspective(900px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)) translateY(var(--tlift,0px)) scale(var(--tscale,1));
  transition: transform .5s var(--ease);
  will-change: transform;
}
.tilt-glare{
  position:absolute; inset:0; pointer-events:none; z-index:2; border-radius:inherit;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,0.35), transparent 55%);
  opacity:0; transition:opacity .35s ease;
}
.tilt:hover .tilt-glare{ opacity:1; }

/* ---------- ABOUT ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1.15fr; gap:76px; align-items:center;}
.about-img-wrap{position:relative; border-radius:24px; overflow:hidden; box-shadow:var(--shadow);}
.about-img-wrap img{width:100%; height:420px; object-fit:cover; transition:transform .8s var(--ease);}
.about-img-wrap:hover img{transform:scale(1.06);}
.about-img-wrap::after{content:''; position:absolute; inset:0; background:linear-gradient(200deg, rgba(21,184,166,0.16), rgba(124,92,252,0.12)); mix-blend-mode:multiply;}
.about-ring-badge{position:absolute; bottom:-28px; right:-28px; width:110px; height:110px; background:var(--surface); border-radius:50%; box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; z-index:3;}
.about-ring-badge svg{width:70%; height:70%; animation: spin 30s linear infinite;}
@keyframes spin{ to{ transform:rotate(360deg); } }
.about-text .eyebrow{margin-bottom:20px;}
.about-text p{font-size:21px; line-height:1.6; color:var(--text-mid); font-family:'Space Grotesk'; font-weight:400;}
.about-text p strong{color:var(--navy); font-weight:600;}

/* ---------- SERVICES ---------- */
.services-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.service-card{background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:44px; overflow:hidden; position:relative; transition: box-shadow .35s ease, border-color .35s ease, transform .35s var(--ease);}
.service-card::before{content:''; position:absolute; inset:0; background:var(--grad-soft); opacity:0; transition:opacity .35s ease; border-radius:inherit;}
.service-card:hover{ box-shadow:var(--shadow); border-color:transparent; transform:translateY(-4px); }
.service-card:hover::before{opacity:1;}
.service-card > *{position:relative; z-index:1;}
.service-tag{font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:0.14em; color:var(--purple-text); text-transform:uppercase; margin-bottom:22px; display:block;}
.service-card:nth-child(2) .service-tag{color:var(--teal-text);}
.service-card h3{font-size:24px; margin-bottom:14px;}
.service-card p{color:var(--text-mid); font-size:15.5px; line-height:1.65;}
.service-ring{width:48px; height:48px; border-radius:50%; border:1px solid var(--line); position:relative; margin-bottom:28px; background:var(--surface); transition: transform .5s var(--ease-back);}
.service-ring::after{content:''; position:absolute; inset:9px; border-radius:50%; background:var(--grad);}
.service-card:hover .service-ring{ transform:rotate(140deg); }

/* ---------- KLOUDOPTIM WRAP ---------- */
.ko-wrap{background:var(--bg-band); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.ko-badge{display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:0.12em; color:#fff; background:var(--navy); padding:8px 16px; border-radius:100px; margin-bottom:26px; text-transform:uppercase; font-weight:500;}

.ko1{padding:130px 0 80px;}
.ko1-grid{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;}
.ko1 h2{font-size:clamp(32px,3.8vw,46px); margin-bottom:22px;}
.ko1-copy p.lead{color:var(--text-mid); font-size:17px; line-height:1.7; margin-bottom:8px;}
.ko1-visual{position:relative; border-radius:22px; overflow:hidden; box-shadow:var(--shadow);}
.ko1-visual img{width:100%; height:380px; object-fit:cover; transition:transform .8s var(--ease);}
.ko1-visual:hover img{transform:scale(1.07);}
.ko1-visual::after{content:''; position:absolute; inset:0; background:linear-gradient(200deg, rgba(15,27,52,0.55), rgba(124,92,252,0.25));}
.ko1-visual-label{position:absolute; bottom:20px; left:20px; z-index:2; color:#fff; font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:.06em; background:rgba(15,27,52,0.5); backdrop-filter:blur(6px); padding:8px 14px; border-radius:100px;}
.pillars{display:flex; flex-direction:column; gap:16px; margin-top:36px;}
.pillar{display:flex; gap:16px; padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--surface); transition:transform .3s var(--ease), box-shadow .3s ease;}
.pillar:hover{transform:translateX(8px); box-shadow:var(--shadow-sm);}
.pillar-icon{width:38px; height:38px; min-width:38px; border-radius:10px; background:var(--grad-soft); display:flex; align-items:center; justify-content:center; color:var(--teal-text); font-size:16px; font-family:'Space Grotesk'; font-weight:600;}
.pillar h3{font-size:15.5px; margin-bottom:5px;}
.pillar p{font-size:13.8px; color:var(--text-mid); line-height:1.55;}

.ko2{padding:80px 0 140px;}
.ko2-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:start; margin-bottom:56px;}
.ko2-top{max-width:640px;}
.ko2-top h2{font-size:clamp(28px,3.4vw,40px);}
.ko2-visual{border-radius:20px; overflow:hidden; box-shadow:var(--shadow-sm); position:relative;}
.ko2-visual img{width:100%; height:100%; min-height:220px; object-fit:cover; transition:transform .8s var(--ease);}
.ko2-visual:hover img{transform:scale(1.06);}
.ko2-visual::after{content:''; position:absolute; inset:0; background:linear-gradient(200deg, rgba(21,184,166,0.18), rgba(124,92,252,0.14)); mix-blend-mode:multiply;}

.stat-row{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:56px;}
.stat-card{border:1px solid var(--line); border-radius:20px; padding:30px 26px; background:var(--surface); box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s ease; position:relative;}
.stat-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
.stat-gauge-wrap{position:relative; width:64px; height:64px; margin-bottom:16px;}
.stat-gauge-wrap svg{width:100%; height:100%; transform:rotate(-90deg);}
.stat-gauge-track{fill:none; stroke:var(--line); stroke-width:4;}
.stat-gauge-fill{fill:none; stroke:url(#statGrad); stroke-width:4; stroke-linecap:round; stroke-dasharray:163.36; stroke-dashoffset:163.36; transition: stroke-dashoffset .1s linear;}
.stat-num{font-family:'Space Grotesk'; font-size:24px; font-weight:700; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent;}
.stat-card p{font-size:13.5px; color:var(--text-mid); line-height:1.5;}
.compliance-row{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px;}
.chip{font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:0.04em; border:1px solid var(--line); padding:9px 16px; border-radius:100px; color:var(--text-mid); background:var(--surface); transition:border-color .25s ease, color .25s ease, transform .25s var(--ease);}
.chip:hover{border-color:var(--teal-text); color:var(--navy); transform:translateY(-2px);}
.ko-cta{display:flex; align-items:center; justify-content:space-between; padding:38px 44px; border-radius:24px; background:var(--navy); flex-wrap:wrap; gap:20px; position:relative; overflow:hidden;}
.ko-cta::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 85% 20%, rgba(124,92,252,0.35), transparent 60%);}
.ko-cta > *{position:relative; z-index:1;}
.ko-cta h3{font-size:21px; margin-bottom:6px; color:#fff;}
.ko-cta p{color:rgba(255,255,255,0.65); font-size:14px;}
.ko-cta .btn-primary{box-shadow:0 14px 30px -12px rgba(21,184,166,0.6);}

/* ---------- TEAM ---------- */
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
.team-card{text-align:left;}
.team-photo{width:100%; aspect-ratio:1/1; border-radius:18px; overflow:hidden; margin-bottom:16px; position:relative; box-shadow:var(--shadow-sm);}
.team-photo img{width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease);}
.team-card:hover .team-photo img{transform:scale(1.1);}
.team-photo::after{content:''; position:absolute; inset:0; background:linear-gradient(200deg, rgba(21,184,166,0.14), rgba(124,92,252,0.1)); mix-blend-mode:multiply;}
.team-card h3{font-family:'Inter',sans-serif; font-weight:600; font-size:17px; letter-spacing:-0.01em; color:var(--navy); margin-bottom:4px;}
.team-card span{font-family:'Inter',sans-serif; font-weight:600; font-size:11px; letter-spacing:0.09em; text-transform:uppercase; color:var(--text-low);}
.team-note{margin-top:36px; font-size:13px; color:var(--text-low); font-style:italic;}

/* ---------- CONTACT ---------- */
.contact{padding:150px 0 120px; text-align:center; position:relative; overflow:hidden;}
.contact-bg{position:absolute; inset:0; background:radial-gradient(circle at 50% 30%, rgba(21,184,166,0.10), transparent 55%), radial-gradient(circle at 80% 70%, rgba(124,92,252,0.10), transparent 50%); pointer-events:none;}
.contact h2{font-size:clamp(36px,5.2vw,60px); max-width:760px; margin:0 auto 22px; position:relative;}
.contact p{color:var(--text-mid); font-size:17px; max-width:480px; margin:0 auto 42px; position:relative;}
.contact .btn-primary{font-size:15px; padding:17px 36px; position:relative;}
.contact-email{margin-top:28px; font-family:'IBM Plex Mono'; font-size:14px; line-height:2.1; color:var(--text-mid); position:relative;}
.contact-email a{color:var(--teal-text); border-bottom:1px solid transparent; transition:border-color .2s ease;}
.contact-email a:hover{border-color:var(--teal-text);}
.contact-tagline{margin-top:16px; font-family:'Inter',sans-serif; font-size:13.5px; font-style:italic; color:var(--text-low);}

/* floating WhatsApp button — fixed bottom-right, hidden behind the intro
   overlay until it clears, then persistent for quick contact */
.wa-fab{
  position:fixed; right:26px; bottom:26px; z-index:120;
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#25D366; color:#fff;
  box-shadow:0 12px 30px -8px rgba(37,211,102,0.55), 0 6px 16px rgba(15,27,52,0.18);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-fab:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 18px 40px -10px rgba(37,211,102,0.7), 0 8px 20px rgba(15,27,52,0.22);
}
.wa-fab svg{ width:32px; height:32px; }
@media(max-width:640px){
  .wa-fab{ right:18px; bottom:18px; width:52px; height:52px; }
  .wa-fab svg{ width:29px; height:29px; }
}

/* ---------- FOOTER ---------- */
footer{border-top:1px solid var(--line); padding:44px 0;}
.footer-inner{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
.footer-inner .brand span{font-size:14px;}
.footer-links{display:flex; gap:28px; font-size:13px; color:var(--text-low);}
.footer-links a{transition:color .2s ease;}
.footer-links a:hover{color:var(--navy);}
.footer-copy{font-size:12px; color:var(--text-low); font-family:'IBM Plex Mono';}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1200px){
  .hero-aurora{width:760px; height:760px; margin-left:-380px; top:-20px;}
}
@media(max-width:860px){
  .about-grid, .ko1-grid, .ko2-grid{grid-template-columns:1fr; gap:36px;}
  .services-grid{grid-template-columns:1fr;}
  .stat-row{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .nav-links{display:none;}
  .nav-toggle{display:flex;}
  .mobile-menu{
    display:flex; flex-direction:column; gap:2px;
    max-width:1180px; margin:0 auto; padding:0 22px;
    max-height:0; overflow:hidden; opacity:0;
    transition:max-height .4s var(--ease), opacity .3s ease, padding .4s var(--ease);
    background:rgba(244,247,252,0.98); backdrop-filter:blur(16px);
    border-top:1px solid transparent;
  }
  .mobile-menu.open{max-height:400px; opacity:1; padding:8px 22px 24px; border-top-color:var(--line);}
  .mobile-menu a{padding:14px 4px; font-size:15.5px; color:var(--navy); border-bottom:1px solid var(--line-soft);}
  .mobile-menu a.mobile-menu-cta{
    border-bottom:none; margin-top:10px; text-align:center; padding:13px 4px;
    border-radius:100px; background:var(--navy); color:#fff; font-weight:600; font-size:14px;
  }
  .nav-cta{display:none;}
  .nav-inner{padding:14px 22px;}
  .container{padding:0 22px;}
  .about-ring-badge{display:none;}
  .hero{padding:150px 0 90px;}
  .hero-aurora{width:640px; height:640px; margin-left:-320px; top:10px; opacity:.55;}
  .hero-constellation{display:none;}
  .hero-br{display:none;}
  .badge-pill{font-size:10.5px; max-width:100%; align-items:flex-start;}
  .badge-pill .badge-text{min-width:0; overflow-wrap:anywhere;}
  .badge-pill .badge-dot{margin-top:4px;}
  section{padding:90px 0;}
  .ko1{padding-top:90px;}
  .ko2{padding-bottom:90px;}
}
@media(max-width:480px){
  .team-grid{grid-template-columns:1fr 1fr; gap:16px;}
  .hero-title{font-size:clamp(28px,7.6vw,44px);}
  .hero p.lead{font-size:16.5px;}
  .ko-cta{flex-direction:column; align-items:flex-start; padding:30px 26px;}
  .stat-row{gap:16px;}
  .container{padding:0 20px;}
}

/* ============================================================
   CUSTOM CURSOR — concentric rings + text in between + logo
   ============================================================ */
.cursor-root{
  position:fixed; top:0; left:0; z-index:9999; pointer-events:none;
  width:0; height:0;
  will-change:transform;
  transition:opacity .3s ease;
}
/* the tinted-glass porthole: a circular lens that recolours whatever
   page content sits behind the cursor — the "looking through tinted
   glass" moment. Sits below the rings + logo, framed by them. */
.cursor-lens{
  /* ▼▼▼ CURSOR GLASS TINT — ADJUST THIS ONE LINE ▼▼▼
     Just the R,G,B of the green. Higher middle number = greener.
     e.g. mint 130,220,160 · emerald 45,200,120 · lime 120,210,90 */
  --cursor-tint:56,200,130;
  /* ▲▲▲ CURSOR GLASS TINT ▲▲▲ */
  position:absolute;
  width:60px; height:60px;
  top:50%; left:50%;
  margin:-30px 0 0 -30px;
  border-radius:50%;
  background:radial-gradient(circle at 38% 32%,
    rgba(var(--cursor-tint),0.14) 0%,
    rgba(var(--cursor-tint),0.22) 60%,
    rgba(var(--cursor-tint),0.08) 100%);
  -webkit-backdrop-filter:blur(1.5px) saturate(1.7) brightness(1.03);
  backdrop-filter:blur(1.5px) saturate(1.7) brightness(1.03);
  box-shadow:inset 0 1px 3px rgba(255,255,255,0.35),
             inset 0 -2px 6px rgba(15,27,52,0.10);
  transition:width .15s var(--ease), height .15s var(--ease), margin .15s var(--ease);
}
/* rings + curved wordmark — fixed dark ink, tuned for the light page
   and reading crisply over the green glass lens. */
.cursor-svg{
  position:absolute;
  width:100px; height:100px;
  top:50%; left:50%;
  margin:-50px 0 0 -50px;
  animation:cursorSpin 12s linear infinite;
  overflow:visible;
  transition:width .15s var(--ease), height .15s var(--ease), margin .15s var(--ease);
}
.cursor-logo{
  position:absolute;
  width:20px; height:20px;
  top:50%; left:50%;
  margin:-10px 0 0 -10px;
  border-radius:50%;
  object-fit:contain;
  opacity:0.92;
  filter:drop-shadow(0 0 3px rgba(21,184,166,0.45));
}
.cursor-root.pressed .cursor-svg{ width:82px; height:82px; margin:-41px 0 0 -41px; }
.cursor-root.pressed .cursor-lens{ width:50px; height:50px; margin:-25px 0 0 -25px; }
.cursor-root.pressed .cursor-logo{ opacity:1; filter:drop-shadow(0 0 5px rgba(21,184,166,0.7)); }
@keyframes cursorSpin{ to{ transform:rotate(360deg); } }
@media(pointer:coarse){ .cursor-root{display:none;} }

/* ============================================================
   HERO INTRO — cube-shatter reveal (driven by js/intro.js)
   Structure and look are a 1:1 port of preview.html; the
   sequencing lives in GSAP, so these rules are static only.
   ============================================================ */

/* page is locked while the intro plays; released on reveal, and
   released immediately by intro.js if the intro is skipped */
html.intro-lock, html.intro-lock body{ overflow:hidden; }

/* the custom cursor sits above the overlay (z-index 9999) and parks at 0,0
   until the pointer first moves — keep it out of the intro entirely */
html.intro-lock .cursor-root{ opacity:0; }

.pv-overlay{
  position:fixed; inset:0; z-index:9998;
  /* light, premium backdrop — an airy off-white base lifted by two soft
     brand auroras (teal upper-left, purple lower-right) so it never reads
     as a plain flat panel */
  background:
    radial-gradient(52% 46% at 14% 16%, rgba(21,184,166,0.16), transparent 62%),
    radial-gradient(50% 48% at 86% 84%, rgba(124,92,252,0.18), transparent 64%),
    radial-gradient(120% 95% at 50% 30%, #ffffff 0%, #f4f7fc 46%, #e7eefb 100%);
  display:flex; align-items:center; justify-content:center;
}
.pv-headline-wrap{ position:relative; display:block; width:1px; height:1px; }

/* charge-up glow that blooms behind the cube just before it breaks */
.pv-bloom{
  position:fixed; left:50%; top:50%;
  width:62vmin; height:62vmin;
  /* centring + scale are owned by GSAP (xPercent/yPercent) so the flash
     scales about its own centre */
  border-radius:50%;
  /* on the light base the charge-up reads as a colored brand surge rather
     than a white flash — teal core into a purple halo */
  background:radial-gradient(circle,
    rgba(21,184,166,0.55) 0%,
    rgba(64,120,235,0.40) 34%,
    rgba(124,92,252,0.34) 56%,
    rgba(124,92,252,0.12) 74%,
    transparent 84%);
  mix-blend-mode:normal;
  filter:blur(10px);
  opacity:0; pointer-events:none; z-index:10;
}

/* the surviving mark, floated free in 3D over the deep-navy backdrop —
   a soft radial bloom (below) lifts its dark strokes, no plate */
.pv-logo3d{
  position:fixed; inset:0; z-index:13;
  display:flex; align-items:center; justify-content:center;
  perspective:1000px;
  opacity:0; pointer-events:none;
}
/* the mark floats free and solid — no halo, no glow. Just one soft grounding
   shadow so it still reads as a real 3D object sitting in the light scene. */
.pv-logo3d-inner{
  position:relative;
  transform-style:preserve-3d; will-change:transform;
  display:flex; align-items:center; justify-content:center;
}
.pv-logo3d-inner img{
  position:relative; display:block; height:auto;
  width:clamp(96px,12vw,160px);
  filter:drop-shadow(0 22px 30px rgba(15,27,52,0.28));
}

/* 3D scene: zero-size anchors, everything positioned from the centre */
.pv-scene{
  position:absolute; left:0; top:0; width:0; height:0;
  perspective-origin:50% 50%;
  pointer-events:none;
}
.pv-pivot,
.pv-cube,
.pv-cube-inner{
  position:absolute; width:0; height:0;
  transform-style:preserve-3d;
}
.pv-face{
  position:absolute; top:0; left:0;
  border-radius:2px; overflow:hidden;
  background-size:cover; background-position:center;
  backface-visibility:hidden;
}
/* raking light from the upper left, cued when the cube settles */
.pv-light-ray{
  position:fixed; top:-20vh; left:-15vw;
  width:70vw; height:70vh;
  pointer-events:none; z-index:11; opacity:0;
  transform-origin:15% 15%;
  mix-blend-mode:multiply;
  background:conic-gradient(
    from 35deg at 15% 15%,
    transparent 0deg,
    rgba(124,92,252,0.05) 12deg,
    rgba(21,184,166,0.08) 20deg,
    rgba(124,92,252,0.05) 28deg,
    transparent 40deg
  );
}

/* wordmark rendered as the cube's cast shadow: squashed, skewed, blurred */
.pv-shadow-wrap{
  position:fixed; bottom:18vh; left:50%;
  transform:translateX(-50%);
  z-index:12; pointer-events:none; opacity:0;
}
.pv-shadow-text{
  --pv-clip:100%;
  --pv-blur:2px;
  display:block;
  font-family:'Space Grotesk', sans-serif;
  font-size:clamp(44px,8vw,104px);
  font-weight:700; letter-spacing:0.28em;
  text-transform:uppercase; white-space:nowrap;
  /* "brand echo" — a colored teal→purple shadow, gentle skew */
  background:linear-gradient(90deg,
    rgba(21,184,166,0.50) 0%,
    rgba(124,92,252,0.42) 60%,
    rgba(21,184,166,0.30) 100%
  );
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:blur(var(--pv-blur));
  transform:scaleY(0.42) skewX(-14deg);
  transform-origin:center top;
  clip-path:inset(0 var(--pv-clip) 0 0);
}

/* brand pillars framing the four sides of the intro — mono eyebrow labels
   that carry the studio's value props so the scene reads designed, not empty */
.pv-pillars{ position:absolute; inset:0; z-index:4; pointer-events:none; }
.pv-pillar{
  position:absolute;
  font-family:'IBM Plex Mono', monospace;
  font-size:clamp(14px,1.7vw,23px);
  letter-spacing:0.44em; text-transform:uppercase; white-space:nowrap;
  /* darkened brand gradient — clears contrast on the light base */
  background:linear-gradient(120deg,#0f8a7d 0%,#5a49c9 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  opacity:0; animation:pvPillarIn 1.3s cubic-bezier(.16,.84,.44,1) 0.5s forwards;
}
.pv-pillar::before{
  content:""; display:inline-block; vertical-align:middle;
  width:40px; height:2px; margin-right:1em; border-radius:2px;
  background:linear-gradient(90deg,#15B8A6,#7C5CFC);
}
.pv-pillar-top{ top:5vh; left:50%; transform:translateX(-50%); }
/* bottom pillar carries the longer tagline — smaller + tighter so it fits,
   with its own fade-in that resolves to the tighter spacing */
.pv-pillar-bottom{
  bottom:5vh; left:50%; transform:translateX(-50%);
  font-size:clamp(12px,1.35vw,18px); animation-name:pvPillarInTight;
}
.pv-pillar-left::before,
.pv-pillar-right::before{ display:none; }
.pv-pillar-left{
  left:4vw; top:50%;
  writing-mode:vertical-rl; transform:translateY(-50%) rotate(180deg);
}
.pv-pillar-right{
  right:4vw; top:50%;
  writing-mode:vertical-rl; transform:translateY(-50%);
}
@keyframes pvPillarIn{
  from{ opacity:0; letter-spacing:0.7em; }
  to{ opacity:0.85; letter-spacing:0.44em; }
}
@keyframes pvPillarInTight{
  from{ opacity:0; letter-spacing:0.44em; }
  to{ opacity:0.85; letter-spacing:0.24em; }
}

/* intro is desktop-only; small screens go straight to the hero */
@media(max-width:799px){ .pv-overlay{ display:none; } }

/* ============================================================
   REDUCED MOTION — full fallback, every animation covered
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  .js .reveal, .js .reveal-stagger > *{ opacity:1; clip-path:none; transform:none; }
  .js .hero-late{ opacity:1; transform:none; }
  .hero-aurora{ animation:none; }
  .hero-constellation{ display:none; }
  .scroll-rail-node{ transition:none; }
  .tilt{ transform:none !important; }
  .btn-primary, .btn-secondary, .nav-cta{ transform:none !important; }
  .badge-dot{ box-shadow:none; }
  html, body, a, button{ cursor:auto !important; }
  .cue-dot{ animation:none; }
  /* intro never plays under reduced motion — intro.js also removes it outright */
  .pv-overlay{ display:none !important; }
  html.intro-lock, html.intro-lock body{ overflow:visible; }
}
