/* ============================
   J Squared Agency — Design Tokens
============================ */
:root{
  --teal:        #4EC9C4;
  --teal-light:  #8FE0DA;
  --blue:        #1CA7DB;
  --gray-metal:  #9AA4AB;
  --orange:      #FF8A3D;
  --orange-deep: #FF6A00;

  /* client brand blocks — used as bold section backgrounds for contrast */
  --block-blue:   #0086AC;
  --block-orange: #F69320;

  /* deep teal, matching the client's reference palette (thedistance.co.uk) —
     a color, not flat black or neutral gray/white */
  --bg:          #0E3948;
  --bg-alt:      #0A2C38;
  --surface:     rgba(255,255,255,0.05);
  --surface-2:   rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.12);
  --border-soft: rgba(255,255,255,0.08);

  --text:        #F2F6F9;
  --text-dim:    #9FB3C4;
  --text-faint:  #5E7185;

  --grad-brand: linear-gradient(90deg, var(--teal) 0%, var(--blue) 45%, var(--gray-metal) 70%, var(--orange) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(78,201,196,0.25), rgba(28,167,219,0.15) 40%, rgba(255,138,61,0.18) 100%);

  --ease: cubic-bezier(.16,.84,.44,1);
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ background:var(--bg); scroll-behavior:auto; }
html.lenis{ height:auto; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  cursor:default;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family:var(--font-head); margin:0; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0; }
em{ font-style:normal; }

/* ============================
   Texture / cursor / preloader
============================ */
.grain{
  position:fixed; inset:0; z-index:9998; pointer-events:none;
  opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cursor-glow{
  position:fixed; top:0; left:0; width:420px; height:420px;
  border-radius:50%; pointer-events:none; z-index:1;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(78,201,196,0.10), rgba(28,167,219,0.05) 45%, transparent 70%);
  will-change:transform; transition:opacity .4s ease;
}

.preloader{
  position:fixed; inset:0; z-index:10000; background:var(--bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  transition:opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-done{ opacity:0; visibility:hidden; }
.preloader-mark img{ width:46px; height:auto; animation:pulseMark 1.6s ease-in-out infinite; }
@keyframes pulseMark{ 0%,100%{ transform:scale(1); opacity:.7 } 50%{ transform:scale(1.12); opacity:1 } }
.preloader-bar{ width:180px; height:2px; background:var(--border); border-radius:2px; overflow:hidden; }
.preloader-bar span{ display:block; height:100%; width:0%; background:var(--grad-brand); animation:loadBar 1.4s var(--ease) forwards; }
@keyframes loadBar{ to{ width:100% } }

/* ============================
   Hero video
============================ */
.hero-video{
  position:fixed; top:0; left:0; width:100vw; height:100vh;
  object-fit:cover; object-position:center; z-index:0; pointer-events:none;
}
.hero-video-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to bottom, rgba(6,7,11,.45) 0%, rgba(6,7,11,.6) 55%, var(--bg) 100%);
}

/* ============================
   Nav — minimal, mobile-style at every breakpoint
============================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px clamp(20px,5vw,56px);
  transition:padding .3s var(--ease);
}
/* backdrop-filter lives on a ::before (not on .nav itself) so .nav stays a
   plain fixed element — a filter directly on .nav would create a containing
   block that traps fixed-position descendants inside the bar's own height
   instead of the full viewport. */
.nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to bottom, rgba(6,7,11,.7), rgba(6,7,11,0));
  backdrop-filter:blur(6px);
  transition:background .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-scrolled{ padding:10px clamp(20px,5vw,56px); border-bottom:1px solid var(--border-soft); }
.nav.is-scrolled::before{ background:rgba(8,10,15,.75); backdrop-filter:blur(14px); }

.nav-brand{ display:inline-flex; align-items:center; }
.nav-logo-full{
  height:104px; width:auto; object-fit:contain; object-position:left top;
  filter:drop-shadow(0 0 14px rgba(78,201,196,.3));
  transition:height .3s var(--ease);
}
.nav.is-scrolled .nav-logo-full{ height:84px; }

