/* ============================================================
   TECHNO — Design System Foundation
   ============================================================ */

/* ---------- Brand fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Anton-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-Variable.woff2') format('woff2');
}

:root {
  /* Core palette — white + light blue
     Legacy names are kept so existing rules keep resolving; the
     values now describe a light theme (ink on white, blue accents). */
  --navy:      #000000;   /* deep blue ink — headings & primary text */
  --sage:      #000000;   /* body copy */
  --white:     #ffffff;
  --taupe:     #000000;   /* muted / meta text */
  --beige:     #000000;
  --cyan:      #bfe4fa;   /* pale blue — works on photo overlays */
  --soft-blue: #7fc4ee;
  --charcoal:  #e9f4fc;   /* light blue surface */
  --gray-50:   #f5fafe;   /* faintest blue surface */

  /* Surfaces & hairlines */
  --sky:         #e9f4fc;
  --sky-soft:    #f5fafe;
  --line:        #d6e8f5;
  --line-strong: #bcdcf0;

  /* Blue accent (replaces the old neon purple) */
  --neon:        #2f95d6;
  --neon-bright: #1273b5;
  --neon-deep:   #0f5b8f;

  /* Type */
  --display: Arial, 'Arial Narrow', sans-serif;
  --body:    Arial, sans-serif;

  /* Motion */
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1480px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--navy);
  font-weight: 400;
  overflow-x: hidden;
  cursor: crosshair;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: crosshair; background: none; border: none; color: inherit; }

::selection { background: var(--neon); color: var(--white); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

/* Display heading helper */
.display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 0.85;
}

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
}

/* ============================================================
   NAV — mix-blend difference
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px);
  color: var(--navy);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
  mix-blend-mode: normal;
}
.nav__logo img {
  height: 120px;
  width: auto;
  display: block;
}
.nav__logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.nav__links a {
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-fluid);
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--neon);
  color: var(--neon-bright);
  padding: 11px 22px;
  border-radius: 100px;
  transition: background 0.45s var(--ease-fluid), color 0.45s var(--ease-fluid);
}
.nav__cta:hover { background: var(--neon); color: var(--white); }
.nav__links a.is-active { opacity: 1; }
.nav__links a:not(.nav__cta).is-active { position: relative; }
.nav__links a:not(.nav__cta).is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: currentColor;
}
.nav__burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  /* 44px box so the burger is a comfortable thumb target, while the bars stay 28px */
  width: 44px; height: 44px; margin-right: -10px; padding: 0; }
.nav__burger span { width: 28px; height: 2.5px; background: var(--navy); display: block; border-radius: 2px; transition: transform 0.35s var(--ease-fluid), opacity 0.35s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 8vw;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-fluid);
}
.mnav.open { transform: translateY(0); }
.mnav a {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(34px, 9vw, 64px); line-height: 1.05; letter-spacing: -0.01em;
  color: var(--navy); opacity: 0.7;
}
.mnav a.is-active { color: var(--neon-bright); opacity: 1; }

/* ============================================================
   SUB-PAGE HERO
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 18% 0%, #dcefff 0%, rgba(220,239,255,0) 62%),
    linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(160px, 22vh, 240px) 0 clamp(60px, 9vw, 110px);
}


.page-hero__inner { position: relative; z-index: 2; }
.page-hero .crumb { color: var(--sage); margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.page-hero .crumb .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 14px var(--neon); }
.page-hero h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(58px, 13.5vw, 210px); line-height: 0.84; letter-spacing: -0.02em;
}
.page-hero__lede { color: var(--taupe); max-width: 460px; margin-top: 28px; line-height: 1.75; font-size: 15px; }

.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--navy { background: var(--white); }
.section--white { background: var(--white); }
.section--gray { background: var(--sky-soft); }
.section--charcoal { background: var(--sky); }
.sec-eyebrow { display: block; margin-bottom: 18px; }

/* ============================================================
   CEO PAGE
   ============================================================ */
