/* ============================================================
   Meesh Makdah — Fractional CMO
   Style: "monopo saigon" — cinematic darkroom with floating
   white type. Monochrome only. Roobert → Inter substitute.
   ============================================================ */

@font-face {
  font-family: 'Google Sans Flex';
  src: url('/fonts/GoogleSansFlex.woff2') format('woff2');
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Colors ── */
  --paper-white: #ffffff;
  --ink-black:   #000000;
  --carbon:      #181818;
  --ash:         #6d6d6d;
  --smoke:       #9a9a9a;
  --pewter:      #808080;
  --graphite:    #636363;

  /* atmospheric render palette (mercury flow) — imagery only */
  --c-green:   #b5fed9; /* aquamarine */
  --c-amber:   #f4faff; /* alice blue (bright) */
  --c-copper:  #b7adcf; /* thistle */
  --c-oxblood: #1b3b6f; /* regal navy (dark anchor) */

  /* ── Type ── */
  --font-display: 'Google Sans Flex', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent:  var(--font-display);
  --font-system:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-hero:    clamp(3rem, 12.5vw, 13.5rem); /* ~48 → 216px (Space Grotesk runs wider) */
  --lh-hero: 0.78;
  --text-display: clamp(2rem, 5.4vw, 4.75rem);   /* ~32 → 76px */
  --lh-display: 1.06;
  --text-quote:   clamp(1.6rem, 4.2vw, 3.375rem); /* ~26 → 54px */
  --text-service: clamp(1.3rem, 2.4vw, 1.9rem);  /* ~21 → 30px */
  --text-lead:    1.125rem;                        /* 18px */
  --text-body:    1rem;                            /* 16px */
  --text-label:   0.75rem;                         /* 12px */
  --text-micro:   0.6875rem;                       /* 11px */

  /* ── Spacing ── */
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --max-width: 90rem; /* 1440 */

  /* ── Radius ── */
  --radius-pill: 75px;

  /* nav theme vars (overwritten per theme) */
  --nav-fg: #ffffff;
  --nav-bg: #000000;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--carbon);
  background: var(--paper-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink-black); color: var(--paper-white); }

/* ── Focus (accessible, on-brand: sharp, monochrome) ── */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0; left: 50%;
  transform: translate(-50%, -130%);
  z-index: 400;
  background: var(--ink-black);
  color: var(--paper-white);
  padding: 0.75rem 1.25rem;
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.frame { position: relative; }
.frame--dark  { background: var(--ink-black);  color: var(--paper-white); }
.frame--light { background: var(--paper-white); color: var(--carbon); }
.section { padding-block: var(--section-y); }
section[id] { scroll-margin-top: 72px; }

/* ============================================================
   Typography utilities
   ============================================================ */
