/* ============================================================
   iT Designs — Complete Rebuild v3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --black:     #111827;
  --off-black: #151d2e;
  --surface:   #18181e;
  --teal:      #00ffe0;
  --teal-dim:  rgba(0,255,224,0.12);
  /* compat vars used by inner pages */
  --text-muted: rgba(255,255,255,0.44);
  --glass-bd:   rgba(255,255,255,0.09);
  --gold:      #c8920a;
  --gold-lt:   #f0b429;
  --white:     #ffffff;
  --dim:       rgba(255,255,255,0.44);
  --faint:     rgba(255,255,255,0.07);
  --line:      rgba(255,255,255,0.09);
  --header-h:  72px;
  --max:       1160px;
  --r:         10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* Grain */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; opacity: 0.03;
}

/* ── Cursor ─────────────────────────────────────────────────── */
.cursor {
  width: 7px; height: 7px; background: var(--teal);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 14px var(--teal), 0 0 32px rgba(0,255,224,0.3);
  transition: width .25s, height .25s, background .25s;
}
.cursor-ring {
  width: 30px; height: 30px;
  border: 1px solid rgba(0,255,224,0.38);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, opacity .3s;
}
.cursor.is-hover       { width: 44px; height: 44px; background: rgba(0,255,224,.09); box-shadow: 0 0 28px rgba(0,255,224,.5); }
.cursor-ring.is-hover  { opacity: 0; }
@media (hover:none) { .cursor, .cursor-ring { display:none; } }

/* ── Scroll reveal ──────────────────────────────────────────── */
.sr { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.sr.on { opacity: 1; transform: none; }
.sr-d1 { transition-delay: .1s; }
.sr-d2 { transition-delay: .2s; }
.sr-d3 { transition-delay: .32s; }

/* ── Layout ─────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.section { padding: 110px 0; position: relative; overflow: hidden; }

/* ── Type helpers ───────────────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.label::before { content: ''; width: 22px; height: 1px; background: var(--teal); }
.headline {
  font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 900;
  letter-spacing: -.04em; line-height: 1.06; margin-bottom: 18px;
}
.body-text { color: var(--dim); font-size: .98rem; line-height: 1.82; max-width: 540px; }
.rule { width: 36px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); border: none; margin: 18px 0 28px; border-radius: 2px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .86rem; font-weight: 700; letter-spacing: .03em;
  padding: 13px 28px; border-radius: 6px; cursor: none;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.btn-fill {
  background: var(--teal); color: var(--black); border: 1.5px solid var(--teal);
  box-shadow: 0 0 22px rgba(0,255,224,.22);
}
.btn-fill:hover  { transform: translateY(-2px); box-shadow: 0 0 42px rgba(0,255,224,.5); }
.btn-line {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn-line:hover  { border-color: var(--teal); background: rgba(0,255,224,.05); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; height: var(--header-h);
  background: rgba(10,10,10,.85); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line); z-index: 1000;
}
.hdr {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 9px; cursor: none; }
.logo img { height: 36px; }
.logo span { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-a {
  font-size: .84rem; font-weight: 500; color: var(--dim);
  padding: 7px 13px; border-radius: 5px; cursor: none;
  transition: color .25s, background .25s;
}
.nav-a:hover, .nav-a.on { color: var(--white); background: var(--faint); }
.nav-a.on { color: var(--teal); }
.nav-btn {
  margin-left: 10px; background: var(--teal); color: var(--black);
  font-size: .8rem; font-weight: 800; letter-spacing: .04em;
  padding: 8px 20px; border-radius: 5px; cursor: none;
  box-shadow: 0 0 18px rgba(0,255,224,.18);
  transition: box-shadow .3s, transform .3s;
}
.nav-btn:hover { box-shadow: 0 0 36px rgba(0,255,224,.5); transform: translateY(-1px); }

.ham { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:5px; }
.ham span { display:block; width:22px; height:1.5px; background:var(--white); border-radius:2px; transition:.25s; }
.ham.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.on span:nth-child(2) { opacity:0; }
.ham.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mob-nav {
  display:none; position:fixed; top:var(--header-h); left:0; right:0;
  background:rgba(10,10,10,.97); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--line);
  padding:16px 24px 28px; flex-direction:column; gap:3px; z-index:999;
}
.mob-nav.on { display:flex; }
.mob-nav a { font-size:.93rem; font-weight:500; color:var(--white); padding:11px 14px; border-radius:7px; transition:background .25s; }
.mob-nav a:hover { background:var(--faint); }
.mob-nav .mob-cta { margin-top:10px; background:var(--teal); color:var(--black); font-weight:800; text-align:center; padding:13px; border-radius:7px; }

/* ══════════════════════════════════════════════════════════════
   HERO
   The headline middle word is filled with the portfolio image.
   Split layout: text left, live screenshot right.
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(88vh - var(--header-h));
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; position: relative; overflow: hidden;
  background: var(--black);
}
/* Spotlight + teal bleed from right showcase */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(600px circle at var(--mx,25%) var(--my,50%), rgba(0,255,224,.055), transparent 55%),
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(0,200,170,.07) 0%, transparent 60%);
}
/* Bottom-left gold glow */
.hero::after {
  content: ''; position: absolute; bottom: -160px; left: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,10,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left {
  padding: 80px 60px 80px 0;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 40px;
  animation: up .6s ease .05s both;
}
.hero-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 10px var(--teal); animation: dot-pulse 2.2s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100%{box-shadow:0 0 10px var(--teal)} 50%{box-shadow:0 0 22px var(--teal),0 0 40px rgba(0,255,224,.3)} }

