/* Self-hosted type: Fraunces (Undercase Type, OFL) + Satoshi (Fontshare / ITF) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-italic-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/satoshi-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/satoshi-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/satoshi-bold.woff2") format("woff2");
}

/* Chris Redoble preview — 2026 dark / premium redesign */
:root {
  --bg: #07090c;
  --bg-2: #0c1016;
  --bg-3: #121821;
  --text: #f4f1ea;
  --muted: #a49e93;
  --muted-2: #7d776d;
  --gold: #d4b483;
  --gold-2: #e8d0a4;
  --gold-d: #b08c4f;
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.16);
  --glass: rgba(12,16,22,0.62);
  --card: rgba(255,255,255,0.04);
  --card-2: rgba(255,255,255,0.07);
  --max: 1180px;
  --header: 66px;
  --font: "Satoshi", "Inter", system-ui, sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "opsz" 120, "SOFT" 2, "WONK" 0, "wght" 560;
  --display-lg: "opsz" 144, "SOFT" 0, "WONK" 0, "wght" 560;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: var(--text);
  margin: 0 0 0.45em;
  font-variation-settings: var(--display);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 6.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  font-variation-settings: var(--display-lg);
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.036em;
  font-variation-settings: "opsz" 72, "SOFT" 2, "WONK" 0, "wght" 560;
}
h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--text);
  margin: 0 0 0.55em;
}
h3 { font-size: 1.08rem; letter-spacing: -0.028em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
@media (min-width: 760px) {
  .wrap { width: min(calc(100% - 3rem), var(--max)); }
}
.skip {
  position: absolute;
  left: -999px; top: 0;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 80;
  background: var(--text); color: var(--bg);
  padding: .55rem .8rem; border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7,9,12,0.45);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7,9,12,0.82);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  line-height: 1.05;
  min-width: 0;
}
.brand-mark {
  display: block;
  height: 26px;
  width: auto;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand .name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 18, "SOFT" 0, "WONK" 0, "wght" 560;
}
.brand .sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  background: var(--card);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  position: relative;
  content: "";
}
.nav-toggle span::before { top: -5px; position: absolute; }
.nav-toggle span::after { top: 5px; position: absolute; }
#nav-cb { position: absolute; opacity: 0; pointer-events: none; }
.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: var(--header);
  background: rgba(7,9,12,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1.25rem 1.2rem;
  flex-direction: column;
  gap: 0.15rem;
}
#nav-cb:checked ~ .site-nav { display: flex; }
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold-2); }
.btn.header-cta { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  min-height: 48px;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.15;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
button.btn { cursor: pointer; appearance: none; font: inherit; }
.btn-gold {
  background: var(--gold);
  color: #1a140c;
}
.btn-gold:hover { background: var(--gold-2); color: #1a140c; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: var(--text); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding: 1.5rem 0 2rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.04);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,9,12,0.72) 0%, rgba(7,9,12,0.42) 24%, rgba(7,9,12,0.55) 58%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7,9,12,0.90) 0%, rgba(7,9,12,0.62) 42%, rgba(7,9,12,0.35) 100%);
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.hero .lede { color: #e7e1d6; }
.hero .fine { color: rgba(231,225,214,0.7); }
.lede {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 68ch;
  margin: 0.75rem 0 1.2rem;
  line-height: 1.55;
  letter-spacing: -0.012em;
}
.fine {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.portrait-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}
.portrait-frame {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d4b483;
  box-shadow:
    0 0 0 1px #14110c,
    0 28px 70px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, #1c1914 0%, #141210 55%, #1a1610 100%);
  isolation: isolate;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  mix-blend-mode: normal;
  background: #1c1914;
  display: block;
  position: relative;
  z-index: 1;
}

/* Stats */
.stats {
  margin-top: -0.25rem;
  padding: 0 0 3.5rem;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
}
.stat {
  padding: 0.85rem 0.9rem;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 28, "SOFT" 18, "wght" 500;
}
.stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

/* Sections */
section.block { padding: var(--space-section, clamp(3.5rem, 7vw, 5.5rem)) 0; }
section.block.tight { padding-top: 0; }
.section-head { max-width: 68ch; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); max-width: 68ch; }
.kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.card-grid {
  display: grid;
  gap: 0.9rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.4rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  background: var(--card-2);
  transform: translateY(-2px);
}
.icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(212,180,131,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
}
.icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--gold-2);
  letter-spacing: -0.02em;
}
.more:hover { color: var(--text); }