.label {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.frame--dark .label { color: var(--smoke); }

.kicker {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.kicker--center { text-align: center; }

.display {
  font-weight: 600;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  letter-spacing: -0.015em;
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  font-weight: 400;
}

/* ── Pills (only curved element in the system: 75px) ── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.pill--solid {
  background: var(--paper-white);
  color: var(--ink-black);
  padding: 0.95rem 1.7rem;
}
.pill--solid:hover { background: #e7e7e7; }
.frame--light .pill--solid { background: var(--ink-black); color: var(--paper-white); }
.frame--light .pill--solid:hover { background: var(--carbon); }

.pill--ghost {
  border: 1px solid color-mix(in srgb, var(--nav-fg) 55%, transparent);
  color: var(--nav-fg);
  padding: 0.5rem 1.05rem;
  font-size: var(--text-label);
}
.pill--ghost:hover { background: var(--nav-fg); color: var(--nav-bg); }

.pill--graphite {
  background: var(--graphite);
  color: var(--paper-white);
  padding: 0.45rem 1.1rem;
  font-size: var(--text-label);
}
.pill--graphite:hover { background: var(--pewter); }

/* ── Arrow text link ── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.link-arrow::after { content: '→'; transition: transform 0.3s ease; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--nav-fg);
  transition: background 0.4s ease, color 0.35s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav[data-theme='dark'] {
  --nav-fg: #ffffff;
  --nav-bg: #000000;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0));
}
.nav[data-theme='light'] {
  --nav-fg: #181818;
  --nav-bg: #ffffff;
  background: var(--paper-white);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.nav__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__links > a:not(.pill) {
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.nav__links > a:not(.pill):hover { opacity: 1; }
.nav__cta { margin-left: 0.25rem; }

.nav__toggle {
  display: none;
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   Mobile menu overlay
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink-black);
  color: var(--paper-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 1.25rem; padding: var(--gutter); }
.menu__nav > a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.25s ease;
}
.menu.is-open .menu__nav > a { opacity: 1; transform: none; }
.menu.is-open .menu__nav > a:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__nav > a:nth-child(2) { transition-delay: 0.14s; }
.menu.is-open .menu__nav > a:nth-child(3) { transition-delay: 0.20s; }
.menu.is-open .menu__nav > a:nth-child(4) { transition-delay: 0.26s; }
.menu__nav > a:hover { color: var(--smoke); }
.menu__no {
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  color: var(--smoke);
  transform: translateY(-0.6em);
}
.menu__cta { font-size: clamp(1.5rem, 6vw, 2.25rem) !important; color: var(--smoke); }

/* ============================================================
   Atmospheric dark frame (blobs + scrim + grain)
   ============================================================ */
.atmos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* WebGL fluid canvas — covers the CSS blobs when supported.
   Rendered below CSS resolution, so a soft blur hides the upscale. */
.orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(7px) saturate(1.08);
}
.no-webgl .orb-canvas { display: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.68;
  mix-blend-mode: screen;
  will-change: transform, border-radius;
}
.blob--green   { width: 44vw; height: 44vw; left: -8vw;  bottom: -14vw; background: var(--c-green);   animation: morph-a 24s ease-in-out infinite; }
.blob--amber   { width: 52vw; height: 52vw; right: -8vw; top: -12vw;    background: var(--c-amber);   animation: morph-b 19s ease-in-out infinite; }
.blob--copper  { width: 46vw; height: 46vw; right: 2vw;  bottom: -16vw; background: var(--c-copper);  animation: morph-c 27s ease-in-out infinite; }
.blob--oxblood { width: 42vw; height: 42vw; left: 4vw;   top: -18vw;    background: var(--c-oxblood); animation: morph-a 33s ease-in-out infinite reverse; }

/* Synthetic-organic material: each gold/colour mass floats on a wandering
   path, morphs its silhouette, and contracts/expands — slow liquid metal. */
@keyframes morph-a {
  0%, 100% { border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%; transform: translate(0, 0) scale(1) rotate(0deg); }
  25%      { border-radius: 50% 50% 40% 60% / 45% 55% 45% 55%; transform: translate(5vw, -4vw) scale(1.14) rotate(22deg); }
  50%      { border-radius: 45% 55% 60% 40% / 60% 40% 55% 45%; transform: translate(-3vw, 5vw) scale(0.86) rotate(-16deg); }
  75%      { border-radius: 55% 45% 45% 55% / 50% 60% 40% 55%; transform: translate(4vw, 3vw) scale(1.06) rotate(12deg); }
}
@keyframes morph-b {
  0%, 100% { border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; transform: translate(0, 0) scale(1.04) rotate(0deg); }
  30%      { border-radius: 62% 38% 60% 40% / 45% 62% 38% 55%; transform: translate(-5vw, 4vw) scale(0.9) rotate(-20deg); }
  60%      { border-radius: 38% 62% 45% 55% / 58% 42% 60% 40%; transform: translate(4vw, -3vw) scale(1.2) rotate(18deg); }
}
@keyframes morph-c {
  0%, 100% { border-radius: 50% 50% 55% 45% / 55% 45% 50% 50%; transform: translate(0, 0) scale(1) rotate(0deg); }
  35%      { border-radius: 60% 40% 40% 60% / 50% 62% 38% 50%; transform: translate(-4vw, -4vw) scale(1.16) rotate(-24deg); }
  70%      { border-radius: 45% 55% 62% 38% / 40% 50% 55% 60%; transform: translate(4vw, 4vw) scale(0.88) rotate(16deg); }
}

/* Rotating "mercury flow" — the clearly-moving organic layer behind the blobs */
.atmos::before {
  content: '';
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 90deg at 50% 50%,
    var(--c-oxblood), var(--c-copper), var(--c-amber), var(--c-green), var(--c-copper), var(--c-oxblood));
  filter: blur(80px);
  opacity: 0.3;
  mix-blend-mode: screen;
  will-change: transform;
  animation: flow-spin 26s linear infinite;
}
@keyframes flow-spin { to { transform: rotate(1turn); } }