.hero-hl { margin-bottom: 44px; animation: up .7s ease .15s both; }
.h-line1 {
  display: block; font-size: clamp(3.5rem, 6.5vw, 7.5rem);
  font-weight: 900; letter-spacing: -.06em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.7);
}
/* THE TRICK — portfolio image fills the type */
.h-line2 {
  display: block; font-size: clamp(3.5rem, 6.5vw, 7.5rem);
  font-weight: 900; letter-spacing: -.06em; line-height: .9;
  background: url('/images/portfolio-core-recovery.jpg') center 20% / cover no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: saturate(0.7) brightness(1.15);
}
.h-line3 {
  display: block; font-size: clamp(3.5rem, 6.5vw, 7.5rem);
  font-weight: 900; letter-spacing: -.06em; line-height: .9;
  color: var(--gold-lt); text-shadow: 0 0 30px rgba(200,146,10,.2);
}

.hero-sub { font-size: .98rem; color: var(--dim); line-height: 1.78; max-width: 320px; margin-bottom: 36px; animation: up .7s ease .45s both; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; animation: up .7s ease .55s both; }

/* Rotating badge — fixed, all pages */
.site-badge {
  position: fixed; bottom: 36px; right: 36px;
  width: 130px; height: 130px; z-index: 900;
  cursor: none;
}
.site-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.site-badge svg text { fill: rgba(255,255,255,.38); font-size: 10px; font-weight: 600; letter-spacing: 2.9px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.site-badge-c {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; color: var(--teal);
  text-shadow: 0 0 20px rgba(0,255,224,.6);
}

/* Legacy hero-badge kept for reference */
.hero-badge-c {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; color: var(--teal);
  text-shadow: 0 0 18px rgba(0,255,224,.6); letter-spacing: -.03em;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Right side — screenshot stack */
.hero-right {
  position: relative; height: 100%;
  min-height: calc(88vh - var(--header-h));
  overflow: hidden;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, var(--black) 0%, transparent 20%),
              linear-gradient(to top,   var(--black) 0%, transparent 18%);
}
.hero-shot {
  position: absolute; inset: 0;
  background: url('/images/portfolio-core-recovery.jpg') center top / cover no-repeat;
  opacity: .35;
  animation: subtle-drift 18s ease-in-out infinite alternate;
}
@keyframes subtle-drift { from{transform:scale(1)} to{transform:scale(1.04) translateY(-8px)} }
/* Teal line accent on split edge */
.hero-right::after {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: .5; z-index: 2;
}
/* Floating tag on the screenshot */
.hero-shot-tag {
  position: absolute; bottom: 80px; left: 36px; z-index: 3;
  background: rgba(10,10,10,.8); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 20px; animation: up .8s ease .8s both;
}
.hero-shot-tag .tag-line1 { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.hero-shot-tag .tag-line2 { font-size: .9rem; font-weight: 700; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
  animation: up .6s ease 1s both; cursor: none;
}
.hero-scroll-bar { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--teal), transparent); animation: scroll-breathe 2s ease-in-out infinite; }
@keyframes scroll-breathe { 0%,100%{opacity:.3;transform:scaleY(.5);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} }

@keyframes up { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }

/* Hero watermark — Option 1 */
.hero-watermark {
  position: absolute; left: -60px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; object-fit: contain;
  opacity: .07; pointer-events: none; z-index: 0;
  filter: blur(.5px);
}