.ceo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ceo-media { position: relative; }
.ceo-media__square { position: absolute; inset: 0; transform: translate(36px, 36px); background: var(--cyan); opacity: 0.6; border-radius: 6px; }
.ceo-media img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.ceo-copy .label { color: var(--sage); font-family: var(--display); text-transform: uppercase; font-size: 16px; letter-spacing: 0.06em; }
.ceo-copy h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 5vw, 80px); line-height: 0.9; margin: 14px 0 8px; letter-spacing: -0.02em; }
.ceo-copy .role { color: var(--taupe); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 28px; }
.ceo-copy p { color: var(--sage); line-height: 1.85; font-size: 16px; margin-bottom: 18px; max-width: 520px; }
.ceo-sign { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin-top: 26px; color: var(--navy); }
.ceo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(60px, 9vw, 110px); }
.ceo-stat { border-top: 1px solid rgba(53,89,122,0.25); padding-top: 22px; }
.ceo-stat b { font-family: var(--display); display: block; font-size: clamp(40px, 5vw, 76px); line-height: 0.9; }
.ceo-stat span { color: var(--taupe); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.member { display: block; }
.member__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 3/4; background: var(--charcoal); }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-fluid); }
.member:hover .member__media img { transform: scale(1.06); }
.member__tag { position: absolute; left: 14px; top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--neon-bright); background: rgba(255,255,255,0.92); padding: 5px 10px; border-radius: 100px; }
.member__meta { margin-top: 18px; }
.member__meta h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.01em; }
.member__meta span { color: var(--taupe); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.svc-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(20px, 4vw, 60px);
  align-items: center; padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid rgba(13,43,69,0.14);
  transition: padding-left 0.45s var(--ease-fluid);
}
.svc-row:last-child { border-bottom: 1px solid rgba(13,43,69,0.14); }
.svc-row:hover { padding-left: 14px; }
.svc-row__num { font-family: var(--display); font-size: clamp(20px, 2vw, 30px); color: var(--taupe); }
.svc-row__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 4vw, 60px); line-height: 0.95; letter-spacing: -0.02em; }
.svc-row__desc { color: var(--taupe); max-width: 360px; font-size: 14px; line-height: 1.7; }
.svc-row__arrow { width: 56px; height: 56px; border: 1px solid rgba(13,43,69,0.3); border-radius: 50%; display: grid; place-items: center; color: var(--navy); transition: background 0.4s var(--ease-fluid), color 0.4s; flex-shrink: 0; }
.svc-row:hover .svc-row__arrow { background: var(--neon); color: var(--white); border-color: var(--neon); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; gap: 12px; }
  .svc-row__arrow { display: none; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.contact-info h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 4vw, 62px); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 28px; }
.contact-block { margin-bottom: 34px; }
.contact-block .eyebrow { color: var(--taupe); display: block; margin-bottom: 10px; }
.contact-block a, .contact-block p { color: var(--sage); font-size: clamp(18px, 2vw, 26px); font-weight: 300; line-height: 1.4; }
.contact-socials { display: flex; gap: 26px; margin-top: 10px; }
.contact-socials a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); transition: color 0.4s; display: inline-block; padding: 10px 0; }
.contact-socials a:hover { color: var(--neon-bright); }
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); }
.field input, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(53,89,122,0.3);
  color: var(--navy); font-family: var(--body); font-size: 17px; padding: 12px 0;
  transition: border-color 0.4s var(--ease-fluid);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--neon-bright); }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { color: var(--neon-bright); font-size: 13px; letter-spacing: 0.06em; min-height: 18px; }
