/* ==========================================================================
   Effective Edge — redesign
   ========================================================================== */

:root {
  --night: #06101f;
  --deep: #0a1a33;
  --navy: #0f2a52;
  --brand: #1c3a63;
  --steel: #8ea3c0;
  --ice: #eef3f9;
  --frost: #dbe6f2;
  --snow: #ffffff;
  --ink: #0b1628;
  --ink-soft: #46566e;
  --accent: #ff5b2e;
  --accent-2: #ffb347;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(11, 22, 40, 0.12);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.eyebrow--light { color: var(--steel); }
.hero__eyebrow::before { display: none; }

.h2 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h2--light { color: var(--snow); }

.accent-text {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hl {
  color: var(--accent);
  font-weight: 700;
}

.prose p + p { margin-top: 1.1em; }
.prose .lead {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.4em;
}

/* ---------- Buttons / links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary::after { background: var(--snow); }
.btn--primary:hover { color: var(--ink); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
}
.loader__logo { width: 110px; opacity: 0; transform: translateY(14px); }
.loader__bar { width: 140px; height: 2px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
html:not(.js) .loader { display: none; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s;
}
.nav.is-scrolled {
  background: rgba(6, 16, 31, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 46px; width: auto; transition: height 0.5s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 38px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255,255,255,0.08); }
.nav__links a.nav__cta { background: var(--accent); color: #fff; margin-left: 10px; padding: 10px 20px; }
.nav__links a.nav__cta:hover { background: #fff; color: var(--ink); }

.nav__burger {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(6,16,31,0.4);
  backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav__burger span {
  position: absolute;
  left: 14px; right: 14px;
  height: 2px;
  background: #fff;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--night);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 48px) 44px);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 48px) 44px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(36px, 10vw, 56px);
  line-height: 1.1;
  color: #fff;
}
.mobile-menu nav small { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--steel); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}
.hero__bg { position: absolute; inset: -6% 0 -6% 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255, 140, 70, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(6,16,31,0.55) 0%, rgba(6,16,31,0.15) 35%, rgba(6,16,31,0.35) 70%, rgba(6,16,31,0.9) 100%),
    linear-gradient(90deg, rgba(6,16,31,0.7) 0%, rgba(6,16,31,0) 65%);
}
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.hero__content {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  right: var(--gutter);
  top: 50%;
  transform: translateY(-46%);
  max-width: 1100px;
}
.hero__eyebrow { color: rgba(255,255,255,0.8); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,91,46,0.25); }
.hero__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
.hero__lede {
  margin-top: 30px;
  max-width: 540px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.ridge { position: absolute; left: -2%; width: 104%; bottom: 0; pointer-events: none; will-change: transform; }
.ridge--back { height: 30vh; z-index: 2; bottom: -2vh; opacity: 0.8; }
.ridge--mid { height: 26vh; z-index: 2; bottom: -2vh; }
.ridge--front { height: 14vh; z-index: 5; bottom: -1px; }

.hero__credit {
  position: absolute; z-index: 6;
  left: var(--gutter); bottom: 22px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero__scroll {
  position: absolute; z-index: 6;
  right: var(--gutter); bottom: 22px;
  width: 28px; height: 46px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--night);
  color: #fff;
  padding: clamp(90px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
}
.manifesto .eyebrow { color: var(--steel); }
.manifesto__text {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 1150px;
}
html.js [data-split] .word { display: inline-block; opacity: 0.16; will-change: opacity; }
.manifesto__sub {
  margin-top: 44px;
  margin-left: auto;
  max-width: 520px;
  color: rgba(255,255,255,0.68);
  font-size: 18px;
}
.stats {
  margin-top: clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.stat {
  padding: 34px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stat__num {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 800;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat__label { color: var(--steel); font-size: 14.5px; line-height: 1.5; max-width: 220px; }

/* ---------- Light sections base ---------- */
.pillars, .services, .about, .trusted { background: var(--ice); position: relative; }

/* ---------- Pillars ---------- */
.pillars {
  padding: clamp(90px, 11vw, 150px) 0;
  border-radius: 36px 36px 0 0;
  margin-top: -36px;
  z-index: 2;
}
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 820px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* Full-bleed photo cards: equal height, copy on a dark fade, links aligned */
.pillar {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  box-shadow: 0 40px 80px -46px rgba(10, 26, 51, 0.6);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,16,31,0) 0%, rgba(6,16,31,0.1) 30%, rgba(6,16,31,0.82) 56%, rgba(6,16,31,0.96) 76%);
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 50px 90px -46px rgba(10, 26, 51, 0.75); }
.pillar .pillar__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.pillar:hover .pillar__media { transform: scale(1.06); }
.pillar__body {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 0 32px 32px;
}
.pillar__body::before {
  content: "";
  width: 44px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 22px;
  transition: width 0.6s var(--ease);
}
.pillar:hover .pillar__body::before { width: 96px; }
.pillar__num {
  position: absolute;
  top: 26px;
  left: 30px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 16, 31, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #fff;
}
.pillar h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(30px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}
.pillar p { color: rgba(255, 255, 255, 0.8); font-size: 14.5px; line-height: 1.62; margin-bottom: 24px; }
.pillar .link-arrow { margin-top: auto; }

