/* ==========================================================================
   Oak Hall Consulting — shared styles
   ========================================================================== */

:root {
  --ink: #0c1d1a;
  --ink-2: #12302a;
  --forest: #1b4237;
  --moss: #2f5d4a;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --paper-3: #e0d7c5;
  --white: #fffdf9;
  --teal: #3fd0ba;
  --teal-deep: #11806f;
  --amber: #f2a541;
  --muted: #5d6c67;
  --muted-light: rgba(244, 239, 230, 0.66);
  --line: rgba(12, 29, 26, 0.14);
  --line-light: rgba(244, 239, 230, 0.16);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 4.8rem);
  --step-5: clamp(3.2rem, 2.2rem + 5.2vw, 7.2rem);

  --radius: 22px;
  --radius-lg: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

em {
  font-style: italic;
}

::selection {
  background: var(--teal);
  color: var(--ink);
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--teal);
  color: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 11vw, 160px);
  position: relative;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--sand {
  background: var(--paper-2);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.section--dark .eyebrow,
.on-dark .eyebrow {
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.display {
  font-size: var(--step-5);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.h-xl {
  font-size: var(--step-4);
}

.h-lg {
  font-size: var(--step-3);
}

.h-md {
  font-size: var(--step-2);
}

.serif-accent {
  font-style: italic;
  font-weight: 300;
  color: var(--teal-deep);
}

.section--dark .serif-accent,
.on-dark .serif-accent {
  color: var(--teal);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

.section--dark .lede,
.on-dark .lede {
  color: var(--muted-light);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--teal);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: none;
}

.btn:hover,
.btn:focus-visible {
  color: var(--ink);
}

.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--primary {
  --btn-bg: var(--teal);
  --btn-fg: var(--ink);
}

.btn--primary::before {
  background: var(--paper);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border-color: currentColor;
}

.btn--sm {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding-bottom: 4px;
}

.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.link-line:hover::after {
  transform: scaleX(0);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s, height 0.4s var(--ease), box-shadow 0.4s;
}

body[data-hero="dark"] .site-header:not(.is-solid) {
  color: var(--paper);
}

.site-header.is-solid {
  --header-h: 70px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  transition: transform 0.6s var(--ease);
}

.bm-accent {
  fill: var(--teal);
}

.brand:hover .brand-mark {
  transform: rotate(-12deg);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}

.brand-word small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.96rem;
  transition: background 0.3s;
}

.main-nav a:hover {
  background: color-mix(in srgb, currentColor 9%, transparent);
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.staff-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  opacity: 0.8;
  padding: 8px 4px;
}

.staff-link svg {
  width: 16px;
  height: 16px;
}

.staff-link:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.menu-toggle span:first-child {
  top: 19px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0% at calc(100% - 48px) 42px);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 48px) 42px);
  visibility: visible;
}

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

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  line-height: 1.15;
  padding-block: 6px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mobile-menu nav a span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal);
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted-light);
}

.mobile-menu-foot a {
  color: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  color: var(--paper) !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.08);
  animation: heroDrift 26s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2%, -1%, 0);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 29, 26, 0.55) 0%, rgba(12, 29, 26, 0) 30%),
    linear-gradient(0deg, rgba(12, 29, 26, 0.96) 6%, rgba(12, 29, 26, 0.35) 52%, rgba(12, 29, 26, 0.1) 100%),
    linear-gradient(90deg, rgba(12, 29, 26, 0.7) 0%, rgba(12, 29, 26, 0) 60%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-content {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.hero-title {
  font-size: clamp(3rem, 1.8rem + 6.4vw, 8.4rem);
  line-height: 0.94;
  letter-spacing: -0.028em;
  max-width: 12ch;
  margin-top: 26px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.2s var(--ease) forwards;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero-title .line:nth-child(3) > span {
  animation-delay: 0.24s;
}

@keyframes lineUp {
  to {
    transform: none;
  }
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(32px, 5vw, 64px);
}

.rotator {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  max-width: 30ch;
  min-height: 2.5em;
  opacity: 0;
  animation: fadeIn 1s 0.6s forwards;
}

.rotator-prefix {
  color: var(--muted-light);
}

.rotator-word {
  display: inline;
  font-style: italic;
  color: var(--teal);
  border-bottom: 1px solid rgba(63, 208, 186, 0.5);
}

.rotator-word .wd {
  display: inline-block;
  white-space: nowrap;
}

.rotator-word .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: chIn 0.5s var(--ease) forwards;
}

@keyframes chIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.rotator-word.is-out {
  transition: opacity 0.35s, filter 0.35s;
  opacity: 0;
  filter: blur(6px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeIn 1s 0.8s forwards;
}

.hero-cta .btn--ghost {
  color: var(--paper);
}

.hero-strip {
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.hero-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 18px;
}

.hero-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.hero-strip li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--line-light);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--teal);
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  to {
    top: 110%;
  }
}

