/* ==========================================================================
   IMPACT MEDIA: Design tokens & styles
   ========================================================================== */

:root {
  /* Brand */
  --navy: #102B40;
  --navy-950: #081826;
  --navy-900: #0B1F2F;
  --navy-800: #0E2537;
  --navy-700: #1A3D57;
  --blue: #299ACB;
  --blue-300: #5FB6DD;
  --blue-ink: #17729B;          /* Impact Blue darkened for small text on light backgrounds (AA) */
  --blue-100: #E3F2F9;
  --white: #FFFFFF;
  --gray-50: #F3F5F6;
  --gray-100: #EBEFF1;
  --gray-200: #E0E6E9;
  --gray-500: #5B6A76;          /* AA on white and soft gray */
  --gray-700: #33424E;

  /* On-dark text */
  --on-dark: rgba(255, 255, 255, .74);
  --on-dark-soft: rgba(255, 255, 255, .56);
  --line-dark: rgba(255, 255, 255, .1);

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 144px);
  --header-h: 80px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 43, 64, .04), 0 12px 40px -8px rgba(16, 43, 64, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -0.045em; line-height: .98; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .cta .eyebrow { color: var(--blue); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--gray-500); max-width: 640px; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section--navy .section-head p { color: var(--on-dark); }
.text-blue { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
/* Impact Blue with navy text keeps WCAG AA contrast (5.3:1) */
.btn--primary { background: var(--blue); color: var(--navy-900); box-shadow: 0 8px 24px -8px rgba(41, 154, 203, .6); }
.btn--primary:hover { background: var(--blue-300); box-shadow: 0 12px 32px -8px rgba(41, 154, 203, .7); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--outline-light { border-color: rgba(255, 255, 255, .22); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--gray-200); color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .92rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--blue-ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header.is-scrolled {
  --header-h: 68px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--gray-200);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; font-size: 1rem; color: inherit; position: relative; z-index: 2; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__mark rect { fill: var(--blue); }
.logo__mark path { fill: var(--navy-900); }
.logo em { font-style: normal; font-weight: 400; opacity: .7; }

/* Header image logo (assets/impact-media-logo.PNG, 2172x724).
   The PNG has transparent padding around the artwork (artwork box: x 71-2108, y 175-545).
   The frame crops that padding with CSS only, so the file and its proportions stay untouched.
   A white plate keeps the dark navy lettering legible over the dark hero / mobile menu. */
.logo--image { --logo-h: 42px; padding: 7px 12px; background: #fff; border-radius: 10px; transition: padding .35s var(--ease); }
.logo__frame { position: relative; display: block; height: var(--logo-h); aspect-ratio: 2038 / 371; overflow: hidden; transition: height .35s var(--ease); }
.logo__img { position: absolute; left: -3.484%; top: -47.17%; width: 106.58%; height: 195.15%; max-width: none; }
.header.is-scrolled .logo--image { --logo-h: 36px; padding: 5px 10px; }
@media (max-width: 900px) { .logo--image { --logo-h: 32px; padding: 6px 10px; } .header.is-scrolled .logo--image { --logo-h: 30px; } }
@media (max-width: 380px) { .logo--image { --logo-h: 24px; padding: 6px 8px; } .header.is-scrolled .logo--image { --logo-h: 24px; } }
/* Footer copy of the logo: static size */
.footer .logo--image { --logo-h: 40px; padding: 8px 14px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: block; padding: 8px 16px; border-radius: 999px;
  font-size: .94rem; font-weight: 500; opacity: .8; transition: opacity .2s, background .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue);
}
.nav__cta { margin-left: 16px; }
.nav__mobile-extra { display: none; }
/* "Let's Talk": desktop button in .nav, compact twin in the header on mobile */
.nav__cta, .header__cta { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.header__cta { display: none; margin-left: auto; position: relative; z-index: 2; }
@media (min-width: 901px) and (max-width: 1180px) {
  .nav__links a { padding: 8px 11px; font-size: .9rem; }
  .nav__cta { margin-left: 8px; padding: 10px 16px; }
  .logo--image { --logo-h: 36px; }
}

.nav-toggle {
  display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -8px;
  border: 0; background: none; cursor: pointer; color: inherit;
}
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(72px, 9vw, 120px);
}
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 72px 72px;
  mask-image: radial-gradient(90% 80% at 70% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 20%, transparent 80%);
}
.hero::after { /* glow */
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -300px;
  background: radial-gradient(closest-side, rgba(41, 154, 203, .28), transparent);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(48px, 6vw, 88px); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero h1 .line { display: block; }
.hero h1 .text-blue { position: relative; white-space: nowrap; }
.hero h1 .text-blue::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em; border-radius: 4px;
  background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1s .6s var(--ease);
}
.hero h1.is-in .text-blue::after { transform: scaleX(1); }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--on-dark); max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__services { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; gap: 14px 48px; }
.hero__services a { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; color: var(--white); white-space: nowrap; transition: color .2s; }
.hero__services a:hover { color: var(--blue-300); }
.hero__services span { font-size: .72rem; letter-spacing: .1em; color: var(--blue); }

/* Hero visual */
.hv { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 1.08; margin-left: auto; }
.hv__ring { position: absolute; inset: 50% auto auto 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); transform: translate(-50%, -50%); }
.hv__ring--1 { width: 64%; aspect-ratio: 1; }
.hv__ring--2 { width: 88%; aspect-ratio: 1; border-style: dashed; border-color: rgba(41, 154, 203, .22); animation: spin 80s linear infinite; }
.hv__ring--3 { width: 112%; aspect-ratio: 1; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.phone {
  position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 9 / 18.5; transform: translate(-50%, -50%) rotate(-4deg);
  border-radius: 38px; padding: 9px; background: linear-gradient(160deg, #23506F, #0A1B29 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 120px -20px rgba(41, 154, 203, .45);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 20% 10%, rgba(95, 182, 221, .9), transparent 60%),
    radial-gradient(90% 60% at 90% 70%, rgba(41, 154, 203, .55), transparent 60%),
    linear-gradient(170deg, #1F6E96, #102B40 75%);
}
.phone__screen::before { /* notch */
  content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 16px; margin-left: -15%; border-radius: 20px; background: #06121C; z-index: 2;
}
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__video--live { opacity: 0; transition: opacity .6s var(--ease); }
.phone__video--live.is-playing { opacity: 1; }

.hv-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: var(--navy);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .45);
  animation: float 7s ease-in-out infinite;
  white-space: nowrap;
}
.hv-card__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-ink); flex: none; }
.hv-card__icon svg { width: 20px; height: 20px; }
.hv-card strong { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.2; }
.hv-card small { display: block; font-size: .78rem; color: var(--gray-500); line-height: 1.3; }
.hv-card--a { left: -4%; top: 14%; }
.hv-card--b { right: -6%; top: 44%; animation-delay: -2.4s; }
.hv-card--c { left: 2%; bottom: 8%; animation-delay: -4.6s; background: var(--blue); }
.hv-card--c .hv-card__icon { background: rgba(255, 255, 255, .28); color: var(--navy-900); }
.hv-card--c small { color: var(--navy-800); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Industries marquee */
.marquee { background: var(--navy-950); border-top: 1px solid var(--line-dark); padding: 22px 0; overflow: hidden; color: var(--on-dark-soft); }
.marquee__inner { display: flex; align-items: center; gap: 28px; }
.marquee__label { flex: none; font-family: var(--font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); padding-left: var(--gutter); }
.marquee__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; color: var(--white); white-space: nowrap; }
.marquee__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Problem / comparison
   ========================================================================== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.compare__col--old { background: var(--gray-50); }