/* Parallax image wrapper */
.parallax-img { position: relative; overflow: hidden; }
.parallax-img img {
  position: absolute;
  left: 0; top: -12%;
  width: 100%; height: 124%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- Services ---------- */
.services { padding: 0 0 clamp(100px, 12vw, 160px); overflow: clip; }
.marquee-title {
  white-space: nowrap;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(80px, 15vw, 240px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(28, 58, 99, 0.22);
  padding: 20px 0 10px;
  user-select: none;
}
.marquee-title span { display: inline-block; will-change: transform; }

.services__intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.services__intro-head { position: sticky; top: 120px; align-self: start; }
.services__intro-body { color: var(--ink-soft); font-size: 17.5px; }

.outcomes { padding-bottom: clamp(90px, 11vw, 150px); }
.outcomes__lead {
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 1000px;
  margin-bottom: 56px;
  color: var(--ink);
}
.outcomes__lead em { font-style: normal; color: var(--accent); }
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.outcome {
  background: var(--ice);
  padding: 34px 32px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.outcome svg {
  width: 40px; height: 40px;
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.outcome p { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--ink); transition: color 0.5s; }
.outcome:hover { background: var(--navy); }
.outcome:hover p { color: #fff; }

/* Band */
.band {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  margin: 0 var(--gutter);
  border-radius: 28px;
}
.band__bg { position: absolute; inset: -18% 0; will-change: transform; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,31,0.85) 0%, rgba(6,16,31,0.45) 55%, rgba(6,16,31,0.1) 100%); }
.band__content { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 100px; }
.band__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.band__text { margin-top: 34px; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,0.86); }

/* Questions */
.questions {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.questions__head { position: sticky; top: 120px; align-self: start; }
.questions__list li {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 32px;
  align-items: center;
  gap: 16px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  isolation: isolate;
  cursor: default;
}
.questions__list li:first-child { border-top: 1px solid var(--line-light); }
.questions__list li::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--navy);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.questions__list li:hover::before { transform: scaleY(1); }
.q-num { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.q-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; color: var(--ink); transition: color 0.4s, transform 0.5s var(--ease); }
.q-arrow { font-size: 22px; color: var(--accent); transition: transform 0.5s var(--ease); }
.questions__list li:hover .q-text { color: #fff; transform: translateX(8px); }
.questions__list li:hover .q-arrow { transform: rotate(45deg); }

/* Stacked offerings */
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack__card {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: min(620px, calc(100vh - 160px));
  background: var(--snow);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 -1px 0 var(--line-light), 0 40px 80px -50px rgba(10, 26, 51, 0.45);
  transform-origin: center top;
}
.stack__card:nth-child(even) { background: var(--navy); color: #fff; }
.stack__card:nth-child(even) h3 { color: #fff; }
.stack__card:nth-child(even) .stack__text p { color: rgba(255,255,255,0.75); }
.stack__card:nth-child(even) .stack__text strong { color: #fff; }
.stack__text { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.stack__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 20px; }
.stack__card h3 {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 20px;
}
.stack__sub { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--brand) !important; margin-bottom: 16px; }
.stack__text p { color: var(--ink-soft); font-size: 16px; }
.stack__text p + p { margin-top: 14px; }
.stack__media { min-height: 320px; }
.credit {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}

/* ---------- Work ---------- */
.work { background: var(--night); color: #fff; position: relative; }
.work__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 104px 0 40px;
  overflow: hidden;
}
.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}
.work__title { font-size: clamp(32px, 3.8vw, 58px); }
.work__intro { max-width: 420px; color: var(--steel); font-size: 16.5px; }
.work__track {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.case {
  flex: 0 0 auto;
  width: clamp(340px, 34vw, 500px);
  background: var(--deep);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s, transform 0.6s var(--ease);
}
.case:hover { border-color: rgba(255, 91, 46, 0.55); transform: translateY(-6px); }
.case__media { position: relative; height: clamp(170px, 24vh, 260px); overflow: hidden; background: #0d1f3d; }
.case__media img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; object-fit: cover; will-change: transform; }
.case__media--logo { background: linear-gradient(135deg, #0f2a52, #16386b); display: grid; place-items: center; }
.case__media--logo img { position: static; width: auto; height: 74%; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)); }
.case__media--light { background: #fff; }
.case__media--light img { object-fit: contain; padding: 16px 20px; left: 0; width: 100%; }
.case__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__tag { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); }
.case h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.case p { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.58; }
.case__meta { font-size: 12.5px !important; color: var(--steel) !important; letter-spacing: 0.02em; }
.case .link-arrow { margin-top: auto; padding-top: 6px; }
.case--end {
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  background: linear-gradient(160deg, var(--navy), var(--night));
  gap: 20px;
}
.case--end h3 { font-size: clamp(34px, 3.4vw, 50px); font-stretch: 120%; line-height: 1; }

/* ---------- Trusted ---------- */
.trusted { padding: clamp(100px, 12vw, 160px) 0; }
.trusted__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.trusted__copy p:not(.eyebrow) { margin-top: 26px; color: var(--ink-soft); max-width: 520px; }
.trusted__logos {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 44px);
  box-shadow: 0 40px 80px -50px rgba(10, 26, 51, 0.4);
}
.trusted__logos img { width: 100%; height: auto; }

/* ---------- Collaboration ---------- */
.collab { position: relative; overflow: hidden; color: #fff; padding: clamp(120px, 14vw, 200px) 0 0; background: var(--night); }
.collab__bg { position: absolute; inset: -20% 0; will-change: transform; }
.collab__bg img { width: 100%; height: 100%; object-fit: cover; }
.collab__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,31,0.94) 0%, rgba(6,16,31,0.72) 45%, rgba(6,16,31,0.96) 100%); }
.collab__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: end; }
.collab__title {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.collab__title em { font-style: normal; color: var(--accent); }
.quote {
  margin: 0;
  padding: clamp(30px, 4vw, 50px);
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.quote__mark { width: 44px; fill: var(--accent); margin-bottom: 22px; }
.quote blockquote { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: rgba(255,255,255,0.92); }
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.quote figcaption img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.quote figcaption span { display: flex; flex-direction: column; color: var(--steel); font-size: 14px; line-height: 1.4; }
.quote figcaption strong { color: #fff; font-family: var(--font-display); font-size: 16px; }

.partners { position: relative; z-index: 2; margin-top: clamp(80px, 10vw, 140px); padding: 40px 0 76px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.partners__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.partners:hover .partners__track { animation-play-state: paused; }
.partners__set { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.partner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.partner:hover { color: #fff; }
.partner::after {
  content: "";
  width: 9px; height: 9px;
  margin: 0 clamp(26px, 3vw, 44px);
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { padding: clamp(110px, 13vw, 180px) 0; }
.about__intro { max-width: 1150px; margin-bottom: clamp(70px, 9vw, 120px); }
.about__statement {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}
html.js .about__statement .word { opacity: 0.14; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.member--offset { margin-top: 140px; }
.member__photo { aspect-ratio: 4 / 4.4; border-radius: 22px; }
.member__body { padding-top: 30px; }
.member__role { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.member h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.02em; margin: 8px 0 18px; color: var(--ink); }
.member p:not(.member__role) { color: var(--ink-soft); font-size: 16px; }
.member p + p { margin-top: 14px; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--night); color: #fff; padding: clamp(140px, 16vw, 220px) 0 clamp(90px, 10vw, 130px); }
.contact__ridge { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(80px, 12vw, 180px); transform: scaleY(-1); }
.contact__ridge path { fill: var(--ice); }
.contact__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: start; }
.contact__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(56px, 8.4vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; margin: 56px 0 0; }
.contact__list dt { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.contact__list dd { margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.contact__list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease), color 0.3s; }
.contact__list a:hover { background-size: 100% 1px; color: var(--accent); }

.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  padding: clamp(28px, 3.5vw, 46px);
  display: flex; flex-direction: column; gap: 22px;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  font: inherit;
  font-size: 17px;
  padding: 26px 0 10px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s;
}
.field textarea { min-height: 120px; }
.field label {
  position: absolute; left: 0; top: 26px;
  color: var(--steel);
  font-size: 17px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s var(--ease), color 0.3s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(0.78);
  color: var(--accent);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }
.form .btn { margin-top: 10px; }
.form__note { min-height: 1.4em; font-size: 14px; color: var(--steel); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--steel); padding-bottom: 36px; overflow: hidden; border-top: 1px solid var(--line-dark); }
.footer__big {
  white-space: nowrap;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 8.6vw, 170px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.24);
  padding: 50px 0 20px;
  text-align: center;
}
.footer__big span { display: inline-block; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { height: 92px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a, .footer__top { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,0.8); transition: color 0.3s; }
.footer__nav a:hover, .footer__top:hover { color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 13px; }

/* ---------- Reveal helper (JS on) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 34px; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { grid-column: span 2; min-height: 600px; }
  .pillar:nth-child(3) .pillar__body { max-width: 640px; }
  .outcomes__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__logo img { height: 40px; }

  .services__intro, .questions, .trusted__inner, .collab__inner, .contact__inner { grid-template-columns: 1fr; }
  .services__intro-head, .questions__head { position: static; }

  .stack__card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .stack__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }

  .work__pin { min-height: 0; padding: 110px 0 90px; }
  .work__head { flex-direction: column; align-items: flex-start; }
  .work__track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
  .case { width: 100%; }
  .case__media img { left: 0; width: 100%; }

  .team { grid-template-columns: 1fr; }
  .member--offset { margin-top: 30px; }
  .member__photo { aspect-ratio: 4 / 3.6; }

  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .pillars__grid, .outcomes__grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(3) { grid-column: auto; min-height: 600px; }
  .pillar__body { min-height: 0; padding: 0 24px 28px; }
  .pillar__num { top: 22px; left: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 14px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .band { margin: 0; border-radius: 0; min-height: 80vh; }
  .band__shade { background: linear-gradient(180deg, rgba(6,16,31,0.82) 0%, rgba(6,16,31,0.6) 60%, rgba(6,16,31,0.35) 100%); }
  .questions__list li { grid-template-columns: 38px 1fr 22px; gap: 10px; padding: 20px 4px; }
  .contact__list { grid-template-columns: 1fr; }
  .hero__credit { display: none; }
  .ridge--back { height: 22vh; }
  .ridge--mid { height: 16vh; }
  .ridge--front { height: 8vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  [data-split] .word { opacity: 1 !important; }
}

/* Long section headings */
.services__intro-head .h2, .questions__head .h2 { font-size: clamp(30px, 3.6vw, 52px); }

/* Overlapping "sheet" transitions between dark and light sections */
.collab { border-radius: 36px 36px 0 0; margin-top: -36px; z-index: 2; }
.about { border-radius: 36px 36px 0 0; margin-top: -36px; z-index: 3; }


/* Keep the rider in frame on the portrait Services card */
.pillar img[src*="park-rail"] { object-position: 72% center; }
