/* ============================================================
   MADE PUBLIC — Public by Design
   Single-viewport, full-bleed video-background landing page
   ============================================================ */

/* Geist Pixel Circle — display fallback only */
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;

  --page-pad-y: clamp(16px, 2.4vh, 28px);
  --page-pad-x: clamp(14px, 3vw, 32px);
  --header-h: clamp(44px, 5.2vw, 48px);
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --body-text: #b6b6b6;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(84px, 12vh, 112px);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- hero shell ---------- */
.hero-shell {
  position: relative;
  isolation: isolate;
}

/* ---------- background video ---------- */
.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000000;
  z-index: 0;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* The clip loops through a near-white band that lands behind the headline on
   tall screens. A full-frame scrim fixed that but drained the colour out of
   the video, which is the best thing on the page. So the veil is now only a
   whisper at the two edges — for the header pills and the services strip —
   and the type defends itself with its own shadow (see .headline/.subhead). */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.26) 0%,
    rgba(0, 0, 0, 0) 15%,
    rgba(0, 0, 0, 0) 76%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* ---------- hero shell: still exactly one viewport ---------- */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  overflow: hidden;
  padding: calc(var(--page-pad-y) + var(--header-h) + clamp(8px, 1.6vh, 18px))
    var(--page-pad-x) var(--page-pad-y);
}

/* inner pages: same shell, sized to its content instead of the viewport */
.page--sub {
  min-height: 0;
  padding-bottom: clamp(30px, 6vh, 64px);
}

/* ============================================================
   1) HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: var(--page-pad-y);
  left: var(--page-pad-x);
  right: var(--page-pad-x);
  z-index: 60;
  margin-inline: auto;
  width: auto;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 26px);
  animation: slideDown 0.7s var(--ease) both;
}

/* logo — white brand pill.
   The Made Public mark is a stacked 1.6:1 lockup: inside a 46px circle at 72%
   it renders ~20px tall and turns to mush, so the button is a pill sized to the
   mark instead. Same radius / shadow / height language as the nav + Let's talk
   pills. To go back to a circular button: width = height, border-radius 50%,
   drop the padding and set the image to 72% / 72%. */
.logo {
  --logo-h: clamp(44px, 5.2vw, 48px);
  flex: 0 0 auto;
  height: var(--logo-h);
  padding: 0 clamp(11px, 1.4vw, 14px);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--nav-shadow);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}

.logo img {
  /* a length (not a %) so the intrinsic width can resolve from the aspect ratio */
  height: calc(var(--logo-h) * 0.7);
  width: auto;
  max-width: none;
  object-fit: contain;
}

.logo:hover,
.logo:focus-visible {
  transform: scale(1.04);
}