.compare__col--new { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.compare__col--new::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; background: radial-gradient(closest-side, rgba(41, 154, 203, .35), transparent); }
.compare__tag { display: inline-block; font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.compare__col--old .compare__tag { background: var(--gray-200); color: var(--gray-700); }
.compare__col--new .compare__tag { background: rgba(41, 154, 203, .18); color: var(--blue); }
.compare h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 28px; }
.compare__col--new h3 { color: var(--white); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.compare li { display: flex; gap: 14px; align-items: flex-start; }
.compare li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.compare__col--old li svg { color: #9AA6AF; }
.compare__col--old li { color: var(--gray-500); }
.compare__col--new li svg { color: var(--blue); }
.compare__col--new li { color: var(--white); }

/* ==========================================================================
   Philosophy: framework
   ========================================================================== */
.framework { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.stage { position: relative; padding: 0 clamp(20px, 3vw, 40px) 0 0; }
.stage__head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.stage__num {
  width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  background: var(--white); color: var(--navy); border: 1px solid var(--gray-200); position: relative; z-index: 1;
}
.stage:nth-child(3) .stage__num { background: var(--blue); color: var(--navy-900); border-color: var(--blue); }
.stage__line { flex: 1; height: 1px; background: var(--gray-200); position: relative; overflow: hidden; }
.stage__line::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.2s .3s var(--ease); }
.stage.is-in .stage__line::after { transform: scaleX(1); }
.stage:last-child .stage__line { display: none; }
.stage h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.04em; margin-bottom: 14px; }
.stage p { color: var(--gray-500); max-width: 340px; }
.stage__kpis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.stage__kpis span { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); }
.stage__label { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-top: 24px; }

