
:root {
  --ink: #1f2b27;
  --muted: #5f6b66;
  --bg: #fbf7ef;
  --surface: #fffdf8;
  --soft: #f1eadf;
  --forest: #263d35;
  --forest-2: #34564b;
  --sage: #d9e2d3;
  --gold: #b78745;
  --rose: #b98576;
  --line: rgba(38, 61, 53, 0.16);
  --shadow: 0 24px 60px rgba(38, 61, 53, 0.12);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg {
  max-width: 100%;
}

a {
  color: var(--forest-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  background: var(--forest);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(251, 247, 239, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.2;
  margin-top: 2px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--forest);
  color: #fff7ea;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: .94rem;
}

.nav-link:hover,
.nav-link.active {
  background: var(--sage);
  color: var(--forest);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
}

.hero,
.program-hero {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.hero::before,
.program-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 55vw;
  height: 55vw;
  min-width: 460px;
  min-height: 460px;
  background: radial-gradient(circle, rgba(217, 226, 211, .9), rgba(217, 226, 211, 0) 70%);
  transform: translate(20%, -25%);
  z-index: -1;
}

.program-hero {
  background:
    linear-gradient(135deg, rgba(38,61,53,.94), rgba(52,86,75,.88)),
    radial-gradient(circle at 80% 10%, rgba(183,135,69,.36), transparent 32%);
  color: #fffdf8;
}

.program-hero .lead,
.program-hero .eyebrow,
.program-hero .hero-card p,
.program-hero .hero-card li {
  color: rgba(255,253,248,.88);
}

.program-hero .hero-card {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.2);
}

.program-hero .button.secondary {
  color: #fffdf8;
  border-color: rgba(255,255,255,.36);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 52px;
  align-items: center;
}

.eyebrow,
.card-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  font-weight: 700;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin: 0 0 18px;
  color: inherit;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  letter-spacing: -.05em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -.02em;
}

p {
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  max-width: 720px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .96rem;
}

.button.primary {
  background: var(--forest);
  color: white;
}

.button.primary:hover {
  background: var(--forest-2);
  color: white;
}

.button.secondary {
  color: var(--forest);
  border-color: var(--line);
  background: rgba(255,255,255,.46);
}

.button.secondary:hover {
  background: var(--surface);
}

.hero-card,
.profile-card,
.large-card,
.service-card,
.contact-card,
.contact-form,
.quote-panel,
.cta-card,
.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.section {
  padding: 84px 0;
}

.section.soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.large-card,
.profile-card,
.contact-card,
.contact-form {
  padding: 30px;
}

.service-card {
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card.highlight {
  background: linear-gradient(145deg, var(--forest), var(--forest-2));
  color: #fffdf8;
}

.service-card.highlight p,
.service-card.highlight a {
  color: rgba(255,253,248,.88);
}

.large-card h3 {
  margin-top: 28px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-hero {
  padding: 82px 0 64px;
  background:
    linear-gradient(180deg, rgba(217,226,211,.7), transparent),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.profile-card {
  text-align: center;
  position: sticky;
  top: 110px;
}

.portrait-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 48px;
  background:
    radial-gradient(circle at 70% 20%, rgba(183,135,69,.4), transparent 28%),
    linear-gradient(145deg, var(--forest), var(--forest-2));
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
}

.quote-panel {
  padding: 48px;
  text-align: center;
  max-width: 940px;
  margin-inline: auto;
  background:
    linear-gradient(145deg, rgba(217,226,211,.6), rgba(255,253,248,.95));
}

.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--forest);
}

.cta {
  padding-top: 0;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 38px;
  background: var(--forest);
  color: #fffdf8;
}

.cta-card p {
  color: rgba(255,253,248,.82);
}

.timeline {
  display: grid;
  gap: 24px;
  counter-reset: timeline;
}

.timeline-item {
  padding: 32px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.timeline-item::before {
  counter-increment: timeline;
  content: "0" counter(timeline);
  position: absolute;
  right: 24px;
  top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  color: rgba(38,61,53,.07);
  line-height: 1;
}

.timeline-item span {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline-item ul {
  columns: 2;
  margin-bottom: 0;
}

.notice {
  padding: 18px 20px;
  background: rgba(183,135,69,.12);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
}

.faq {
  max-width: 880px;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--forest);
}

summary + p {
  margin-top: 12px;
}

.contact-form label {
  display: block;
  font-weight: 800;
  margin: 18px 0 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(183,135,69,.25);
  border-color: var(--gold);
}

.form-note {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 14px;
}

.content-page h2 {
  margin-top: 36px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255,253,248,.78);
  padding: 54px 0 24px;
}

.site-footer a {
  color: #fffdf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 38px;
}

.site-footer h2 {
  font-size: 1rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fffdf8;
}

.footer-brand {
  display: inline-block;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    border-radius: 12px;
  }

  .hero,
  .program-hero {
    padding: 70px 0;
  }

  .hero-grid,
  .split,
  .two-col,
  .contact-grid,
  .card-grid.three,
  .card-grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
  }

  .timeline-item ul {
    columns: 1;
  }

  .cta-card {
    display: block;
  }

  .cta-card .button {
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand small {
    display: none;
  }

  .hero-card,
  .service-card,
  .large-card,
  .profile-card,
  .contact-card,
  .contact-form,
  .quote-panel,
  .cta-card,
  .timeline-item {
    padding: 24px;
    border-radius: 20px;
  }

  .button {
    width: 100%;
  }
}
