/* ============================================================
   Human School — monochrome editorial, alternating black/white
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #f2f2f2;
  --paper: #fafaf8;
  --gray: #8b8b8b;
  --gray-dark: #5c5c5c;
  --line-dark: #232323;
  --line-light: #e2e0da;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--white); color: var(--black); }
.sec--light ::selection { background: var(--black); color: var(--white); }

/* ---------- Section themes ---------- */

.sec--dark {
  background: var(--black);
  color: var(--white);
}

.sec--light {
  background: var(--paper);
  color: var(--black);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

h1 em { font-style: normal; color: var(--gray); }

.bar {
  display: block;
  width: 36px;
  height: 9px;
  background: currentColor;
  margin-bottom: 26px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  margin-bottom: 18px;
}
.sec--dark .eyebrow { color: var(--gray); }
.sec--light .eyebrow { color: var(--gray-dark); }

.lead {
  font-size: 1.12rem;
  max-width: 33em;
  margin-top: 24px;
}
.sec--dark .lead { color: #b9b9b9; }

.section-head { max-width: 760px; margin-bottom: 64px; }

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

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 13px 30px;
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

/* solid: white on dark sections, black on light sections */
.btn-solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-solid:hover { background: transparent; color: var(--white); transform: translateY(-2px); }

.sec--light .btn-solid { background: var(--black); color: var(--white); border-color: var(--black); }
.sec--light .btn-solid:hover { background: transparent; color: var(--black); }

/* inverse: black button used inside light panels */
.btn-inverse { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-inverse:hover { background: transparent; color: var(--black); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line-dark); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 16px 36px; font-size: 1.02rem; }

/* arrow slides in on large CTAs */
.btn-lg::after {
  content: "\2192";
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  vertical-align: middle;
  transition: max-width 0.25s ease, opacity 0.25s ease, margin-left 0.25s ease;
}
.btn-lg:hover::after {
  max-width: 1.2em;
  opacity: 1;
  margin-left: 10px;
}
.btn-nav { padding: 9px 22px; font-size: 0.88rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark { height: 34px; width: auto; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
}
.brand-name span { color: var(--gray); font-weight: 500; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #b0b0b0;
  transition: color 0.15s ease;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: 100px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 0%, #181818, transparent 70%),
    var(--black);
}

.hero-caption {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gray);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-copy .bar,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .eyebrow,
.hero-actions {
  animation: rise 0.8s ease both;
}
.hero-copy .lead { animation-delay: 0.15s; }
.hero-actions { animation-delay: 0.28s; }

.hero-art { animation: rise 0.9s ease 0.2s both; }

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

/* ---------- Build sprint card (interactive hero graphic) ---------- */

.build-card {
  background: #f4f2ed;
  color: var(--black);
  border-radius: 10px;
  max-width: 470px;
  margin-left: auto;
  padding-bottom: 18px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.build-card:hover { transform: translateY(-4px); }
.build-card:active { transform: translateY(0) scale(0.99); }
.build-card:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.bc-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  border-bottom: 1px solid #dfdcd2;
}

.bc-dot { width: 10px; height: 10px; background: var(--black); }
.bc-dot--gray { background: var(--gray); }
.bc-dot--line { background: transparent; border: 1.5px solid var(--black); }

.bc-title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gray);
}

.bc-body { padding: 26px 26px 8px; }

.bc-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gray);
  margin-bottom: 10px;
}

.bc-problem {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.35;
  min-height: 3.3em;
}

.bc-caret {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  margin-left: 5px;
  background: var(--black);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.bc-progress {
  height: 8px;
  background: #e2dfd5;
  margin: 16px 0 26px;
  overflow: hidden;
}
.bc-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--black);
}
.bc-progress span.is-filling { width: 100%; transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1); }

.bc-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bc-result.is-in { opacity: 1; transform: none; }

.bc-result em {
  font-style: normal;
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  padding-left: 10px;
}

.bc-check {
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  font-size: 0.78rem;
}

.bc-hint {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gray);
}

/* ---------- Ticker marquee ---------- */