/* ==========================================================================
   Scroll-lit statement
   ========================================================================== */

.statement {
  flex: 1 1 620px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.2rem + 3vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.statement .w {
  color: color-mix(in srgb, var(--ink) 18%, transparent);
  transition: color 0.4s;
}

.statement .w.is-lit {
  color: var(--ink);
}

.statement .w.is-lit.accent {
  color: var(--teal-deep);
  font-style: italic;
}

.statement-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  align-items: flex-end;
  justify-content: space-between;
}

.statement-aside {
  flex: 0 1 320px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--muted);
}

/* ==========================================================================
   Switchboard (services index)
   ========================================================================== */

.switchboard-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.switchboard {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  counter-reset: svc;
}

.switchboard li {
  border-bottom: 1px solid var(--line-light);
}

.switchboard a {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 2.6vw, 34px) 0;
  overflow: hidden;
}

.switchboard a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(63, 208, 186, 0.14), rgba(63, 208, 186, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
  z-index: 0;
}

.switchboard a:hover::before,
.switchboard a:focus-visible::before {
  transform: none;
}

.switchboard a > * {
  position: relative;
  z-index: 1;
}

.sb-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
  width: 3ch;
  flex-shrink: 0;
}

.sb-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 2.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  flex: 1;
  transition: transform 0.6s var(--ease), color 0.4s;
}

.switchboard a:hover .sb-title {
  transform: translateX(18px);
  font-style: italic;
}

.sb-claim {
  max-width: 30ch;
  color: var(--muted-light);
  font-size: 0.96rem;
  line-height: 1.45;
  text-align: right;
}

.sb-switch {
  flex-shrink: 0;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  position: relative;
  transition: background 0.4s, border-color 0.4s;
}

.sb-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted-light);
  transition: transform 0.5s var(--ease), background 0.4s, box-shadow 0.4s;
}

.switchboard a:hover .sb-switch,
.switchboard a:focus-visible .sb-switch {
  background: rgba(63, 208, 186, 0.18);
  border-color: var(--teal);
}

.switchboard a:hover .sb-switch::after,
.switchboard a:focus-visible .sb-switch::after {
  transform: translateX(24px);
  background: var(--teal);
  box-shadow: 0 0 18px var(--teal);
}

.sb-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: clamp(240px, 22vw, 340px);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.6) rotate(-6deg);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.sb-preview.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(-3deg);
}

.sb-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 0.45s, transform 0.8s var(--ease);
}

.sb-preview img.is-active {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Journey (horizontal pinned)
   ========================================================================== */

.journey {
  position: relative;
  background: var(--paper);
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vh, 60px);
}

.journey-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.journey-head h2 {
  max-width: 14ch;
}

.journey-meter {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.journey-meter b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  min-width: 2ch;
  text-align: right;
}

.journey-viewport {
  position: relative;
}

.journey-track {
  position: relative;
  display: flex;
  gap: clamp(40px, 6vw, 110px);
  width: max-content;
  padding-inline: var(--gutter) 30vw;
  padding-top: 64px;
  will-change: transform;
}