.atmos__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 64% at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 68%, rgba(0,0,0,0.55) 100%);
}
.atmos__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 7rem var(--gutter) 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 60rem;
}
.hero__title {
  font-weight: 600;
  font-size: var(--text-hero);
  line-height: var(--lh-hero);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.4);
}
.hero__title span { display: block; }
.hero__name { font-size: clamp(2.25rem, 6.5vw, 5.5rem); }
.hero__role {
  font-size: var(--text-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero__sub {
  font-size: var(--text-lead);
  line-height: 1.5;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 28px rgba(0, 0, 0, 0.45);
}
.actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  left: var(--gutter);
  bottom: 2.5rem;
  z-index: 3;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: var(--paper-white);
}
.scroll-indicator__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}
.scroll-indicator__ring text {
  font-size: 9px;
  letter-spacing: 0.18em;
  fill: currentColor;
  font-family: var(--font-system);
}
.scroll-indicator__arrow { font-size: 0.9rem; opacity: 0.9; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--paper-white);
  border-block: 1px solid rgba(0,0,0,0.1);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee__inner { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track { display: flex; align-items: center; }
.marquee__track span {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--carbon);
  padding-inline: 1.4rem;
  white-space: nowrap;
}
.marquee__track i { color: var(--ash); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   About
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.about__head .label { margin-bottom: 1.5rem; }
.about__body { display: flex; flex-direction: column; gap: 1.5rem; max-width: 42rem; }
.about__body .lead { color: var(--carbon); }
.about__body p:not(.lead) { color: var(--ash); }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.meta-grid li { display: flex; flex-direction: column; gap: 0.5rem; }
.meta-grid__val { font-size: var(--text-lead); color: var(--carbon); }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .about__head { position: sticky; top: 110px; }
  .meta-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Dark interlude (pull-quote)
   ============================================================ */
.interlude {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 70vh;
}
.interlude__quote {
  position: relative;
  z-index: 2;
  max-width: 64rem;
  padding-inline: var(--gutter);
}
.interlude__quote p {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: var(--text-quote);
  line-height: 1.22;
  color: var(--paper-white);
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   Services
   ============================================================ */
.section__head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__head .label { margin-bottom: 1.25rem; }
.section__intro { margin-top: 1.5rem; color: var(--ash); }

.services { border-top: 1px solid rgba(0,0,0,0.12); }
.service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  transition: padding-left 0.35s ease;
}
.service__no {
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}
.service__title {
  font-size: var(--text-service);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.service__desc {
  margin-top: 0.85rem;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ash);
  max-width: 40rem;
}
.service__arrow {
  font-size: 1.25rem;
  color: var(--ash);
  opacity: 0;
  transform: translate(-6px, 0);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
  align-self: center;
}
@media (hover: hover) {
  .service:hover { padding-left: clamp(0.5rem, 2vw, 1.5rem); }
  .service:hover .service__arrow { opacity: 1; transform: none; color: var(--ink-black); }
}

/* ============================================================
   Watch / video
   ============================================================ */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: var(--ink-black);
  overflow: hidden;
}
.video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  display: block;
  cursor: pointer;
  background: var(--ink-black);
}
.video__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.4s ease, transform 0.7s ease;
}
.video__facade:hover .video__thumb { opacity: 0.92; transform: scale(1.03); }
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.video__facade:hover .video__play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.video__play svg { width: 28px; height: 28px; fill: var(--ink-black); margin-left: 3px; }
.video__meta {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
  max-width: 38rem;
}
.video__title {
  color: var(--paper-white);
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.video__channel {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Calendly inline booking widget */
.book .calendly-inline-widget {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  width: 100%;
}

/* Toptal trust badge (isolated in its own iframe to avoid CSS collisions) */
.toptal { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.toptal__badge {
  width: 280px;
  max-width: 100%;
  height: 340px;
  border: 0;
  display: block;
  margin-inline: auto;
  color-scheme: light;
}

/* ============================================================
   Service category label
   ============================================================ */
.service__cat { margin-bottom: 0.7rem; }

/* ============================================================
   Proof
   ============================================================ */
.proof__shift { margin-top: clamp(2rem, 5vw, 3.5rem); }
.proof__shift li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-block: clamp(1.25rem, 2.6vw, 1.9rem);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.proof__shift li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.proof__from, .proof__to { display: block; font-size: var(--text-lead); line-height: 1.4; }
.proof__from { color: var(--ash); }
.proof__to { color: var(--carbon); }
.proof__tag {
  display: block;
  font-size: var(--text-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.45rem;
}
.proof__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.proof__stats li { display: flex; flex-direction: column; gap: 0.5rem; }
.proof__stat-num {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof__stat-label { font-size: var(--text-label); letter-spacing: 0.04em; color: var(--ash); }
.proof__segments { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); }
@media (min-width: 760px) {
  .proof__shift li { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .proof__stats { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Fit — who this is for / not for
   ============================================================ */
.fit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.fit__col-label {
  font-size: var(--text-subheading);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.fit__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 1.75rem;
}
.fit__list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ash);
}
.fit__list li strong { color: var(--carbon); font-weight: 500; }
.fit__list li::before { position: absolute; left: 0; top: 0.05em; font-size: 1rem; }
.fit__list--yes li::before { content: "✓"; color: var(--ink-black); }
.fit__list--no li::before { content: "✕"; color: var(--smoke); }
@media (min-width: 760px) {
  .fit__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
}
.contact__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.contact__title { font-size: clamp(2.75rem, 10vw, 9rem); }
.contact .hero__sub { margin-bottom: 0.5rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--carbon); color: var(--paper-white); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }

/* Newsletter (top of footer) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.newsletter {
  display: grid;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 820px) { .newsletter { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3.5rem; } }
.newsletter__title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin-top: 1rem; }
.newsletter__sub { margin-top: 0.9rem; color: var(--smoke); font-size: var(--text-body); line-height: 1.5; max-width: 34rem; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.newsletter__input {
  flex: 1 1 220px;
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: var(--paper-white);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: var(--text-body);
  transition: border-color 0.25s ease;
}
.newsletter__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter__input:hover { border-color: rgba(255, 255, 255, 0.5); }
.newsletter__input:focus-visible { outline: 2px solid var(--paper-white); outline-offset: 2px; border-color: transparent; }
.newsletter__btn { flex: 0 0 auto; padding: 0.85rem 1.7rem; }
.newsletter__msg { flex-basis: 100%; min-height: 1em; margin-top: 0.1rem; font-size: var(--text-label); letter-spacing: 0.02em; color: var(--smoke); }
.newsletter__msg.is-success { color: #a0e0ab; }
.newsletter__msg.is-error { color: #e6a08f; }
.newsletter--band { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__name { font-size: 1.5rem; font-weight: 300; }
.footer__role { font-size: var(--text-label); letter-spacing: 0.04em; color: var(--smoke); margin-top: 0.5rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__col .label { color: var(--smoke); margin-bottom: 0.4rem; }
.footer__col a { font-size: 0.95rem; color: rgba(255,255,255,0.85); transition: color 0.25s ease; }
.footer__col a:hover { color: var(--paper-white); }
.footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  font-size: var(--text-label);
  letter-spacing: 0.04em;
  color: var(--smoke);
}
@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 150;
  width: min(46rem, calc(100% - 2rem));
  background: var(--paper-white);
  color: var(--carbon);
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.10);
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: var(--text-label); line-height: 1.5; flex: 1; }
.cookie__text a { text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 0.85rem; }
}
.cookie__decline { font-size: var(--text-label); color: var(--ash); letter-spacing: 0.04em; transition: color 0.2s ease; }
.cookie__decline:hover { color: var(--ink-black); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Direction-aware: elements enter from the side you're scrolling toward,
   so the page stays alive whether you scroll down OR back up. */
[data-scroll-dir='up'] .reveal:not(.is-visible) { transform: translateY(-24px); }
/* Progressive enhancement: if JS is disabled, never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   Responsive — nav collapse
   ============================================================ */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  body.menu-open .nav { z-index: 200; background: transparent; color: #fff; --nav-fg: #fff; }
  body.menu-open .nav[data-theme='light'] { border-bottom-color: transparent; }
}
@media (min-width: 761px) {
  .menu { display: none; }
}

/* ============================================================
   Sub-pages: page hero, article, contact list
   ============================================================ */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 2; max-width: 54rem; }
.page-hero .kicker { margin-bottom: 1.25rem; }
.page-hero__title { text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4); }
.page-hero__sub { margin-top: 1.5rem; max-width: 40rem; color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 24px rgba(0, 0, 0, 0.4); }

/* Photo header variant — what-is page */
.page-hero--photo { min-height: 60vh; display: flex; align-items: center; }
.page-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 24% 32%; z-index: 0; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 12, 24, 0.5) 0%, rgba(8, 12, 24, 0.16) 32%, rgba(8, 12, 24, 0.5) 60%, rgba(8, 12, 24, 0.86) 100%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.28) 0%, rgba(8, 12, 24, 0.05) 32%, rgba(8, 12, 24, 0.42) 100%);
}
.page-hero--photo .page-hero__inner { margin-left: auto; max-width: 33rem; }
@media (max-width: 760px) {
  .page-hero--photo { min-height: 76vh; align-items: flex-end; }
  .page-hero__photo { object-position: 50% 20%; }
  .page-hero__scrim {
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.12) 0%, rgba(8, 12, 24, 0.08) 28%, rgba(8, 12, 24, 0.8) 74%, rgba(8, 12, 24, 0.92) 100%);
  }
  .page-hero--photo .page-hero__inner { margin: 0; max-width: none; }
}