/* Hero logo lockup — Option 5 */
.hero-logo-lockup {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px; animation: up .6s ease .05s both;
}
.hero-logo-lockup img {
  height: 44px; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0,255,224,.4));
}
.hero-logo-divider { width: 1px; height: 32px; background: rgba(255,255,255,.15); }
.hero-logo-text { display: flex; flex-direction: column; gap: 2px; }
.hero-logo-text strong { font-size: .9rem; font-weight: 800; letter-spacing: -.01em; color: var(--white); }
.hero-logo-text span { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* Hero glow panel — Option 2 (replaces screenshot on right) */
.hero-glow-panel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-black);
}
.hero-glow-ring {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,.13) 0%, transparent 68%);
  animation: glow-pulse 3.5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.07);opacity:.55} }
.hero-glow-logo {
  position: relative; z-index: 2;
  width: 150px; height: 150px; object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(0,255,224,.45)) drop-shadow(0 0 60px rgba(0,255,224,.18));
  animation: float-logo 4.5s ease-in-out infinite;
}
@keyframes float-logo { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-glow-shots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-glow-shot { width: 86px; height: 58px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.hero-glow-shot img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s; }
.hero-glow-shot:hover img { opacity: 1; }
.hero-glow-label {
  position: absolute; top: 28px; right: 28px; z-index: 3;
  font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal);
}