.journey-wire {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}

.journey-wire span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal) 70%, var(--amber));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.journey-wire span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(242, 165, 65, 0.22), 0 0 30px var(--amber);
}

.stop {
  position: relative;
  width: clamp(270px, 30vw, 420px);
  flex-shrink: 0;
  opacity: 0.38;
  transition: opacity 0.6s var(--ease);
}

.stop:nth-child(odd) {
  margin-top: clamp(0px, 6vh, 70px);
}

.stop::before {
  content: "";
  position: absolute;
  top: -54px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.stop:nth-child(odd)::before {
  top: calc(-54px - clamp(0px, 6vh, 70px));
}

.stop::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -36px;
  width: 1px;
  height: 26px;
  background: var(--line);
}

.stop:nth-child(odd)::after {
  top: calc(-36px - clamp(0px, 6vh, 70px));
  height: calc(26px + clamp(0px, 6vh, 70px));
}

.stop.is-lit {
  opacity: 1;
}

.stop.is-lit::before {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(63, 208, 186, 0.2);
}

.stop-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 4vw, 7.5rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
  transition: color 0.6s;
}

.stop.is-lit .stop-num {
  color: var(--ink);
}

.stop h3 {
  font-size: var(--step-2);
  margin: 18px 0 12px;
}

.stop p {
  color: var(--muted);
  max-width: 36ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.tags li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.section--dark .tags li,
.on-dark .tags li {
  border-color: var(--line-light);
  color: var(--muted-light);
}

/* ==========================================================================
   Numbers (asymmetric meter field)
   ========================================================================== */

.meter-field {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 64px) clamp(40px, 7vw, 120px);
}

.meter-intro {
  flex: 1 1 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.meter {
  position: relative;
  flex: 0 1 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  min-width: 220px;
}

.meter:nth-of-type(2) {
  margin-top: clamp(0px, 10vw, 140px);
}

.meter:nth-of-type(3) {
  margin-top: clamp(0px, 3vw, 40px);
}

.meter:nth-of-type(4) {
  margin-left: clamp(0px, 14vw, 220px);
}

.meter:nth-of-type(5) {
  margin-top: clamp(0px, 7vw, 100px);
}

.meter-value {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.6rem + 6vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.meter-value sup {
  font-size: 0.36em;
  margin-top: 0.2em;
  margin-left: 0.06em;
  color: var(--teal-deep);
  font-style: italic;
}

.meter-label {
  margin-top: 14px;
  max-width: 24ch;
  color: var(--muted);
}

.meter-bar {
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--teal-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease);
}

.meter.is-in .meter-bar {
  transform: none;
}

/* ==========================================================================
   Case notes (drag scroller)
   ========================================================================== */

.scroller-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}

.scroller-controls {
  display: flex;
  gap: 10px;
}

.round-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.round-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.section--dark .round-btn:hover {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}

.round-btn svg {
  width: 20px;
  height: 20px;
}

.drag-scroller {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  padding-bottom: 10px;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.drag-scroller::-webkit-scrollbar {
  display: none;
}

.drag-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.drag-scroller.is-dragging a {
  pointer-events: none;
}

.case {
  position: relative;
  flex: 0 0 auto;
  width: min(84vw, 460px);
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  isolation: isolate;
}

.case:nth-child(even) {
  width: min(84vw, 620px);
}

.case img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  pointer-events: none;
}

.case:hover img {
  transform: scale(1.06);
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 29, 26, 0.95) 10%, rgba(12, 29, 26, 0.2) 70%);
}

.case-tag {
  position: absolute;
  top: 26px;
  left: 26px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case h3 {
  font-size: var(--step-2);
  margin-bottom: 14px;
  max-width: 18ch;
}

.case p {
  color: var(--muted-light);
  max-width: 44ch;
}

.case-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.case-steps li {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
}

.case-steps li + li::before {
  content: "→ ";
  color: var(--teal);
}

.case--quote {
  background: var(--teal);
  color: var(--ink);
  justify-content: space-between;
}

.case--quote::after {
  display: none;
}

.case--quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
}

