:root {
  --ink: #172a3a;
  --ink-soft: #496071;
  --paper: #f8f6f0;
  --paper-warm: #f1eadc;
  --coral: #ef806b;
  --coral-deep: #d96152;
  --leaf: #96b995;
  --leaf-deep: #567b65;
  --sky: #c9e1e2;
  --line: rgba(23, 42, 58, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 10;
  padding: 0.55rem 0.8rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 0 0 0.4rem 0.4rem;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.site-header,
.section-wrap {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 0;
}

.wordmark,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark em,
.footer-wordmark em {
  color: var(--coral-deep);
  font-family: var(--serif);
  font-style: normal;
}

.wordmark-mark {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
}

nav { display: flex; align-items: center; gap: 1.65rem; font-size: 0.88rem; }
nav a { text-decoration: none; }
nav a:not(.nav-cta):hover { color: var(--coral-deep); }

.nav-cta {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-cta:hover { color: var(--paper); background: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 680px;
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--leaf-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dot { width: 0.5rem; height: 0.5rem; background: var(--coral); border-radius: 50%; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.06em; line-height: 1.04; }
h1 { max-width: 650px; margin-bottom: 1.5rem; font-family: var(--serif); font-size: clamp(4.25rem, 8.5vw, 7.8rem); }
h1 span { color: var(--coral-deep); font-style: italic; }
h2 { margin-bottom: 1.25rem; font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 4.4rem); }
h3 { margin-bottom: 0.75rem; font-size: 1.35rem; }

.hero-lede { max-width: 510px; color: var(--ink-soft); font-size: 1.15rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; margin-top: 2.1rem; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.15rem 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { background: var(--coral-deep); }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { background: white; }
.text-link { font-size: 0.9rem; font-weight: 700; text-underline-offset: 0.25rem; }
.text-link:hover { color: var(--coral-deep); }

.hero-art { position: relative; min-height: 560px; isolation: isolate; overflow: hidden; }
.sun { position: absolute; top: 1rem; right: 7%; width: 9rem; height: 9rem; background: #f6cb83; border-radius: 50%; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { top: 9%; left: 7%; width: 91%; height: 70%; }
.orbit-two { top: 18%; left: 16%; width: 80%; height: 67%; transform: rotate(49deg); }
.math-card { position: absolute; z-index: 2; box-shadow: 0 22px 60px rgba(23, 42, 58, 0.15); }
.math-card-main { top: 18%; left: 17%; width: min(350px, 68%); padding: 2rem; background: #fffdf8; border-radius: 1rem; transform: rotate(-4deg); }
.math-card-label { display: block; margin-bottom: 1.6rem; color: var(--leaf-deep); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.math-card strong { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.08; }
.math-card strong span { color: var(--coral-deep); }
.ten-frame { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; margin-top: 2rem; }
.ten-frame i { aspect-ratio: 1; border: 2px solid var(--leaf); border-radius: 50%; }
.ten-frame i.filled { background: var(--leaf); }
.floating-shape { position: absolute; z-index: 3; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; color: var(--paper); font-family: var(--serif); font-size: 1.6rem; box-shadow: 0 12px 24px rgba(23, 42, 58, 0.13); }
.shape-circle { top: 17%; right: 13%; background: var(--coral); border-radius: 50%; transform: rotate(12deg); }
.shape-square { right: 3%; bottom: 24%; background: var(--leaf-deep); border-radius: 0.6rem; transform: rotate(18deg); }
.shape-triangle { bottom: 15%; left: 9%; background: var(--ink); border-radius: 50%; transform: rotate(-13deg); }
.art-caption { position: absolute; right: 0; bottom: 2%; max-width: 150px; color: var(--ink-soft); font-family: var(--serif); font-size: 0.9rem; font-style: italic; line-height: 1.3; }

.why { padding: 6rem 0 8rem; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: end; gap: 2rem; margin-bottom: 3.4rem; }
.section-intro .eyebrow { align-self: start; }
.section-intro h2 { margin-bottom: 0; }
.section-intro > p:last-child { margin-bottom: 0.3rem; color: var(--ink-soft); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle-card { min-height: 260px; padding: 1.75rem; border-radius: 0.85rem; }
.principle-card p { max-width: 260px; margin-bottom: 0; color: var(--ink-soft); }
.principle-card-warm { background: #f5d8c7; }
.principle-card-green { background: #d8e7d7; }
.principle-card-blue { background: #d5e6e8; }
.card-number { display: block; margin-bottom: 3.6rem; color: var(--leaf-deep); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; }

.garden { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); padding: 4rem 0 9rem; }
.garden-visual { display: grid; min-height: 430px; place-items: center; background: var(--paper-warm); border-radius: 1rem; overflow: hidden; }
.garden-window { position: relative; width: 72%; aspect-ratio: 0.85; overflow: hidden; border: 1.5rem solid var(--ink); border-bottom-width: 2.2rem; border-radius: 48% 48% 0.4rem 0.4rem; background: var(--sky); box-shadow: 1.4rem 1.4rem 0 rgba(23, 42, 58, 0.12); }
.window-sky { position: absolute; inset: 0; background: linear-gradient(#b8dcdf 0 55%, #86ad8b 55%); }
.window-hill { position: absolute; bottom: -16%; width: 120%; height: 52%; border-radius: 50% 50% 0 0; }
.window-hill-back { left: -28%; background: #6f9c82; }
.window-hill-front { right: -38%; bottom: -21%; background: #4f7e68; }
.window-star { position: absolute; color: #fff7db; font-size: 1.2rem; }
.star-one { top: 18%; left: 18%; }.star-two { top: 11%; right: 21%; font-size: 0.75rem; }
.window-stem { position: absolute; bottom: 4%; width: 2px; height: 38%; background: #294f48; transform-origin: bottom; }
.window-stem b, .window-stem i { position: absolute; display: block; width: 1.55rem; height: 0.9rem; background: #f5bf70; border-radius: 100% 0 100% 0; }
.window-stem b { top: 25%; left: -1.2rem; transform: rotate(-25deg); }.window-stem i { top: 48%; left: 0; transform: rotate(35deg); background: #ef806b; }
.stem-one { left: 28%; transform: rotate(-11deg); }.stem-two { left: 53%; height: 45%; transform: rotate(5deg); }.stem-three { left: 75%; height: 31%; transform: rotate(14deg); }
.garden-copy > p:not(.eyebrow):not(.status-note) { max-width: 480px; color: var(--ink-soft); font-size: 1.08rem; }
.status-note { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; color: var(--leaf-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.pilot { padding-bottom: 7rem; }
.pilot-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); color: var(--paper); background: var(--ink); border-radius: 1rem; }
.pilot-panel .eyebrow { color: var(--leaf); }.pilot-panel h2 { max-width: 550px; margin-bottom: 0.8rem; }.pilot-panel p:not(.eyebrow) { max-width: 560px; margin-bottom: 0; color: #c9d5d7; }

.site-footer { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 2rem; padding: 1.7rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.78rem; }
.footer-wordmark { color: var(--ink); }.site-footer p { margin-bottom: 0; }

@media (max-width: 850px) {
  .site-header { align-items: flex-start; gap: 1.4rem; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 0.7rem 1rem; }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .hero-art { min-height: 480px; }
  .section-intro { grid-template-columns: 1fr 1.4fr; }
  .section-intro .eyebrow { grid-row: span 2; }
  .section-intro > p:last-child { grid-column: 2; }
  .garden { grid-template-columns: 1fr; }
  .garden-visual { min-height: 380px; }
  .site-footer { grid-template-columns: 1fr 1fr; }.site-footer p:last-child { grid-column: 2; }
}

@media (max-width: 560px) {
  .site-header, .section-wrap { width: min(100% - 2rem, 1180px); }
  .site-header { padding-top: 1.1rem; }.nav-cta { font-size: 0.78rem; }
  .hero { padding-top: 3.5rem; padding-bottom: 4rem; }.hero-art { min-height: 390px; }.math-card-main { left: 5%; width: 74%; padding: 1.35rem; }.math-card-label { margin-bottom: 1rem; }.ten-frame { gap: 0.25rem; margin-top: 1.4rem; }.sun { width: 6.5rem; height: 6.5rem; }.shape-circle { right: 4%; }.shape-square { right: 0; }.shape-triangle { left: 1%; }.art-caption { right: 0; bottom: 0; font-size: 0.78rem; }
  .section-intro { display: block; }.section-intro h2 { margin-bottom: 1rem; }.section-intro .eyebrow { margin-bottom: 1.5rem; }
  .principles { grid-template-columns: 1fr; }.principle-card { min-height: 0; }.card-number { margin-bottom: 2rem; }
  .garden { padding-bottom: 5rem; }.garden-visual { min-height: 300px; }.garden-window { width: 64%; border-width: 0.9rem; border-bottom-width: 1.4rem; }
  .pilot { padding-bottom: 4.5rem; }.pilot-panel { display: block; }.pilot-panel .button { margin-top: 1.6rem; }
  .site-footer { display: block; }.site-footer p { margin-bottom: 0.5rem; }
}

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