@media (max-width: 860px) {
  .ceo-grid, .contact-grid { grid-template-columns: 1fr; }
  .ceo-media__square { transform: translate(20px, 20px); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .ceo-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   AMBIENT ORBS
   ============================================================ */
.orb {
  position: absolute;
  width: min(384px, 70vw); height: min(384px, 70vw);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 78% 18%, #d8ecfd 0%, rgba(216,236,253,0) 60%),
    radial-gradient(ellipse 80% 70% at 10% 90%, #e6f3fd 0%, rgba(230,243,253,0) 62%),
    linear-gradient(180deg, var(--sky) 0%, var(--white) 72%);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 60px;
}
.hero__inner { position: relative; z-index: 4; }
.hero .orb    { z-index: 2; }
.hero__kicker {
  color: var(--sage);
  margin-bottom: clamp(24px, 4vw, 44px);
  display: flex; align-items: center; gap: 14px;
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 14px var(--neon); }
.hero__title {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.02em;
  font-size: clamp(58px, 13.5vw, 210px);
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--sage);
  text-stroke: 1px var(--sage);
}
/* ============================================================
   NEON TYPING BUTTON
   ============================================================ */
.neon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 18px 34px;
  border: 1px solid var(--neon);
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-bright);
  background: rgba(47,149,214,0.06);
  box-shadow: 0 0 0 rgba(47,149,214,0);
  transition: box-shadow 0.5s var(--ease-fluid), background 0.5s var(--ease-fluid), border-color 0.5s var(--ease-fluid);
  overflow: hidden;
}
.neon-btn:hover {
  background: rgba(47,149,214,0.14);
  border-color: var(--neon-bright);
  box-shadow: 0 10px 26px rgba(47,149,214,0.28), 0 2px 6px rgba(13,43,69,0.06);
}
.neon-btn__label { position: relative; min-width: 12ch; text-align: left; white-space: nowrap; }
.neon-btn__caret {
  display: inline-block;
  width: 9px; height: 1.05em;
  background: var(--neon-bright);
  margin-left: 2px;
  transform: translateY(2px);
  opacity: 0;
}
.neon-btn.is-typing .neon-btn__caret { animation: blink 0.7s step-end infinite; opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }
.neon-btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); flex-shrink: 0; }

/* ============================================================
   COOKIE / ANALYTICS CONSENT BANNER
   ============================================================ */
#cgw-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9500;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  max-width: 940px; margin: 0 auto;
  padding: 18px 22px;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(13,43,69,0.18);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s var(--ease-fluid), transform .4s var(--ease-fluid);
}
#cgw-consent.is-in { opacity: 1; transform: translateY(0); }
.cc__text { flex: 1 1 380px; font-size: 14px; line-height: 1.7; color: var(--taupe); }
.cc__text strong { color: var(--navy); font-weight: 600; }
.cc__text a { color: var(--neon-bright); text-decoration: underline; text-underline-offset: 3px; }
.cc__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cc__btn {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 100px; cursor: pointer;
  background: var(--neon-bright); color: var(--white); border: 1px solid var(--neon-bright);
  transition: background .3s var(--ease-fluid), color .3s var(--ease-fluid), border-color .3s var(--ease-fluid);
}
.cc__btn:hover { background: var(--neon-deep); border-color: var(--neon-deep); }
.cc__btn--ghost { background: transparent; color: var(--taupe); border-color: var(--line-strong); }
.cc__btn--ghost:hover { background: transparent; color: var(--navy); border-color: var(--navy); }
.cc__btn:focus-visible { outline: 2px solid var(--neon-deep); outline-offset: 2px; }

@media (max-width: 620px) {
  #cgw-consent { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cc__actions { width: 100%; }
  .cc__btn { flex: 1; padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #cgw-consent { transition: none; }
}

/* ============================================================
   LEGAL / PROSE PAGES  (privacy, terms) and the 404 page
   ============================================================ */
.legal { background: var(--white); padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.legal__inner { max-width: 760px; }
.legal__updated {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--taupe); padding-bottom: 26px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(24px, 3.2vw, 38px); line-height: 1.05; letter-spacing: -0.01em;
  margin: clamp(44px, 6vw, 64px) 0 18px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-size: 16px; font-weight: 700; margin: 30px 0 12px; color: var(--navy);
}
.legal p, .legal li { color: var(--taupe); font-size: 15.5px; line-height: 1.85; }
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 18px 20px; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--neon-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--neon-deep); }
.legal strong { color: var(--navy); font-weight: 600; }
.legal__note {
  margin-top: clamp(44px, 6vw, 64px); padding: 22px 24px;
  background: var(--sky-soft); border: 1px solid var(--line); border-radius: 10px;
}
.legal__note p { margin: 0; font-size: 14px; }

/* ---- 404 ---- */
/* The nav is fixed, so the big 404 needs clearance or it sits behind it. */
.nf { min-height: 72vh; display: flex; align-items: center; background: var(--sky-soft);
      padding: clamp(130px, 16vw, 190px) 0 clamp(70px, 9vw, 120px); }
.nf__code {
  font-family: var(--display); line-height: 0.82; letter-spacing: -0.03em;
  font-size: clamp(90px, 22vw, 260px); color: var(--navy);
}
.nf h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(28px, 5vw, 60px); line-height: 0.95; margin: 18px 0 20px;
}
.nf p { color: var(--taupe); font-size: 16px; line-height: 1.8; max-width: 460px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 34px; }
.nf__links a {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--neon-bright); padding: 10px 0;
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease-fluid);
}
.nf__links a:hover { border-bottom-color: var(--neon-bright); }