.case--quote .mono {
  opacity: 0.7;
}

/* ==========================================================================
   Founder spotlight
   ========================================================================== */

.spotlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}

.spotlight-media {
  position: relative;
  flex: 1 1 420px;
  max-width: 600px;
  padding-bottom: 80px;
}

.spotlight-media .big {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  width: 82%;
  object-fit: cover;
}

.spotlight-media .small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 8px solid var(--paper);
  box-shadow: 0 30px 60px rgba(12, 29, 26, 0.18);
}

.section--sand .spotlight-media .small {
  border-color: var(--paper-2);
}

.spotlight-badge {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.spotlight-badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  font-weight: 400;
  text-transform: none;
  color: var(--teal);
}

.spotlight-badge svg {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spotlight-copy {
  flex: 1 1 380px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.spotlight-copy blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.spotlight-copy blockquote::before {
  content: "“";
  display: block;
  font-size: 2.2em;
  line-height: 0.6;
  color: var(--teal-deep);
}

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.signature strong {
  display: block;
  font-weight: 700;
}

.signature span {
  color: var(--muted);
  font-size: 0.92rem;
}

.signature::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--ink);
}

/* ==========================================================================
   Talent band
   ========================================================================== */

.talent-band {
  position: relative;
  overflow: hidden;
}

.talent-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 100px);
  align-items: stretch;
}

.talent-visual {
  position: relative;
  flex: 1 1 380px;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.talent-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-visual .chip-float {
  position: absolute;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(12, 29, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--paper);
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: bob 6s ease-in-out infinite;
}

.talent-visual .chip-float::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.talent-visual .chip-float:nth-of-type(1) {
  top: 12%;
  left: 8%;
}

.talent-visual .chip-float:nth-of-type(2) {
  top: 44%;
  right: 6%;
  animation-delay: -2s;
}

.talent-visual .chip-float:nth-of-type(3) {
  bottom: 10%;
  left: 12%;
  animation-delay: -4s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.talent-copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.talent-paths {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light);
}

.talent-paths a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: var(--step-2);
  transition: color 0.3s, padding 0.5s var(--ease);
}

.talent-paths a small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted-light);
  margin-top: 6px;
}

.talent-paths a:hover {
  color: var(--teal);
  padding-left: 14px;
}

.talent-paths svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease);
}

.talent-paths a:hover svg {
  transform: rotate(-45deg);
}

/* ==========================================================================
   Clients marquee
   ========================================================================== */

.clients-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 48px;
}

.marquee {
  --gap: 18px;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee + .marquee {
  margin-top: var(--gap);
}

.marquee-track {
  flex-shrink: 0;
  display: flex;
  gap: var(--gap);
  animation: marquee 48s linear infinite;
}

.marquee--reverse .marquee-track {
  animation-direction: reverse;
}

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

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.logo-chip {
  flex-shrink: 0;
  width: 220px;
  height: 104px;
  border-radius: 20px;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 14px 22px;
  border: 1px solid var(--line);
}

.logo-chip img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.7;
  transition: filter 0.4s, opacity 0.4s;
}

.logo-chip:hover img {
  filter: none;
  opacity: 1;
}

/* ==========================================================================
   CTA + footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.site-footer .serif-accent,
.site-footer .eyebrow {
  color: var(--teal);
}

.footer-cta {
  padding-block: clamp(90px, 12vw, 180px) clamp(60px, 8vw, 110px);
  border-bottom: 1px solid var(--line-light);
}

.footer-cta h2 {
  font-size: clamp(3rem, 1.6rem + 7vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  max-width: 11ch;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 48px;
}

.mail-big {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem);
  font-style: italic;
  color: var(--teal);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(63, 208, 186, 0.4);
  transition: color 0.3s;
}

.mail-big:hover {
  color: var(--paper);
}

.magnet {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.4s var(--ease), background 0.3s;
}

.magnet:hover {
  background: var(--paper);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding-block: 64px;
}

.footer-brand {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--muted-light);
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px clamp(40px, 6vw, 100px);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted-light);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px 34px;
  border-top: 1px solid var(--line-light);
  font-size: 0.84rem;
  color: var(--muted-light);
}

.footer-giant {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 22rem);
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.12);
  white-space: nowrap;
  text-align: center;
  user-select: none;
  margin-bottom: -0.12em;
}

/* ==========================================================================
   Inner page hero
   ========================================================================== */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(60px, 9vw, 130px));
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
}

