:root {
  color-scheme: light dark;
  --bg: #f7f8f3;
  --surface: #edf1e9;
  --surface-strong: #dce6dc;
  --text: #142820;
  --muted: #52665e;
  --line: #c6d2ca;
  --brand: #0d5c4d;
  --brand-strong: #08463a;
  --accent: #d8ae5c;
  --on-dark: #f4f7ef;
  --radius: 18px;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Avenir Next, Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; transform: translateY(-160%); padding: 10px 14px; border-radius: 999px; background: var(--text); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }
.site-header { width: var(--page); height: 72px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 740; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 50%; background: var(--brand); color: #f8fbf5; font-size: 12px; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 30px; color: var(--muted); white-space: nowrap; }
nav a, .nav-cta { transition: color 180ms ease, border-color 180ms ease, transform 180ms ease; }
nav a:hover { color: var(--text); }
.nav-cta { justify-self: end; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; font-weight: 680; white-space: nowrap; }
.nav-cta:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

.hero { width: var(--page); min-height: calc(100dvh - 72px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); align-items: center; gap: clamp(40px, 7vw, 92px); padding: 38px 0 68px; }
.hero-copy { padding-bottom: 18px; animation: enter-up .7s cubic-bezier(.16, 1, .3, 1) both; }
.eyebrow { margin: 0 0 20px; color: var(--brand); font-size: 13px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; max-width: 720px; font-size: clamp(3.5rem, 5.8vw, 5.9rem); line-height: .98; letter-spacing: -.06em; font-weight: 620; }
.hero-text { max-width: 520px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; font-weight: 720; white-space: nowrap; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease; }
.button:active { transform: translateY(1px) scale(.99); }
.button-primary { background: var(--brand); color: #f8fbf5; }
.button-primary:hover { background: var(--brand-strong); transform: translateY(-2px); }
.button-secondary { border: 1px solid var(--line); }
.button-secondary:hover { border-color: var(--brand); color: var(--brand); }
.button-light { background: #f4f7ef; color: #12372d; }
.button-light:hover { background: #ffffff; transform: translateY(-2px); }
.hero-visual { position: relative; min-height: min(68dvh, 690px); border-radius: var(--radius); overflow: hidden; background: var(--brand); isolation: isolate; animation: enter-up .8s .12s cubic-bezier(.16, 1, .3, 1) both; }
.hero-visual::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(5, 27, 22, .74)); pointer-events: none; }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-note { position: absolute; z-index: 1; inset: auto 20px 20px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(8, 53, 44, .84); color: #f6f8f1; backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.visual-note span, .visual-note strong { display: block; }
.visual-note span { color: rgba(246,248,241,.73); font-size: 14px; }
.visual-note strong { margin-top: 4px; font-size: 18px; }

.reach-strip { width: var(--page); margin: 0 auto; padding: 24px 0; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.reach-strip p { margin: 0; font-size: 15px; }
.reach-strip p:last-child { text-align: right; }
.reach-strip span { height: 1px; background: var(--accent); }
.section { width: var(--page); margin: 0 auto; padding: clamp(84px, 11vw, 150px) 0; }
.intro { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .72fr); align-items: start; gap: clamp(48px, 9vw, 130px); }
.intro-lead { display: grid; grid-template-columns: 70px 1fr; gap: 28px; align-items: start; }
.section-mark { display: grid; place-items: center; width: 70px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); color: var(--brand); font-family: Georgia, serif; font-size: 34px; }
.intro h2, .section-heading h2, .approach h2, .founder h2, .contact h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 610; }
.intro-body { padding-top: 10px; color: var(--muted); font-size: 1.06rem; }
.intro-body p { margin-bottom: 22px; }

.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading p { max-width: 580px; margin: 22px 0 0; color: var(--muted); font-size: 1.06rem; }
.program-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "featured standard" "dark image"; gap: 18px; }
.program { min-height: 310px; padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.program-featured { grid-area: featured; min-height: 430px; background: var(--surface-strong); background-image: radial-gradient(circle at 82% 17%, color-mix(in srgb, var(--accent) 45%, transparent) 0 4px, transparent 5px), repeating-radial-gradient(circle at 82% 17%, transparent 0 33px, color-mix(in srgb, var(--brand) 15%, transparent) 34px 35px); }
.program-grid > article:nth-child(2) { grid-area: standard; }
.program-dark { grid-area: dark; background: var(--brand); color: var(--on-dark); }
.program-image { grid-area: image; position: relative; min-height: 430px; color: #f6f8f1; }
.program-image::after { content: ""; position: absolute; inset: 20% 0 0; background: linear-gradient(transparent, rgba(4, 22, 18, .86)); }
.program-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.program-image > div { position: relative; z-index: 1; }
.program-kicker { margin-bottom: 12px; color: var(--brand); font-size: 14px; font-weight: 730; }
.program-dark .program-kicker, .program-image .program-kicker { color: #d8e5dc; }
.program h3 { margin: 0; max-width: 470px; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.08; letter-spacing: -.035em; }
.program p:last-child { max-width: 500px; margin: 16px 0 0; color: var(--muted); }
.program-dark p:last-child, .program-image p:last-child { color: rgba(246,248,241,.76); }

.approach { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: clamp(50px, 10vw, 150px); align-items: start; }
.approach-copy { position: sticky; top: 48px; }
.approach-copy > p { max-width: 460px; margin: 24px 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 730; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-list li:first-child { padding-top: 0; }
.process-list li > span { color: var(--brand); font-size: 14px; font-weight: 750; }
.process-list h3 { margin: 0; font-size: 1.5rem; letter-spacing: -.025em; }
.process-list p { max-width: 520px; margin: 8px 0 0; color: var(--muted); }

.founder { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr); gap: clamp(50px, 9vw, 130px); align-items: center; }
.founder-portrait { min-height: 520px; padding: 42px; border-radius: var(--radius); background: var(--brand); color: var(--on-dark); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.founder-portrait::before { content: ""; position: absolute; width: 430px; aspect-ratio: 1; top: -120px; left: -150px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.055), 0 0 0 130px rgba(255,255,255,.035); }
.founder-portrait span, .founder-portrait strong, .founder-portrait p { position: relative; }
.founder-portrait span { color: rgba(244,247,239,.68); }
.founder-portrait strong { font-size: clamp(5rem, 9vw, 8.5rem); line-height: .95; letter-spacing: -.07em; }
.founder-portrait p { margin: 18px 0 0; }
.founder-label { color: var(--brand); font-weight: 730; }
.founder-copy > p:not(.founder-label) { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 1.06rem; }
.founder-copy .founder-principle { max-width: 620px; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); color: var(--text); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -.025em; }

.contact { margin-bottom: 72px; padding: clamp(52px, 7vw, 84px); border-radius: var(--radius); background: var(--brand); color: var(--on-dark); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 44px; }
.contact-copy p { margin: 20px 0 0; color: rgba(244,247,239,.74); }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-link { color: rgba(244,247,239,.78); font-size: 15px; }
.phone-link:hover { color: #ffffff; }
footer { width: var(--page); min-height: 140px; margin: 0 auto; padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; color: var(--muted); font-size: 14px; }
footer p { margin: 0; }
.footer-brand { color: var(--text); }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes enter-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1713; --surface: #10251e; --surface-strong: #18342b; --text: #edf4ed; --muted: #a8bab1; --line: #294339; --brand: #287b68; --brand-strong: #329078; --accent: #e1b864; }
  .program-featured { background-image: radial-gradient(circle at 82% 17%, rgba(225,184,100,.34) 0 4px, transparent 5px), repeating-radial-gradient(circle at 82% 17%, transparent 0 33px, rgba(132,194,173,.12) 34px 35px); }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 1180px); }
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding: 52px 0 58px; }
  .hero-copy { padding: 0; }
  h1 { max-width: 720px; font-size: clamp(3.1rem, 12vw, 5.4rem); }
  .hero-visual { min-height: 70dvh; }
  .intro, .approach, .founder { grid-template-columns: 1fr; }
  .intro { gap: 42px; }
  .approach { gap: 62px; }
  .approach-copy { position: static; }
  .founder { gap: 44px; }
  .founder-portrait { min-height: 430px; }
  .contact { grid-template-columns: 1fr; }
  .contact-actions { align-items: flex-start; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:first-of-type { display: none; }
}

@media (max-width: 680px) {
  .nav-cta { font-size: 14px; padding: 8px 13px; }
  .reach-strip { grid-template-columns: 1fr; gap: 12px; }
  .reach-strip p:last-child { text-align: left; }
  .reach-strip span { width: 48px; }
  .intro-lead { grid-template-columns: 1fr; }
  .section-mark { width: 58px; }
  .program-grid { grid-template-columns: 1fr; grid-template-areas: "featured" "standard" "dark" "image"; }
  .program, .program-featured, .program-image { min-height: 330px; }
  .contact { width: 100%; margin-bottom: 44px; border-radius: 0; }
  footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 480px) {
  .brand > span:last-child { max-width: 94px; line-height: 1.05; }
  .nav-cta { display: none; }
  .site-header { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 62dvh; }
  .process-list li { grid-template-columns: 42px 1fr; gap: 14px; }
  .contact { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .visual-note { background: #08352c; backdrop-filter: none; }
}