/* ── HERO SHOWCASE — exact copy of logo-showcase.html styles ── */
.hs-panel {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: #080e1a; overflow: hidden;
}
.hs-bg-glow {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,200,170,.09) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200,146,10,.05) 0%, transparent 70%);
  animation: hs-bgShift 8s ease-in-out infinite alternate;
}
@keyframes hs-bgShift { from { opacity: .7; } to { opacity: 1; } }
.hs-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 1050px; height: 1050px;
  flex-shrink: 0;
  transform: scale(0.6);
}
.hs-orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid transparent; pointer-events: none;
}
.hs-orbit-1 { width:960px; height:960px; border-color:rgba(0,200,170,.12); animation:hs-spinCW 28s linear infinite; }
.hs-orbit-2 { width:840px; height:840px; border-color:rgba(200,146,10,.10); border-style:dashed; animation:hs-spinCCW 20s linear infinite; }
.hs-orbit-3 { width:730px; height:730px; border-top-color:rgba(0,200,170,.22); border-right-color:transparent; border-bottom-color:rgba(0,200,170,.22); border-left-color:transparent; animation:hs-spinCW 12s linear infinite; }
@keyframes hs-spinCW  { to { transform: rotate(360deg); } }
@keyframes hs-spinCCW { to { transform: rotate(-360deg); } }
.hs-orbit-1::before, .hs-orbit-1::after,
.hs-orbit-2::before, .hs-orbit-2::after { content:''; position:absolute; border-radius:50%; }
.hs-orbit-1::before { width:10px; height:10px; background:#00c8aa; top:-5px; left:50%; transform:translateX(-50%); box-shadow:0 0 16px 6px rgba(0,200,170,.6); }
.hs-orbit-1::after  { width:7px; height:7px; background:rgba(0,200,170,.5); bottom:-3.5px; left:50%; transform:translateX(-50%); box-shadow:0 0 10px 4px rgba(0,200,170,.4); }
.hs-orbit-2::before { width:8px; height:8px; background:#c8920a; top:-4px; left:50%; transform:translateX(-50%); box-shadow:0 0 14px 5px rgba(200,146,10,.65); }
.hs-orbit-2::after  { width:6px; height:6px; background:rgba(200,146,10,.6); bottom:-3px; right:20%; box-shadow:0 0 10px 4px rgba(200,146,10,.4); }
.hs-glow-outer { position:absolute; width:640px; height:640px; border-radius:50%; background:radial-gradient(circle,rgba(0,200,170,.16) 0%,rgba(0,200,170,.05) 45%,transparent 70%); animation:hs-pulse 4s ease-in-out infinite; }
.hs-glow-mid   { position:absolute; width:450px; height:450px; border-radius:50%; background:radial-gradient(circle,rgba(200,146,10,.12) 0%,transparent 70%); animation:hs-pulse 4s ease-in-out 1.3s infinite; }
.hs-glow-inner { position:absolute; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle,rgba(0,200,170,.28) 0%,transparent 70%); animation:hs-pulse 3s ease-in-out 0.6s infinite; }
@keyframes hs-pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.12);opacity:.6} }
.hs-logo-wrap { position:relative; z-index:10; animation:hs-floatSpin 18s ease-in-out infinite; }
.hs-logo-wrap img { width:560px; height:560px; object-fit:contain; animation:hs-glowPulse 3.5s ease-in-out infinite; }
@keyframes hs-floatSpin {
  0%   { transform:translateY(0px)   rotate(0deg); }
  25%  { transform:translateY(-18px) rotate(2deg); }
  50%  { transform:translateY(-8px)  rotate(0deg); }
  75%  { transform:translateY(-22px) rotate(-2deg); }
  100% { transform:translateY(0px)   rotate(0deg); }
}
@keyframes hs-glowPulse {
  0%,100% { filter:drop-shadow(0 0 40px rgba(0,200,170,.55)) drop-shadow(0 0 90px rgba(0,200,170,.25)) drop-shadow(0 0 160px rgba(0,200,170,.12)); }
  50%     { filter:drop-shadow(0 0 60px rgba(0,200,170,.85)) drop-shadow(0 0 130px rgba(0,200,170,.4))  drop-shadow(0 0 200px rgba(200,146,10,.18)); }
}
.hs-text-ring { position:absolute; width:900px; height:900px; animation:hs-spinCW 30s linear infinite; }
.hs-text-ring text { fill:rgba(240,240,238,.2); font-size:13px; font-family:'Helvetica Neue',Arial,sans-serif; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; }
.hs-sparkle { position:absolute; border-radius:50%; background:#00c8aa; box-shadow:0 0 6px 2px rgba(0,200,170,.7); animation:hs-sparkleAnim 3s ease-in-out infinite; }
.hs-sparkle:nth-child(1) { width:4px;height:4px; top:10%;left:48%; animation-delay:0s;   animation-duration:2.8s; }
.hs-sparkle:nth-child(2) { width:5px;height:5px; top:20%;left:80%; animation-delay:.4s;  animation-duration:3.2s; background:#c8920a; box-shadow:0 0 8px 3px rgba(200,146,10,.7); }
.hs-sparkle:nth-child(3) { width:3px;height:3px; top:72%;left:18%; animation-delay:.8s;  animation-duration:2.5s; }
.hs-sparkle:nth-child(4) { width:4px;height:4px; top:82%;left:64%; animation-delay:1.2s; animation-duration:3.5s; background:#c8920a; box-shadow:0 0 8px 3px rgba(200,146,10,.7); }
.hs-sparkle:nth-child(5) { width:3px;height:3px; top:38%;left:90%; animation-delay:1.6s; animation-duration:2.9s; }
.hs-sparkle:nth-child(6) { width:4px;height:4px; top:58%;left:8%;  animation-delay:.2s;  animation-duration:3.1s; background:#c8920a; box-shadow:0 0 8px 3px rgba(200,146,10,.7); }
.hs-sparkle:nth-child(7) { width:3px;height:3px; top:14%;left:28%; animation-delay:2.1s; animation-duration:2.7s; }
.hs-sparkle:nth-child(8) { width:5px;height:5px; top:90%;left:44%; animation-delay:.9s;  animation-duration:3.3s; }
@keyframes hs-sparkleAnim { 0%,100%{transform:scale(1);opacity:.8} 50%{transform:scale(2);opacity:0} }

/* Badge logo image — Option 4 */
.hero-badge-c img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0,255,224,.5)); }

/* ══════════════════════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════════════════════ */
.marquee { background: var(--off-black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 0; overflow: hidden; }
.marquee-t { display: flex; white-space: nowrap; animation: march 28s linear infinite; }
.marquee-t:hover { animation-play-state: paused; }
@keyframes march { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.mi { display: inline-flex; align-items: center; gap: 16px; padding: 0 24px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.25); }
.mi .dot { width: 3px; height: 3px; background: rgba(0,255,224,.35); border-radius: 50%; }
.mi.hi { color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   WORK — Row list. Image appears on hover. Very editorial.
   ══════════════════════════════════════════════════════════════ */
.work-list { margin-top: 60px; border-top: 1px solid var(--line); }
.work-row {
  display: grid; grid-template-columns: 44px 1fr auto auto;
  align-items: center; gap: 32px; padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: none; position: relative;
  transition: background .3s ease;
  text-decoration: none; color: inherit;
}
.work-row:hover { background: rgba(0,255,224,.02); }

.work-row-num { font-size: .6rem; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.work-row-info { display: flex; flex-direction: column; gap: 3px; }
.work-row-cat  { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.work-row-name { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; transition: color .3s; }
.work-row:hover .work-row-name { color: var(--teal); }

/* Thumbnail — hidden until hover */
.work-row-thumb {
  width: 120px; height: 72px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); flex-shrink: 0;
  opacity: 0; transform: translateY(6px) scale(.96);
  transition: opacity .35s ease, transform .35s ease;
}
.work-row:hover .work-row-thumb { opacity: 1; transform: none; }
.work-row-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.work-row-arrow {
  font-size: 1.1rem; color: var(--dim); flex-shrink: 0;
  transition: transform .3s, color .3s;
}
.work-row:hover .work-row-arrow { transform: translate(5px, -5px); color: var(--teal); }

.work-footer { margin-top: 44px; text-align: center; }

/* ══════════════════════════════════════════════════════════════
   SERVICES — Split screen. Left list, right live preview.
   ══════════════════════════════════════════════════════════════ */
.services-split {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 60px; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; min-height: 440px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.svc-list { border-right: 1px solid var(--line); }
.svc-item {
  padding: 34px 40px; border-bottom: 1px solid var(--line);
  cursor: none; position: relative; overflow: hidden;
  transition: background .3s ease;
}
.svc-item:last-child { border-bottom: none; }
.svc-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--teal), var(--gold));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.svc-item:hover, .svc-item.active { background: rgba(0,255,224,.025); }
.svc-item:hover::before, .svc-item.active::before { transform: scaleY(1); }
.svc-item-n { font-size: .58rem; font-weight: 700; letter-spacing: .14em; color: var(--teal); margin-bottom: 8px; }
.svc-item-name { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 8px; transition: color .3s; }
.svc-item:hover .svc-item-name, .svc-item.active .svc-item-name { color: var(--teal); }
.svc-item-blurb { font-size: .84rem; color: var(--dim); line-height: 1.65; max-width: 300px; }

/* Preview panel */
.svc-right { position: relative; background: var(--surface); }
.svc-pane {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.svc-pane.active { opacity: 1; pointer-events: auto; }
.svc-pane img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.svc-pane-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.35) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
}
.svc-pane-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; }
.svc-pane-body  { font-size: .86rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.svc-pane-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: rgba(0,255,224,.12); color: var(--teal); border: 1px solid rgba(0,255,224,.2); }
/* Hosting pane — no image, dark with live stats */
.svc-pane-dark { background: var(--off-black); }
.svc-pane-dark .svc-pane-overlay { background: none; justify-content: center; }
.svc-hosting-visual {
  display: flex; flex-direction: column; gap: 18px; width: 100%;
}
.svc-uptime {
  font-size: 3.5rem; font-weight: 900; color: var(--teal);
  letter-spacing: -.07em; text-shadow: 0 0 30px rgba(0,255,224,.3); line-height: 1;
}
.svc-uptime-label { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
.svc-bar-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.svc-bar-row { display: flex; align-items: center; gap: 14px; font-size: .76rem; color: var(--dim); }
.svc-bar-track { flex: 1; height: 3px; background: var(--faint); border-radius: 2px; overflow: hidden; }
.svc-bar-fill  { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); }

/* ══════════════════════════════════════════════════════════════
   STATS — pure numbers, no decoration
   ══════════════════════════════════════════════════════════════ */
.stats-band { background: var(--off-black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { text-align: center; padding: 0 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-n { font-size: clamp(3.5rem,6vw,5.5rem); font-weight: 900; color: var(--white); letter-spacing: -.07em; line-height: 1; }
.stat-n em { color: var(--teal); font-style: normal; text-shadow: 0 0 22px rgba(0,255,224,.35); }
.stat-l { font-size: .65rem; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; }

/* ══════════════════════════════════════════════════════════════
   PULL QUOTE — editorial break
   ══════════════════════════════════════════════════════════════ */
.pull-section { padding: 120px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.pull-section::before {
  content: '"'; position: absolute; top: 0; left: 30px;
  font-size: 28vw; font-weight: 900; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.03);
  line-height: 1; pointer-events: none; z-index: 0;
  letter-spacing: -.1em;
}
.pull-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.pull-quote {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 900;
  letter-spacing: -.04em; line-height: 1.12;
  color: var(--white);
}
.pull-quote em { color: var(--teal); font-style: normal; }
.pull-meta { display: flex; flex-direction: column; gap: 22px; flex-shrink: 0; min-width: 220px; }
.pull-body { font-size: .93rem; color: var(--dim); line-height: 1.8; }
.pull-link { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--teal); transition: gap .3s; }
.pull-link:hover { gap: 12px; }

/* ══════════════════════════════════════════════════════════════
   CTA — full-screen moment, one purpose
   ══════════════════════════════════════════════════════════════ */
.cta {
  padding: 140px 0; text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--black);
}
.cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,.06) 0%, transparent 60%);
  animation: cta-breathe 7s ease-in-out infinite;
}
@keyframes cta-breathe { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.3)} }
.cta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, black, transparent);
}
.cta-inner { position: relative; z-index: 1; }
.cta-hl {
  font-size: clamp(3rem, 7vw, 6rem); font-weight: 900;
  letter-spacing: -.055em; line-height: .98; margin-bottom: 22px;
}
.cta-hl span { color: var(--teal); text-shadow: 0 0 40px rgba(0,255,224,.35); display: inline; }
.cta-sub { font-size: 1rem; color: var(--dim); max-width: 420px; margin: 0 auto 48px; line-height: 1.78; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--off-black); border-top: 1px solid var(--line); padding: 72px 0 0; }
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px; padding-bottom: 60px; border-bottom: 1px solid var(--line);
}
.foot-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; cursor: none; }
.foot-logo img { height: 32px; opacity: .85; }
.foot-logo span { font-size: .98rem; font-weight: 800; letter-spacing: -.02em; }
.foot-brand p { font-size: .86rem; color: var(--dim); line-height: 1.75; max-width: 240px; }
.foot-col-head { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; display: block; }
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links a { font-size: .86rem; color: rgba(255,255,255,.38); transition: color .25s; }
.foot-links a:hover { color: var(--teal); }
.foot-contact p { font-size: .86rem; color: rgba(255,255,255,.38); margin-bottom: 9px; }
.foot-contact a { transition: color .25s; }
.foot-contact a:hover { color: var(--teal); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: .78rem; color: rgba(255,255,255,.22); }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { color: rgba(255,255,255,.22); transition: color .25s; }
.foot-legal a:hover { color: var(--dim); }