/* nav pill */
.nav {
  flex: 1 1 auto;
  max-width: 490px;
  height: var(--header-h);
  padding: 4px 8px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(8px, 1.2vw, 13px);
  color: var(--nav-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.25s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  opacity: 0.75;
}

.nav-link.is-active {
  opacity: 1;
}

/* three 3x3 dot indicator */
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  background: #000000;
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

/* header CTA */
.signin {
  flex: 0 0 auto;
  height: var(--header-h);
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(16px, 1.9vw, 22px);
  background: var(--pill-dark);
  color: var(--sign-in-text);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.signin:hover,
.signin:focus-visible {
  background: #323234;
  color: #ffffff;
  transform: translateY(-1px);
}

/* language switch — shows the language you would switch TO */
.lang-switch {
  flex: 0 0 auto;
  height: var(--header-h);
  min-width: var(--header-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  font-family: var(--font-display);
  font-size: clamp(11px, 1.15vw, 13px);
  letter-spacing: 0.06em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.lang-switch:hover,
.lang-switch:focus-visible {
  background: #323234;
  color: #ffffff;
  transform: translateY(-1px);
}

/* burger (mobile only) */
.burger {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  place-items: center;
  transition: background 0.28s var(--ease);
}

.burger-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger-bars i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.32s var(--ease), opacity 0.2s linear,
    background 0.28s var(--ease);
}

.burger.is-open {
  background: #ffffff;
}

.burger.is-open .burger-bars i {
  background: #000000;
}

.burger.is-open .burger-bars i:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.is-open .burger-bars i:nth-child(2) {
  opacity: 0;
}

.burger.is-open .burger-bars i:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   2) HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---- brand signature row ---- */
.trust {
  --trust-size: clamp(30px, 8vw, 42px);
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  display: block;
  transition: transform 0.35s var(--ease);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.avatar i {
  color: #111111;
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}

.a1 {
  z-index: 1;
}

.a2 {
  z-index: 2;
  margin-left: calc(var(--trust-size) * -0.42);
}

.a3 {
  z-index: 4;
  margin-left: calc(var(--trust-size) * -0.42);
}

.trust:hover .a1 {
  transform: translateY(-2px);
}

.trust:hover .a2 {
  transform: translateY(-4px);
}

.trust:hover .a3 {
  transform: translateY(-2px);
}

.trust-pill {
  position: relative;
  z-index: 3;
  min-width: 0;
  height: var(--trust-size);
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(12px, 1.7vw, 18px);
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(10px, 2.9vw, 13.5px);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* ---- headline ---- */
.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(38px, 7.6vw, 88px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  overflow: hidden;
  max-width: 100%;
  /* local, not global: dark enough to hold white type over the bright part of
     the clip, invisible over the dark part. */
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.62), 0 0 12px rgba(0, 0, 0, 0.55),
    0 2px 28px rgba(0, 0, 0, 0.5);
}

/* the headline wrapper itself never reveals — its lines do */
.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.headline .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s var(--ease) both;
}

.headline .l1 {
  animation-delay: 0.12s;
}

.headline .l2 {
  animation-delay: 0.3s;
}

/* The clip's bright band with the digits occupies the top third of frame for
   the whole loop; measured worst-case, everything above y≈33% stays above 150
   luminance and the safe dark valley runs from ≈45% to ≈68%. Centring the hero
   in the full height dropped the first headline line right on the ridge. This
   nudges the block down into the valley — only where there is height to spare,
   and as a transform so it never changes the layout. Below 800px tall or on
   phones there is no room to give, and no need: the mobile pool behind the
   hero text already handles legibility there. */
@media (min-height: 800px) and (min-width: 721px) {
  .hero {
    transform: translateY(clamp(0px, 5.5vh, 60px));
  }
}

/* ---- subhead ---- */
.subhead {
  max-width: min(625px, 94%);
  margin: clamp(14px, 2.1vh, 22px) auto 0;
  color: #d0d0d0;
  opacity: 0.8;
  font-weight: 400;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  line-height: 1.55;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 0, 0, 0.55),
    0 1px 22px rgba(0, 0, 0, 0.5);
}

/* ---- hero buttons (see .btn in the section system below) ---- */
.hero-actions.anim {
  animation-name: revealPulse;
}

/* ============================================================
   3) SERVICES STRIP
   ============================================================ */
.services {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: clamp(10px, 2vw, 22px);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3px, 0.7vh, 7px);
  text-align: center;
  min-width: 0;
}