/* Split */
.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.split-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  aspect-ratio: 4/3;
}

/* Photo band */
.photo-band {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,9,12,0.15) 0%, rgba(7,9,12,0.82) 100%);
}
.photo-band .wrap { padding: 3rem 0 1.6rem; }
.photo-band p {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 28rem;
}

/* CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: 5rem 0;
  overflow: hidden;
}
.cta-band .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta-band .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.cta-band .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,12,0.88) 0%, rgba(7,9,12,0.7) 50%, rgba(7,9,12,0.5) 100%),
    linear-gradient(180deg, rgba(7,9,12,0.25), rgba(7,9,12,0.5));
}
.hero .lede,
.cta-band .lede { color: #e7e1d6; }
.hero .fine { color: rgba(231,225,214,0.7); }

/* About */
.page-hero {
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(212,180,131,0.08), transparent 60%),
    var(--bg);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid;
  gap: 0.25rem;
  padding: 1.2rem 0 1.2rem 1.2rem;
  border-left: 1px solid var(--line-2);
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px; top: 1.45rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,180,131,0.15);
}
.timeline .when {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.timeline .role { font-weight: 700; letter-spacing: -0.03em; }
.timeline .org { color: var(--text); }
.timeline .note, .source { color: var(--muted); font-size: 0.95rem; }
.source { margin-top: 1.2rem; }

.license-list {
  display: grid;
  gap: 0.8rem;
  padding: 0; margin: 0;
  list-style: none;
}
.license-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
}
.license-list strong { display: block; margin-bottom: 0.25rem; }

/* Loans */
.loan-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.4rem 0 0;
}
.loan-toc a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 650;
}
.loan-toc a:hover { border-color: var(--gold); color: var(--gold-2); }

.loan-grid {
  display: grid;
  gap: 0.9rem;
}
.loan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.25rem 1.15rem;
}
.loan-card:target {
  scroll-margin-top: calc(var(--header) + 1rem);
  border-color: var(--gold-d);
}
.loan-card h2 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.excerpt { color: var(--muted); font-size: 0.98rem; }
.loan-card details {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.loan-card summary {
  cursor: pointer;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.9rem;
  list-style: none;
  letter-spacing: -0.02em;
}
.loan-card summary::-webkit-details-marker { display: none; }
.loan-card summary::after {
  content: " +";
  color: var(--gold);
  font-weight: 700;
}
.loan-card details[open] summary::after { content: " –"; }
.official {
  margin-top: 0.95rem;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.05rem 1.1rem;
  color: #d8d3ca;
  font-size: 0.94rem;
}
.official h3 {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin: 1rem 0 0.45rem;
  color: var(--text);
}
.official h3:first-child { margin-top: 0; }
.official ul { margin: 0.3rem 0 0.85rem 1.1rem; padding: 0; }
.official li { margin: 0.3rem 0; }
.official-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 0.45rem;
}
.other-list {
  display: grid;
  gap: 0;
  padding: 0; margin: 0.4rem 0 0;
  list-style: none;
}
.other-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #050608;
  color: var(--muted);
  padding: 2.8rem 0 2.2rem;
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}
.site-footer a { color: var(--gold-2); }
.footer-top {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.footer-logo.brand {
  display: inline-flex;
  margin-bottom: 1.05rem;
  gap: 0.8rem;
}
.footer-logo.brand .brand-mark { height: 32px; }
.footer-logo.brand .name {
  font-size: 1.28rem;
}
.footer-logo.brand .sub { font-size: 0.62rem; }
.footer-brand .wcl-logo {
  width: 132px;
  height: auto;
  display: block;
  margin: 0 0 0.9rem;
}
.footer-meta { color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
.eh { display: flex; align-items: flex-start; gap: 0.7rem; }
.eh svg, .eh img { width: 34px; height: 34px; flex: 0 0 34px; color: var(--text); }
.footer-required {
  color: var(--text);
  font-weight: 700;
  margin: 0 0 1rem;
}
.legal { color: var(--muted-2); }
.legal p { margin-bottom: 0.8em; }
.credits {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted-2);
}
.credits a { color: var(--muted); }

/* Motion */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-animate].in { opacity: 1; transform: none; }
.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}
.hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.26s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.34s; }
.portrait-wrap { animation: portrait-rise 1.1s var(--ease) 0.2s both; }
@keyframes portrait-rise {
  from { transform: translateY(22px); }
  to { transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 760px) {
  .card-grid.programs { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    border: 0;
    padding: 0;
    gap: 0 1.15rem;
    background: transparent;
    backdrop-filter: none;
  }
  .site-nav a { padding: 0.2rem 0; font-size: 0.88rem; }
  .btn.header-cta { display: inline-flex; padding: 0.55rem 1.05rem; min-height: 42px; }
  .brand-mark { height: 30px; }
  .brand .name { font-size: 1.16rem; }
  .hero { min-height: 88svh; padding: 0; display: flex; align-items: stretch; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7,9,12,0.45) 0%, rgba(7,9,12,0.18) 30%, rgba(7,9,12,0.55) 78%, var(--bg) 100%),
      linear-gradient(90deg, rgba(7,9,12,0.88) 0%, rgba(7,9,12,0.55) 46%, rgba(7,9,12,0.22) 100%);
  }
  .hero .wrap { width: min(calc(100% - 2.5rem), var(--max)); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
    min-height: 88svh;
    align-items: center;
    gap: 3.5rem;
    padding: 4.5rem 0 4.25rem;
  }
  .portrait-wrap { justify-content: flex-end; }
  .portrait-frame { width: min(100%, 380px); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 0.5rem 0.4rem; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; }
  .split-photo img { min-height: 460px; aspect-ratio: auto; height: 460px; }
  .timeline li { grid-template-columns: 12rem 1fr; padding-left: 1.5rem; }
  .license-list { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.15fr 1fr 1fr; }
  .loan-grid { grid-template-columns: 1fr 1fr; }
  .loan-card.span-2 { grid-column: 1 / -1; }
  .photo-band { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}