/* ══════════════════════════════════════════════════════════════
   INNER PAGES
   ══════════════════════════════════════════════════════════════ */
/* ── Services sticky tab nav ──────────────────────────────── */
.svc-nav {
  position: sticky; top: var(--header-h); z-index: 100;
  background: rgba(17,24,39,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.svc-nav-inner {
  display: flex; max-width: 1200px; margin: 0 auto; padding: 0 40px;
  overflow-x: auto; scrollbar-width: none;
}
.svc-nav-inner::-webkit-scrollbar { display: none; }
.svc-nav-btn {
  padding: 16px 22px; flex-shrink: 0;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); background: none; border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.svc-nav-btn:hover { color: var(--white); }
.svc-nav-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.svc-panel { display: none; }
.svc-panel.active { display: block; border-bottom: 1px solid var(--line); }

/* ── Portfolio filter tabs ────────────────────────────────── */
.port-filter {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.port-filter-btn {
  padding: 9px 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); background: var(--off-black);
  border: 1px solid var(--line); border-radius: 40px;
  cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.port-filter-btn:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.port-filter-btn.active { color: var(--teal); border-color: var(--teal); background: rgba(0,255,224,.06); }
.portfolio-card.hidden { display: none; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px;
}
.testimonial-card {
  background: var(--black); border: 1px solid var(--line); border-radius: var(--r);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.testimonial-quote {
  font-size: 3.5rem; line-height: 1; color: var(--teal); opacity: .4;
  font-family: Georgia, serif; margin-bottom: -8px;
}
.testimonial-body {
  color: var(--dim); font-size: .94rem; line-height: 1.8; flex: 1;
}
.testimonial-author { border-top: 1px solid var(--line); padding-top: 18px; }
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--white); }
.testimonial-role { font-size: .78rem; color: var(--teal); margin-top: 3px; }
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.page-banner {
  background: var(--black); min-height: 200px; display: flex;
  align-items: center; padding: 56px 0 44px;
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
}
/* Teal glow left */
.page-banner::before {
  content: ''; position: absolute; top: 50%; left: -8%; transform: translateY(-50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,.07) 0%, transparent 60%);
  pointer-events: none; animation: pulse-glow 9s ease-in-out infinite;
}
/* Grid lines */
.page-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 100% at 35% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 35% 50%, black 20%, transparent 80%);
}
/* Giant ghost letter */
.banner-ghost {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-size: clamp(10rem, 24vw, 22rem); font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px rgba(0,255,224,.045);
  letter-spacing: -.07em; line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
}
.banner-in { position: relative; z-index: 2; }
/* Compat alias */
.banner-inner { position: relative; z-index: 2; }
.banner-eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 22px;
  animation: up .55s ease both;
}
.banner-eye::before { content: ''; width: 20px; height: 1px; background: var(--teal); flex-shrink: 0; }
.banner-hl {
  font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 900;
  letter-spacing: -.06em; line-height: .92;
  animation: up .65s ease .1s both;
}
.banner-sub { font-size: 1rem; color: var(--dim); margin-top: 18px; animation: up .65s ease .2s both; }

