/* =====================================================================
   Aleph Ventures — editorial design system (brand-forward rebuild).
   Positioning: the ANTI–private-equity partner for painting companies.
   We yoke up, do the work, and stay for the long haul.
   Foundation: black & white. Accent: Paris-Painting orange, used sparingly
   as a deliberate homage (primary action + origin beat + ox mark only).
   Edit this file directly (it is NOT generated).
   ===================================================================== */

/* ---------------- Fonts (self-hosted Onest) ---------------- */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/onest-300.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/onest-400.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/onest-500.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/onest-600.woff2') format('woff2'); }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/onest-700.woff2') format('woff2'); }

/* ---------------- Tokens ---------------- */
:root {
  --ink: #0a0a0a;          /* near-black — primary */
  --ink-2: #141414;        /* raised dark surface */
  --paper: #ffffff;
  --text: #2c2c2c;         /* body on light */
  --text-soft: #5b5b5b;    /* secondary */
  --muted: #8a8a8a;        /* captions / meta */
  --line: #e6e6e6;         /* hairline on light */
  --line-2: #d6d6d6;       /* stronger hairline on light */
  --line-dark: #262626;    /* hairline on dark */
  --soft: #f5f4f2;         /* warm off-white section */
  --dark-soft: #cccccc;    /* body text on dark */
  --orange: #d17d0d;       /* Paris-Painting homage — accent, used sparingly */
  --orange-ink: #b4650a;   /* accessible orange for text/hover on light */
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1220px;
  --wrap-wide: 1400px;
  --radius: 2px;
}

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange-ink); }

/* Editorial headings — light-weight, tight, oversized */
h1, h2, h3, h4 { font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 400; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--ink); }
em { font-style: italic; }
.section-dark strong, .section-dark b { color: #fff; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Layout ---------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 28px; }
.wrap-wide { max-width: var(--wrap-wide); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: var(--dark-soft); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.measure-tight { max-width: 46ch; }
.measure.center, .measure-tight.center { margin-inline: auto; }

/* Kicker — monochrome editorial label (replaces the old orange eyebrow).
   Optional leading orange tick as the single small accent. */
.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 1.4rem;
}
.section-dark .kicker { color: #fff; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--orange); flex: none; }
.kicker.no-tick::before { display: none; }

.lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--text-soft); font-weight: 400; }
.section-dark .lead { color: #c4c4c4; }
.rule { height: 1px; background: var(--line-2); border: 0; margin: 0; }
.section-dark .rule { background: var(--line-dark); }

/* ---------------- Buttons + link-arrows ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  padding: 16px 32px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  text-align: center; line-height: 1;
}
/* Orange = the homage "go/build" action. */
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ededed; color: var(--ink); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 19px 40px; font-size: .98rem; }