/* Animated hamburger — morphs into an X when the menu is open */
.nav-burger{
  position:fixed; top:16px; right:clamp(20px,5vw,56px); z-index:300;
  display:flex; flex-direction:column;
  align-items:flex-end; justify-content:center; gap:6px;
  width:44px; height:44px; background:none; border:none; cursor:pointer; padding:0;
  transition:top .3s var(--ease);
}
.nav.is-scrolled ~ .nav-burger{ top:9px; }
.burger-line{
  /* nav is a fixed dark-tinted bar over the hero video at every scroll
     position, so this stays white rather than following the page theme */
  display:block; height:2px; background:#fff; border-radius:2px;
  transition:transform .5s var(--ease), opacity .3s ease, width .3s var(--ease), background .3s ease;
}
.burger-line.l1{ width:26px; }
.burger-line.l2{ width:19px; }
.burger-line.l3{ width:26px; }
.nav-burger:hover .burger-line{ width:26px; }
.nav-burger.is-open .burger-line{ background:#fff; }
.nav-burger.is-open .l1{ transform:translateY(8px) rotate(45deg); width:26px; }
.nav-burger.is-open .l2{ opacity:0; transform:translateX(8px); }
.nav-burger.is-open .l3{ transform:translateY(-8px) rotate(-45deg); width:26px; }

/* ============================
   Full-screen animated menu overlay
============================ */
.menu-overlay{
  position:fixed; inset:0; z-index:200;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:60px;
  visibility:hidden; pointer-events:none;
}
.menu-overlay.is-open{ visibility:visible; pointer-events:auto; }
.menu-overlay-bg{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(circle at 85% 8%, rgba(78,201,196,.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,138,61,.10), transparent 50%),
    #06070b;
  /* hidden position is set by gsap.set() in main.js, not here — GSAP would
     otherwise double-count a stylesheet-authored transform with its own
     yPercent baseline the first time it touches this element. */
}
.menu-links{
  position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:8px;
}
.menu-links a{
  display:flex; align-items:baseline; gap:18px; padding:10px 4px;
  font-family:var(--font-head); font-size:clamp(34px,7vw,72px); font-weight:600;
  color:var(--text); opacity:0; transform:translateY(40px);
}
.menu-index{ font-family:var(--font-body); font-size:14px; color:var(--text-faint); letter-spacing:.1em; }
.menu-label{ position:relative; }
.menu-label::after{
  content:""; position:absolute; left:0; bottom:6px; height:3px; width:0%;
  background:var(--grad-brand); transition:width .4s var(--ease);
}
.menu-links a:hover .menu-label::after{ width:100%; }
.menu-links a:hover .menu-label{ color:transparent; background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; }

.menu-footer{
  position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:18px;
  opacity:0; transform:translateY(24px);
}
.menu-phone{ font-size:16px; color:var(--text-dim); letter-spacing:.03em; }
.menu-phone:hover{ color:var(--teal-light); }

/* ============================
   Buttons
============================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-size:14px; font-weight:600;
  letter-spacing:.01em; white-space:nowrap;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease, border-color .35s ease;
}
.btn-primary{
  background:var(--block-blue); color:#fff;
  box-shadow:0 8px 30px -8px rgba(0,134,172,.55);
}
.btn-primary:hover{ transform:translateY(-3px) scale(1.02); box-shadow:0 14px 36px -8px rgba(0,134,172,.7); background:#00A0CC; }
/* the teal/orange pairing echoes the two-tone CTA pattern from the client's
   reference site (thedistance.co.uk) — solid blocks, not a rainbow gradient */
.btn-outline{ background:var(--block-orange); color:#fff; box-shadow:0 8px 30px -8px rgba(246,147,32,.5); }
.btn-outline:hover{ transform:translateY(-3px) scale(1.02); background:#FFA23D; box-shadow:0 14px 36px -8px rgba(246,147,32,.65); }
.btn-ghost{ border:1px solid var(--border); color:var(--text); font-size:13px; padding:9px 18px; }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal-light); }
.btn-lg{ padding:17px 36px; font-size:15px; margin-top:8px; }

/* ============================
   Layout helpers
============================ */
main{ position:relative; z-index:2; background:transparent; }
section{ position:relative; padding:150px clamp(20px,6vw,80px); background:var(--bg); }
.kicker{
  font-size:12px; letter-spacing:.22em; text-transform:uppercase; color:var(--teal-light);
  margin-bottom:14px; display:block; font-weight:600;
}
.section-head{ max-width:640px; margin:0 auto 70px; text-align:center; }
.section-head h2{ font-size:clamp(32px,4.4vw,52px); margin-bottom:16px; }
.section-sub{ color:var(--text-dim); font-size:17px; line-height:1.6; }

/* reveal utility (animated via GSAP) */
.reveal-up{ opacity:0; transform:translateY(36px); }
.reveal-line{ opacity:0; transform:translateY(110%); display:inline-block; }

/* ============================
   Hero
============================ */
.hero{
  min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding-top:120px; background:transparent;
  /* the hero sits on the video, not the page background, so its text stays
     light regardless of the light theme used for the rest of the page */
  --text: #FFFFFF;
  --text-dim: rgba(255,255,255,.78);
  --text-faint: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.22);
  color:var(--text);
}
.hero-inner{ max-width:900px; position:relative; z-index:2; }
.eyebrow{
  font-size:13px; letter-spacing:.24em; text-transform:uppercase; color:var(--text-dim);
  margin-bottom:26px; display:inline-block; padding:8px 18px; border:1px solid var(--border);
  border-radius:999px; background:rgba(255,255,255,.02);
}
.hero-title{
  font-size:clamp(40px,7.2vw,45px); line-height:1.04; font-weight:600; margin-bottom:26px;
}
.hero-title .line{ overflow:hidden; }
.hero-title em{
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{ font-size:18px; color:var(--text-dim); max-width:560px; margin:0 auto 40px; line-height:1.65; }
.hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.scroll-cue{
  position:absolute; bottom:38px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px; z-index:2;
}
.scroll-cue span{ font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--text-faint); }
.scroll-cue-line{ width:1px; height:46px; background:var(--border); overflow:hidden; position:relative; }
.scroll-cue-line i{
  position:absolute; top:-46px; left:0; width:100%; height:100%; background:var(--grad-brand);
  animation:scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue{ 0%{ top:-46px } 60%{ top:46px } 100%{ top:46px } }

/* ============================
   Statement (pinned text reveal)
============================ */
.statement{ min-height:100vh; display:flex; align-items:center; padding:0 clamp(20px,6vw,120px); }
.statement-pin{ width:100%; }
.statement-text{
  font-family:var(--font-head); font-size:clamp(26px,5vw,58px); line-height:1.28;
  font-weight:600; color:var(--text-faint); max-width:1200px;
}
.statement-text span{ color:var(--text-faint); transition:color .2s; }
.statement-text span.is-lit{ color:var(--text); }
.statement-text span.accent.is-lit{
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ============================
   Differentiator
============================ */
.differentiator{
  padding-top:100px; padding-bottom:100px; perspective:1400px;
  background:#162127;
  /* dark charcoal bg — falls back to the root's light text tokens
     (--text/--text-dim/--text-faint/--surface/--border) since those are
     already tuned for light-on-dark, same as the rest of the page. */
  color:var(--text);
}
.diff-card{
  max-width:1100px; margin:0 auto; display:grid; grid-template-columns:280px 1fr; gap:70px; align-items:center;
  padding:60px clamp(24px,4vw,70px); border-radius:28px;
  background:var(--surface); border:1px solid var(--border-soft);
}
.diff-visual{ display:flex; align-items:center; justify-content:center; }
.orbit-badge{ position:relative; width:220px; height:220px; }
.orbit-ring{ position:absolute; inset:0; border-radius:50%; border:1px solid; opacity:.55; }
.orbit-ring.r1{ inset:0; border-color:var(--teal); animation:spin 14s linear infinite; }
.orbit-ring.r2{ inset:22px; border-color:var(--blue); animation:spin 10s linear infinite reverse; }
.orbit-ring.r3{ inset:44px; border-color:var(--orange); opacity:.4; animation:spin 18s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg) } }
.orbit-core{
  position:absolute; inset:66px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:26px;
  background:var(--grad-brand-soft); border:1px solid var(--border);
  box-shadow:0 0 60px -10px rgba(78,201,196,.4) inset;
}
.diff-copy h2{ font-size:clamp(26px,3.4vw,38px); margin-bottom:18px; }
.diff-body{ color:var(--text-dim); font-size:17px; line-height:1.7; max-width:520px; }