.page-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 80px;
}

.page-hero h1 {
  margin-top: 22px;
  max-width: 13ch;
}

.page-hero .lede {
  max-width: 40ch;
}

.page-hero--dark {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.page-hero--image {
  min-height: 86svh;
  display: flex;
  align-items: flex-end;
}

.page-hero--image > .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero--image > .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(12, 29, 26, 0.95) 8%, rgba(12, 29, 26, 0.25) 70%),
    linear-gradient(90deg, rgba(12, 29, 26, 0.75), transparent 70%);
}

.page-hero--image .container {
  width: 100%;
}

/* ==========================================================================
   Services page — chapter nav + sticky story
   ========================================================================== */

.chapter-nav {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}

.chapter-nav ul {
  list-style: none;
  margin: 0;
  padding: 12px var(--gutter);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1360px;
  margin-inline: auto;
}

.chapter-nav ul::-webkit-scrollbar {
  display: none;
}

.chapter-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.chapter-nav a span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-deep);
}

.chapter-nav a:hover {
  border-color: var(--line);
}

.chapter-nav a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.chapter-nav a.is-active span {
  color: var(--teal);
}

.story {
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  align-items: flex-start;
}

.story-visual {
  position: sticky;
  top: 150px;
  flex: 0 0 44%;
  height: calc(100vh - 190px);
  max-height: 760px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
}

.story-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}

.story-visual img.is-active {
  opacity: 1;
  transform: none;
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 29, 26, 0.75), transparent 50%);
}

.story-index {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 2;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.story-index b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 3rem + 4vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.story-index span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
}

.story-progress {
  position: absolute;
  top: 28px;
  left: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.story-progress i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(244, 239, 230, 0.25);
  overflow: hidden;
  position: relative;
}

.story-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.story-progress i.is-done::after {
  transform: none;
}

.story-chapters {
  flex: 1;
  min-width: 0;
}

.chapter {
  min-height: 82vh;
  padding-block: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.chapter:last-child {
  border-bottom: 0;
}

.chapter-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.chapter h2 {
  font-size: var(--step-4);
}

.chapter .claim {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--moss);
}

.chapter p {
  color: var(--muted);
  max-width: 54ch;
}

.chapter-img-mobile {
  display: none;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.deliver-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.deliver-list li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.deliver-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.55em;
  width: 14px;
  height: 2px;
  background: var(--teal-deep);
}

/* ==========================================================================
   About — reach line, people wave, values
   ========================================================================== */

.reach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reach span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.reach span.home {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.reach i {
  width: clamp(20px, 4vw, 56px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px);
  opacity: 0.5;
}

.founder {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 7vw, 110px);
  align-items: flex-start;
}

.founder-portrait {
  position: relative;
  flex: 1 1 360px;
  max-width: 520px;
}

.founder-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 280px 280px var(--radius-lg) var(--radius-lg);
}

.founder-portrait figcaption {
  position: absolute;
  left: -14px;
  bottom: 36px;
  background: var(--paper);
  color: var(--ink);
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.founder-portrait figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.founder-portrait figcaption span {
  font-size: 0.86rem;
  color: var(--muted);
}

.founder-copy {
  flex: 1 1 420px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(0px, 6vw, 80px);
}

.founder-copy p {
  color: var(--muted-light);
}

.founder-copy .pull {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--paper);
}