.page-note { margin-top: 2rem; font-size: var(--text-body); color: var(--ash); }
.page-note a { color: var(--ink-black); text-decoration: underline; text-underline-offset: 3px; }

/* Centered article — strong hierarchy, brand accent rule, emphasis */
.article { max-width: 48rem; margin-inline: auto; text-align: center; }
.article > * { margin-inline: auto; }

.article p.article__lead {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-black);
  max-width: 40rem;
  margin-top: 0;
}

.article h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-black);
  margin-top: clamp(3rem, 6vw, 4.75rem);
  max-width: 34rem;
}
.article h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 1.5rem auto 0;
  background: var(--c-copper);
  border-radius: 2px;
}

.article h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-black);
  margin-top: 2.4rem;
  max-width: 34rem;
}

.article p {
  font-size: var(--text-lead);
  line-height: 1.75;
  color: var(--carbon);
  margin-top: 1.15rem;
  max-width: 36rem;
}

.article ul {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 38rem;
}
.article li { font-size: var(--text-lead); line-height: 1.6; color: var(--ash); }

.article strong { color: var(--ink-black); font-weight: 600; }
.article em { font-style: italic; color: var(--carbon); }
.article a { color: var(--ink-black); text-decoration: underline; text-underline-offset: 3px; }

.article__cta {
  margin-top: clamp(3.5rem, 7vw, 5.25rem);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  background: var(--ink-black);
  color: var(--paper-white);
  max-width: none;
}
.article__cta h2 { margin-top: 0; color: var(--paper-white); max-width: none; }
.article__cta h2::after { background: var(--c-green); }
.article__cta p { color: rgba(255, 255, 255, 0.82); }
.article__cta a { color: var(--paper-white); }
.article__cta .actions { margin-top: 1.6rem; display: flex; justify-content: center; }
.article__cta .pill--solid { background: var(--paper-white); color: var(--ink-black); text-decoration: none; }
.article__cta .pill--solid:hover { background: #e7e7e7; }

/* About-page profile portrait */
.about-portrait {
  display: block;
  width: clamp(184px, 42vw, 268px);
  height: auto;
  margin: 0 auto 2.25rem;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* Display scale + gradient headings (/about) — Apple-style type ramp */
.article--display p.article__lead {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.35;
  max-width: 42rem;
}
.article--display h2 {
  font-size: clamp(2.3rem, 5.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.015em;
  max-width: none;
  color: var(--ink-black);
}
.article--display p { font-size: 1.2rem; line-height: 1.7; }
.article--display li { font-size: 1.2rem; line-height: 1.6; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .article--display h2 {
    background-image: linear-gradient(90deg, #0a0a14 0%, #8579ab 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* Light gradient on the dark CTA band */
  .article--display .article__cta h2 {
    background-image: linear-gradient(90deg, #ffffff 0%, var(--c-green) 100%);
  }
}

.contact-list { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(0, 0, 0, 0.12); }
.contact-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1.5rem; padding-block: clamp(1.25rem, 2.6vw, 1.75rem); border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.contact-row__label { font-size: var(--text-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.contact-row__link { font-size: var(--text-service); font-weight: 300; letter-spacing: -0.01em; color: var(--ink-black); transition: opacity 0.25s ease; }
.contact-row__link:hover { opacity: 0.6; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .blob { animation: none; }
  .atmos::before { animation: none; }
  .marquee__inner { animation: none; }
  .scroll-indicator__ring { animation: none; }
}
