:root {
  --navy: #0f172a;
  --navy-soft: #172033;
  --ink: #1e293b;
  --muted: #64748b;
  --paper: #fbfaf7;
  --white: #ffffff;
  --gold: #c7a75a;
  --gold-soft: #eee3c3;
  --line: #dce1e7;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(15, 23, 42, .08);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 999;
  background: var(--white); padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(790px, 100%); }
.center { text-align: center; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; padding: 0 max(20px, calc((100vw - 1160px)/2));
  background: rgba(251,250,247,.92); border-bottom: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(16px);
}
.brand {
  text-decoration: none; font-family: var(--serif); font-size: 1.08rem;
  color: var(--navy); letter-spacing: -.01em;
}
.brand span { color: var(--gold); font-size: .72em; vertical-align: super; }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; font-size: .9rem; color: var(--muted); font-weight: 600; }
nav a:hover, nav a:focus { color: var(--navy); }
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 74px); display: grid; place-items: center; position: relative;
  overflow: hidden; background:
    radial-gradient(circle at 75% 25%, rgba(199,167,90,.18), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f3f0e8 100%);
}
.hero-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: rgba(199,167,90,.13); filter: blur(18px); right: -140px; bottom: -220px;
}
.hero-inner { position: relative; padding: 110px 0; text-align: center; max-width: 980px; }
.eyebrow {
  margin: 0 0 20px; color: #9a7a2f; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .17em; font-weight: 700;
}
.eyebrow.light { color: var(--gold-soft); }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 {
  margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 8vw, 7.5rem);
  letter-spacing: -.045em; font-weight: 400;
}
h1 span { color: var(--gold); font-size: .3em; vertical-align: top; }
h2 {
  margin: 0 0 26px; font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  font-weight: 400; letter-spacing: -.035em;
}
h3 { margin: 0 0 12px; font-size: 1.25rem; }
.hero-line {
  max-width: 900px; margin: 34px auto 20px; font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.35; color: var(--navy-soft);
}
.hero-support { max-width: 720px; margin: 0 auto; font-size: 1.03rem; color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.button:hover, .button:focus { transform: translateY(-2px); }
.button.primary { background: var(--navy); color: var(--white); }
.button.secondary { border-color: var(--navy); color: var(--navy); }
.button.light { background: var(--white); color: var(--navy); }

.section { padding: 112px 0; }
.question { background: var(--white); }
.question p { font-size: 1.15rem; }
.human-list { display: grid; gap: 8px; margin: 30px 0; font-family: var(--serif); font-size: 1.55rem; color: var(--navy); }
.statement {
  margin-top: 34px; padding-left: 22px; border-left: 4px solid var(--gold);
  font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.32; color: var(--navy);
}
.statement.small { font-size: 1.7rem; }
.contrast { background: var(--navy); color: #d8e0eb; }
.contrast h2 { color: var(--white); }
.contrast p { font-size: 1.2rem; }
.impact-line { margin-top: 28px; color: var(--gold-soft); font-weight: 600; }

.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.principle {
  min-height: 270px; padding: 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 35px;
  border-radius: 50%; background: var(--gold-soft); color: #735917; font-weight: 800;
}
.principle p, .card p { color: var(--muted); }

.initiatives { background: #f1efe8; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card {
  padding: 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card-mark {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px;
  margin-bottom: 26px; background: var(--navy); color: var(--gold-soft); font-weight: 800;
}
.card a { display: inline-block; margin-top: 20px; color: var(--navy); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.founder-photo {
  min-height: 580px; border-radius: 28px; display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(rgba(15,23,42,.25), rgba(15,23,42,.35)),
    url("assets/founder.jpg") center/cover no-repeat,
    linear-gradient(135deg, #d8d1c1, #b7aa92);
  color: white; overflow: hidden;
}
.founder-photo div { padding: 18px 22px; border-radius: 12px; background: rgba(15,23,42,.75); }
.founder-photo strong, .founder-photo span { display: block; }
.signature { margin-top: 30px; color: var(--muted); }

.essays { background: var(--white); }
.essay-list { border-top: 1px solid var(--line); margin-top: 30px; }
.essay {
  display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 20px;
  padding: 24px 4px; text-decoration: none; border-bottom: 1px solid var(--line);
}
.essay span, .essay em { color: var(--muted); font-size: .9rem; }
.essay strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.essay:hover strong { color: #8d6f28; }

.case-studies { background: var(--gold-soft); }
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.case-actions { text-align: center; }
.small-note { font-size: .82rem; color: var(--muted); }
code { font-size: .85em; }

.connect { background: var(--navy); color: #dce3ec; }
.connect h2 { color: var(--white); }
.connect-intro { max-width: 770px; font-size: 1.08rem; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0 26px; }
.path {
  padding: 22px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #dce3ec;
  text-align: left; border-radius: 16px; cursor: pointer;
}
.path strong, .path span { display: block; }
.path strong { color: white; margin-bottom: 8px; }
.path span { font-size: .88rem; }
.path.active { border-color: var(--gold); background: rgba(199,167,90,.12); }

.inquiry-form { padding: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 18px; font-weight: 600; color: white; }
input, textarea {
  width: 100%; margin-top: 8px; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.94); color: var(--ink);
}
input:focus, textarea:focus { outline: 3px solid rgba(199,167,90,.5); border-color: var(--gold); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin-top: 5px; }
.form-note { font-size: .9rem; color: #c6d0dd; }
.honeypot { position: absolute; left: -9999px; }

.final-line { background: var(--white); }
.final-line p { margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: .8rem; }

footer { padding: 65px 0 28px; background: #090f1c; color: #bec9d8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; }
.footer-brand { color: white; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; justify-content: end; }
.footer-links a { color: #d6deea; text-decoration: none; }
.legal {
  display: flex; justify-content: space-between; gap: 18px; margin-top: 50px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12); color: #7f8da0; font-size: .82rem;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav {
    position: absolute; left: 0; right: 0; top: 74px; display: none; flex-direction: column;
    background: var(--paper); padding: 20px; border-bottom: 1px solid var(--line);
  }
  nav.open { display: flex; }
  .menu-toggle { display: block; border: 0; background: transparent; font-weight: 700; color: var(--navy); }
  .principles-grid, .cards, .path-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid, .split { grid-template-columns: 1fr; }
  .founder-photo { min-height: 480px; }
}
@media (max-width: 620px) {
  .section { padding: 82px 0; }
  .hero-inner { padding: 88px 0; }
  .principles-grid, .cards, .path-grid, .form-grid { grid-template-columns: 1fr; }
  .essay { grid-template-columns: 38px 1fr; }
  .essay em { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}
.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.follow {
  background: #f4f1e9;
}


nav .nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}
nav .nav-cta:hover,
nav .nav-cta:focus {
  color: var(--white);
}
.buddy-logo {
  display: block;
  width: min(220px, 85%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 22px;
}
.section-intro {
  max-width: 720px;
  color: var(--muted);
  margin-top: -8px;
}
@media (max-width: 900px) {
  nav .nav-cta {
    text-align: center;
  }
}