.ticker {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  white-space: nowrap;
  color: var(--white);
}

.ticker-track i {
  font-style: normal;
  color: var(--gray-dark);
  font-size: 0.7rem;
}

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

/* ---------- Proof strip ---------- */

.proof { padding: 64px 0; }

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

.proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px 20px;
  transition: background 0.25s ease, color 0.25s ease;
}
.proof-item + .proof-item { border-left: 1px solid var(--line-light); }
.proof-item:hover { background: var(--black); color: var(--white); }
.proof-item:hover .proof-label { color: var(--gray); }

.proof-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
}

.proof-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-dark);
  line-height: 1.55;
}

/* ---------- Method (Vucko-style stacked panels) ---------- */

.method-intro { padding: 120px 0 140px; }

.method-scroll-hint {
  margin-top: 34px;
  font-size: 0.9rem;
  color: var(--gray);
}

.method-stack { position: relative; }

.step-panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 92px 0 56px;
  overflow: hidden;
  box-shadow: 0 -40px 90px rgba(0, 0, 0, 0.4);
}

.step-panel--light { background: var(--paper); color: var(--black); }
.step-panel--dark { background: var(--black); color: var(--white); }

/* giant outlined numeral, cropped by the panel edge */
.sp-num {
  position: absolute;
  right: -0.06em;
  bottom: -0.18em;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22rem, 62svh, 40rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  pointer-events: none;
  transition: transform 1s ease, opacity 1s ease;
  transform: translateY(40px);
  opacity: 0;
}
.step-panel--light .sp-num { -webkit-text-stroke: 2px #d8d4c9; }
.step-panel--dark .sp-num { -webkit-text-stroke: 2px #232323; }
.step-panel.is-live .sp-num { transform: translateY(0); opacity: 1; }

.sp-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.sp-toprow {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.step-panel--light .sp-toprow { border-color: #e0ddd2; color: #a5a196; }
.step-panel--dark .sp-toprow { border-color: #1f1f1f; color: var(--gray-dark); }

.sp-content { max-width: 800px; }

.sp-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 22px;
}
.sp-label i {
  font-style: normal;
  font-size: 0.55rem;
  vertical-align: middle;
  margin: 0 10px;
  color: var(--gray);
}

.sp-content h3 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.sp-copy {
  max-width: 58ch;
  font-size: 1.04rem;
}
.step-panel--light .sp-copy { color: var(--gray-dark); }
.step-panel--dark .sp-copy { color: #a8a8a8; }

.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.sp-tags span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  border: 1px solid;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.step-panel--light .sp-tags span { border-color: #d4d1c9; color: var(--gray-dark); }
.step-panel--dark .sp-tags span { border-color: #2e2e2e; color: var(--gray); }
.step-panel--light .sp-tags span:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.step-panel--dark .sp-tags span:hover { background: var(--white); border-color: var(--white); color: var(--black); }

/* staggered entrance when a panel takes the screen */
.sp-content .sp-label,
.sp-content h3,
.sp-content .sp-copy,
.sp-content .sp-tags {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.step-panel.is-live .sp-content .sp-label { opacity: 1; transform: none; }
.step-panel.is-live .sp-content h3 { opacity: 1; transform: none; transition-delay: 0.08s; }
.step-panel.is-live .sp-content .sp-copy { opacity: 1; transform: none; transition-delay: 0.16s; }
.step-panel.is-live .sp-content .sp-tags { opacity: 1; transform: none; transition-delay: 0.24s; }

/* day rail */
.sp-rail {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rail-track { display: flex; gap: 7px; }

.rail-track i {
  width: 30px;
  height: 8px;
}
.step-panel--light .rail-track i { background: #e0ddd2; }
.step-panel--dark .rail-track i { background: #222222; }
.step-panel--light .rail-track i.on { background: var(--black); }
.step-panel--dark .rail-track i.on { background: var(--white); }

.rail-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gray);
}
.step-panel--light .rail-text { color: #a5a196; }

/* ---------- Cards (leave-with / beliefs) ---------- */

.leave-with { padding: 110px 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--line-light);
  background: #ffffff;
  padding: 34px 30px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.card:hover p { color: #b0b0b0; }
.card:hover .card-icon { background: var(--white); }
.card:hover .card-icon svg { stroke: var(--black); }

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.25s ease;
}
.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease;
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--gray-dark); font-size: 0.96rem; transition: color 0.25s ease; }

/* staggered reveal inside card grids */
.card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* dark variant (about page beliefs) — inverts to white on hover */
.sec--dark .card { background: var(--black-soft); border-color: var(--line-dark); }
.sec--dark .card:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.sec--dark .card:hover p { color: var(--gray-dark); }
.sec--dark .card:hover .card-icon { background: var(--black); }
.sec--dark .card:hover .card-icon svg { stroke: var(--white); }
.sec--dark .card-icon { background: var(--white); }
.sec--dark .card-icon svg { stroke: var(--black); }
.sec--dark .card p { color: #a8a8a8; }

/* ---------- Closing CTA ---------- */

.closing { padding: 110px 0; }

.closing-panel {
  position: relative;
  text-align: center;
  background: var(--white);
  color: var(--black);
  padding: 84px 48px;
  overflow: hidden;
}

.closing-mark {
  position: absolute;
  right: -34px;
  bottom: -56px;
  height: 240px;
  width: auto;
  opacity: 0.07;
  pointer-events: none;
}

.closing-panel h2 { max-width: 740px; margin: 0 auto 20px; }
.closing-panel p { color: var(--gray-dark); max-width: 540px; margin: 0 auto 36px; }

/* ---------- Footer (editorial) ---------- */

.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding: 80px 0 36px;
}

/* Oversized outlined wordmark closing the footer. An SVG rather than styled
   text so the glyphs and the hairline stroke scale together off the viewBox:
   it always sets on one line at full width, at every screen size, with no
   breakpoints and no wrapping. y=125 on a 125-tall viewBox drops the baseline
   onto the bottom edge, so the letters sit flush against the page end.
   Left hollow on purpose — where the letterforms overlap, the crossing
   strokes read as a blueprint, which is the whole effect. */
.footer-word {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  user-select: none;
}

.footer-word text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 125px;
  /* transparent, not none, so the fill can interpolate on hover */
  fill: transparent;
  /* --white at low alpha, so the mark sits just above the ground */
  stroke: rgba(242, 242, 242, 0.18);
  stroke-width: 1.4;
  transition: fill 0.5s ease, stroke 0.5s ease;
}
/* fills solid on hover — the outline-to-inversion move the cards make */
.footer-word:hover text {
  fill: var(--white);
  stroke: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand-col .brand { margin-bottom: 20px; }
.footer-line { color: var(--gray); font-size: 0.95rem; max-width: 30em; }

.footer-col-head {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: #b0b0b0;
  width: fit-content;
  transition: color 0.15s ease, transform 0.15s ease;
}
.footer-links a:hover { color: var(--white); transform: translateX(4px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-dark);
}

/* ---------- About page ---------- */

.about-hero { padding: 100px 0 90px; }
.about-hero-copy { max-width: 780px; }

.story { padding: 110px 0; }

/* Headline holds the left column, the argument runs down the right. The
   ledger underneath spans the full container. */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.story-lede h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.story-copy { padding-top: 8px; }
.story-copy p { color: #454545; margin-bottom: 18px; max-width: 52ch; }
.story-copy p:last-child { margin-bottom: 0; }
.story-copy strong { color: var(--black); }

.beliefs { padding: 110px 0; }
.beliefs-grid { grid-template-columns: repeat(4, 1fr); }

.founder { padding: 110px 0; }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.founder-card {
  background: #ffffff;
  border: 1px solid var(--line-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.founder-card:hover {
  transform: translateY(-6px);
  border-color: var(--black);
  box-shadow: 0 22px 50px rgba(10, 10, 10, 0.12);
}

.founder-portrait {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-portrait span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 8vw, 6.5rem);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px #3a3a3a;
  transition: -webkit-text-stroke-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.founder-card:hover .founder-portrait span {
  color: var(--white);
  -webkit-text-stroke-color: var(--white);
  transform: scale(1.05);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.4s ease;
}
.founder-card:hover .founder-portrait img { transform: scale(1.04); }

.founder-info { padding: 30px 30px 34px; }

.founder-info h3 { font-size: 1.5rem; margin-bottom: 4px; }

.founder-role {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gray-dark);
  margin-bottom: 18px;
}

.founder-info p:not(.founder-role) { color: #454545; margin-bottom: 14px; font-size: 0.97rem; }

.founder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.founder-chips span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 14px;
  border: 1px solid #d4d1c9;
  color: var(--gray-dark);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.founder-chips span:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.founder-links { margin-top: 22px; }
.founder-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}
.founder-links a:hover { opacity: 0.55; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy, .hero-art { min-width: 0; }
  .hero-art { max-width: 470px; width: 100%; margin: 0 auto; }
  .build-card { margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-art { max-width: 420px; margin: 0 auto; }
  .beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

  .sp-num { font-size: clamp(14rem, 42svh, 26rem); }
  .sp-content h3 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    padding: 14px 24px 22px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; font-size: 1.05rem; }
  .site-nav .btn { margin-top: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 72px; }
  .proof { padding: 40px 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { justify-content: flex-start; padding: 18px 4px; }
  .proof-item + .proof-item { border-left: none; border-top: 1px solid var(--line-light); }
  .leave-with, .beliefs, .closing, .story, .founder { padding: 72px 0; }
  .method-intro { padding: 72px 0 84px; }

  /* Keep the layered sticky stack on phones. The panels stay sticky so the
     cards still slide over one another; the content is compressed instead so
     a whole panel fits inside one small-viewport screen without clipping. */
  .step-panel {
    padding: 82px 0 34px;
    box-shadow: 0 -26px 56px rgba(0, 0, 0, 0.42);
  }
  .sp-inner { gap: 22px; }

  .sp-toprow {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    padding-bottom: 12px;
  }
  .sp-label { font-size: 0.8rem; margin-bottom: 12px; }
  .sp-label i { margin: 0 7px; }
  .sp-content h3 { font-size: clamp(2rem, 8.6vw, 2.9rem); margin-bottom: 16px; }
  .sp-copy { font-size: 0.94rem; line-height: 1.58; }
  .sp-tags { margin-top: 18px; gap: 8px; }
  .sp-tags span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 6px 11px;
  }

  .sp-num { font-size: clamp(8rem, 30svh, 13rem); right: -0.04em; bottom: -0.14em; }
  .step-panel--light .sp-num { -webkit-text-stroke: 1.5px #d8d4c9; }
  .step-panel--dark .sp-num { -webkit-text-stroke: 1.5px #232323; }

  .sp-rail { gap: 12px; }
  .rail-track { gap: 5px; }
  .rail-track i { width: 18px; height: 6px; }
  .rail-text { font-size: 0.6rem; letter-spacing: 0.18em; }

  .closing-panel { padding: 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 40px; }
  .footer-bottom { flex-direction: column; }
  .founders-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 30px; }
  .story-copy { padding-top: 0; }
  .founder-info { padding: 24px 22px 28px; }

  /* the wordmark stays whole — just tightened to fit the bar */
  .brand { gap: 9px; }
  .brand-mark { height: 28px; }
  .brand-name { font-size: 0.82rem; letter-spacing: 0.09em; }
}

/* Narrow phones: width-driven trims only. */
@media (max-width: 400px) {
  .container { padding: 0 18px; }

  .bc-body { padding: 22px 20px 8px; }
  .bc-problem { font-size: 1.1rem; }
  .bc-result { flex-wrap: wrap; row-gap: 6px; padding: 12px 14px; }
  .bc-result em { margin-left: 34px; padding-left: 0; }

  .sp-content h3 { font-size: 1.95rem; }
  .sp-tags span { font-size: 0.58rem; padding: 5px 9px; }
  .brand-name { font-size: 0.76rem; letter-spacing: 0.06em; }
  .brand-mark { height: 25px; }
}

/* Short phones (iPhone SE class). Whether a sticky panel clips is a function of
   viewport HEIGHT, not width, so the vertical squeeze keys off max-height —
   a tall 390px phone keeps the roomier type. */
@media (max-width: 640px) and (max-height: 720px) {
  .step-panel { padding: 74px 0 26px; }
  .sp-inner { gap: 16px; }
  .sp-toprow { font-size: 0.54rem; letter-spacing: 0.14em; padding-bottom: 10px; }
  .sp-label { font-size: 0.76rem; margin-bottom: 10px; }
  .sp-content h3 { font-size: 1.8rem; margin-bottom: 12px; }
  .sp-copy { font-size: 0.86rem; line-height: 1.52; }
  .sp-tags { margin-top: 12px; gap: 6px; }
  .sp-tags span { font-size: 0.56rem; padding: 5px 9px; }
  .sp-num { font-size: clamp(7rem, 26svh, 11rem); }
  .rail-track i { width: 14px; height: 5px; }
  .rail-text { font-size: 0.55rem; letter-spacing: 0.14em; }
}

/* Short landscape phones can't fit a full-height sticky panel at all —
   fall back to normal document flow there. */
@media (max-width: 900px) and (max-height: 480px) {
  .step-panel {
    /* relative, not static: .sp-num is absolute and must keep anchoring to
       its own panel, or all six numerals stack up on .method-stack */
    position: relative;
    min-height: 0;
    padding: 48px 0 44px;
    box-shadow: none;
  }
  .sp-num { font-size: 8rem; }
}

/* ============================================================
   FOUNDER CARDS + FULL PROFILES

   The card is a summary; the profile behind it is the detail.
   The whole card is the hit area, but only the name is a real
   button — the ::after stretches that one control over the card
   rather than nesting interactive elements inside each other.
   ============================================================ */

.founder-card { position: relative; }

.founder-info h3 { margin-bottom: 4px; }

.founder-trigger {
  font: inherit;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.founder-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
}
.founder-trigger:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.founder-more {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}
.founder-more em {
  font-style: normal;
  transition: transform 0.25s ease;
}
.founder-card:hover .founder-more em { transform: translateX(6px); }

/* ---------- the layer ----------
   Without JS this is plain document flow and both profiles simply
   read as two more sections. main.js adds .is-enhanced, which is
   what turns it into an overlay. */

.profile-layer.is-enhanced {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.profile-layer.is-enhanced.is-open { display: block; }

.profile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.7);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.profile { padding: 90px 0 100px; }

.profile-layer.is-enhanced .profile {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-left: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  animation: rise 0.5s ease both;
  padding: 76px 0 90px;
}

.profile-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.profile-layer.is-enhanced .profile-inner { padding: 0 44px; }

.profile-close {
  position: absolute;
  top: 22px;
  right: 30px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--white);
  background: none;
  border: 1px solid var(--line-dark);
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.profile-close:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.profile-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ---------- masthead ---------- */

.profile-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

.profile-mark {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px #3a3a3a;
}

.profile-id h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.profile-line {
  color: #c9c9c9;
  font-size: 1.02rem;
  max-width: 62ch;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
}
.profile-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-bottom: 2px solid var(--white);
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}
.profile-links a:hover { opacity: 0.55; }

/* ---------- numbers ---------- */

.profile-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin: 44px 0 12px;
}
.profile-numbers div {
  background: var(--black);
  padding: 24px 22px 26px;
  min-width: 0;
}
.profile-numbers strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.profile-numbers span {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--gray);
}

/* ---------- sections ---------- */

.profile-sec { padding-top: 52px; }

.profile-sec h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gray);
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.profile-subhead { margin-top: 34px; }

.profile-sec p {
  color: #c9c9c9;
  margin-bottom: 16px;
  max-width: 74ch;
}
.profile-sec p strong { color: var(--white); font-weight: 700; }

.profile-sec--split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px;
}

/* what they do in a sprint */
.profile-list { list-style: none; }
.profile-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  color: #c9c9c9;
  font-size: 0.95rem;
}
.profile-list li span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
}

/* year-stamped track record */
.profile-timeline { list-style: none; }
.profile-timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  color: #b4b4b4;
  font-size: 0.93rem;
  line-height: 1.6;
  transition: background 0.15s ease;
}
.profile-timeline li:hover { background: var(--black-soft); }
.profile-timeline li > span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  padding-top: 3px;
  white-space: nowrap;
}
.profile-timeline strong { color: var(--white); font-weight: 700; }

/* build / programme cards */
.profile-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.profile-cards > div {
  background: var(--black);
  padding: 26px 24px 28px;
  min-width: 0;
  transition: background 0.2s ease;
}
.profile-cards > div:hover { background: var(--black-soft); }
.profile-cards h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.profile-cards p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 0;
}
.profile-stack {
  margin-top: 12px !important;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6d6d6d !important;
}

/* credential list */
.profile-plain { list-style: none; }
.profile-plain li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  color: #b4b4b4;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* skill tags — same inversion as the rest of the system */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-tags span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 7px 14px;
  border: 1px solid var(--line-dark);
  color: #b4b4b4;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.profile-tags span:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* ---------- profile responsive ---------- */

@media (max-width: 960px) {
  .profile-numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .profile-layer.is-enhanced .profile { padding: 68px 0 76px; }
  .profile-layer.is-enhanced .profile-inner { padding: 0 24px; }
  .profile-head { grid-template-columns: 96px 1fr; gap: 24px; }
  .profile-mark { font-size: 2.1rem; }
  .profile-sec--split { grid-template-columns: 1fr; gap: 34px; }
  .profile-cards { grid-template-columns: 1fr; }
  .profile-list li { grid-template-columns: 1fr; gap: 8px; }
  .profile-timeline li { grid-template-columns: 76px 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .profile { padding: 64px 0 72px; }
  .profile-numbers { grid-template-columns: 1fr; margin: 34px 0 6px; }
  .profile-numbers strong { font-size: 1.9rem; }
  .profile-sec { padding-top: 40px; }
  .profile-close { top: 16px; right: 20px; padding: 9px 13px; letter-spacing: 0.12em; }
  .profile-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .profile-timeline li > span { padding-top: 0; }
}

/* The overlay animates in; reduced motion gets it without the movement. */
@media (prefers-reduced-motion: reduce) {
  .profile-layer.is-enhanced .profile { animation: none; }
}

/* Page behind an open profile must not scroll with it. */
body.has-profile-open { overflow: hidden; }

/* ============================================================
   THE LEDGER
   Replaces the old story illustration. A drawing of the problem
   was decoration; this states the problem twice, once per column,
   and carries the argument itself. Reference: the typographic
   comparison tables on Ploy and Vizcom.
   ============================================================ */

.ledger {
  margin-top: 66px;
  border: 1px solid var(--line-light);
  background: #ffffff;
}

.ledger-head {
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.ledger-col {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  min-width: 0;
}
.ledger-col p {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.ledger-col--old { color: var(--gray); }
.ledger-col--new { color: var(--black); }

.ledger-glyph svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.ledger-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.ledger-arrow svg {
  width: 42px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line-light);
}
.ledger-row:last-of-type { border-bottom: 0; }

.ledger-old,
.ledger-new {
  padding: 19px 26px;
  min-width: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ledger-old {
  display: flex;
  gap: 16px;
  border-right: 1px solid var(--line-light);
  color: var(--gray-dark);
  transition: background 0.25s ease;
}
.ledger-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #bdb9ae;
  padding-top: 3px;
}

/* The right cell inverting is the same move the cards and tags make. */
.ledger-new {
  color: var(--black);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.ledger-row:hover .ledger-new { background: var(--black); color: var(--white); }
.ledger-row:hover .ledger-old { background: var(--paper); }

.ledger-foot {
  padding: 21px 26px;
  border-top: 1px solid var(--line-light);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-dark);
}

/* Rows arrive one after another once the block is on screen. */
.ledger.reveal .ledger-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ledger.is-visible .ledger-row { opacity: 1; transform: none; }
.ledger.is-visible .ledger-row:nth-child(2) { transition-delay: 0.05s; }
.ledger.is-visible .ledger-row:nth-child(3) { transition-delay: 0.11s; }
.ledger.is-visible .ledger-row:nth-child(4) { transition-delay: 0.17s; }
.ledger.is-visible .ledger-row:nth-child(5) { transition-delay: 0.23s; }
.ledger.is-visible .ledger-row:nth-child(6) { transition-delay: 0.29s; }
.ledger.is-visible .ledger-row:nth-child(7) { transition-delay: 0.35s; }

@media (max-width: 860px) {
  .ledger { margin-top: 48px; }
  .ledger-head { grid-template-columns: 1fr; }
  .ledger-arrow { transform: rotate(90deg); padding: 4px 0; }
  .ledger-row { grid-template-columns: 1fr; }
  .ledger-old {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
}

/* ============================================================
   PORTRAIT PHOTOGRAPHY
   Greyscale and held back by default so the two founder cards
   read as a matched pair while one of them is still a monogram.
   The photo comes up to full on hover and the monogram clears
   out of its way.
   ============================================================ */

.founder-portrait--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  filter: grayscale(1) contrast(1.06) brightness(0.78);
  transform: scale(1.02);
  transition: filter 0.55s ease, transform 0.6s ease;
}
.founder-portrait--photo span {
  position: relative;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.5s ease;
}
/* Hover takes the colour off the leash. The one place on the site with a
   hue, and it is photographic rather than a UI accent. See section 1. */
.founder-card:hover .founder-portrait--photo img,
.founder-card:focus-within .founder-portrait--photo img {
  filter: grayscale(0) contrast(1.02) brightness(1);
  transform: scale(1.07);
}
/* A photo needs a floor under the white type that sits below it, and a
   little restraint so it does not shout next to a plain monogram. */
.founder-portrait--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.34) 0%, rgba(10,10,10,0) 42%);
  pointer-events: none;
}