/* ==========================================================================
   Services: four offerings
   ========================================================================== */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer {
  position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: var(--white);
}
.offer__media { position: absolute; inset: 0; z-index: -1; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 38, 0) 25%, rgba(8, 24, 38, .6) 55%, rgba(8, 24, 38, .94) 100%); }
.offer:hover .offer__media img { transform: scale(1.05); }
.offer__media--web { background: linear-gradient(160deg, #15405E, #0B1F2F); }
.offer__media--web img { width: 72%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin: 6% auto 0; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); opacity: .9; }
.offer__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: clamp(22px, 3vw, 36px); }
.offer__num { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--blue); }
.offer__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.05; letter-spacing: -0.035em; }
.offer__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.offer__tags span { font-size: .8rem; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .88); background: rgba(8, 24, 38, .35); }
.offer__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue-300); margin-top: 4px; }
.offer__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.offer:hover .offer__link svg { transform: translateX(4px); }
.offers__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding: 18px 18px 18px 28px; border-radius: 999px; background: var(--gray-50); font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--navy); }

/* ==========================================================================
   Our Work
   ========================================================================== */
.section--dark { background: var(--navy-950); color: var(--on-dark); }
.section--dark h2 { color: var(--white); }
.section--dark .eyebrow { color: var(--blue); }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.work__head h2 { margin: 0; }
.work__note { margin: 0; color: var(--on-dark-soft); font-size: .95rem; }
.work__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.work__tab {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-dark); background: none; color: var(--on-dark); font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  transition: background .25s, color .25s, border-color .25s;
}
.work__tab span { font-size: .72rem; letter-spacing: .1em; color: var(--blue); }
.work__tab:hover { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.work__tab[aria-selected="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }
.work__tab[aria-selected="true"] span { color: var(--blue-ink); }
.work__panel:not([hidden]) { animation: panelIn .5s var(--ease); }
.no-js .work__panel[hidden] { display: block; margin-top: 40px; }
.work__kicker { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }

.reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reel--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 7 clips: one featured (2x2) + six singles = a full 5x2 grid */
.reel--feature { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.reel--feature > li:first-child { grid-column: span 2; grid-row: span 2; }
.reel--feature > li:first-child .clip { aspect-ratio: auto; height: 100%; }
.reel--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.work__split .work__kicker { font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; text-transform: none; font-weight: 500; color: var(--white); line-height: 1.15; margin: 0; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.clip {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 14; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-900); cursor: pointer; color: var(--white); text-align: left;
}
.clip--wide { aspect-ratio: 16 / 9; }
.clip img, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.clip video { opacity: 0; transition: opacity .4s; }
.clip.is-previewing video { opacity: 1; }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 24, 38, .8)); pointer-events: none; }
.clip:hover img { transform: scale(1.04); }
.clip__label { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--white); }
.clip__play {
  position: absolute; right: 14px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .25s, transform .25s var(--ease);
}
.clip__play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--white); }
.clip:hover .clip__play { background: var(--blue); transform: scale(1.08); }

