:root {
  --bg: #f7f3ec;
  --paper: #fffdf9;
  --text: #20312d;
  --muted: #65716d;
  --accent: #3f7163;
  --accent-deep: #285246;
  --accent-soft: #dce9e3;
  --line: #ddd9d0;
  --shadow: 0 18px 50px rgba(32,49,45,.09);
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--text); color: white; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,243,236,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(221,217,208,.75); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { text-decoration: none; font-weight: 850; letter-spacing: .08em; font-size: 1rem; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--accent-deep); }

.hero { min-height: 650px; display: grid; align-items: center; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 8vw, 7.2rem); line-height: .9; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: var(--accent); font-weight: 500; }
h2 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
h3 { line-height: 1.2; }
.hero-copy { max-width: 590px; color: var(--muted); font-size: 1.2rem; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 54px; padding: 0 22px; border-radius: 999px; background: var(--accent-deep); color: white; text-decoration: none; font-weight: 750; box-shadow: 0 10px 28px rgba(40,82,70,.18); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent); }

.hero-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.idea-card { position: relative; z-index: 3; width: min(330px, 85%); padding: 38px; background: var(--paper); border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); transform: rotate(-3deg); }
.idea-card strong, .idea-card small { display: block; }
.idea-card strong { margin: 24px 0 8px; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.1; }
.idea-card small { color: var(--muted); }
.idea-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--accent); color: white; font: 700 1.7rem Georgia, serif; }
.orbit { position: absolute; border: 1px solid #b8ccc4; border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; }
.orbit-two { width: 300px; height: 300px; border-style: dashed; }
.spark { position: absolute; color: var(--accent); font-size: 2rem; }
.spark-one { top: 12%; right: 12%; }
.spark-two { bottom: 13%; left: 9%; font-size: 1.2rem; }

.section { padding: 100px 0; }
.hub-section { background: var(--paper); border-block: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading > p:last-child, .split-heading > p { color: var(--muted); font-size: 1.08rem; }
.split-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.split-heading > p { max-width: 330px; margin-bottom: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-card { min-height: 210px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hub-card:hover, .hub-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b6c8c1; outline: none; }
.hub-card .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); font-size: 1.35rem; margin-bottom: 28px; }
.hub-card h3 { margin-bottom: 7px; font-size: 1.25rem; }
.hub-card p { color: var(--muted); margin-bottom: 18px; }
.card-link { color: var(--accent-deep); font-weight: 750; font-size: .93rem; }

.learning-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.learning-card { padding: 30px; min-height: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.learning-card.featured { background: var(--accent-deep); color: white; border-color: var(--accent-deep); }
.learning-card .subject { display: inline-block; margin-bottom: 30px; color: var(--accent); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.learning-card.featured .subject { color: #cfe3dc; }
.learning-card h3 { font-family: Georgia, serif; font-size: 1.65rem; margin-bottom: 10px; }
.learning-card p { color: var(--muted); margin: 0; }
.learning-card.featured p { color: #e4efeb; }
.learning-card p span { padding-inline: 4px; }

.about-section { background: #e7eee9; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.about-copy > p { font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.35; letter-spacing: -.02em; }
.teacher-note { margin-top: 38px; padding-top: 28px; border-top: 1px solid #bccdc6; }
.teacher-note h3 { margin-bottom: 6px; }
.teacher-note p { color: var(--muted); }

.contact-section { padding-block: 72px; }
.contact-card { padding: 54px; display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--text); color: white; border-radius: 32px; }
.contact-card h2 { max-width: 650px; font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 10px; }
.contact-card p { color: #c8d2cf; }
.button.light { background: white; color: var(--text); box-shadow: none; flex-shrink: 0; }

footer { padding: 30px 0 42px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .9rem; }

:focus-visible { outline: 3px solid #c37a3f; outline-offset: 4px; }

@media (max-width: 850px) {
  nav { display: none; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { min-height: 330px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 240px; height: 240px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { display: block; }
  .contact-card { display: block; padding: 38px; }
  .contact-card .button { margin-top: 18px; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .hero-art { min-height: 300px; }
  .card-grid, .learning-grid { grid-template-columns: 1fr; }
  .hub-card { min-height: 190px; }
  .footer-wrap { flex-direction: column; }
  .contact-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