/* ============================
   Services — 3D card grid
============================ */
.services{ perspective:1600px; }
.cards-3d{
  max-width:1240px; margin:0 auto; display:grid;
  grid-template-columns:repeat(3,1fr); gap:26px;
}
.card-face{
  position:relative; height:100%; padding:34px 30px 30px; border-radius:22px;
  background:linear-gradient(160deg, var(--surface-2), var(--surface));
  border:1px solid var(--border-soft);
  transition:border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover .card-face{ border-color:rgba(78,201,196,.4); box-shadow:0 20px 50px -20px rgba(28,167,219,.35); }
.card-num{
  position:absolute; top:28px; right:30px; font-family:var(--font-head); font-size:13px; color:var(--text-faint);
}
.card-icon{ width:46px; height:46px; margin-bottom:22px; border-radius:12px; position:relative; background:var(--grad-brand-soft); border:1px solid var(--border); }
.card-icon::before{
  content:""; position:absolute; inset:13px; background:var(--grad-brand);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-position:center; mask-position:center;
}
.card-icon[data-icon="bars"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='12' width='4' height='10'/%3E%3Crect x='10' y='6' width='4' height='16'/%3E%3Crect x='18' y='2' width='4' height='20'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='12' width='4' height='10'/%3E%3Crect x='10' y='6' width='4' height='16'/%3E%3Crect x='18' y='2' width='4' height='20'/%3E%3C/svg%3E"); }
.card-icon[data-icon="signal"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 18a10 10 0 0 1 16 0'/%3E%3Cpath d='M7.5 18a6.5 6.5 0 0 1 9 0'/%3E%3Ccircle cx='12' cy='18' r='1.6'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 18a10 10 0 0 1 16 0'/%3E%3Cpath d='M7.5 18a6.5 6.5 0 0 1 9 0'/%3E%3Ccircle cx='12' cy='18' r='1.6'/%3E%3C/svg%3E"); }
.card-icon[data-icon="spark"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 7.2L22 12l-7.8 2.8L12 22l-2.2-7.2L2 12l7.8-2.8z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 7.2L22 12l-7.8 2.8L12 22l-2.2-7.2L2 12l7.8-2.8z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="compass"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9l-2 6-6 2 2-6z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9l-2 6-6 2 2-6z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="prism"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l10 6-10 6L2 8z'/%3E%3Cpath d='M2 8l10 6 10-6' fill='none' stroke='%23000' stroke-width='0'/%3E%3Cpath d='M12 14v8L2 16V8z' opacity='.55'/%3E%3Cpath d='M12 14v8l10-6V8z' opacity='.85'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l10 6-10 6L2 8z'/%3E%3Cpath d='M12 14v8L2 16V8z' opacity='.55'/%3E%3Cpath d='M12 14v8l10-6V8z' opacity='.85'/%3E%3C/svg%3E"); }
.card-icon[data-icon="globe"]::before{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18z'/%3E%3C/svg%3E"); }

.card-face h3{ font-size:19px; margin-bottom:12px; line-height:1.3; }
.card-face p{ color:var(--text-dim); font-size:14.5px; line-height:1.65; }
.services-cta{ text-align:center; margin-top:60px; }

/* ============================
   Fit-grid (Services — "meet you where your needs are")
============================ */
.fit-grid{
  max-width:1100px; margin:0 auto; display:grid;
  grid-template-columns:repeat(4,1fr); gap:20px;
}
.fit-card{
  padding:26px 22px; border-radius:18px; text-align:center;
  background:linear-gradient(160deg, var(--surface-2), var(--surface));
  border:1px solid var(--border-soft);
}
.fit-num{
  display:block; font-family:var(--font-head); font-size:13px; color:var(--teal-light);
  letter-spacing:.1em; margin-bottom:12px;
}
.fit-card p{ font-size:15px; line-height:1.5; color:var(--text); }

/* ============================
   Experience — client / brand roster
============================ */
.experience{ text-align:center; }
.logo-strip{
  max-width:1100px; margin:0 auto; display:flex; flex-wrap:wrap;
  align-items:center; justify-content:center; gap:16px;
}
.logo-strip span{
  padding:14px 26px; border-radius:999px; border:1px solid var(--border-soft);
  background:var(--surface); font-family:var(--font-head); font-size:15px;
  color:var(--text-dim); letter-spacing:.01em;
}

/* ============================
   Team
============================ */
.team-grid{
  max-width:1200px; margin:0 auto; display:grid;
  grid-template-columns:repeat(4,1fr); gap:26px;
}
.team-card{
  padding:24px; border-radius:22px; text-align:center;
  background:linear-gradient(160deg, var(--surface-2), var(--surface));
  border:1px solid var(--border-soft);
}
.team-photo{
  width:130px; height:130px; margin:0 auto 20px; border-radius:50%;
  overflow:hidden; border:2px solid var(--border-soft); background:var(--surface-2);
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-card h3{ font-size:18px; margin-bottom:4px; }
.team-role{
  font-size:12.5px; color:var(--teal-light); letter-spacing:.03em; margin-bottom:14px;
}
.team-bio{ font-size:14px; line-height:1.65; color:var(--text-dim); text-align:left; }

/* ============================
   About
============================ */
.about-grid{
  max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.1fr .9fr; gap:80px; align-items:center;
}
.about-copy h2{ font-size:clamp(30px,4vw,46px); margin-bottom:22px; line-height:1.15; }
.about-copy h2 em{
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; font-style:italic;
}
.about-copy p{ color:var(--text-dim); font-size:17px; line-height:1.75; max-width:520px; margin-bottom:26px; }
.about-quote{
  font-family:var(--font-head); font-size:26px; color:var(--text); position:relative; padding-left:6px;
}
.about-quote span{ color:var(--teal); font-size:44px; line-height:0; vertical-align:-14px; margin-right:4px; }

.about-stack{ display:flex; flex-direction:column; gap:20px; perspective:1200px; }
.stat-card{
  /* a solid white card standing out against the teal, echoing the client's
     reference site — same trick as the diff/services cards, just brighter */
  padding:26px 28px; border-radius:18px; background:#fff;
  box-shadow:0 14px 34px -14px rgba(0,0,0,.35);
}
.stat-card strong{ font-family:var(--font-head); font-size:20px; display:block; margin-bottom:6px;
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-card p{ color:#57677A; font-size:14px; line-height:1.55; }

/* ============================
   Contact
============================ */
.contact{
  text-align:center; overflow:hidden;
  background:#162127;
  --text: #FFFFFF;
  --text-dim: rgba(255,255,255,.78);
  --text-faint: rgba(255,255,255,.55);
  --surface: rgba(255,255,255,.14);
  --border-soft: rgba(255,255,255,.3);
  color:var(--text);
}
.contact-canvas-wrap{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.contact-orb{
  width:560px; height:560px; border-radius:50%; filter:blur(10px);
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(246,147,32,.22) 45%, transparent 70%);
  animation:orbFloat 10s ease-in-out infinite;
}
@keyframes orbFloat{ 0%,100%{ transform:translateY(0) scale(1) } 50%{ transform:translateY(-24px) scale(1.05) } }
.contact-inner{ position:relative; z-index:2; max-width:640px; margin:0 auto; }
.contact-inner h2{ font-size:clamp(34px,5vw,58px); margin-bottom:16px; }
.contact-inner > p{ color:var(--text-dim); font-size:18px; margin-bottom:44px; }
.contact-links{ display:flex; gap:20px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.contact-link{
  display:flex; flex-direction:column; gap:6px; padding:20px 30px; border-radius:16px;
  border:1px solid var(--border-soft); background:var(--surface); min-width:230px; text-align:left;
  transition:border-color .3s ease, transform .3s ease;
}
.contact-link:hover{ border-color:var(--teal); transform:translateY(-4px); }
.contact-link span{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--text-faint); }
.contact-link strong{ font-size:16px; font-family:var(--font-head); }

/* ============================
   Footer
============================ */
.site-footer{
  position:relative; z-index:2; padding:56px clamp(20px,6vw,80px) 34px;
  background:var(--bg-alt);
  color:var(--text);
}
.footer-top{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; padding-bottom:36px; border-bottom:1px solid var(--border-soft); }
.footer-logo{ width:120px; height:auto; opacity:.9; }
.footer-links{ display:flex; gap:28px; }
.footer-links a{ font-size:14px; color:var(--text-dim); }
.footer-links a:hover{ color:var(--text); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:24px; font-size:12.5px; color:var(--text-faint); }

/* ============================
   Responsive
============================ */
@media (max-width: 980px){
  .diff-card{ grid-template-columns:1fr; text-align:center; gap:36px; }
  .diff-copy p{ margin:0 auto; }
  .cards-3d{ grid-template-columns:repeat(2,1fr); }
  .about-grid{ grid-template-columns:1fr; gap:50px; }
  .about-copy p, .about-quote{ margin-left:auto; margin-right:auto; }
  .fit-grid{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  section{ padding:110px 20px; }
  .nav-logo-full{ height:80px; }
  .nav.is-scrolled .nav-logo-full{ height:68px; }
  .menu-links a{ gap:12px; }
  .menu-index{ font-size:11px; }
  .cards-3d{ grid-template-columns:1fr; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .contact-orb{ width:380px; height:380px; }
  .footer-bottom{ flex-direction:column; }
  .fit-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr; }
  .team-bio{ text-align:center; }
}