/* Also map old banner class names used in inner pages */
.banner-title { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 900; letter-spacing: -.06em; line-height: .92; animation: up .65s ease .1s both; }
.eyebrow.banner-eyebrow, .banner-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 22px;
  animation: up .55s ease both;
}
.breadcrumbs { background: var(--off-black); border-bottom: 1px solid var(--line); }
.breadcrumbs .wrap { padding-top: 12px; padding-bottom: 12px; font-size: .8rem; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--teal); transition: color .25s; }
.breadcrumbs a:hover { color: var(--white); }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; margin-top: 48px; align-items: start; }
.c-block { background: var(--off-black); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; }
.c-block-title { font-size: 1rem; font-weight: 700; margin-bottom: 24px; }
.c-item { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.c-item:last-child { margin-bottom: 0; }
.c-icon { width: 34px; height: 34px; background: rgba(0,255,224,.07); border: 1px solid rgba(0,255,224,.14); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.c-label { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.c-val { font-size: .88rem; }
.c-val a { color: var(--teal); transition: color .25s; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--off-black); border: 1px solid var(--line); border-radius: 7px; color: var(--white); font-family: inherit; font-size: .88rem; padding: 10px 13px; outline: none; transition: border-color .25s, box-shadow .25s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,255,224,.07); }
.fg textarea { resize: vertical; min-height: 116px; }
.fg select { cursor: pointer; }
.form-ok  { background: rgba(0,255,224,.06); border: 1px solid rgba(0,255,224,.2); border-radius: 7px; padding: 13px 16px; color: var(--teal); font-size: .86rem; margin-bottom: 16px; }
.form-err { background: rgba(200,50,30,.07); border: 1px solid rgba(200,50,30,.2); border-radius: 7px; padding: 13px 16px; color: #e07060; font-size: .86rem; margin-bottom: 16px; }

/* ── Services page ──────────────────────────────────────────── */
.svc-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.svc-card { background: var(--off-black); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 26px 36px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.svc-card:hover { border-color: rgba(0,255,224,.22); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(0,255,224,.06); }
.svc-icon { width: 46px; height: 46px; background: rgba(0,255,224,.07); border: 1px solid rgba(0,255,224,.14); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.svc-icon svg { width: 20px; height: 20px; color: var(--teal); }
.svc-title { font-size: 1rem; font-weight: 700; margin-bottom: 9px; }
.svc-desc  { font-size: .88rem; color: var(--dim); line-height: 1.7; }

/* ── Portfolio page ─────────────────────────────────────────── */
.port-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 48px; }
.port-card { background: var(--off-black); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: none; transition: border-color .3s, transform .3s, box-shadow .3s; }
.port-card:hover { border-color: rgba(0,255,224,.2); transform: translateY(-5px); box-shadow: 0 22px 55px rgba(0,0,0,.45), 0 0 0 1px rgba(0,255,224,.06); }
.port-thumb { height: 250px; overflow: hidden; position: relative; }
.port-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s ease; }
.port-card:hover .port-thumb img { transform: scale(1.06); }
.port-body { padding: 22px 24px 26px; }
.port-cat   { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 5px; }
.port-name  { font-size: 1rem; font-weight: 800; margin-bottom: 7px; letter-spacing: -.015em; }
.port-desc  { font-size: .85rem; color: var(--dim); line-height: 1.65; margin-bottom: 14px; }
.port-link  { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--teal); transition: gap .25s; }
.port-link:hover { gap: 9px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 80px 0; }
  .pull-inner { grid-template-columns: 1fr; gap: 36px; }
  .pull-meta { min-width: 0; }
  .services-split { grid-template-columns: 1fr; }
  .svc-right { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 22px; }
  .section { padding: 80px 0; }
  .main-nav, .nav-btn { display: none; }
  .ham { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .stat { padding: 28px 12px; }
  .work-row { grid-template-columns: 36px 1fr auto; }
  .work-row-thumb { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .site-badge { width: 90px; height: 90px; bottom: 20px; right: 16px; }
  .site-badge svg text { font-size: 8.5px; letter-spacing: 2.5px; }
}

/* ══════════════════════════════════════════════════════════════
   INNER PAGE COMPAT — maps old class names to new design tokens
   ══════════════════════════════════════════════════════════════ */

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.section-sm { padding: 56px 0; position: relative; }

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .65rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--teal); flex-shrink: 0; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.06; margin-bottom: 18px; }
.section-body  { color: var(--dim); font-size: .98rem; line-height: 1.8; max-width: 580px; }
.section-body + .section-body { margin-top: 1em; }
.divider { width: 36px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); border: none; margin: 18px 0 28px; border-radius: 2px; display: block; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--teal); color: var(--black);
  font-weight: 800; font-size: .86rem; letter-spacing: .03em;
  padding: 13px 28px; border-radius: 6px; border: none; cursor: none;
  box-shadow: 0 0 22px rgba(0,255,224,.22);
  transition: box-shadow .3s, transform .3s;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.btn-primary:hover { box-shadow: 0 0 42px rgba(0,255,224,.5); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: .86rem; cursor: none;
  padding: 12px 26px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.18);
  transition: border-color .3s, background .3s, transform .3s; flex-shrink: 0;
}
.btn-outline:hover { border-color: var(--teal); background: rgba(0,255,224,.05); transform: translateY(-2px); }