.founder-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.founder-facts div {
  display: flex;
  flex-direction: column;
}

.founder-facts b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1;
}

.founder-facts span {
  font-size: 0.86rem;
  color: var(--muted-light);
}

.people-wave {
  display: flex;
  gap: 20px;
  padding: 40px var(--gutter) 90px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
}

.people-wave::-webkit-scrollbar {
  display: none;
}

.person {
  flex: 0 0 auto;
  width: clamp(200px, 19vw, 260px);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  transform: translateY(var(--y, 0));
}

.person:nth-child(4n + 1) {
  --y: 0px;
}

.person:nth-child(4n + 2) {
  --y: 60px;
}

.person:nth-child(4n + 3) {
  --y: 18px;
}

.person:nth-child(4n + 4) {
  --y: 82px;
}

.person-photo {
  position: relative;
  border-radius: 140px 140px 24px 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 0.6s, transform 0.9s var(--ease);
  pointer-events: none;
}

.person:hover .person-photo img,
.person:focus-visible .person-photo img {
  filter: none;
  transform: scale(1.05);
}

.person-langs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}

.person:hover .person-langs,
.person:focus-visible .person-langs {
  opacity: 1;
  transform: none;
}

.person-langs span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 29, 26, 0.75);
  color: var(--paper);
}

.person-name {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.person-role {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.equality {
  display: flex;
  flex-wrap: wrap;
  gap: 50px clamp(40px, 7vw, 120px);
  align-items: flex-start;
}

.equality h2 {
  flex: 1 1 460px;
  max-width: 15ch;
}

.equality-figures {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
}

.eq-row {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.eq-row:first-child {
  border-top: 1px solid var(--line);
}

.eq-row b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 2rem + 2vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 3.2ch;
}

.eq-row span {
  color: var(--muted);
}

.split-bar {
  display: flex;
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  width: 120px;
  flex-shrink: 0;
  margin-left: auto;
}

.split-bar i:first-child {
  background: var(--teal-deep);
  flex: 1;
}

.split-bar i:last-child {
  background: var(--amber);
  flex: 1;
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: v;
}

.values li {
  counter-increment: v;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light);
}

.values li:nth-child(2) {
  padding-left: clamp(0px, 8vw, 120px);
}

.values li:nth-child(3) {
  padding-left: clamp(0px, 16vw, 240px);
}

.values li:nth-child(4) {
  padding-left: clamp(0px, 24vw, 360px);
}

.values li::before {
  content: "0" counter(v);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
}

.values h3 {
  font-size: var(--step-3);
}

.values p {
  flex-basis: 100%;
  max-width: 48ch;
  color: var(--muted-light);
  padding-left: calc(2ch + 40px);
}

/* Person drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 29, 26, 0.5);
  opacity: 0;
  transition: opacity 0.4s;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100%);
  background: var(--paper);
  padding: 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer-scrim {
  opacity: 1;
}

.drawer.is-open .drawer-panel {
  transform: none;
}

.drawer-close {
  align-self: flex-end;
}

.drawer-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
}

.drawer-panel h3 {
  font-size: var(--step-3);
}

.drawer-panel p {
  color: var(--muted);
}

/* ==========================================================================
   People (talent) page
   ========================================================================== */

.audience-switch {
  display: inline-flex;
  position: relative;
  padding: 6px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.1);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.audience-switch button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--paper);
  transition: color 0.4s;
}

.audience-switch button[aria-pressed="true"] {
  color: var(--ink);
}

.audience-switch .thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  border-radius: 999px;
  background: var(--teal);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

[data-audience-panel][hidden] {
  display: none !important;
}

.swap-text {
  transition: opacity 0.35s, transform 0.5s var(--ease);
}

.swap-text.is-swapping {
  opacity: 0;
  transform: translateY(10px);
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  counter-reset: f;
  border-top: 1px solid var(--line);
}

.flow-step {
  flex: 1 1 280px;
  padding: 36px 36px 36px 0;
  position: relative;
}