.service-num {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.service-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.35vw, 16px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

.service-desc {
  color: var(--muted);
  font-size: clamp(10.5px, 1.1vw, 12px);
  line-height: 1.35;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: overlayIn 0.28s var(--ease) both;
}

.menu-overlay[hidden],
.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 50;
  top: calc(var(--page-pad-y) + 48px + 12px);
  left: var(--page-pad-x);
  right: var(--page-pad-x);
  margin-inline: auto;
  max-width: 460px;
  padding: 22px 18px 20px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: menuIn 0.38s var(--ease) both;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.menu-link,
.menu-signin,
.menu-meta {
  opacity: 0;
  animation: linkIn 0.4s var(--ease) both;
}

.menu-link {
  position: relative;
  display: block;
  padding: 13px 8px 17px;
  text-align: center;
  color: var(--nav-text);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  opacity: 0.5;
}

.menu-link.is-active {
  opacity: 1;
}

.menu-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  background: #000000;
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

.menu-signin {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 15px 18px;
  text-align: center;
  background: var(--pill-dark);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.menu-meta {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: #9a9a9a;
  font-size: 12px;
  letter-spacing: -0.005em;
}

.mobile-menu nav > *:nth-child(1) {
  animation-delay: 0.06s;
}
.mobile-menu nav > *:nth-child(2) {
  animation-delay: 0.11s;
}
.mobile-menu nav > *:nth-child(3) {
  animation-delay: 0.16s;
}
.mobile-menu nav > *:nth-child(4) {
  animation-delay: 0.21s;
}
.mobile-menu nav > *:nth-child(5) {
  animation-delay: 0.27s;
}
.mobile-menu nav > *:nth-child(6) {
  animation-delay: 0.32s;
}

/* ============================================================
   SHARED ENTRANCE ANIMATION
   ============================================================ */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s var(--ease) both;
  animation-delay: var(--d, 0s);
}

/* once the entrance is done, hand control back to :hover transitions */
.is-settled {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  68% {
    opacity: 1;
    transform: translateY(0) scale(1.035);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes linkIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- tablet portrait / small laptop --- */
@media (max-width: 880px) {
  .nav-link {
    padding: 0 clamp(7px, 1.1vw, 12px);
  }
}

/* Five columns in a ~770px strip leave ~135px each, and "Campaigns &
   Influence" needs a hair less than that — without this it wraps and only
   that column's descriptor drops a line, breaking the baseline of the row. */
@media (min-width: 721px) and (max-width: 900px) {
  .services {
    gap: 10px;
  }

  .service-name {
    font-size: 12px;
  }

  .service-desc {
    font-size: 10.5px;
  }
}

/* --- mobile (<= 720px) --- */
@media (max-width: 720px) {
  /* On a tall, narrow screen the clip's near-white band lands exactly behind
     the headline. Rather than veil the whole video — the colour is the point —
     pool a little darkness behind the hero text only, and only here. */
  .hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    width: 170%;
    height: min(520px, 74%);
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
      closest-side,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.4) 58%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .nav,
  .signin {
    display: none;
  }

  .site-header {
    justify-content: flex-start;
    gap: 10px;
    max-width: 100%;
  }

  .lang-switch {
    margin-left: auto;
    height: 48px;
    min-width: 48px;
    font-size: 12px;
  }

  .logo {
    --logo-h: 48px;
  }

  .site-header {
    max-width: 100%;
  }

  .burger {
    display: grid;
  }

  .headline {
    letter-spacing: -0.05em;
    line-height: 0.96;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 3.2vw, 20px) clamp(10px, 4vw, 24px);
    max-width: 460px;
  }

  /* the fifth service closes the block across both columns */
  .service:nth-child(5) {
    grid-column: 1 / -1;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* --- small phones (<= 420px) --- */
@media (max-width: 420px) {
  .headline {
    letter-spacing: -0.06em;
    line-height: 0.96;
  }

  .service-name {
    font-size: 13px;
  }

  .service-desc {
    font-size: 10.5px;
  }
}

/* --- short viewports: keep everything inside one screen --- */
@media (max-height: 700px) {
  .trust {
    margin-bottom: clamp(10px, 1.8vh, 18px);
  }

  .subhead {
    margin-top: clamp(9px, 1.4vh, 14px);
  }

  .hero-actions {
    margin-top: clamp(13px, 2vh, 20px);
  }
}

/* --- landscape phones / very short viewports --- */
@media (max-height: 620px) {
  .headline {
    font-size: min(clamp(30px, 7vw, 84px), 15vh);
  }

  .trust {
    --trust-size: 30px;
    margin-bottom: 10px;
  }

  .subhead {
    font-size: calc(11px + 2pt);
    line-height: 1.42;
    margin-top: 9px;
    max-width: min(520px, 94%);
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-actions .btn {
    padding: 9px 20px;
    font-size: 13px;
  }

  .services {
    grid-template-columns: repeat(5, 1fr);
    max-width: 900px;
    gap: 8px;
  }

  .service {
    gap: 2px;
  }

  .service-num {
    font-size: 16px;
  }

  .service-name {
    font-size: 12.5px;
  }

  .service-desc {
    font-size: 10px;
  }
}

/* Landscape phones and other very short screens. The hero still has to be
   exactly one screen, so everything gives a little and the service
   descriptors drop out entirely. */
@media (max-height: 520px) {
  :root {
    --header-h: 40px;
  }

  .headline {
    font-size: min(clamp(21px, 5vw, 52px), 15.5vh);
  }

  .trust {
    --trust-size: 24px;
    margin-bottom: 5px;
  }

  .trust-pill {
    font-size: 10px;
    padding-right: 10px;
  }

  .subhead {
    font-size: 11px;
    line-height: 1.28;
    margin-top: 5px;
    max-width: min(800px, 96%);
  }

  .hero-actions {
    margin-top: 8px;
  }

  .hero-actions .btn {
    padding: 7px 16px;
    font-size: 11.5px;
  }

  .logo {
    --logo-h: 40px;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .lang-switch {
    height: 40px;
    min-width: 40px;
  }

  .services {
    gap: 5px;
  }

  .service-num {
    font-size: 12px;
  }

  .service-name {
    font-size: 11px;
    line-height: 1.15;
  }

  .service-desc {
    display: none;
  }

  .mobile-menu {
    top: calc(var(--page-pad-y) + 40px + 10px);
    padding: 14px 16px 14px;
  }

  .menu-link {
    padding: 9px 8px 13px;
    font-size: 15px;
  }

  .menu-signin {
    margin-top: 8px;
    padding: 11px 16px;
  }

  .menu-meta {
    margin-top: 9px;
    font-size: 11px;
  }
}

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .anim,
  .headline .line,
  .site-header,
  .menu-link,
  .menu-signin,
  .menu-meta {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .headline {
    color: #ffffff;
  }
}

/* ============================================================
   ==============  FULL SITE: SECTION SYSTEM  =================
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--page-pad-x);
}

.section {
  position: relative;
  padding-block: clamp(68px, 10vh, 132px);
}

.section--tight {
  padding-block: clamp(48px, 7vh, 92px);
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 900px;
  margin-bottom: clamp(34px, 5vh, 62px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(10.5px, 1vw, 12.5px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.h2 {
  margin: 0.4em 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 4.5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.h3 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

.lead {
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  max-width: 64ch;
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.62;
  color: var(--body-text);
}

.section-head--center .lead {
  margin-inline: auto;
}

.body-text {
  margin: 0 0 1em;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.68;
  color: var(--body-text);
}

.body-text:last-child {
  margin-bottom: 0;
}

.text-white {
  color: #ffffff;
}

/* ---------- inline link ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #ffffff;
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 15.5px);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.link:hover,
.link:focus-visible {
  border-color: #ffffff;
  gap: 0.75em;
}

.link .arw {
  font-family: var(--font-display);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.6vh, 15px) clamp(22px, 3vw, 30px);
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn--light {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.28), 0 0 44px rgba(255, 255, 255, 0.1);
}

.btn--light:hover,
.btn--light:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 30px rgba(255, 255, 255, 0.45), 0 0 62px rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

/* ---------- hero extras ---------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(18px, 2.7vh, 28px);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: clamp(16px, 2.4vh, 26px);
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
  animation: cueDrop 2.1s var(--ease) infinite;
}

.scroll-cue:hover {
  color: #ffffff;
}

@keyframes cueDrop {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.35;
  }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 12vh, 116px));
  padding-bottom: clamp(40px, 7vh, 84px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background: radial-gradient(
    60% 70% at 50% 0%,
    rgba(150, 120, 190, 0.22) 0%,
    rgba(190, 110, 90, 0.12) 42%,
    rgba(0, 0, 0, 0) 72%
  );
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.page-title {
  margin: 0.3em 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #ffffff;
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* five services: three up, then two wide */
.grid--5 {
  grid-template-columns: repeat(6, 1fr);
}

.grid--5 > *:nth-child(-n + 3) {
  grid-column: span 2;
}

.grid--5 > *:nth-child(n + 4) {
  grid-column: span 3;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.3vw, 30px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

a.card:hover,
a.card:focus-visible,
.card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.card-num {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: clamp(14px, 2vw, 22px);
}

.card .h3 {
  margin-bottom: 10px;
}

.card-text {
  margin: 0;
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.6;
  color: var(--body-text);
}

.card-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-list li {
  font-size: clamp(11.5px, 0.95vw, 12.5px);
  line-height: 1;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfcfcf;
  white-space: nowrap;
}

/* ============================================================
   STATEMENT BAND
   ============================================================ */
.statement {
  position: relative;
  padding-block: clamp(64px, 12vh, 150px);
  text-align: center;
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    70% 100% at 50% 50%,
    rgba(168, 120, 200, 0.16) 0%,
    rgba(200, 110, 80, 0.1) 45%,
    rgba(0, 0, 0, 0) 78%
  );
  pointer-events: none;
}

.statement .wrap {
  position: relative;
}

.statement-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.statement-sub {
  margin: clamp(18px, 2.6vh, 28px) auto 0;
  max-width: 52ch;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.6;
  color: var(--body-text);
}

/* ============================================================
   METHOD STEPS
   ============================================================ */
.step {
  position: relative;
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
  color: #ffffff;
  display: block;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

/* ============================================================
   WORK CARDS
   ============================================================ */
.work-card {
  padding: 0;
  overflow: hidden;
}

.work-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.36'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}

.work-visual span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 0 14px;
}

.wv-1 {
  background: linear-gradient(140deg, #2b2140 0%, #6b3f6e 52%, #c07a63 100%);
}
.wv-2 {
  background: linear-gradient(140deg, #14161f 0%, #3d3a63 55%, #8f6f9e 100%);
}
.wv-3 {
  background: linear-gradient(140deg, #331d1d 0%, #7a3f42 50%, #c98a5c 100%);
}
.wv-4 {
  background: linear-gradient(140deg, #101820 0%, #2f4a53 55%, #7fa9a3 100%);
}
.wv-5 {
  background: linear-gradient(140deg, #241a2e 0%, #5a3a72 50%, #a4739c 100%);
}
.wv-6 {
  background: linear-gradient(140deg, #201a14 0%, #5c4227 52%, #b08a53 100%);
}

.work-body {
  padding: clamp(18px, 2vw, 24px);
}

.work-sector {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e4e4e4;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field select option {
  background: #141416;
  color: #ffffff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f6f6f;
}

.field-error {
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #ff9a8b;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #b4564a;
}

.field.is-invalid .field-error {
  display: block;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: #cfcfcf;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}

.check input:checked + span {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.check input:focus-visible + span {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.form-status {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #e7e7e7;
}

.form-status[hidden] {
  display: none;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 20px);
}

.info-block {
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.info-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.info-value {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: #ffffff;
}

.info-value a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.info-value a:hover {
  border-color: #ffffff;
}

/* ============================================================
   LEGAL / PROSE
   ============================================================ */
.prose {
  max-width: 78ch;
}

.prose h2 {
  margin: clamp(34px, 5vh, 54px) 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.prose h3 {
  margin: 26px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.prose p,
.prose li {
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.7;
  color: var(--body-text);
}

.prose p {
  margin: 14px 0 0;
}

.prose ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.slot {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.86em;
  color: #ffd9a8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 8vh, 88px) clamp(24px, 3.4vh, 34px);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.foot-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.foot-logo img {
  height: 40px;
  width: auto;
  max-width: none;
}

.foot-sign {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d2d2d2;
}

.foot-claim {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.foot-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li {
  margin-bottom: 10px;
}

.foot-col a,
.foot-col span {
  font-size: 14px;
  color: #c6c6c6;
  transition: color 0.22s var(--ease);
}

.foot-col a:hover,
.foot-col a:focus-visible {
  color: #ffffff;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(38px, 6vh, 64px);
  padding-top: clamp(18px, 2.4vh, 24px);
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}

.foot-bottom a:hover {
  color: #ffffff;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(5px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
    filter 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ============================================================
   FULL-SITE RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--5 > *:nth-child(-n + 3),
  .grid--5 > *:nth-child(n + 4) {
    grid-column: span 1;
  }

  .grid--5 > *:nth-child(5) {
    grid-column: span 2;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .foot-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 640px) {
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: 1fr;
  }

  .grid--5 > *:nth-child(5) {
    grid-column: span 1;
  }

  .foot-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-bottom {
    justify-content: flex-start;
  }
}

@media (max-height: 700px) {
  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .scroll-cue::after {
    animation: none;
  }
}

/* ============================================================
   CLIENT BRAND STRIP
   ============================================================ */
.brands {
  --brand-h: clamp(20px, 2.3vw, 28px);
  position: relative;
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(44px, 6.5vh, 82px);
}

.brands-head {
  text-align: center;
}

.brands-h {
  margin: 0.45em 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px) clamp(24px, 3.6vw, 56px);
  margin-top: clamp(26px, 4vh, 46px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* One rule whitens every mark, raster or vector, whatever colour it ships in.
   The aspect-ratio comes in on the element so the row reserves its width before
   a lazy image lands — otherwise everything below jumps when they load. */
.brand img {
  height: calc(var(--brand-h) * var(--s, 1));
  width: auto;
  max-width: min(200px, 44vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand:hover img,
.brand:focus-within img {
  opacity: 0.95;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .brands-grid {
    gap: 20px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand img {
    transition: none;
  }
}

/* ============================================================
   ============  SECTION ARCHETYPES (redesign)  ===============
   Every section used to be eyebrow + h2 + grid of cards. These
   give each one its own structural logic instead.
   ============================================================ */

/* ---------- shared: rotated index label ---------- */
.sec-index {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(10.5px, 1vw, 12.5px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- shared: oversized display line ---------- */
.display-xl {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 5.2vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 18em;
}

/* ============================================================
   1) EDITORIAL — asymmetric text spread (manifesto, difference)
   ============================================================ */
.editorial {
  display: grid;
  grid-template-columns: clamp(56px, 7vw, 96px) minmax(0, 1fr);
  gap: 0 clamp(10px, 1.8vw, 26px);
}

.editorial-side {
  position: relative;
}

.editorial-side .sec-index {
  position: absolute;
  top: 6px;
  left: 0;
  transform-origin: left top;
  transform: rotate(90deg) translateY(-100%);
  padding-left: 4px;
}

.editorial-main > .ledger,
.editorial-main > .stair,
.editorial-main > .mosaic,
.editorial-main > .btn-row {
  margin-top: clamp(28px, 4.6vh, 52px);
}

.editorial-main > .btn-row {
  margin-top: clamp(20px, 3vh, 34px);
}

.editorial-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(20px, 3.4vw, 58px);
  margin-top: clamp(30px, 5vh, 60px);
  padding-top: clamp(24px, 4vh, 44px);
  border-top: 1px solid var(--line);
}

.body-lead {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #ececec;
}

.editorial-rest p + p {
  margin-top: 1.1em;
}

/* ============================================================
   2) LEDGER — full-width disclosure rows (services, principles)
   ============================================================ */
.ledger {
  border-top: 1px solid var(--line);
}

.ledger-row {
  border-bottom: 1px solid var(--line);
}

.ledger-row > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: clamp(44px, 5vw, 74px) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 clamp(12px, 2vw, 26px);
  padding: clamp(18px, 2.6vh, 28px) 0;
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
}

.ledger-row > summary::-webkit-details-marker {
  display: none;
}

.ledger-row > summary:hover,
.ledger-row > summary:focus-visible {
  padding-left: clamp(6px, 1vw, 16px);
}

.ledger-num {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.ledger-row[open] .ledger-num,
.ledger-row > summary:hover .ledger-num {
  color: #ffffff;
}

.ledger-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px clamp(12px, 1.8vw, 22px);
  min-width: 0;
}

.ledger-name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.9vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.ledger-short {
  font-size: clamp(12px, 1.05vw, 14px);
  color: var(--muted);
  letter-spacing: -0.01em;
}

.ledger-mark {
  position: relative;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  align-self: center;
}

.ledger-mark::before,
.ledger-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: #ffffff;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease), opacity 0.25s linear;
}

.ledger-mark::after {
  transform: translateY(-50%) rotate(90deg);
}

.ledger-row[open] .ledger-mark::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.ledger--plain > .ledger-row > summary,
.ledger--plain > .ledger-row > .ledger-body {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ledger--plain > .ledger-row > .ledger-body > div {
  grid-column: 1;
}

.ledger-body {
  display: grid;
  grid-template-columns: clamp(44px, 5vw, 74px) minmax(0, 1fr);
  gap: 0 clamp(12px, 2vw, 26px);
  padding-bottom: clamp(22px, 3vh, 32px);
  animation: drawerIn 0.42s var(--ease) both;
}

.ledger-body > div {
  grid-column: 2;
  max-width: 62ch;
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   3) MARQUEE BAND — the campaign line on the move
   ============================================================ */
.statement--marquee {
  padding-block: clamp(58px, 10vh, 128px);
}

.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  padding-right: clamp(30px, 5vw, 80px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 6.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  white-space: nowrap;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   4) STAIR — the method, as a descending track
   ============================================================ */
.stair {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
}

.stair-step {
  position: relative;
  padding-top: calc(22px + var(--i, 0) * clamp(0px, 3.4vw, 52px));
}

.stair-step::before {
  content: "";
  position: absolute;
  top: calc(var(--i, 0) * clamp(0px, 3.4vw, 52px));
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.stair-step::after {
  content: "";
  position: absolute;
  top: calc(var(--i, 0) * clamp(0px, 3.4vw, 52px) - 2.5px);
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffffff;
}

.stair-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: clamp(10px, 1.6vw, 16px);
}

/* ============================================================
   5) MOSAIC — work cards at different weights
   ============================================================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.tile--wide {
  grid-column: span 4;
  aspect-ratio: 16 / 9;
}

.tile--tall {
  grid-column: span 2;
  aspect-ratio: 3 / 4;
}

.tile--half {
  grid-column: span 3;
  aspect-ratio: 4 / 3;
}

.tile--full {
  grid-column: span 6;
  aspect-ratio: 24 / 7;
}

.tile-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
}

/* The photograph ships greyscale and the gradient underneath supplies the
   colour: luminosity blending keeps the picture's tones and takes the hue from
   the tile, so six unrelated stock shots read as one set. */
.tile-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.96;
  transform: scale(1.001);
  transition: transform 0.7s var(--ease);
}

.tile:hover .tile-visual img,
.tile:focus-visible .tile-visual img {
  transform: scale(1.045);
}

.tile-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.36'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.tile-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.26) 42%,
    rgba(0, 0, 0, 0.86) 100%
  );
}

.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(16px, 2vw, 26px);
}

.tile-sector {
  display: block;
  font-size: clamp(10.5px, 0.95vw, 11.5px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 7px;
}

.tile-title {
  display: block;
  margin: 0;
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

.tile-text {
  margin: 8px 0 0;
  max-width: 46ch;
  font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.tile--tall .tile-text {
  display: none;
}

/* ============================================================
   6) SPLIT BAND — the closing call, off-centre
   ============================================================ */
.statement--split {
  text-align: left;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 70px);
  align-items: end;
}

.statement--split .statement-text {
  font-size: clamp(28px, 5.4vw, 74px);
}

.statement--split .statement-sub {
  margin: 0 0 clamp(18px, 2.4vh, 26px);
  max-width: 44ch;
}

.split-aside {
  padding-bottom: clamp(4px, 1vh, 10px);
}

/* ============================================================
   7) PAGE HERO — a ghost word behind the title
   ============================================================ */
.hero-ghost {
  position: absolute;
  right: -2%;
  bottom: -14%;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(90px, 20vw, 260px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ============================================================
   8) SERVICES PAGE — big numeral, alternating side
   ============================================================ */
.svc-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(18px, 3vw, 54px);
  align-items: start;
  padding-block: clamp(34px, 5vh, 62px);
  border-top: 1px solid var(--line);
}

.svc-block:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.svc-block:nth-child(even) .svc-head {
  order: 2;
  text-align: right;
}

.svc-numeral {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 104px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.16);
}

.svc-name {
  margin: 0.12em 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE for the new archetypes
   ============================================================ */
@media (max-width: 1000px) {
  .stair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stair-step {
    --i: 0;
  }

  .stair-step:nth-child(2),
  .stair-step:nth-child(4) {
    --i: 1;
  }

  .mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tile--wide {
    grid-column: span 4;
  }

  .tile--tall {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
  }

  .tile--half {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
  }

  .tile--full {
    grid-column: span 4;
    aspect-ratio: 16 / 7;
  }

  .split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .editorial {
    grid-template-columns: 1fr;
  }

  .editorial-side .sec-index {
    position: static;
    transform: none;
    padding: 0 0 14px;
  }

  .editorial-body {
    grid-template-columns: 1fr;
  }

  .svc-block,
  .svc-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .svc-block:nth-child(even) .svc-head {
    order: 0;
    text-align: left;
  }

  .svc-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }

  .svc-numeral {
    font-size: clamp(30px, 8vw, 46px);
  }
}

@media (max-width: 640px) {
  .stair {
    grid-template-columns: 1fr;
  }

  .stair-step,
  .stair-step:nth-child(2),
  .stair-step:nth-child(4) {
    --i: 0;
  }

  .mosaic {
    grid-template-columns: 1fr;
  }

  .tile--wide,
  .tile--tall,
  .tile--half,
  .tile--full {
    grid-column: span 1;
    aspect-ratio: 5 / 4;
  }

  .tile--tall .tile-text {
    display: block;
  }

  .ledger-row > summary {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .ledger-body {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .marquee-track span:nth-child(n + 2) {
    display: none;
  }

  .marquee-track span {
    white-space: normal;
    text-align: center;
    padding-right: 0;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ledger-body {
    animation: none;
  }
}

/* ============================================================
   PARENT GROUP
   Not one more client logo: its own band, its own rule, a larger
   mark at full strength. The clients sit at 0.6 opacity above it.
   ============================================================ */
.parent {
  position: relative;
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(28px, 4.2vh, 48px);
}

/* Label over the mark, both on the page's centre line. */
.parent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.7vh, 18px);
}

.parent-label {
  font-family: var(--font-display);
  font-size: clamp(10.5px, 1vw, 12.5px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.parent-mark {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
}

.parent-mark:hover,
.parent-mark:focus-visible {
  transform: translateY(-2px);
}

.parent-mark img {
  height: clamp(50px, 6vw, 74px);
  width: auto;
  max-width: min(200px, 44vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}

.parent-mark:hover img,
.parent-mark:focus-visible img {
  opacity: 1;
}