/* Underlined uppercase text link with arrow — monochrome, orange on hover only */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: currentColor; padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s; }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover svg { transform: translateX(4px); }
.section-dark .link-arrow, .hero .link-arrow { color: #fff; }
.section-dark .link-arrow:hover, .hero .link-arrow:hover { color: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; margin-top: 32px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92); backdrop-filter: saturate(140%) blur(8px);
  color: #fff; border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; max-width: var(--wrap-wide); margin: 0 auto; padding-inline: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 28px; width: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 38px; margin: 0; padding: 0; }
.primary-nav a { color: #e8e8e8; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"] { border-bottom: 2px solid var(--orange); padding-bottom: 3px; }
.header-cta { display: inline-flex; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-overlay { display: none; }

/* ---------------- Hero (editorial, dramatic B&W) ---------------- */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  min-height: 90vh; display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.5) 40%, rgba(10,10,10,.9) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap-wide); margin: 0 auto; padding: 0 28px clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .3em; }
.hero h1 .accent { color: var(--orange); }
.hero .hero-support { max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: #dcdcdc; font-weight: 400; }
.hero .hero-support strong { color: #fff; font-weight: 600; }
.hero-kicker { color: #fff; margin-bottom: 2rem; }
.hero.hero-page { min-height: 62vh; align-items: flex-end; }
.hero.hero-page h1 { max-width: 22ch; }
.hero.hero-page .hero-support { max-width: 56ch; color: #d0d0d0; }
.hero.hero-plain { min-height: 0; background: var(--ink); display: block; }
.hero.hero-plain::before, .hero.hero-plain::after { display: none; }
.hero.hero-plain .hero-inner { padding-top: clamp(72px, 10vw, 120px); }

/* Marquee-ish partner/stat strip under hero */
.hero-strip { border-top: 1px solid var(--line-dark); background: var(--ink); color: #fff; }
.hero-strip .wrap-wide { display: flex; flex-wrap: wrap; gap: 12px 56px; align-items: center; padding-block: 22px; }
.hero-strip .hs-item { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #b6b6b6; }
.hero-strip .hs-item strong { color: #fff; font-weight: 700; }

/* ---------------- Two-column ---------------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.cols-2.narrow { grid-template-columns: 1.05fr .95fr; }
.cols-2.text-first .colimg { }
.colimg img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.colimg.mono img { filter: grayscale(100%) contrast(1.03); }

/* ---------------- Manifesto (anti-PE statement) ---------------- */
.manifesto { background: var(--ink); color: #fff; }
.manifesto .wrap { padding-block: clamp(88px, 12vw, 180px); }
.manifesto-statement {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1.14; letter-spacing: -0.02em;
  max-width: 20ch; color: #fff;
}
.manifesto-statement .hl { color: var(--orange); }
.manifesto-statement .dim { color: #6f6f6f; }
.manifesto-foot { margin-top: 40px; max-width: 60ch; color: #bdbdbd; font-size: 1.1rem; }

/* Contrast grid: Private Equity vs Aleph */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 56px; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.contrast-col { padding: clamp(28px, 3.5vw, 48px); }
.contrast-col.them { background: transparent; }
.contrast-col.us { background: #111; border-left: 1px solid var(--line-dark); }
.contrast-col h3 { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 28px; }
.contrast-col.them h3 { color: #7a7a7a; }
.contrast-col.us h3 { color: var(--orange); }
.contrast-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contrast-col li { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.35; padding-left: 30px; position: relative; }
.contrast-col.them li { color: #8f8f8f; }
.contrast-col.them li::before { content: "\2013"; position: absolute; left: 0; color: #5a5a5a; font-weight: 400; }
.contrast-col.us li { color: #fff; }
.contrast-col.us li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------------- Approach (three columns, left → right) ---------------- */
.approach-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 52px); margin-top: 56px; }
.approach-row { display: flex; flex-direction: column; padding-top: 26px; border-top: 2px solid var(--ink); }
.approach-row .idx { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 300; color: var(--orange); line-height: .9; letter-spacing: -0.02em; margin-bottom: 16px; }
.approach-row .a-body { display: block; }
.approach-row h3 { color: var(--ink); margin: 0 0 .5em; }
.approach-row p { color: var(--text-soft); font-size: 1rem; margin: 0; }

/* ---------------- Process ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.section-dark .process-grid { background: var(--line-dark); border-color: var(--line-dark); }
.process-step { background: var(--paper); padding: 32px 28px; }
.section-soft .process-step { background: var(--soft); }
.section-dark .process-step { background: var(--ink); }
.process-step .stepno { font-size: 2.4rem; font-weight: 300; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.section-dark .process-step .stepno { color: #fff; }
.process-step h3 { font-size: 1.35rem; font-weight: 500; margin: 18px 0 .4em; }
.process-step p { font-size: .98rem; color: var(--text-soft); }
.section-dark .process-step p { color: #b0b0b0; }

/* ---------------- Ox-as-X glyph + etymology (Discovery) ----------------
   The ancient aleph (ox head) set in place of the letter X in "The Ox". */
.ox-head { display: inline; }
.ox-x { display: inline-block; width: .74em; height: .74em; color: var(--orange); vertical-align: -0.04em; margin: 0 .015em; }
/* Subtle version for the hero "exit" — inherits the heading color (white). */
.ox-x--hero { color: currentColor; width: .66em; height: .66em; opacity: .92; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ox-etym { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--text-soft); max-width: 48ch; }
.ox-etym strong { color: var(--ink); }
.ox-etym em { font-style: italic; }

/* Ancient ox head → aleph → our X */
.ox-lineage { display: flex; align-items: center; gap: 20px; margin: 24px 0 0; flex-wrap: wrap; }
.oxl-cell { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.oxl-cell em { font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.oxl-glyph { width: 52px; height: 42px; color: var(--ink); }
.oxl-aleph { font-size: 44px; line-height: 42px; height: 42px; display: flex; align-items: center; color: var(--ink); }
.ox-lineage .ox-x { width: 42px; height: 42px; color: var(--orange); vertical-align: baseline; margin: 0; }
.oxl-sep { color: var(--line-2); font-size: 1.4rem; }

/* ---------------- Story (Paris Painting) + origin-of-the-orange ---------------- */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story img { border-radius: var(--radius); }
.origin-note {
  margin-top: 30px; padding: 22px 26px; border-left: 3px solid var(--orange); background: var(--soft);
  font-size: 1rem; color: var(--text); border-radius: 0 var(--radius) var(--radius) 0;
}
.origin-note strong { color: var(--orange-ink); }

/* ---------------- Partner logo wall ---------------- */
.wall-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.wall-head .count { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 300; color: var(--ink); letter-spacing: -0.02em; }
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: 40px;
}
.logo-wall .cell { background: #fff; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 24px; }
.logo-wall img { max-height: 66px; width: auto; object-fit: contain; }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.stat { background: var(--ink); padding: 40px 34px; }
.stat .big { font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; color: #fff; line-height: .95; letter-spacing: -0.03em; }
.stat .big .u { color: var(--orange); }
.stat .stat-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 16px 0 14px; }
.stat p { font-size: .96rem; color: #a8a8a8; }

/* ---------------- Differentiators ---------------- */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 56px; }
.diff-card { background: var(--ink); padding: 44px 40px; }
.diff-card .d-idx { font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--orange); }
.diff-card h3 { color: #fff; font-weight: 500; margin: 14px 0 .5em; }
.diff-card p { color: #ababab; font-size: 1rem; }

/* ---------------- Feature list (checkmarks) ---------------- */
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 15px; }
.check-list li { position: relative; padding-left: 34px; font-size: 1.05rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: var(--orange); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------------- About: ox / yoke animation ---------------- */
.oxband .kicker { color: #fff; }
.oxscene-wrap { margin: 48px 0; }
.oxscene { width: 100%; max-width: 660px; height: auto; display: block; }
.ox-ground { stroke: var(--line-dark); stroke-width: 2; }
.ox-load rect { fill: #141414; stroke: var(--orange); stroke-width: 2.5; }
.ox-load-mark { fill: var(--orange); }
.ox-rope { fill: none; stroke: #8a6a3a; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ox-line { fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ox-fill { fill: var(--orange); opacity: 1; }
.ox2-pos { transform: translate(126px, 86px); }
.ox1-pos { transform: translate(210px, 92px); }
.ox-haul { transform: translateX(120px); }   /* base = final state (also no-JS fallback) */

/* Play the story once the scene scrolls into view (.play added by main.js). */
.oxscene.play .ox-rope { animation: oxDraw 1s ease .2s backwards; }
.oxscene.play .ox1 .ox-line { animation: oxDraw 1.5s ease .3s backwards; }
.oxscene.play .ox1 .ox-fill { animation: oxFill .6s ease 1.6s backwards; }
.oxscene.play .ox2 .ox-line { animation: oxDraw 1.3s ease 4.2s backwards; }
.oxscene.play .ox2 .ox-fill { animation: oxFill .6s ease 5.3s backwards; }
.oxscene.play .ox1-strain { transform-box: fill-box; transform-origin: 70% 100%; animation: oxStrain 1.1s ease 2.3s 2; }
.oxscene.play .ox-load { animation: oxStruggle 1.1s ease 2.3s 2; }
.oxscene.play .ox-haul { animation: oxHaul 2.4s cubic-bezier(.4, 0, .2, 1) 5.6s backwards; }
@keyframes oxDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes oxFill { from { opacity: 0; } to { opacity: 1; } }
@keyframes oxStrain { 0%, 100% { transform: rotate(0) translateX(0); } 40% { transform: rotate(-3deg) translateX(5px); } 60% { transform: rotate(-2deg) translateX(3px); } }
@keyframes oxStruggle { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(9px); } 70% { transform: translateX(4px); } }
@keyframes oxHaul { from { transform: translateX(0); } to { transform: translateX(120px); } }
@media (prefers-reduced-motion: reduce) { .oxscene.play * { animation: none !important; } }

/* ---------------- Team departments (About) ---------------- */
.dept { padding-block: clamp(44px, 5vw, 68px); border-top: 1px solid var(--line); }
.dept:first-of-type { border-top: 0; }
.dept-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.dept h3 { color: var(--ink); font-weight: 400; }
.dept p { color: var(--text-soft); }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; align-self: center; }
.roster li { font-size: 1.05rem; font-weight: 500; color: var(--ink); padding-left: 20px; position: relative; }
.roster li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--ink); }

/* Team photo grid — B&W headshots that warm to color on hover */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 26px 20px; align-self: start; }
.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  background: #eee; filter: grayscale(100%) contrast(1.02); transition: filter .3s ease, transform .3s ease;
}
.team-card:hover .team-photo { filter: grayscale(0%); transform: translateY(-3px); }
.team-photo--ph {
  display: flex; align-items: center; justify-content: center;
  background: #e7e5e1; color: #8a8a8a; font-weight: 600; font-size: 1.5rem; letter-spacing: .02em;
  filter: none;
}
.team-name { display: block; margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }

/* ---------------- FAQ — pure CSS accordion ---------------- */
.faq { max-width: 900px; margin: 48px auto 0; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 300; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 48px 28px 0; color: var(--text-soft); font-size: 1.02rem; max-width: 76ch; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.cta-band .wrap { padding-block: clamp(72px, 10vw, 128px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; max-width: 16ch; }
.cta-band .kicker { color: #fff; }
.cta-band p { color: #bcbcbc; max-width: 48ch; font-size: 1.15rem; }

/* ---------------- Forms ---------------- */
.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--ink); text-transform: uppercase; }
.field input, .field textarea, .field select { font-family: inherit; font-size: 1rem; color: var(--text); padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.08); }
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-status { font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c0392b; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.embed-frame { width: 100%; height: min(80vh, 780px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--soft); }

/* ---------------- Get Started two-step panel ---------------- */
.gs-panel { min-width: 0; }
.gs-thanks-msg { margin-bottom: 28px; }
.gs-thanks-msg h2 { margin-bottom: .3em; }
#gs-step2 .form-actions, #gs-step1 .form-actions { margin-top: 20px; }

/* ---------------- Booking widget (schedule / manage) ---------------- */
.booking { margin-top: 40px; max-width: 720px; }
.bk-note { color: var(--muted); font-size: .98rem; }
.bk-daystrip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.bk-day {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 68px; padding: 12px 0; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; cursor: pointer; font-family: inherit; color: var(--text-soft); transition: border-color .15s, color .15s;
}
.bk-day span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.bk-day b { font-size: 1.4rem; font-weight: 500; color: var(--ink); }
.bk-day:hover { border-color: var(--ink); }
.bk-day.is-active { border-color: var(--orange); background: rgba(209,125,13,.06); }
.bk-day.is-active b { color: var(--orange-ink); }
.bk-slots { margin-top: 22px; }
.bk-slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.bk-slot {
  padding: 13px 10px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; cursor: pointer; font-family: inherit; font-size: .98rem; color: var(--ink); transition: border-color .15s, background .15s;
}
.bk-slot:hover { border-color: var(--ink); }
.bk-slot.is-active { border-color: var(--orange); background: var(--orange); color: #fff; }
.bk-form { margin-top: 32px; }
.bk-when { font-size: 1.05rem; color: var(--ink); margin: 0 0 20px; }
.bk-when b, .bk-manage-head .bk-when b { color: var(--orange-ink); }
.bk-manage-head .bk-when { font-size: 1.15rem; color: var(--ink); margin-bottom: 20px; }
.bk-done { padding: 40px 0; }
.bk-done h2 { margin-bottom: .3em; }
.bk-done p { color: var(--text-soft); font-size: 1.1rem; max-width: 46ch; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-info dl { margin: 0; display: grid; gap: 24px; }
.contact-info dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 1.15rem; color: var(--ink); }
.contact-info a:not(.btn) { color: var(--ink); }
.contact-info a:not(.btn):hover { color: var(--orange-ink); }
.contact-info dd .btn { margin-top: 4px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #9a9a9a; padding-block: 72px 32px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 52px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 22px; }
.footer-tag { color: #d8d8d8; font-size: 1.2rem; font-weight: 300; line-height: 1.25; letter-spacing: -0.01em; }
.site-footer h4 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer ul a { color: #b0b0b0; font-size: .96rem; }
.site-footer ul a:hover { color: #fff; }
.footer-contact p { color: #b0b0b0; font-size: .96rem; margin-bottom: 14px; }
.footer-contact a { color: #b0b0b0; }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: 50%; color: #cfcfcf; }
.socials a:hover { border-color: var(--orange); color: var(--orange); background: rgba(209,125,13,.08); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: #7a7a7a; }
.footer-bottom a { color: #9a9a9a; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; z-index: 120; }
  .primary-nav { position: fixed; inset: 78px 0 auto 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); transform: translateY(-120%); transition: transform .25s ease; z-index: 110; }
  body.nav-open .primary-nav { transform: translateY(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .primary-nav li { border-top: 1px solid var(--line-dark); }
  .primary-nav li:first-child { border-top: 0; }
  .primary-nav a { display: block; padding: 17px 28px; }
  .primary-nav a[aria-current="page"] { border-bottom: 0; }
  .nav-cta-mobile { display: block; padding: 17px 28px; }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }
  .header-cta.desktop-only { display: none; }
  body.nav-open .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 90; }
  .cols-2, .cols-2.narrow, .story, .dept-grid, .contact-grid, .contrast { grid-template-columns: 1fr; }
  .story .story-img { order: -1; }
  .approach-list { grid-template-columns: 1fr; }
  .contrast-col.us { border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 640px) {
  .process-grid, .form-grid, .roster { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 82vh; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