/* ============================================================
   ABOUT / WHO WE ARE  (home page, between hero and the work stack)
   ============================================================ */
.about {
  position: relative;
  z-index: 2;
  background: var(--gray-50);          /* same faint-blue surface as .caps */
  border-top: 1px solid var(--line);   /* same hairline as .swap-sec / .footer */
  padding: clamp(80px, 11vw, 150px) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about__head .eyebrow { color: var(--neon-bright); }
.about__head h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 86px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.about__copy p {
  color: var(--taupe);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 560px;
}
.about__copy p:last-child { margin-bottom: 0; }
.about__copy strong { font-weight: 600; color: var(--navy); }
.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 7vw, 90px);
}
.about__fact { border-top: 1px solid rgba(53,89,122,0.25); padding-top: 22px; }
.about__fact b {
  font-family: var(--display);
  display: block;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.about__fact span {
  display: block;
  margin-top: 10px;
  color: var(--taupe);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* ============================================================
   CARDSWAP 3D SECTION
   ============================================================ */
.swap-sec {
  position: relative;
  z-index: 2;
  background: var(--sky);
  padding: clamp(90px, 12vw, 180px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.swap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.swap-copy .eyebrow { color: var(--neon-bright); }
.swap-copy h2 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-size: clamp(44px, 6vw, 104px);
  margin: 22px 0 26px;
}
.swap-copy p {
  color: var(--taupe);
  max-width: 440px;
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 18px;
}
.swap-stage-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swap-stage {
  position: relative;
  --swap-dist: 44px;   /* read by techno.js so GSAP matches these offsets */
  width: 420px;
  height: 320px;
  perspective: 1200px;
  transform: translateX(40px);
}
.swap-stage__inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.swap-card {
  position: absolute;
  top: 50%; left: 50%;
  /* Centre the card in CSS, not only via GSAP's xPercent/yPercent. Without
     this the card's top-left corner sits at the middle of the stage and the
     card runs off to the right until (or unless) the GSAP CDN script loads. */
  transform: translate(-50%, -50%);
  width: 420px; height: 320px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(13,43,69,0.18);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  overflow: hidden;
}
/* Static stack matching initCardSwap()'s slots (cardDistance / verticalDistance
   44, skewAmount 4). GSAP overwrites these inline once it runs, so this is only
   what the section looks like while the CDN script is in flight or blocked. */
.swap-card:nth-child(1) { transform: translate(-50%, -50%) skewY(4deg); z-index: 4; }
.swap-card:nth-child(2) { transform: translate(calc(-50% + var(--swap-dist)), calc(-50% - var(--swap-dist))) skewY(4deg); z-index: 3; }
.swap-card:nth-child(3) { transform: translate(calc(-50% + 2 * var(--swap-dist)), calc(-50% - 2 * var(--swap-dist))) skewY(4deg); z-index: 2; }
.swap-card:nth-child(4) { transform: translate(calc(-50% + 3 * var(--swap-dist)), calc(-50% - 3 * var(--swap-dist))) skewY(4deg); z-index: 1; }
.swap-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-fluid); }
.swap-card:hover .swap-card__img { transform: scale(1.08); }
.swap-card__grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,12,0.88), rgba(10,14,12,0.1) 60%, transparent); }
.swap-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; }
.swap-card__tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px; font-weight: 600;
}
.swap-card__body h3 { font-family: var(--display); text-transform: uppercase; font-size: 26px; letter-spacing: -0.01em; line-height: 1; color: var(--white); }
.swap-card__body p { color: rgba(255,255,255,0.66); font-size: 13px; margin-top: 8px; max-width: 80%; line-height: 1.5; }

/* ============================================================
   PORTFOLIO MASONRY
   ============================================================ */