/* Audience / who he helps */
.audience-grid {
  display: grid;
  gap: 0.9rem;
}
.audience-grid .card p { min-height: 0; }

/* Steps */
.steps {
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.4rem;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(212,180,131,0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* Social */
.social-cta {
  padding: 4.2rem 0;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(212,180,131,0.10), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.social-chip:hover { border-color: var(--gold); color: var(--gold-2); }
.social-chip small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  margin-top: 0.15rem;
}
.social-chip .stack { line-height: 1.2; }

/* Contact form UI (no backend — mailto / tel / apply) */
.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
.contact-form,
.info-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.25rem 1.45rem;
}
.contact-form .row {
  display: grid;
  gap: 0.8rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}
.info-panel p { color: var(--muted); }
.info-panel a.big {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.85rem;
}
.info-panel a.big:hover { color: var(--gold-2); }

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 0.2rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 1rem 1.1rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-wrap: pretty;
  font-size: 1.02rem;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-weight: 700;
  flex: 0 0 auto;
  line-height: 1;
  margin-top: 0.15em;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer {
  padding: 0 1.1rem 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 72ch;
  line-height: 1.7;
}

/* Fuller footer */
.footer-grid {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.footer-grid ul {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
}
.footer-grid li { margin: 0.28rem 0; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }

.loan-card .excerpt { display: -webkit-box; -webkit-box-orient: vertical; }

@media (min-width: 760px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; }
  .contact-form .row.two { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr; }
}
@media (min-width: 980px) {
  .audience-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .card-grid.programs { grid-template-columns: repeat(2, 1fr); }
}


/* Formatting polish — first-person launch pass */
:root {
  --space-section: clamp(3.5rem, 7vw, 5.5rem);
  --prose: 68ch;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip:focus-visible { outline-offset: 2px; }

p, li, .answer, .excerpt, .legal p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.cta-row { align-items: stretch; }
.cta-row .btn { min-width: 10.5rem; }

.social-lede { margin-bottom: 0; }
.fine-after { margin-top: 0.9rem; }

.hero-copy { max-width: 38rem; }
.hero .cta-row { margin-top: 0.15rem; }

.audience-grid .card,
.card-grid .card,
.steps .step,
.license-list li {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card .more { margin-top: auto; padding-top: 1rem; }

.info-panel a.big {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.legal, .credits { max-width: 75ch; }
.footer-required { letter-spacing: -0.01em; }

.loan-toc a { min-height: 36px; display: inline-flex; align-items: center; }
.loan-card, .faq-item, #contact, :target { scroll-margin-top: calc(var(--header) + 1rem); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
}

.site-nav a { border-radius: 8px; }

body.menu-open { overflow: hidden; }
#nav-cb:focus-visible + .nav-toggle { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 759px) {
  body { font-size: 1.0625rem; }
  h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.012em;
  }
  h2 {
    font-size: clamp(1.5rem, 6.6vw, 1.95rem);
    line-height: 1.18;
  }
  h3 { font-size: 1.05rem; }
  .lede { font-size: 1.02rem; margin: 0.95rem 0 1.25rem; }
  .brand .sub { font-size: 0.625rem; letter-spacing: 0.12em; }
  .header-inner { width: min(calc(100% - 1.5rem), var(--max)); }
  .wrap { width: min(calc(100% - 1.5rem), var(--max)); }
  .hero { padding: 1.6rem 0 2rem; }
  .portrait-frame { width: min(100%, 300px); }
  .stats { padding-bottom: 2.75rem; }
  .stat { padding: 0.7rem 0.65rem; }
  .stat b { font-size: 1.05rem; }
  .cta-row { gap: 0.6rem; }
  .cta-row .btn {
    flex: 1 1 calc(50% - 0.6rem);
    min-width: 0;
    padding-inline: 1rem;
  }
  .cta-band { padding: 3.5rem 0; }
  .cta-band .cta-row .btn { flex-basis: 100%; }
  .social-cta { padding: 3.25rem 0; }
  .page-hero h1 { max-width: none; }
  .contact-form, .info-panel { padding: 1.2rem 1.05rem 1.25rem; }
  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .loan-card h2 { font-size: 1.2rem; }
  .timeline li { padding-left: 1.05rem; }
}

@media (min-width: 760px) {
  .hero-copy { max-width: 34rem; }
  .page-hero .split .portrait-frame { width: min(100%, 360px); margin-left: auto; }
}

.nowrap { white-space: nowrap; }

/* Keep inner pages from leaving a large empty band under the page hero on a 1440x900 fold */
.page-hero + .block { padding-top: clamp(2.25rem, 4vw, 3rem); }
@media (min-width: 760px) {
  .page-hero.split,
  .page-hero .split { align-items: start; }
  .page-hero .split .portrait-frame { width: min(100%, 300px); }
  .page-hero { padding-bottom: 2rem; }
}


/* First-glance typography and hero composition */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 36rem;
}
.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.05rem, 3.4vw + 0.7rem, 3.25rem);
  letter-spacing: -0.012em;
  line-height: 1.08;
  text-wrap: pretty;
}
.hero .lede {
  max-width: 36ch;
  margin: 1rem 0 1.35rem;
  color: #e4ddd0;
  font-size: 1.05rem;
  line-height: 1.5;
}
.hero .cta-row { margin-top: 0; }
.hero .cta-row .btn { min-width: 10rem; }

@media (min-width: 760px) {
  .hero-copy { max-width: 34rem; }
  .brand .name { font-size: 1.12rem; }
  .site-nav a {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.018em;
  }
}

@media (max-width: 759px) {
  h1 {
    font-size: clamp(2.15rem, 10.2vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.012em;
  }
  .hero { padding: 1.35rem 0 1.75rem; }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.9rem, 7.6vw, 2.2rem);
    line-height: 1.12;
  }
  .hero .lede {
    max-width: none;
    font-size: 1.0rem;
    margin: 0.85rem 0 1.15rem;
  }
  .portrait-frame { width: min(100%, 280px); }
}


@media (max-width: 759px) {
  .hero .cta-row {
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.5rem;
  }
  .hero .cta-row .btn {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    padding-inline: 0.8rem;
    font-size: 0.9rem;
  }
}