/* Banner inner */
.banner-inner { position: relative; z-index: 2; }

/* About split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; gap: 40px; } }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.feature-item {
  background: var(--off-black); border: 1px solid var(--line);
  border-radius: 8px; padding: 18px 16px;
  display: flex; gap: 13px; align-items: flex-start;
  transition: border-color .3s, transform .3s;
}
.feature-item:hover { border-color: rgba(0,255,224,.2); transform: translateY(-2px); }
.feature-bullet { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; flex-shrink: 0; margin-top: 5px; box-shadow: 0 0 8px rgba(0,255,224,.4); }
.feature-title { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.feature-desc  { font-size: .8rem; color: var(--dim); line-height: 1.58; }

/* Glass card */
.glass-card { background: var(--off-black); border: 1px solid var(--line); border-radius: var(--r); }

/* Process grid */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.process-step { background: var(--off-black); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; transition: border-color .3s, transform .3s; }
.process-step:hover { border-color: rgba(0,255,224,.2); transform: translateY(-3px); }
.step-title { font-size: .95rem; font-weight: 800; color: var(--teal); margin-bottom: 10px; }
.step-desc  { font-size: .86rem; color: var(--dim); line-height: 1.7; }
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; } }

/* Portfolio page cards */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.portfolio-card {
  background: var(--off-black); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; cursor: none;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.portfolio-card:hover { border-color: rgba(0,255,224,.2); transform: translateY(-5px); box-shadow: 0 22px 55px rgba(0,0,0,.45); }
.portfolio-thumb { height: 250px; overflow: hidden; position: relative; background: var(--surface); }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s ease; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.06); }
.portfolio-body  { padding: 22px 24px 26px; }
.portfolio-tag   { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 5px; }
.portfolio-title { font-size: 1rem; font-weight: 800; margin-bottom: 7px; letter-spacing: -.015em; }
.portfolio-desc  { font-size: .85rem; color: var(--dim); line-height: 1.65; margin-bottom: 14px; }
.portfolio-link  { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--teal); transition: gap .25s; }
.portfolio-link:hover { gap: 9px; }
.tag-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; background: var(--faint); color: var(--dim); border: 1px solid var(--line); }
.tag.teal { background: rgba(0,255,224,.09); color: var(--teal); border-color: rgba(0,255,224,.18); }
@media (max-width: 768px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* Contact page */
.contact-block { background: var(--off-black); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; }
.contact-block-title { font-size: 1rem; font-weight: 700; margin-bottom: 24px; }
.contact-item { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.contact-item:last-of-type { margin-bottom: 0; }
.contact-icon  { width: 34px; height: 34px; background: rgba(0,255,224,.07); border: 1px solid rgba(0,255,224,.14); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.contact-label { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.contact-value { font-size: .88rem; }
.contact-value a { color: var(--teal); transition: color .25s; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--black); border: 1px solid var(--line); border-radius: 7px; color: var(--white); font-family: inherit; font-size: .88rem; padding: 10px 13px; outline: none; transition: border-color .25s, box-shadow .25s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,255,224,.07); }
.form-group textarea { resize: vertical; min-height: 116px; }
.form-group select { cursor: pointer; }
.form-success { background: rgba(0,255,224,.06); border: 1px solid rgba(0,255,224,.2); border-radius: 7px; padding: 13px 16px; color: var(--teal); font-size: .86rem; margin-bottom: 16px; }
.form-error   { background: rgba(200,50,30,.07); border: 1px solid rgba(200,50,30,.2); border-radius: 7px; padding: 13px 16px; color: #e07060; font-size: .86rem; margin-bottom: 16px; }

/* CTA section (inner pages) */
.cta-section {
  background: var(--black); padding: 120px 0;
  text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,.06) 0%, transparent 60%);
  animation: cta-breathe 7s ease-in-out infinite;
}
.cta-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, black, transparent);
}
.cta-title   { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-sub     { font-size: 1rem; color: var(--dim); max-width: 420px; margin: 0 auto 44px; line-height: 1.78; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Section alt background */
.section-alt { background: var(--off-black); }
/* sr-d4 delay */
.sr-d4 { transition-delay: .5s; }