.works {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--navy);
  padding: clamp(90px, 12vw, 180px) 0;
}
.works__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px; margin-bottom: clamp(50px, 7vw, 90px);
}
.works__head h2 {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--navy);
  font-size: clamp(52px, 9vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.02em;
}
.works__head p { color: var(--taupe); max-width: 300px; font-size: 14px; line-height: 1.7; text-transform: uppercase; letter-spacing: 0.04em; }
.works__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.work {
  display: block;
  position: relative;
}
.work:nth-child(even) { margin-top: 40px; }
.work__media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: var(--gray-50);
}
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease-fluid); }
.work:hover .work__media img { transform: scale(1.1); }
.work__overlay {
  position: absolute; inset: 0;
  background: rgba(13,43,69,0.55);
  opacity: 0;
  display: grid; place-items: center;
  transition: opacity 0.5s var(--ease-fluid);
}
.work:hover .work__overlay { opacity: 1; }
.work__view {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  transform: scale(0.8); transition: transform 0.5s var(--ease-fluid);
}
.work:hover .work__view { transform: scale(1); }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.work__meta h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.01em; }
.work__meta span { color: var(--taupe); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* ============================================================
   FEATURED ASYMMETRIC
   ============================================================ */
.featured { position: relative; z-index: 2; background: var(--sky-soft); border-top: 1px solid var(--line); padding: clamp(90px, 12vw, 180px) 0; overflow: hidden; }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.featured__media { position: relative; }
.featured__square {
  position: absolute; inset: 0;
  transform: translate(-48px, -48px);
  background: var(--cyan); opacity: 0.65; border-radius: 6px;
}
.featured__media img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.featured__label { color: var(--sage); font-family: var(--display); text-transform: uppercase; font-size: 16px; letter-spacing: 0.06em; }
.featured h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 5vw, 84px); line-height: 0.9; letter-spacing: -0.02em; margin: 18px 0 26px; }
.featured p { color: var(--taupe); line-height: 1.8; max-width: 460px; font-size: 15px; }
.featured__link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--navy);
}
.featured__link svg { transition: transform 0.45s var(--ease-fluid); }
.featured__link:hover svg { transform: translateX(8px); }

/* ============================================================
   CAPABILITIES
   ============================================================ */