.flow-step + .flow-step {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.flow-step b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  margin-bottom: 20px;
}

.flow-step h3 {
  font-size: var(--step-2);
  margin-bottom: 10px;
}

.flow-step p {
  color: var(--muted);
}

/* Team builder */

.builder {
  display: flex;
  flex-wrap: wrap;
  gap: 40px clamp(40px, 6vw, 90px);
  align-items: flex-start;
}

.builder-pick {
  flex: 1 1 520px;
}

.builder-pick h2 {
  margin-bottom: 18px;
}

.role-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--paper);
  font-weight: 500;
  font-size: 0.96rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.role-chip::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--teal);
  transition: transform 0.4s var(--ease);
}

.role-chip:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.role-chip[aria-pressed="true"] {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}

.role-chip[aria-pressed="true"]::before {
  content: "✓";
  color: var(--ink);
}

.builder-tray {
  flex: 1 1 340px;
  max-width: 460px;
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tray-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tray-count b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--teal);
}

.tray-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 60px;
}

.tray-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(244, 239, 230, 0.06);
  font-size: 0.92rem;
  animation: trayIn 0.5s var(--ease);
}

.tray-list li button {
  border: 0;
  background: none;
  color: var(--muted-light);
  font-size: 1.1rem;
  line-height: 1;
}

.tray-list .empty {
  background: none;
  border: 1px dashed var(--line-light);
  color: var(--muted-light);
  justify-content: center;
}

@keyframes trayIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.segmented label {
  position: relative;
}

.segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.segmented span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.segmented input:checked + span {
  background: var(--paper);
  color: var(--ink);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 10px;
  display: block;
}

/* Roles accordion */

.roles {
  border-top: 1px solid var(--line);
}

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

.role summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 26px 0;
  cursor: pointer;
}

.role summary::-webkit-details-marker {
  display: none;
}

.role-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  flex: 1 1 300px;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
}

.role-plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease), background 0.3s;
}

.role-plus::before,
.role-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.role-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.role[open] .role-plus {
  transform: rotate(45deg);
  background: var(--teal);
  border-color: var(--teal);
}

.role-body {
  padding: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 60px;
  color: var(--muted);
}

.role-body p {
  flex: 1 1 380px;
  max-width: 60ch;
}

.role-body .btn {
  align-self: flex-start;
}

/* CV upload */

.cv-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px clamp(40px, 6vw, 100px);
  align-items: flex-start;
}

.cv-intro {
  flex: 1 1 320px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cv-form {
  flex: 1 1 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.field-row > .field {
  flex: 1 1 220px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px rgba(63, 208, 186, 0.2);
}

.field .error-msg {
  font-size: 0.8rem;
  color: #b3412b;
  min-height: 1em;
}

.dropzone {
  position: relative;
  border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone.is-over {
  border-color: var(--teal-deep);
  background: rgba(63, 208, 186, 0.08);
  transform: scale(1.01);
}

.dropzone.has-file {
  border-style: solid;
  border-color: var(--teal-deep);
}

.dropzone-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
}

.dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.dropzone strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
}

.dropzone small {
  color: var(--muted);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
}

.check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--teal-deep);
  flex-shrink: 0;
}

.form-status {
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  display: none;
}

.form-status.is-ok {
  display: block;
  background: rgba(63, 208, 186, 0.16);
  color: var(--ink);
}

.form-status.is-error {
  display: block;
  background: rgba(179, 65, 43, 0.12);
  color: #7d2a1a;
}

/* ==========================================================================
   Contact — sentence form
   ========================================================================== */

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  min-height: 100svh;
}

.contact-side {
  position: relative;
  flex: 1 1 380px;
  max-width: 560px;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 60px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
  isolation: isolate;
}

.contact-side > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.contact-side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 29, 26, 0.95) 20%, rgba(12, 29, 26, 0.5));
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details a,
.contact-details div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}