.webshow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .28fr); gap: 20px; align-items: end; }
.webshow figure { margin: 0; overflow: hidden; background: var(--navy-900); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.webshow__browser { border-radius: var(--radius); border: 1px solid var(--line-dark); }
.webshow__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--navy-800); border-bottom: 1px solid var(--line-dark); }
.webshow__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.webshow__browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.webshow__phone { border-radius: 26px; border: 6px solid var(--navy-800); }
.webshow__phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.webshow__caption { grid-column: 1 / -1; position: relative; min-height: 22px; }
.webshow__caption .clip__label { position: static; color: var(--on-dark); }

/* Video lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1280px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 14, 22, .92); }
.lightbox__video { display: block; max-width: min(92vw, 1280px); max-height: 86vh; border-radius: var(--radius); background: #000; }
.lightbox__close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; display: grid; place-items: center;
}
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }

/* ==========================================================================
   Industries: tabs
   ========================================================================== */
.ind { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ind__tabs { display: grid; border-top: 1px solid var(--line-dark); }
.ind__tab {
  display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px;
  width: 100%; padding: 22px 4px; border: 0; border-bottom: 1px solid var(--line-dark); background: none; cursor: pointer;
  text-align: left; color: var(--on-dark-soft); transition: color .25s, padding .3s var(--ease);
}
.ind__tab span { font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .1em; }
.ind__tab strong { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 1.9vw, 1.6rem); letter-spacing: -0.02em; }
.ind__tab svg { width: 20px; height: 20px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.ind__tab:hover { color: var(--white); }
.ind__tab[aria-selected="true"] { color: var(--white); padding-left: 14px; }
.ind__tab[aria-selected="true"] span { color: var(--blue); }
.ind__tab[aria-selected="true"] svg { opacity: 1; transform: none; color: var(--blue); }

.ind__panel { border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--line-dark); overflow: hidden; }
.ind__panel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ind__visual {
  position: relative; height: 220px; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; padding: 28px 32px;
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(41, 154, 203, .55), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(41, 154, 203, .2), transparent 60%),
    linear-gradient(135deg, #15405E, #0B1F2F);
}
.ind__visual::before { /* grid texture */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.ind__visual h3 { position: relative; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; margin: 0; }
.ind__big-icon { position: absolute; right: 24px; top: 20px; width: 120px; height: 120px; color: rgba(255, 255, 255, .14); }
.ind__body { padding: clamp(24px, 3.4vw, 40px); }
.ind__goal { font-size: 1.15rem; color: var(--white); margin-bottom: 28px; }
.ind__goal b { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.ind__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.ind__cols h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; margin-bottom: 14px; }
.ind__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; }
.ind__cols li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); }
.ind__cols li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.no-js .ind__panel[hidden] { display: block; margin-top: 20px; }

/* ==========================================================================
   Process: timeline
   ========================================================================== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: var(--gray-200); }
.timeline::after { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; margin-top: -.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.8s .2s var(--ease); }
.timeline.is-in::after { transform: scaleX(1); }
.tl-step { position: relative; }
.tl-step__node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 32px;
  background: var(--white); border: 1px solid var(--gray-200); color: var(--navy); font-family: var(--font-head); font-weight: 600;
  transition: background .4s var(--ease), border-color .4s, color .4s;
}
.timeline.is-in .tl-step__node { background: var(--navy); border-color: var(--navy); color: var(--white); }
.timeline.is-in .tl-step:last-child .tl-step__node { background: var(--blue); border-color: var(--blue); color: var(--navy-900); }
.timeline.is-in .tl-step:nth-child(2) .tl-step__node { transition-delay: .5s; }
.timeline.is-in .tl-step:nth-child(3) .tl-step__node { transition-delay: 1s; }
.timeline.is-in .tl-step:nth-child(4) .tl-step__node { transition-delay: 1.5s; }
.tl-step h3 { font-size: 1.4rem; letter-spacing: -0.025em; }
.tl-step p { color: var(--gray-500); font-size: .98rem; }

/* ==========================================================================
   Fit
   ========================================================================== */