.caps { position: relative; z-index: 2; background: var(--gray-50); color: var(--navy); padding: clamp(90px, 12vw, 180px) 0; }
.caps__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(30px, 5vw, 70px); }
.caps__label { grid-column: span 4; }
.caps__label .eyebrow { color: var(--taupe); }
.caps__list { margin-top: 28px; display: flex; flex-direction: column; }
.caps__item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0; border-top: 1px solid rgba(13,43,69,0.12);
  font-family: var(--display); text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.01em; transition: padding 0.4s var(--ease-fluid);
}
.caps__item::before {
  content: ''; height: 1px; width: 40px; background: var(--navy);
  transition: width 0.4s var(--ease-fluid); flex-shrink: 0;
}
.caps__item:hover { padding-left: 6px; }
.caps__item:hover::before { width: 64px; }
.caps__lead { grid-column: span 8; }
.caps__lead h3 {
  font-weight: 300; font-family: var(--body);
  font-size: clamp(28px, 3.4vw, 56px); line-height: 1.12; letter-spacing: -0.01em;
}
.caps__lead h3 em { font-style: italic; color: var(--taupe); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-sec { background: var(--sky); border-top: 1px solid var(--line); padding: clamp(90px, 13vw, 200px) 0; position: relative; z-index: 2; overflow: hidden; }
.quote-mark {
  position: absolute; top: -4rem; left: 2vw;
  font-family: var(--display); font-size: 30rem; line-height: 1;
  color: var(--neon); opacity: 0.14; pointer-events: none; user-select: none;
}
.quote-sec__inner { position: relative; z-index: 2; max-width: 1100px; }
.quote-sec blockquote {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(30px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.01em;
}
.quote-sec blockquote .text-outline { -webkit-text-stroke-color: var(--sage); }
.quote-bio { display: flex; align-items: center; gap: 20px; margin-top: clamp(40px, 6vw, 70px); }
.quote-bio__av { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-soft); flex-shrink: 0; overflow: hidden; }
.quote-bio__av img { width: 100%; height: 100%; object-fit: cover; }
.quote-bio__name { font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em; }
.quote-bio__role { color: var(--taupe); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; z-index: 2;
  /* Deep-blue anchor at the end of a light page. Uses the palette's own
     accent tones rather than a new colour. */
  background: linear-gradient(165deg, #0b2c47 0%, #0f3d5f 55%, #0a2438 100%);
  color: #ffffff;
  border-top: 1px solid var(--line);
  padding: clamp(70px, 9vw, 130px) 0 34px;
}
.footer h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(52px, 11vw, 170px); line-height: 0.82; letter-spacing: -0.02em;
  color: #ffffff;
}
.footer__email {
  display: inline-block; margin-top: clamp(24px, 4vw, 44px);
  color: #7fc4ee; font-size: clamp(20px, 3.4vw, 46px); font-weight: 300;
  text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px;
  padding: 6px 0; word-break: break-word;
  transition: color 0.35s var(--ease-fluid);
}
.footer__email:hover { color: #ffffff; }

/* ---- link columns ---- */
.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  margin-top: clamp(56px, 8vw, 100px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.footer__brand-name {
  font-family: var(--display); text-transform: uppercase;
  font-size: 22px; letter-spacing: 0.16em; color: #ffffff; margin-bottom: 16px;
}
.footer__brand-name span { color: var(--soft-blue); }   /* same AA reason as .footer__col h3 */
.footer__brand p {
  color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.75; max-width: 300px;
}
.footer__col h3 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  /* --neon (#2f95d6) only reaches 3.45:1 on this dark panel; WCAG AA wants
     4.5:1 for text this size, so use the lighter blue (5.95:1). */
  color: var(--soft-blue); font-weight: 600; margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer__col a {
  display: inline-block; padding: 8px 0;
  color: rgba(255,255,255,0.74); font-size: 14.5px;
  transition: color 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
}
.footer__col a:hover { color: #ffffff; transform: translateX(4px); }

/* ---- bottom bar ---- */
.footer__bottom {
  /* The floating #admin-lock-btn is fixed 28px from the bottom-left, so the
     last line of the page needs room to clear it. */
  margin-top: clamp(44px, 6vw, 76px); padding-top: 26px; padding-bottom: 44px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  align-items: center;
}
.footer__bottom, .footer__bottom a {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.footer__legal { display: flex; gap: 28px; }
.footer__legal a { transition: color 0.4s var(--ease-fluid); display: inline-block; padding: 11px 0; }
.footer__legal a:hover { color: #ffffff; }

/* ============================================================
   ADMIN / LEADS DASHBOARD
   ============================================================ */
.admin-top { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-bottom:50px; }
.admin-top h1 { font-family:var(--display); text-transform:uppercase; font-size:clamp(40px,7vw,96px); line-height:0.84; letter-spacing:-0.02em; }
.admin-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:50px; }
.metric { border:1px solid rgba(53,89,122,0.2); border-radius:10px; padding:26px; }
.metric b { font-family:var(--display); display:block; font-size:clamp(36px,5vw,64px); line-height:0.9; }
.metric span { color:var(--taupe); font-size:11px; letter-spacing:0.2em; text-transform:uppercase; }
.lead-list { display:flex; flex-direction:column; gap:14px; }
.lead {
  display:grid; grid-template-columns:90px 1fr auto; gap:20px; align-items:start;
  border:1px solid rgba(53,89,122,0.16); border-radius:12px; padding:22px 24px; background:var(--sky-soft);
}
.lead__type { font-size:10px; letter-spacing:0.16em; text-transform:uppercase; font-weight:700; padding:6px 10px; border-radius:100px; text-align:center; align-self:start; }
.lead__type.contact { background:rgba(47,149,214,0.14); color:var(--neon-bright); }
.lead__type.chat { background:rgba(47,149,214,0.16); color:var(--neon-bright); }
.lead__name { font-family:var(--display); text-transform:uppercase; font-size:20px; letter-spacing:-0.01em; }
.lead__email { color:var(--sage); font-size:13px; margin-top:2px; }
.lead__msg { color:var(--taupe); font-size:13px; line-height:1.6; margin-top:10px; max-width:600px; }
.lead__meta { text-align:right; color:var(--taupe); font-size:11px; letter-spacing:0.08em; }
.lead__budget { display:inline-block; margin-top:8px; font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--beige); }
.admin-empty { border:1px dashed rgba(53,89,122,0.25); border-radius:12px; padding:60px; text-align:center; color:var(--taupe); }
.admin-clear { font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--taupe); border:1px solid rgba(53,89,122,0.3); border-radius:100px; padding:11px 20px; transition:color .3s,border-color .3s; }
.admin-clear:hover { color:#c02626; border-color:#c02626; }
@media(max-width:640px){ .admin-metrics{grid-template-columns:1fr;} .lead{grid-template-columns:1fr; gap:12px;} .lead__meta{text-align:left;} }

/* ============================================================
   SCROLL REVEAL
   — hidden only when JS has loaded (.js class on <html>)
   — always visible without JS, and after animation fires
   ============================================================ */
.reveal { transition: opacity 0.9s var(--ease-fluid), transform 0.9s var(--ease-fluid); }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Between the burger breakpoint and ~1150px the seven links, the CTA pill and
   the two-line wordmark competed for the same row and overlapped. Tighten the
   type and spacing through that band instead of letting anything wrap. */
@media (max-width: 1150px) {
  .nav { padding-left: clamp(18px, 2.5vw, 32px); padding-right: clamp(18px, 2.5vw, 32px); gap: 16px; }
  .nav__logo { gap: 10px; min-width: 0; }
  .nav__logo img { height: 48px !important; }
  .nav__logo-text { font-size: 11px; letter-spacing: 0.08em; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 11px; letter-spacing: 0.12em; }
  .nav__cta { padding: 10px 16px; letter-spacing: 0.12em; }
}

/* Tablets keep the two-column layout, but the column is no longer wide enough
   for a 420px card plus three 44px offsets - the back card was being cut off by
   the section edge. Sizing the card from the stage box guarantees the whole
   stack fits whatever width the column ends up being. */
@media (max-width: 1200px) {
  .swap-stage { --swap-dist: 26px; width: min(420px, 100%); height: 280px; transform: none; }
  .swap-card { width: calc(100% - 6 * var(--swap-dist)); height: 100%; }
}

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 420px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .swap-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .swap-copy, .swap-stage-wrap { min-width: 0; }
  .swap-stage-wrap { height: 330px; }
  .swap-stage { --swap-dist: 18px; transform: none; width: min(340px, 100%); height: 240px; }
  .swap-card { width: calc(100% - 6 * var(--swap-dist)); height: 100%; }
  .featured__grid { grid-template-columns: 1fr; }
  .featured__square { transform: translate(-24px, -24px); }
  .caps__grid { grid-template-columns: minmax(0, 1fr); }
  .caps__label, .caps__lead { grid-column: auto; min-width: 0; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 760px) {
  /* inline grids used in service / team / ceo pages */
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:140px 1fr"] { grid-template-columns: 80px 1fr !important; gap: 20px !important; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .about__facts { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .works__grid { grid-template-columns: 1fr; }
  .work:nth-child(even) { margin-top: 0; }
  .quote-mark { font-size: 18rem; }
  .neon-btn { max-width: 100%; padding: 16px 24px; }
  .neon-btn__label { min-width: 0; white-space: normal; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
}

/* ------------------------------------------------------------
   SMALL PHONES (≤ 400px)
   The clamp() minimums above are tuned for ~390px; below that the
   display sizes and fixed paddings start to crowd the gutters.
   ------------------------------------------------------------ */
@media (max-width: 400px) {
  .wrap { padding: 0 18px; }
  .footer { padding-top: 60px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .footer__legal { gap: 20px; flex-wrap: wrap; }
  .about { padding: 70px 0; }
  .swap-stage { --swap-dist: 13px; height: 200px; }
  .swap-stage-wrap { height: 280px; }
  /* The wordmark is nowrap, so on a 320px screen it slid under the burger.
     Shrink it, let it wrap, and tighten the bar's side padding. */
  .nav { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .nav__logo { gap: 9px; min-width: 0; }
  .nav__logo img { height: 44px !important; }
  .nav__logo-text { font-size: 10px; letter-spacing: 0.08em; white-space: normal; }
  .hero { padding-top: 128px; }
  .swap-sec, .caps { padding: 70px 0; }
  .footer { padding-top: 70px; }
  .footer__bottom { margin-top: 54px; gap: 12px; }
  .footer__legal { gap: 20px; flex-wrap: wrap; }
  .neon-btn { width: 100%; justify-content: center; margin-top: 30px; }
  .field input, .field textarea { font-size: 16px; }  /* 16px stops iOS zooming on focus */
  .contact-socials { gap: 18px; flex-wrap: wrap; }
}

/* Respect the OS "reduce motion" setting across the whole site. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  .reveal, .js .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}
