/* Lexington Capital Holdings — site styles (v2)
   Palette: ink, Lexington polo red, white.
   Type: Schibsted Grotesk throughout (heavy for headlines, regular for reading). */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-wght-italic.woff2) format('woff2-variations'), url(../fonts/schibsted-grotesk-latin-wght-italic.woff2) format('woff2');
}

:root {
  --ink: #17080b;
  --ink-2: #22100f;
  --ink-3: #2f1517;
  --ink-line: rgba(255, 222, 216, 0.14);
  --red: #e1222b;
  --red-deep: #b5141c;
  --red-on-ink: #ff5a5f;
  --oxblood: #6e0f17;
  --paper: #ffffff;
  --mist: #f3f2f0;
  --text: #1d1a1c;
  --muted: #4b464a;
  --line: #e2ded9;
  --on-ink: #f7efed;
  --on-ink-muted: #dccdca;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 1.45rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --header-h: 76px;
  --radius: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a[href^="tel:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.on-ink :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--on-ink); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--text); padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 136px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--mist { background: var(--mist); }
.on-ink { background: var(--ink); color: var(--on-ink); }

.display { font-weight: 800; letter-spacing: -0.032em; }
.h1 { font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.04em; }
.h2 { font-size: var(--step-4); line-height: 1.04; }
.h3 { font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
.h2--compact { font-size: var(--step-3); line-height: 1.08; }
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--red-deep); }
.on-ink .eyebrow, .hero .eyebrow { color: var(--red-on-ink); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 38rem; }
@media (max-width: 640px) {
  .lede { font-size: 1.125rem; }
  .section .btn-row > .btn, .band-red .btn-row > .btn { flex: 1 1 100%; }
  .foundation__logo { width: 88px; }
  .page-head .btn-row > .btn { flex: 1 1 100%; }
}
.on-ink .lede { color: var(--on-ink-muted); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head > div { display: grid; gap: 12px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; column-gap: 64px; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }
.fine { font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
.on-ink .fine { color: var(--on-ink-muted); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 700; font-size: 1rem; letter-spacing: 0; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { --bg: var(--red-deep); --bd: var(--red-deep); }
.btn--ghost { --bg: transparent; --fg: var(--text); --bd: rgba(29, 26, 28, 0.28); }
.btn--ghost:hover { --bg: var(--text); --fg: #fff; --bd: var(--text); }
.on-ink .btn--ghost, .hero .btn--ghost, .band-red .btn--ghost { --fg: var(--on-ink); --bd: rgba(255, 239, 236, 0.4); }
.on-ink .btn--ghost:hover, .hero .btn--ghost:hover, .band-red .btn--ghost:hover { --bg: var(--on-ink); --fg: var(--ink); --bd: var(--on-ink); }
.btn--paper { --bg: #fff; --fg: var(--red-deep); --bd: #fff; }
.btn--paper:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--red-deep); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(181, 20, 28, 0.35); }
.text-link:hover { text-decoration-color: currentColor; }
.on-ink .text-link { color: var(--red-on-ink); text-decoration-color: rgba(255, 90, 95, 0.45); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--text); background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.site-header.is-over-dark { background: transparent; border-color: transparent; color: var(--on-ink); }
.site-header__inner { display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 44px; width: auto; }
.brand .logo-white { display: none; }
.is-over-dark .brand .logo-white { display: block; }
.is-over-dark .brand .logo-red { display: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(29, 26, 28, 0.06); }
.is-over-dark .nav__link:hover, .is-over-dark .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }
.nav__link[aria-current="page"] { color: var(--red-deep); }
.is-over-dark .nav__link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav__link svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; padding: 10px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 18px 50px -20px rgba(23, 8, 11, 0.35); display: none;
}
.nav__menu.is-open { display: grid; }
.nav__menu a { display: grid; gap: 1px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; }
.nav__menu a:hover { background: var(--mist); }
.nav__menu strong { font-weight: 700; font-size: 0.9375rem; }
.nav__menu span { font-size: 0.8125rem; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { white-space: nowrap; }
.header-phone { font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; padding: 8px 6px; }
.header-phone:hover { text-decoration: underline; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid currentColor; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

@media (max-width: 1520px) { .header-phone { display: none; } }
@media (max-width: 1360px) { .site-header__inner { gap: 20px; } .nav { gap: 0; } .nav__link { padding-inline: 10px; } }
@media (max-width: 1250px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; border-color: rgba(127, 127, 127, 0.45); }
  .header-cta { margin-left: auto; }
  .header-cta + .menu-toggle { margin-left: 0; }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper); color: var(--text);
    overflow-y: auto; padding: 18px var(--gutter) 40px; border-top: 1px solid var(--line);
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav__group { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav__group > p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 6px; }
  .mobile-nav a { display: block; padding: 10px 0; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
  .mobile-nav__cta { display: grid; gap: 10px; padding: 6px 0 18px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { display: flex; padding: 12px 22px; font-size: 1rem; font-weight: 700; color: #fff; }
  .mobile-nav .btn--ghost { color: var(--text); }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .brand img { height: 36px; }
  .header-cta .btn { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(110% 90% at 80% 45%, #2c0d12 0%, var(--ink) 60%) var(--ink);
  color: var(--on-ink);
  padding-top: var(--header-h);
}
.hero__inner { position: relative; min-height: min(100svh - var(--header-h), 820px); display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero__copy { position: relative; z-index: 2; display: grid; justify-items: start; max-width: 41.5rem; }
.award {
  display: inline-flex; align-items: center; gap: 12px; padding: 5px 16px 5px 5px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid rgba(255, 228, 222, 0.22); background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem; line-height: 1.3; color: var(--on-ink-muted); text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.award:hover { border-color: rgba(255, 228, 222, 0.5); background: rgba(255, 255, 255, 0.09); }
.award__no { flex: none; padding: 5px 11px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: -0.01em; }
.award strong { color: #fff; font-weight: 700; }
.hero__title { font-size: var(--step-5); font-weight: 800; line-height: 0.96; letter-spacing: -0.045em; color: #fff; }
.hero__sub { margin-top: 20px; font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.625rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
.hero__lede { margin-top: 14px; font-size: 1.125rem; line-height: 1.55; color: var(--on-ink-muted); max-width: 33rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 0.9375rem; font-weight: 600; color: var(--on-ink); }
.hero__proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero__proof li::before { content: ''; flex: none; width: 10px; height: 5.5px; margin-top: -3px; border-left: 2px solid var(--red-on-ink); border-bottom: 2px solid var(--red-on-ink); transform: rotate(-45deg); }

.hero__globe { position: absolute; z-index: 1; top: 50%; right: calc(-1 * clamp(80px, 11vw, 240px)); width: min(64vw, 1000px); aspect-ratio: 1; transform: translateY(-50%); }
.globe { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.globe.is-dragging { cursor: grabbing; }
.globe__poster, .globe__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe__poster { object-fit: contain; transition: opacity 0.6s var(--ease); }
.globe.is-live .globe__poster { opacity: 0; }
.globe__canvas { opacity: 0; transition: opacity 0.6s var(--ease); }
.globe.is-live .globe__canvas { opacity: 1; }
.hero__caption { position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; font-size: 0.8125rem; color: var(--on-ink-muted); display: flex; align-items: center; gap: 10px; }
.hero__caption::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--red-on-ink); box-shadow: 0 0 0 4px rgba(255, 90, 95, 0.18); }

@media (min-width: 1024px) and (max-height: 820px) {
  .hero__inner { padding-block: 28px 40px; }
  .hero__title { font-size: clamp(3rem, 10.5vh, 5.25rem); }
  .award { margin-bottom: 20px; }
  .hero__sub { margin-top: 16px; }
  .hero__actions { margin-top: 24px; }
  .hero__proof { margin-top: 20px; }
}
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .hero__copy { max-width: 40rem; }
  .hero__globe { position: relative; top: auto; right: auto; transform: none; width: min(100vw, 680px); margin: -32px auto -26%; left: 50%; translate: -50% 0; }
  .hero__caption { display: none; }
}
@media (max-width: 640px) {
  .hero__inner { padding-block: 26px 0; }
  .award { font-size: 0.8125rem; gap: 10px; margin-bottom: 20px; padding-right: 14px; }
  .award__more { display: none; }
  .hero__title { font-size: clamp(2.625rem, 11.6vw, 3.25rem); line-height: 0.98; }
  .hero__sub { font-size: 1.25rem; margin-top: 14px; }
  .hero__lede { font-size: 1.0625rem; margin-top: 10px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { display: grid; gap: 8px; margin-top: 20px; }
  .hero__globe { width: 118vw; margin: 0 auto -44%; }
  .hero__inner { padding-top: 22px; }
}

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; padding-block: 26px; flex-wrap: wrap; }
.trust__label { font-size: 0.9375rem; color: var(--muted); max-width: 17rem; line-height: 1.4; }
.trust__label strong { color: var(--text); font-weight: 600; }
.badges { display: flex; align-items: center; gap: 22px 36px; flex-wrap: wrap; list-style: none; }
.badges img { height: 38px; width: auto; }
.badges li:nth-child(3) img { height: 34px; }
@media (max-width: 640px) {
  .trust__inner { display: grid; gap: 18px; padding-block: 22px 26px; }
  .trust__label { max-width: none; }
  .badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; align-items: center; justify-items: start; }
  .badges img { height: 28px; }
  .badges li:nth-child(3) img { height: 26px; }
}

/* ---------- loan cards (home) ---------- */
.loans { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.loan {
  position: relative; height: 100%; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; align-content: start;
  padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--text); text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.loan:hover { border-color: rgba(225, 34, 43, 0.55); box-shadow: 0 22px 44px -28px rgba(23, 8, 11, 0.45); transform: translateY(-2px); }
.loan__icon { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 12px; background: #fdeced; color: var(--red-deep); display: grid; place-items: center; }
.loan__icon svg { width: 24px; height: 24px; }
.loan__tag { font-size: 0.8125rem; font-weight: 700; color: var(--red-deep); }
.loan h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.loan p { color: var(--muted); font-size: 0.96875rem; line-height: 1.5; }
.loan__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 0.9375rem; }
.loan__more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.loan:hover .loan__more { color: var(--red-deep); }
.loan:hover .loan__more svg { transform: translateX(3px); }
.loan--featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.loan--featured p { color: var(--on-ink-muted); }
.loan--featured .loan__tag { color: var(--red-on-ink); }
.loan--featured .loan__icon { background: rgba(255, 90, 95, 0.16); color: #ff9a9d; }
.loan--featured:hover { border-color: var(--ink); }
.loan--featured:hover .loan__more { color: #fff; }
.matchbar { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--mist); }
.matchbar p { font-size: 1.0625rem; max-width: 40rem; color: var(--muted); }
.matchbar strong { color: var(--text); font-weight: 700; }
@media (max-width: 1100px) { .loans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .loans { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .loan, .loan--featured {
    grid-template-columns: 46px minmax(0, 1fr) 18px; grid-template-rows: none; grid-template-areas: "icon tag go" "icon name go" "icon text go";
    column-gap: 14px; row-gap: 2px; padding: 16px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--text);
  }
  .loan:hover { transform: none; box-shadow: none; }
  .loan__icon, .loan--featured .loan__icon { grid-area: icon; align-self: center; margin: 0; background: #fdeced; color: var(--red-deep); }
  .loan__tag, .loan--featured .loan__tag { grid-area: tag; color: var(--red-deep); font-size: 0.75rem; }
  .loan h3 { grid-area: name; font-size: 1.125rem; }
  .loan p, .loan--featured p { grid-area: text; font-size: 0.9375rem; color: var(--muted); }
  .loan__more { grid-area: go; align-self: center; margin: 0; }
  .loan__more span { display: none; }
  .loan__more svg { width: 18px; height: 18px; color: var(--red); }
  .matchbar { margin-top: 22px; padding: 20px; }
  .matchbar .btn-row { width: 100%; }
  .matchbar .btn { flex: 1 1 auto; }
}

/* ---------- how it works (home) ---------- */
.howto { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.howto li { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius-lg); background: #fff; }
.howto__no { width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; }
.howto h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.howto p { color: var(--muted); }
.howto + .btn-row { margin-top: 28px; }
@media (max-width: 800px) {
  .howto { grid-template-columns: 1fr; gap: 10px; }
  .howto li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; }
  .howto__no { grid-row: span 2; margin: 0; }
}

/* ---------- the family (inc 5000 + team wall) ---------- */
.family__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(44px, 6vw, 80px); }
.family__copy { display: grid; gap: 24px; }
.engraved {
  font-weight: 900; line-height: 0.84; letter-spacing: -0.05em;
  font-size: clamp(6rem, 3rem + 13vw, 15rem); font-variant-numeric: lining-nums;
  color: var(--red);
}
.engraved small { font-size: 0.3em; font-weight: 800; letter-spacing: -0.01em; vertical-align: 1.52em; margin-right: 0.12em; }
.engraved--fit { font-size: clamp(4.5rem, 1.5rem + 8.5vw, 10.5rem); white-space: nowrap; }
.engraved--home { font-size: clamp(5.5rem, 2.5rem + 10vw, 12.5rem); }
.family__kicker { font-size: var(--step-1); line-height: 1.45; max-width: 34rem; }
.family__kicker strong { font-weight: 600; }
.quote { display: grid; gap: 14px; padding-left: 22px; border-left: 2px solid var(--red); max-width: 36rem; }
.quote p { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.quote footer { font-size: 0.9375rem; color: var(--muted); }
.quote footer strong { color: var(--text); font-weight: 600; }
.family__portrait { position: relative; }
.family__portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.family__portrait figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

.wall__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.wall__head h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; max-width: 30rem; }
.wall { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; list-style: none; }
.face { position: relative; overflow: hidden; background: #e9e5e1; aspect-ratio: 1; }
.face img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.face figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 8px 7px; font-size: 0.75rem; line-height: 1.25; color: #fff;
  background: linear-gradient(transparent, rgba(23, 8, 11, 0.88)); opacity: 0; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); pointer-events: none;
}
.face figcaption strong { display: block; font-weight: 600; font-size: 0.8125rem; }
.face:hover figcaption, .face:focus-within figcaption { opacity: 1; transform: none; }
.face:hover img { transform: scale(1.04); }
.face--lead { outline: 2px solid var(--red); outline-offset: -2px; }
.wall__more { display: none; }
@media (max-width: 1100px) { .wall { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .family__top { grid-template-columns: 1fr; }
  .family__portrait { max-width: 400px; }
}
@media (max-width: 700px) {
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wall--home li:nth-child(n + 49) { display: none; }
  .wall__more { display: inline-flex; margin-top: 18px; }
  .face figcaption { display: none; }
}

/* ---------- product terms (funding page) ---------- */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.terms div { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); }
.terms div:nth-child(odd) { padding-right: 24px; }
.terms dt { font-size: 0.8125rem; color: var(--muted); margin-bottom: 2px; }
.terms dd { font-weight: 500; line-height: 1.4; }
.panel__best { font-size: 0.9375rem; color: var(--muted); }
.panel__best strong { color: var(--text); font-weight: 700; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr; } }

/* ---------- lexloc band ---------- */
.lexloc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player video, .player img { width: 100%; height: 100%; object-fit: cover; }
.player__start {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(0deg, rgba(23, 8, 11, 0.55), rgba(23, 8, 11, 0.05) 55%);
}
.player__start span {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.player__start:hover span { transform: scale(1.04); background: var(--red-deep); }
.player__start svg { width: 26px; height: 26px; }
.player__note { margin-top: 14px; font-size: 0.9375rem; color: var(--on-ink-muted); max-width: 40rem; }
.benefits { display: grid; gap: 22px; margin-top: 28px; list-style: none; }
.benefits li { display: grid; gap: 4px; padding-left: 20px; position: relative; }
.benefits li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 9px; height: 2px; background: var(--red-on-ink); }
.benefits strong { font-weight: 600; font-size: 1.0625rem; color: #fff; }
.benefits span { color: var(--on-ink-muted); }
.on-ink .benefits--light strong { color: #fff; }
@media (max-width: 900px) { .lexloc { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 44px; height: 1px; background: var(--line); }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step__no {
  font-weight: 800; font-size: 3.5rem; line-height: 1; color: var(--red);
  font-variant-numeric: lining-nums proportional-nums; letter-spacing: -0.04em; background: var(--paper); justify-self: start; padding-right: 14px;
}
.section--mist .step__no { background: var(--mist); }
.step__no .k4, .step__no .k1 { margin-left: 0; }
.step h3 { font-size: 1.25rem; font-weight: 700; }
.step p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- opportunity ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.path { position: relative; min-height: 580px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #fff; }
.path__bg, .path__bg img, .path__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.path::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 8, 11, 0.15) 0%, rgba(23, 8, 11, 0.55) 42%, rgba(23, 8, 11, 0.94) 78%); }
.path__body { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 48px); max-width: 36rem; }
.path__body h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.path__body p { color: rgba(255, 244, 242, 0.84); }
.ticks { display: grid; gap: 8px; list-style: none; margin: 4px 0 6px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.9875rem; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.42em; width: 11px; height: 6px; border-left: 2px solid var(--red-on-ink); border-bottom: 2px solid var(--red-on-ink); transform: rotate(-45deg); }
.ticks strong { font-weight: 600; }
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 6vw, 80px); list-style: none; }
.voice { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.voice p { color: var(--on-ink); font-size: 0.9875rem; line-height: 1.6; }
.voice footer { font-size: 0.875rem; color: var(--on-ink-muted); }
.voice footer strong { color: #fff; font-weight: 600; }
.voices--light .voice { border-top-color: var(--line); }
.voices--light .voice p { color: var(--text); }
.voices--light .voice footer { color: var(--muted); }
.voices--light .voice footer strong { color: var(--text); }
.voices--light .stars { color: var(--red); }
.stars { color: var(--red-on-ink); letter-spacing: 3px; font-size: 0.875rem; }
@media (max-width: 1000px) { .voices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) {
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 500px; }
  .path::after { background: linear-gradient(180deg, rgba(23, 8, 11, 0.35) 0%, rgba(23, 8, 11, 0.72) 30%, rgba(23, 8, 11, 0.96) 70%); }
  .voices { grid-template-columns: 1fr; }
}

/* ---------- foundation ---------- */
.foundation { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.foundation__copy { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.foundation__logo { width: 112px; height: auto; }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; list-style: none; padding-top: 6px; }
.areas li { display: grid; gap: 2px; }
.areas strong { font-weight: 600; }
.areas span { color: var(--muted); font-size: 0.9375rem; }
.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.collage figure { position: relative; overflow: hidden; background: var(--mist); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; font-size: 0.8125rem; color: #fff; background: linear-gradient(transparent, rgba(23, 8, 11, 0.78)); }
.collage .c1 { grid-column: span 6; aspect-ratio: 16 / 8; }
.collage .c2 { grid-column: span 3; aspect-ratio: 4 / 3.3; }
.collage .c3 { grid-column: span 3; aspect-ratio: 4 / 3.3; }
.collage .c4 { grid-column: span 2; aspect-ratio: 3 / 4; }
.collage .c5 { grid-column: span 2; aspect-ratio: 3 / 4; }
.collage .c6 { grid-column: span 2; aspect-ratio: 3 / 4; }
@media (max-width: 900px) {
  .foundation { grid-template-columns: 1fr; }
  .foundation__copy { position: static; }
}
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } .collage .c4, .collage .c5, .collage .c6 { grid-column: span 3; } .collage .c6 { display: none; } }

/* ---------- resources ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-color: var(--red) transparent; }
.rail--wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-columns: unset; overflow: visible; margin-inline: 0; padding-inline: 0; }
.vcard { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.vcard__thumb::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7.5v9l7.5-4.5z'/%3E%3C/svg%3E") center / 26px no-repeat; }
.vcard:hover .vcard__thumb img { transform: scale(1.04); }
.vcard strong { font-weight: 600; line-height: 1.35; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; }
.post-card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.post-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--mist); }
.post-card time { font-size: 0.8125rem; color: var(--muted); }
.post-card h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.faq__aside { display: grid; gap: 18px; align-content: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 600; font-size: 1.125rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; transition: transform 0.2s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 22px; color: var(--muted); max-width: 46rem; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- red band ---------- */
.band-red { background: var(--red); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.band-red::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 6px); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.cta h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
.cta p { font-size: var(--step-1); color: rgba(255, 255, 255, 0.9); margin-top: 16px; max-width: 34rem; }
.cta .btn-row { margin-top: 28px; }
.brm { display: grid; gap: 14px; justify-items: start; }
.brm__faces { display: flex; }
.brm__faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); margin-left: -12px; background: #fff; }
.brm__faces img:first-child { margin-left: 0; }
.brm p { font-size: 1rem; margin: 0; color: rgba(255, 255, 255, 0.92); max-width: 22rem; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- closing band with contact form (home) ---------- */
.closing { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.closing__copy { display: grid; gap: 18px; justify-items: start; }
.closing__copy h2 { color: #fff; }
.closing__copy > p { font-size: var(--step-1); line-height: 1.45; color: rgba(255, 255, 255, 0.92); max-width: 30rem; }
.closing__copy .btn-row { margin-top: 6px; }
.closing__copy .brm { margin-top: 18px; }
.closing .form-card { border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(40, 0, 6, 0.55); }
.closing .form-card h2 { font-size: 1.625rem; }
.closing .textarea { min-height: 84px; }
@media (max-width: 900px) { .closing { grid-template-columns: 1fr; } }

/* ---------- foundation (home, compact) ---------- */
.fdn { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.fdn__copy { display: grid; gap: 18px; justify-items: start; }
.fdn__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fdn__photos figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.fdn__photos figure:first-child { grid-column: span 2; aspect-ratio: 16 / 8.2; }
.fdn__photos figure:not(:first-child) { aspect-ratio: 4 / 3; }
.fdn__photos img { width: 100%; height: 100%; object-fit: cover; }
.fdn__photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; font-size: 0.8125rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(23, 8, 11, 0.78)); }
@media (max-width: 900px) { .fdn { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 72px 36px; font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; }
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__brand img { width: 220px; }
.footer__col h2 { font-size: 0.9375rem; color: #fff; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover, .footer__brand a:hover { color: #fff; text-decoration: underline; }
.footer__contact a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-line); color: #fff; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }
.footer__legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--ink-line); display: grid; gap: 14px; font-size: 0.8125rem; line-height: 1.6; }
.footer__legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: var(--on-ink); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- inner page heads ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 104px)); padding-bottom: clamp(56px, 7vw, 104px); }
.page-head__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.page-head .h1 { font-size: clamp(2.375rem, 1.45rem + 3.4vw, 4.25rem); line-height: 1.02; color: #fff; }
.page-head .lede { margin-top: 22px; }
.page-head__media { position: absolute; inset: 0; z-index: -2; }
.page-head__media img, .page-head__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-head::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 18%, rgba(23, 8, 11, 0.72) 55%, rgba(23, 8, 11, 0.35)); }
.crumbs { display: flex; gap: 8px; font-size: 0.875rem; color: var(--on-ink-muted); margin-bottom: 22px; list-style: none; flex-wrap: wrap; }
.crumbs a { color: var(--on-ink); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }
.page-head__aside { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 900px) { .page-head__inner { grid-template-columns: 1fr; } }

/* ---------- content blocks ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.two-col--top { align-items: start; }
.media-frame img, .media-frame video { width: 100%; height: auto; }
.prose { display: grid; gap: 18px; max-width: 44rem; }
.prose h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; margin-top: 18px; }
.prose h3 { font-size: 1.3125rem; font-weight: 700; margin-top: 12px; }
.prose p, .prose li { color: #3a3539; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose blockquote { padding-left: 22px; border-left: 3px solid var(--red); font-size: 1.25rem; font-weight: 500; line-height: 1.45; color: var(--text); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--line); border: 1px solid var(--line); }
.program { background: #fff; padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.program h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.025em; }
.program > p { color: var(--muted); }
.program dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.program dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.program dt { font-size: 0.875rem; color: var(--muted); }
.program dd { font-weight: 500; line-height: 1.45; }
@media (max-width: 900px) { .two-col, .program-grid { grid-template-columns: 1fr; } .program dl div { grid-template-columns: 1fr; gap: 2px; } }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; list-style: none; }
.feature-list li { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid var(--red); }
.feature-list strong { font-weight: 600; font-size: 1.125rem; }
.feature-list span { color: var(--muted); }
.on-ink .feature-list span { color: var(--on-ink-muted); }
.on-ink .feature-list li { border-top-color: var(--red-on-ink); }
.feature-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .feature-list, .feature-list--3 { grid-template-columns: 1fr; } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.anchor-nav a { padding: 8px 14px; border: 1px solid rgba(255, 233, 228, 0.3); border-radius: 999px; font-size: 0.9375rem; text-decoration: none; color: #fff; }
.anchor-nav a:hover { background: var(--red); border-color: var(--red); }
.product-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.product-block:first-child { border-top: 0; padding-top: 0; }
.product-block:nth-child(even) .product-block__media { order: 2; }
.product-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-block__body { display: grid; gap: 18px; }
.product-block__body h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 900px) { .product-block { grid-template-columns: 1fr; } .product-block:nth-child(even) .product-block__media { order: 0; } }
.ai-note { font-size: 0.75rem; color: var(--muted); margin-top: 8px; }

/* ---------- team page ---------- */
.letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.letter__photo img { width: 100%; }
.letter__sig { font-size: 1.5rem; font-weight: 700; font-style: italic; letter-spacing: -0.02em; margin-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 0.9375rem; font-weight: 500; }
.filter span { color: var(--muted); font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] { border-color: var(--red); color: var(--red-deep); }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 28px 18px; list-style: none; }
.member { display: grid; gap: 10px; align-content: start; }
.member[hidden] { display: none; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e9e5e1; }
.member strong { font-weight: 600; line-height: 1.25; }
.member span { font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.member--lead img { outline: 2px solid var(--red); outline-offset: -2px; }
.culture { display: grid; grid-template-columns: 5fr 4fr 4fr; gap: 3px; }
.culture img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.culture figure:first-child img { aspect-ratio: auto; height: 100%; }
@media (max-width: 800px) { .letter { grid-template-columns: 1fr; } .culture { grid-template-columns: 1fr 1fr; } .culture figure:first-child { grid-column: span 2; } .culture figure:first-child img { aspect-ratio: 4 / 3; } }

/* ---------- forms ---------- */
.form-card { background: #fff; color: var(--text); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.on-ink .form-card { border-color: transparent; }
.form-card h2, .form-card h3 { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.025em; }
.field { display: grid; gap: 6px; }
.field label, .field legend, .field__label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfc9c4; border-radius: var(--radius); background: #fff;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 34, 43, 0.15); }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--red-deep); }
.field__error { font-size: 0.8125rem; color: var(--red-deep); font-weight: 500; display: none; }
.field.is-invalid .field__error { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.consent a { color: var(--text); }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.form-status { font-weight: 600; }
.form-status[data-state="error"] { color: var(--red-deep); }

/* option tiles used by the application */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.options--wide { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; min-height: 56px; padding: 12px 16px; border: 1.5px solid #cfc9c4; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9875rem; line-height: 1.3; transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
  font-variant-numeric: lining-nums tabular-nums;
}
.opt input:hover + span { border-color: var(--text); }
.opt input:checked + span { border-color: var(--red); background: #fff3f2; color: var(--red-deep); }
.opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- application ---------- */
.apply { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.apply__form { background: #fff; border: 1px solid var(--line); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 22px clamp(20px, 3vw, 40px) 0; margin: 0 0 14px; list-style: none; }
.progress li { display: grid; gap: 8px; font-size: 0.8125rem; color: var(--muted); }
.progress li::before { content: ''; height: 4px; border-radius: 2px; background: var(--line); }
.progress li.is-done::before, .progress li.is-current::before { background: var(--red); }
.progress li.is-current { color: var(--text); font-weight: 600; }
.stage { display: grid; gap: 22px; padding: clamp(20px, 3vw, 40px); border: 0; margin: 0; min-width: 0; }
.stage[hidden] { display: none; }
.stage__title { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stage__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.match { border: 1px solid var(--line); background: var(--mist); padding: 18px 20px; display: grid; gap: 10px; }
.match h3 { font-size: 1rem; font-weight: 700; }
.match ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.match li { padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; font-weight: 600; }
.match p { font-size: 0.8125rem; color: var(--muted); }
.apply__aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { border: 1px solid var(--line); padding: 24px; display: grid; gap: 14px; background: #fff; }
.aside-card h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.aside-card .faces { display: flex; }
.aside-card .faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.aside-card .faces img:first-child { margin-left: 0; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; font-size: 0.9375rem; }
.checklist li::before { content: ''; position: absolute; left: 2px; top: 0.45em; width: 11px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.success { display: grid; gap: 18px; padding: clamp(24px, 4vw, 56px); }
.success[hidden] { display: none; }
.success h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } .apply__aside { position: static; } .progress span { display: none; } }

/* ---------- mobile action bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.25s var(--ease);
  }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta .btn { min-height: 48px; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 110px; }
}

/* ---------- dialog ---------- */
.vdialog { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; color: #fff; }
.vdialog::backdrop { background: rgba(10, 4, 6, 0.86); }
.vdialog__frame { aspect-ratio: 16 / 9; width: 100%; }
.vdialog__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vdialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--ink); }
.vdialog__close { border: 1px solid var(--ink-line); background: transparent; color: #fff; border-radius: var(--radius); padding: 8px 14px; cursor: pointer; }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.article__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 36px; }
.article aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article aside { position: static; } }

/* ---------- utility ---------- */
.hover-only { display: none; }
@media (hover: hover) { .hover-only { display: inline; } }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack-s { display: grid; gap: 12px; }
.stack-m { display: grid; gap: 22px; }

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