.fit { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.fit__card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--gray-200); }
.fit__card--yes { border-color: transparent; box-shadow: var(--shadow); }
.fit__card h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.fit__badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fit__badge svg { width: 20px; height: 20px; }
.fit__card--yes .fit__badge { background: var(--blue); color: var(--navy-900); }
.fit__card--no .fit__badge { background: var(--gray-100); color: var(--gray-500); }
.fit__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fit__card li { padding: 16px 0; border-top: 1px solid var(--gray-200); }
.fit__card--yes li { color: var(--navy); font-weight: 500; }
.fit__card--no li { color: var(--gray-500); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro p { color: var(--gray-500); font-size: 1.1rem; }
.faq__list { border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--font-head); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; color: var(--navy); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gray-200); flex: none; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--navy); transition: transform .35s var(--ease), background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--white); }
.faq details[open] .faq__icon::after { transform: rotate(0); }
.faq summary:hover { color: var(--blue-ink); }
.faq details p { color: var(--gray-500); padding: 0 56px 26px 0; margin: 0; }

/* ==========================================================================
   CTA + form
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark); padding: var(--section-y) 0; }
.cta::before { content: ""; position: absolute; width: 1000px; height: 1000px; left: -400px; bottom: -600px; background: radial-gradient(closest-side, rgba(41, 154, 203, .3), transparent); pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.cta h2 { color: var(--white); font-size: clamp(2.3rem, 5vw, 4rem); }
.cta__lead { font-size: 1.15rem; max-width: 520px; }
.cta__steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; counter-reset: cta; }
.cta__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-dark); counter-increment: cta; }
.cta__steps li::before { content: "0" counter(cta); font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .9rem; padding-top: 2px; }
.cta__steps strong { display: block; font-family: var(--font-head); color: var(--white); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }
.cta__steps span { font-size: .96rem; }
.cta__location { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: .95rem; color: var(--on-dark-soft); }
.cta__location svg { width: 18px; height: 18px; color: var(--blue); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.form-card__head { margin-bottom: 28px; }
.form-card__head h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card__head p { color: var(--gray-500); margin: 0; font-size: .96rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--gray-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--gray-50); color: var(--navy); font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102B40' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(41, 154, 203, .18); }
.field input[aria-invalid="true"] { border-color: #C2413B; }
.form .btn { grid-column: 1 / -1; width: 100%; min-height: 58px; font-size: 1.05rem; margin-top: 4px; }
.form__note { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: .85rem; color: var(--gray-500); margin: 0; text-align: center; }
.form__note svg { width: 16px; height: 16px; flex: none; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--navy); font-size: .95rem; display: none; }
.form__status.is-visible { display: block; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status.is-error { background: #FBECEB; color: #8E2B26; }
.form__status.is-success { background: #E6F4EC; color: #1C5B36; }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { font-size: .84rem; font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 8px; }
.choice__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice__opts label { position: relative; cursor: pointer; }
.choice__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__opts span {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 14px; border-radius: var(--radius-sm); text-align: center;
  border: 1px solid var(--gray-200); background: var(--gray-50); color: var(--navy); font-weight: 500; font-size: .95rem; transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice__opts input:checked + span { border-color: var(--blue); background: var(--blue-100); box-shadow: 0 0 0 1px var(--blue) inset; }
.choice__opts input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding: 80px 0 32px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer .logo { color: var(--white); margin-bottom: 20px; }
.footer__about p { max-width: 360px; }
.footer h4 { color: var(--white); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .85rem; }
.footer__tag { font-family: var(--font-head); color: var(--white); letter-spacing: .1em; font-size: .8rem; }
.footer__tag em { font-style: normal; color: var(--blue); }

/* ==========================================================================
   Mobile sticky CTA
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(11, 31, 47, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5);
  align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(140%); transition: transform .4s var(--ease);
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px) * .3);
}
.sticky-cta span { color: var(--white); font-family: var(--font-head); font-weight: 500; font-size: .95rem; line-height: 1.2; }
.sticky-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.sticky-cta.is-visible { transform: none; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track, .hv__ring--2, .hv-card { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hv { margin: 8px auto 0; max-width: 460px; }
  .ind { grid-template-columns: minmax(0, 1fr); }
  .ind__tabs { display: flex; gap: 8px; overflow-x: auto; border: 0; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .ind__tabs::-webkit-scrollbar { display: none; }
  .ind__tab { flex: none; width: auto; display: inline-flex; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 999px; scroll-snap-align: start; }
  .ind__tab strong { font-size: .98rem; }
  .ind__tab svg { display: none; }
  .ind__tab[aria-selected="true"] { padding-left: 16px; background: var(--white); color: var(--navy); border-color: var(--white); }
  .ind__tab[aria-selected="true"] span { color: var(--blue-ink); }
  .cta__grid, .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline::before, .timeline::after { display: none; }
  /* Our Work: swipeable rows */
  .work__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .work__tabs::-webkit-scrollbar { display: none; }
  .work__tab { flex: none; }
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .reel > li { flex: 0 0 clamp(200px, 30vw, 280px); scroll-snap-align: start; }
  .reel--feature > li:first-child .clip { aspect-ratio: 9 / 14; height: auto; }
  .work__split { grid-template-columns: 1fr; gap: 20px; }
  .work__split .work__kicker br { display: none; }
  .reel--wide > li { flex-basis: min(82vw, 720px); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .header__inner { gap: 10px; }
  .header__cta { display: inline-flex; min-height: 40px; padding: 8px 16px; font-size: .76rem; box-shadow: none; }
  .nav-open .header__cta { visibility: hidden; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--navy-900); color: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--line-dark); opacity: 1;
    font-family: var(--font-head); font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em;
    transform: translateY(16px); transition: transform .5s var(--ease), opacity .5s;
  }
  .nav-open .nav__links a { transform: none; }
  .nav__links a.is-active::after { display: none; }
  .nav__cta { margin: 0; width: 100%; min-height: 56px; }
  .nav__mobile-extra { display: block; color: var(--on-dark-soft); font-size: .9rem; text-align: center; margin: 14px 0 0; }
  .nav-open body, body.nav-locked { overflow: hidden; }

  .compare, .fit { grid-template-columns: 1fr; }
  .framework { grid-template-columns: 1fr; gap: 48px; }
  .stage { padding: 0; }
  .stage__line { display: none; }
  .offers { grid-template-columns: 1fr; }
  .webshow { grid-template-columns: minmax(0, 1fr) minmax(0, .38fr); }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero h1 .text-blue { white-space: normal; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; gap: 10px; }
  .hero .eyebrow::before { width: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .hero__services a { font-size: .92rem; white-space: normal; line-height: 1.3; }
  .hv { max-width: 330px; }
  .hv-card { padding: 9px 14px 9px 9px; border-radius: 13px; gap: 10px; }
  .hv-card__icon { width: 32px; height: 32px; border-radius: 9px; }
  .hv-card__icon svg { width: 16px; height: 16px; }
  .hv-card strong { font-size: .86rem; }
  .hv-card small { font-size: .7rem; }
  .hv-card--a { left: -2%; }
  .hv-card--b { right: -2%; }
  .marquee__label { display: none; }

  .offer { aspect-ratio: 4 / 5; }
  .offers__cta { border-radius: var(--radius); justify-content: center; text-align: center; padding: 20px; }
  .offers__cta .btn { width: 100%; }
  .webshow { grid-template-columns: 1fr; }
  .webshow__phone { display: none; }
  .choice__opts { grid-template-columns: 1fr; }
  .lightbox__close { top: -50px; }

  .ind__visual { height: 160px; padding: 22px 24px; }
  .ind__big-icon { width: 84px; height: 84px; }
  .ind__cols { grid-template-columns: 1fr; gap: 24px; }
  .ind__body .btn { width: 100%; white-space: normal; text-align: center; }

  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline::before { display: block; left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
  .tl-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 40px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-step__node { margin-bottom: 0; grid-row: span 4; }

  .faq details p { padding-right: 0; }
  .form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