/* A rule that draws itself across the base of the frame on hover. */
.portrait-wipe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 3;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.founder-card:hover .portrait-wipe { transform: scaleX(1); }

/* Same photo, square, at the top of the full profile. */
.profile-mark--photo {
  padding: 0;
  overflow: hidden;
  -webkit-text-stroke: 0;
}
.profile-mark--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.05) brightness(0.88);
  transition: filter 0.55s ease, transform 0.6s ease;
}
.profile-mark--photo:hover img {
  filter: grayscale(0) brightness(1.06);
  transform: scale(1.06);
}


/* Legal pages and privacy controls */
.legal-hero { padding: 100px 0 72px; }
.legal-hero .lead { max-width: 42em; }
.legal-body { padding: 88px 0 110px; }
.legal-copy { max-width: 760px; }
.legal-copy section { padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.legal-copy section:first-child { padding-top: 0; }
.legal-copy h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.legal-copy h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal-copy p + p, .legal-copy ul + p, .legal-copy p + ul { margin-top: 14px; }
.legal-copy ul { padding-left: 1.2em; }
.legal-copy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gray); margin-top: 24px; }
.cookie-banner { position: fixed; z-index: 90; left: 24px; right: 24px; bottom: 24px; max-width: 1100px; margin: auto; background: var(--paper); color: var(--black); border: 2px solid var(--black); box-shadow: 10px 10px 0 rgba(0,0,0,.28); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.5; }
.cookie-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { font: 600 .78rem var(--font-display); text-transform: uppercase; letter-spacing: .08em; border: 2px solid var(--black); padding: 10px 15px; cursor: pointer; background: transparent; color: var(--black); }
.cookie-actions .cookie-accept { background: var(--black); color: var(--white); }
@media (max-width: 640px) { .legal-hero { padding: 72px 0 52px; } .legal-body { padding: 58px 0 72px; } .cookie-banner { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr; padding: 18px; } .cookie-actions { width: 100%; } .cookie-actions button { flex: 1; } }