.contact-details small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-details span {
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.contact-details a:hover span {
  color: var(--teal);
}

.contact-main {
  flex: 1 1 520px;
  padding: calc(var(--header-h) + 60px) var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.madlib {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.3vw, 3rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.madlib .blank {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

.madlib input,
.madlib select {
  font: inherit;
  font-style: italic;
  color: var(--teal-deep);
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  padding: 0 4px;
  min-width: 4ch;
  max-width: 100%;
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.madlib select {
  cursor: pointer;
  padding-right: 1.1em;
  background-image: linear-gradient(45deg, transparent 50%, var(--teal-deep) 50%), linear-gradient(135deg, var(--teal-deep) 50%, transparent 50%);
  background-position: calc(100% - 0.55em) 55%, calc(100% - 0.3em) 55%;
  background-size: 0.25em 0.25em;
  background-repeat: no-repeat;
}

.madlib input::placeholder {
  color: color-mix(in srgb, var(--ink) 28%, transparent);
}

.madlib input:focus,
.madlib select:focus {
  outline: none;
  border-color: var(--teal-deep);
}

.madlib input.is-invalid {
  border-color: #b3412b;
}

.madlib-extra {
  max-width: 640px;
}

.madlib-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.madlib-actions small {
  color: var(--muted);
  max-width: 40ch;
}

/* ==========================================================================
   Reveal + misc
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.img-reveal {
  clip-path: inset(12% 12% 12% 12% round 40px);
  transition: clip-path 1.4s var(--ease);
}

.img-reveal.is-in {
  clip-path: inset(0 0 0 0 round 0px);
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav,
  .staff-link,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .sb-claim {
    display: none;
  }
}

@media (max-width: 900px) {
  .journey {
    height: auto !important;
  }

  .journey-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding-block: 100px;
  }

  .journey-track {
    flex-direction: column;
    width: auto;
    transform: none !important;
    padding: 0 var(--gutter) 0 calc(var(--gutter) + 40px);
    gap: 56px;
  }

  .journey-wire {
    top: 0;
    bottom: 0;
    left: calc(var(--gutter) + 8px);
    right: auto;
    width: 2px;
    height: auto;
  }

  .journey-wire span {
    transform-origin: top;
    transform: scaleY(var(--p, 0));
  }

  .journey-wire span::after {
    right: -5px;
    top: auto;
    bottom: -6px;
  }

  .stop,
  .stop:nth-child(odd) {
    width: auto;
    margin-top: 0;
  }

  .stop::before,
  .stop:nth-child(odd)::before {
    top: 10px;
    left: -40px;
  }

  .stop::after,
  .stop:nth-child(odd)::after {
    display: none;
  }

  .story-visual {
    display: none;
  }

  .chapter-img-mobile {
    display: block;
  }

  .chapter {
    min-height: 0;
  }

  .meter:nth-of-type(n) {
    margin: 0;
  }

  .values li:nth-child(n) {
    padding-left: 0;
  }

  .values p {
    padding-left: 0;
  }

  .flow-step,
  .flow-step + .flow-step {
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .builder-tray {
    position: relative;
    top: 0;
    max-width: none;
  }

  .contact-side {
    max-width: none;
    padding-top: calc(var(--header-h) + 40px);
  }

  .contact-main {
    padding-top: 60px;
  }
}

@media (max-width: 640px) {
  .hero-strip ul li:nth-child(n + 4) {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .switchboard a {
    gap: 14px;
  }

  .sb-switch {
    width: 40px;
    height: 24px;
  }

  .sb-switch::after {
    width: 14px;
    height: 14px;
  }

  .case {
    min-height: 480px;
    padding: 24px;
  }

  .spotlight-badge {
    width: 100px;
    height: 100px;
  }

  .spotlight-badge b {
    font-size: 1.7rem;
  }

  .footer-cta-row .magnet {
    display: none;
  }

  .madlib {
    line-height: 1.75;
  }
}

@media (hover: none) {
  .sb-preview {
    display: none;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .img-reveal {
    clip-path: none;
  }

  .hero-canvas {
    display: none;
  }
}
