:root {
  color-scheme: light;
  --emerald-950: #032c25;
  --emerald-900: #073f34;
  --emerald-800: #075745;
  --emerald-700: #0b6d55;
  --emerald-600: #168166;
  --emerald-200: #b9dfd1;
  --emerald-100: #dff2ea;
  --emerald-50: #eef8f4;
  --gold: #caa654;
  --gold-text: #80631f;
  --gold-soft: #f0dfb7;
  --blue-950: #16344f;
  --blue-900: #1b4668;
  --blue-700: #2e6f99;
  --blue-200: #bcd8ea;
  --blue-100: #dcecf6;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #17352e;
  --muted: #63776f;
  --border: #d7e3de;
  --max: 1220px;
  --shadow: 0 24px 65px rgba(5, 63, 52, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
  min-width: 320px;
}
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { color: var(--emerald-950); letter-spacing: -0.045em; }
.skip-link {
  background: var(--gold);
  border-radius: 0 0 8px 8px;
  font-weight: 800;
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}
.skip-link:focus { top: 0; }

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255,253,248,.93);
  border-bottom: 1px solid rgba(7,87,69,.14);
  display: flex;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { align-items: center; display: flex; text-decoration: none; }
.brand img { display: block; height: 86px; mix-blend-mode: multiply; object-fit: contain; width: 86px; }
.site-header nav { align-items: center; display: flex; gap: clamp(.8rem, 2.4vw, 2.1rem); }
.site-header nav a { color: var(--muted); font-size: .9rem; font-weight: 800; text-decoration: none; }
.site-header nav a:hover { color: var(--emerald-800); }
.site-header nav a:nth-last-child(2) { color: var(--blue-900); }
.site-header nav a:last-child { background: var(--emerald-900); border-radius: 999px; color: white; padding: .65rem 1rem; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.hero {
  align-items: center;
  background: radial-gradient(circle at 9% 5%, rgba(185,223,209,.62), transparent 29rem), linear-gradient(145deg, #fffdf8 0%, #f4faf7 65%, #edf7f2 100%);
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  min-height: calc(100vh - 92px);
  overflow: hidden;
  padding: 5rem max(22px, calc((100vw - var(--max)) / 2));
}
.hero-copy { max-width: 730px; }
.eyebrow { color: var(--emerald-700); font-size: .75rem; font-weight: 900; letter-spacing: .17em; margin: 0 0 .75rem; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.8rem, 7.4vw, 7.2rem); line-height: .86; margin: 0; max-width: 820px; }
.hero-lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin: 1.8rem 0 0; max-width: 660px; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.primary-button, .secondary-button, .gold-button { border-radius: 8px; display: inline-flex; font-size: .87rem; font-weight: 900; justify-content: center; padding: .9rem 1.2rem; text-decoration: none; }
.primary-button { background: var(--emerald-900); color: white; }
.secondary-button { border: 1px solid var(--blue-700); color: var(--blue-900); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 2rem; }
.hero-proof span { color: var(--muted); font-size: .8rem; font-weight: 800; }
.hero-proof span::before { color: var(--gold); content: "●"; font-size: .55rem; margin-right: .5rem; }

.hero-visual { aspect-ratio: .88; background: var(--blue-100); border: 1px solid rgba(27,70,104,.18); border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow); margin: 0; max-height: 660px; min-height: 490px; overflow: hidden; position: relative; }
.hero-visual::after { background: linear-gradient(180deg, transparent 45%, rgba(3,44,37,.62) 100%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hero-visual > img { height: 100%; object-fit: cover; object-position: center 56%; width: 100%; }
.hero-visual figcaption { align-items: end; bottom: 1.2rem; display: flex; gap: 1rem; justify-content: space-between; left: 1.2rem; position: absolute; right: 1.2rem; z-index: 2; }
.hero-visual figcaption img { background: rgba(255,255,255,.94); border-radius: 14px; box-shadow: 0 12px 28px rgba(3,44,37,.2); height: 126px; mix-blend-mode: normal; object-fit: contain; padding: .15rem; width: 126px; }
.hero-visual figcaption p { color: white; font-size: clamp(.9rem, 1.7vw, 1.25rem); font-weight: 900; line-height: 1.2; margin: 0 0 .6rem; text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.3); }

.principles { background: linear-gradient(90deg, var(--emerald-900) 0 66.66%, var(--blue-900) 66.66%); display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); padding: 1px max(22px, calc((100vw - var(--max)) / 2)); }
.principles article { background: var(--emerald-900); display: grid; gap: .4rem; grid-template-columns: auto 1fr; padding: 2rem; }
.principles article:last-child { background: var(--blue-900); }
.principles span { color: var(--gold-soft); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.principles p { color: #c3dcd3; font-size: .875rem; margin: 0; }

.section { padding: 7rem max(22px, calc((100vw - var(--max)) / 2)); }
.section-heading { align-items: end; display: grid; gap: 3rem; grid-template-columns: 1.2fr .8fr; margin-bottom: 3rem; }
.section-heading h2, .about h2, .student-feature h2, .contact h2 { font-size: clamp(2.5rem, 5.3vw, 5rem); line-height: .96; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 1rem; margin: 0; }
.service-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.service-grid article { background: white; border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; min-height: 265px; padding: 1.7rem; }
.service-grid article:hover { border-color: var(--emerald-600); box-shadow: 0 14px 40px rgba(5,63,52,.08); transform: translateY(-2px); }
.service-number { color: var(--gold-text); font-size: .75rem; font-weight: 900; letter-spacing: .1em; }
.service-grid article:nth-child(2) .service-number, .service-grid article:nth-child(5) .service-number { color: var(--blue-700); }
.service-grid h3 { font-size: 1.35rem; line-height: 1.1; margin: auto 0 .75rem; }
.service-grid p { color: var(--muted); font-size: .9rem; margin: 0; }
.service-grid .student-service { background: var(--blue-950); border-color: var(--blue-950); }
.student-service h3 { color: white; }
.service-grid .student-service p { color: #bcd8ce; }
.student-service a { color: var(--gold-soft); font-size: .875rem; font-weight: 900; margin-top: 1rem; text-decoration: none; }

.about { background: linear-gradient(135deg, #edf6f2 0%, #eef5fa 100%); display: grid; gap: 1rem; grid-template-columns: 1.05fr .95fr; padding: 7rem max(22px, calc((100vw - var(--max)) / 2)); }
.about-card, .values-card { border-radius: 20px; padding: clamp(2rem, 5vw, 4rem); }
.about-card { background: white; }
.about-side { display: grid; gap: 1rem; }
.photo-card { aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: var(--shadow); margin: 0; overflow: hidden; position: relative; }
.photo-card::after { background: linear-gradient(180deg, transparent 50%, rgba(22,52,79,.86)); content: ""; inset: 0; position: absolute; }
.photo-card > img { height: 100%; object-fit: cover; object-position: center 54%; width: 100%; }
.photo-card figcaption { bottom: 1.35rem; color: white; display: grid; left: 1.45rem; position: absolute; right: 1.45rem; z-index: 1; }
.photo-card figcaption strong { font-size: 1.08rem; }
.photo-card figcaption span { color: var(--blue-100); font-size: .875rem; }
.about-lead { color: var(--emerald-800); font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; }
.about-card > p:not(.eyebrow):not(.about-lead) { color: var(--muted); }
.experience-strip { display: grid; gap: .65rem; grid-template-columns: repeat(3, 1fr); margin: 2rem 0 0; }
.experience-strip div { background: var(--emerald-50); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.experience-strip dt { color: var(--emerald-900); font-size: 1rem; font-weight: 900; line-height: 1.2; }
.experience-strip dd { color: var(--muted); font-size: .8rem; line-height: 1.35; margin: .3rem 0 0; }
.about-card .practice-note { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--emerald-950); margin: 1.25rem 0 0; padding: .9rem 1rem; }
.practice-note strong { color: var(--emerald-950); }
.directory-callout { align-items: center; background: var(--blue-950); border-radius: 12px; color: white; display: flex; gap: 1rem; justify-content: space-between; margin-top: .75rem; padding: 1rem; text-decoration: none; }
.directory-callout > span { color: var(--blue-200); font-size: .78rem; font-weight: 800; }
.directory-callout > strong { color: white; font-size: .86rem; text-align: right; }
.directory-callout b { color: var(--gold-soft); margin-left: .25rem; }
.directory-callout:hover strong { color: var(--gold-soft); }
.signature-line { border-top: 1px solid var(--border); display: grid; margin-top: 2rem; padding-top: 1.2rem; }
.signature-line span { color: var(--emerald-900); font-weight: 900; }
.signature-line small { color: var(--muted); }
.values-card { background: var(--blue-950); color: white; }
.values-card .eyebrow { color: var(--gold-soft); }
.values-card ul { display: grid; gap: 1.35rem; list-style: none; margin: 1.8rem 0 0; padding: 0; }
.values-card li { border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: .25rem; padding-bottom: 1.2rem; }
.values-card li:last-child { border-bottom: 0; }
.values-card strong { color: white; }
.values-card span { color: var(--blue-200); font-size: .82rem; }

.student-feature { align-items: center; background: linear-gradient(135deg, var(--emerald-950), var(--blue-950)); display: grid; gap: clamp(3rem, 7vw, 7rem); grid-template-columns: .92fr 1.08fr; padding: 7rem max(22px, calc((100vw - var(--max)) / 2)); }
.student-feature .eyebrow { color: var(--gold-soft); }
.student-feature h2 { color: white; }
.student-feature > div > p:not(.eyebrow) { color: #bcd8ce; max-width: 700px; }
.gold-button { background: var(--gold); color: var(--emerald-950); margin-top: 1rem; }
.student-showcase { display: grid; gap: 1rem; }
.student-photo { aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; margin: 0; overflow: hidden; position: relative; }
.student-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(3,44,37,.86)); content: ""; inset: 0; position: absolute; }
.student-photo img { height: 100%; object-fit: cover; width: 100%; }
.student-photo figcaption { bottom: 1rem; color: white; font-size: .875rem; font-weight: 800; left: 1.1rem; position: absolute; right: 1.1rem; z-index: 1; }
.tool-preview { background: white; border-radius: 20px; box-shadow: var(--shadow); padding: 1.2rem; }
.tool-preview > span { color: var(--emerald-700); display: block; font-size: .75rem; font-weight: 900; letter-spacing: .14em; padding: .4rem .5rem 1rem; text-transform: uppercase; }
.tool-preview article { align-items: center; border-top: 1px solid var(--border); display: flex; gap: 1rem; padding: 1.1rem .5rem; }
.tool-preview article > b { align-items: center; background: var(--emerald-100); border-radius: 9px; color: var(--emerald-800); display: flex; height: 43px; justify-content: center; width: 43px; }
.tool-preview article:nth-of-type(2) > b { background: var(--blue-100); color: var(--blue-900); }
.tool-preview article div { display: grid; }
.tool-preview small { color: var(--muted); }

.contact { align-items: start; display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1fr .85fr; }
.contact-copy > p:last-child { color: var(--muted); max-width: 650px; }
.contact-links { border-top: 1px solid var(--border); }
.contact-links a, .contact-links button { background: transparent; border: 0; border-bottom: 1px solid var(--border); color: inherit; cursor: pointer; display: grid; font: inherit; padding: 1.15rem .2rem; text-align: left; text-decoration: none; width: 100%; }
.contact-links a:hover strong, .contact-links button:hover strong { color: var(--emerald-600); }
.contact-links span { color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-links strong { color: var(--emerald-900); font-size: clamp(.85rem, 1.5vw, 1.1rem); overflow-wrap: anywhere; }
.contact-links button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

footer { align-items: center; background: linear-gradient(100deg, #021f19, var(--blue-950)); color: #c6ddd5; display: grid; gap: 1.5rem; grid-template-columns: .9fr .9fr .7fr; padding: 3rem max(22px, calc((100vw - var(--max)) / 2)); }
.footer-brand { align-items: center; background: white; border-radius: 12px; display: flex; height: 102px; justify-content: center; overflow: hidden; width: 102px; }
.footer-brand img { height: 100%; object-fit: contain; width: 100%; }
footer p, footer small { color: #a9c9c0; font-size: .8rem; margin: 0; }
.footer-links { display: flex; gap: 1rem; justify-self: end; }
.footer-links a { color: var(--gold-soft); font-size: .8rem; font-weight: 800; text-decoration: none; }
footer small { grid-column: 1 / -1; }

@media (max-width: 940px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-bottom: .6rem; padding-top: .55rem; }
  .site-header nav { align-self: stretch; overflow-x: auto; padding: .25rem 0; }
  .site-header nav a { white-space: nowrap; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 4rem; }
  .hero-visual { justify-self: center; max-width: 570px; width: 100%; }
  .section-heading, .about, .student-feature, .contact { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .site-header nav { gap: 1rem; }
  .site-header nav a:last-child { background: transparent; color: var(--muted); padding: 0; }
  .hero, .section, .about, .student-feature { padding-bottom: 4.5rem; padding-left: 16px; padding-right: 16px; padding-top: 4.5rem; }
  .hero h1 { font-size: clamp(3.35rem, 17vw, 5.2rem); }
  .hero-visual { min-height: 390px; }
  .principles, .service-grid { grid-template-columns: 1fr; }
  .principles { padding-left: 0; padding-right: 0; }
  .principles article { border-bottom: 1px solid rgba(255,255,255,.08); }
  .service-grid article { min-height: 230px; }
  .about-card, .values-card { border-radius: 16px; padding: 1.5rem; }
  .experience-strip { grid-template-columns: 1fr; }
  .directory-callout { align-items: flex-start; flex-direction: column; }
  .directory-callout > strong { text-align: left; }
  footer { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
