:root {
  --green-950: #0e241d;
  --green-900: #123126;
  --green-800: #183d31;
  --green-700: #235846;
  --sage-200: #dfe8dc;
  --cream-100: #fbf7ef;
  --cream-200: #f4ead8;
  --gold-300: #d8b76c;
  --gold-500: #a97f2d;
  --rose-200: #ead9d1;
  --ink: #17231f;
  --muted: #66726b;
  --white: #fffdf8;
  --line: rgba(23, 35, 31, 0.14);
  --shadow: 0 22px 70px rgba(14, 36, 29, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-100);
  font-family: "Segoe UI", Candara, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--white);
  background: var(--green-900);
}

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

section[id] {
  scroll-margin-top: 104px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
  max-width: 100vw;
  padding: 0.8rem max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: linear-gradient(180deg, rgba(14, 36, 29, 0.72), rgba(14, 36, 29, 0.08));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(14, 36, 29, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand {
  flex: 1 1 auto;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 183, 108, 0.65);
  border-radius: 50%;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.brand strong {
  display: block;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.2rem);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 253, 248, 0.86);
}

.site-nav a:hover {
  color: var(--white);
}

.nav-cta {
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(216, 183, 108, 0.74);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-wisdom-study.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 24, 19, 0.92) 0%, rgba(8, 24, 19, 0.74) 42%, rgba(8, 24, 19, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 24, 19, 0.1), rgba(8, 24, 19, 0.48));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  max-width: calc(100vw - 40px);
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.commission-panel .eyebrow {
  color: var(--gold-300);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.72rem);
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 670px;
  margin-top: 1.15rem;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions,
.cta-strip,
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

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

.button-primary {
  color: var(--green-950);
  background: var(--gold-300);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button-primary:hover {
  background: #e4c87c;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.55);
  background: rgba(255, 253, 248, 0.08);
}

.button-outline {
  color: var(--green-900);
  border-color: rgba(35, 88, 70, 0.42);
  background: transparent;
}

.intro-band {
  padding: 1.4rem 0;
  background: var(--green-900);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.intro-grid p {
  max-width: 830px;
  color: rgba(255, 253, 248, 0.82);
}

.text-link {
  color: var(--gold-300);
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-tinted {
  background: var(--cream-200);
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.section-heading {
  position: sticky;
  top: 110px;
}

.section-heading.centered {
  position: static;
  max-width: 780px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section-heading p:not(.eyebrow),
.commission-panel p,
.contact-grid p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.stacked-panels {
  display: grid;
  gap: 1rem;
}

.panel,
.feature-card,
.topic-card,
.book-card,
.contact-form,
.faq-list details,
.welcome-photo,
.welcome-copy,
.eureka-nav-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 12px 45px rgba(14, 36, 29, 0.08);
}

.welcome-section {
  background:
    linear-gradient(180deg, var(--cream-100), rgba(244, 234, 216, 0.6)),
    var(--cream-100);
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.welcome-photo {
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background: var(--cream-200);
}

.welcome-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.welcome-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.welcome-copy p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.welcome-copy .button {
  width: fit-content;
  margin-top: 1.5rem;
}

.panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.panel-kicker,
.card-number,
.book-label,
.topic-card span,
.resource-list span {
  display: inline-block;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel h3,
.feature-card h3,
.topic-card h3,
.book-card h3 {
  margin-top: 0.55rem;
}

.panel p,
.feature-card p,
.topic-card p,
.book-card p,
.faq-list p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 315px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.feature-emphasis {
  color: var(--white);
  background: var(--green-900);
  border-color: rgba(216, 183, 108, 0.32);
}

.feature-emphasis p {
  color: rgba(255, 253, 248, 0.76);
}

.cta-strip {
  justify-content: space-between;
  margin-top: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 49, 38, 0.96), rgba(35, 88, 70, 0.94)),
    var(--green-800);
  border-radius: var(--radius);
}

.cta-strip h3 {
  max-width: 620px;
}

.eureka-section {
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.92), rgba(251, 247, 239, 1)),
    radial-gradient(circle at 15% 10%, rgba(216, 183, 108, 0.18), transparent 32%);
}

.eureka-section .section-heading {
  position: static;
  max-width: 890px;
  margin-bottom: clamp(1.6rem, 4vw, 2.5rem);
}

.eureka-section .section-heading h2 {
  max-width: 860px;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
}

.eureka-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 4vw, 2.5rem);
}

.eureka-nav-card {
  min-height: 150px;
  padding: 1.15rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.eureka-nav-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 127, 45, 0.42);
}

.eureka-nav-card span {
  display: block;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eureka-nav-card strong {
  display: block;
  margin-top: 0.7rem;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.25;
}

.eureka-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.topic-card {
  min-height: 220px;
  padding: 1.3rem;
}

.topic-wide {
  grid-column: span 2;
}

.ecosystem-section {
  color: var(--white);
  background: var(--green-950);
}

.ecosystem-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.76);
}

.ecosystem-section .button-outline {
  color: var(--white);
  border-color: rgba(216, 183, 108, 0.5);
  margin-top: 1.4rem;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.system-map a {
  min-height: 112px;
  padding: 1.25rem;
  border: 1px solid rgba(216, 183, 108, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 253, 248, 0.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.commission-section {
  background: linear-gradient(90deg, rgba(14, 36, 29, 0.88), rgba(14, 36, 29, 0.72)), url("assets/hero-wisdom-study.png");
  background-position: center;
  background-size: cover;
}

.commission-panel {
  max-width: 870px;
  margin-inline: auto;
  color: var(--white);
  text-align: center;
}

.commission-panel p {
  color: rgba(255, 253, 248, 0.78);
}

.commission-panel .button {
  margin-top: 1.8rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.book-card {
  min-height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.book-covers {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 0.7rem;
  align-items: end;
  min-height: 178px;
  margin-bottom: 1.2rem;
}

.book-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 172px;
  padding: 1rem;
  border: 1px solid rgba(216, 183, 108, 0.26);
  border-radius: 6px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(18, 49, 38, 0.94), rgba(35, 88, 70, 0.72)),
    var(--green-900);
  box-shadow: 10px 12px 28px rgba(14, 36, 29, 0.12);
}

.book-back {
  min-height: 150px;
  color: var(--green-950);
  background:
    linear-gradient(160deg, rgba(244, 234, 216, 0.96), rgba(234, 217, 209, 0.86)),
    var(--cream-200);
}

.book-cover span,
.status-badge {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-cover strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.16;
}

.status-badge {
  align-self: flex-start;
  margin-bottom: 0.8rem;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  color: var(--green-950);
  background: rgba(216, 183, 108, 0.28);
}

.book-subtitle {
  color: var(--green-800);
  font-weight: 800;
}

.book-card .button {
  width: fit-content;
  margin-top: auto;
  color: var(--green-700);
  background: rgba(255, 253, 248, 0.3);
}

.resources-section {
  background: var(--sage-200);
}

.resource-list {
  display: grid;
  gap: 0.85rem;
}

.resource-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  padding: 1rem;
  border: 1px solid rgba(18, 49, 38, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.75);
  text-decoration: none;
}

.resource-list span {
  grid-row: span 2;
}

.resource-list small {
  color: var(--muted);
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.contact-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.contact-grid {
  align-items: center;
}

.contact-grid p {
  color: rgba(255, 253, 248, 0.78);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--ink);
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(18, 49, 38, 0.18);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: #fffefa;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 253, 248, 0.76);
  background: #091b15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.site-footer p {
  max-width: 420px;
  margin-top: 0.8rem;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  color: var(--gold-300);
  font-family: "Segoe UI", Candara, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-top: 0.45rem;
  text-decoration: none;
}

.footer-bottom {
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 248, 0.13);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .hero-inner {
    width: min(300px, calc(100vw - 40px));
    max-width: min(300px, calc(100vw - 40px));
    margin-inline: auto;
  }

  h1 {
    max-width: 300px;
    font-size: clamp(2.28rem, 10vw, 2.55rem);
  }

  .hero-copy,
  .intro-grid p,
  .text-link {
    max-width: min(300px, calc(100vw - 40px));
    overflow-wrap: break-word;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: grid;
    gap: 0;
    padding: 1rem 20px 1.5rem;
    background: rgba(14, 36, 29, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header.nav-active .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  }

  .nav-cta {
    width: fit-content;
    margin-top: 0.8rem;
    padding-inline: 1rem;
  }

  .intro-grid,
  .welcome-grid,
  .split,
  .split-reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    align-items: start;
  }

  .section-heading {
    position: static;
  }

  .pathway-grid,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .book-card {
    min-height: auto;
  }

  .eureka-nav,
  .eureka-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .welcome-photo {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-inner {
    width: min(300px, calc(100vw - 40px));
    max-width: min(300px, calc(100vw - 40px));
  }

  .site-header {
    gap: 0.65rem;
    min-height: 68px;
    padding: 0.8rem 72px 0.8rem 16px;
  }

  .nav-toggle {
    position: fixed;
    top: 12px;
    right: auto;
    left: min(332px, calc(100vw - 58px));
    z-index: 12;
  }

  section[id] {
    scroll-margin-top: 88px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 184px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 78svh;
    padding: 7.5rem 0 3.25rem;
  }

  h1 {
    max-width: 300px;
    font-size: clamp(2.28rem, 10vw, 2.55rem);
  }

  .hero-inner {
    margin-inline: auto;
  }

  .hero-copy,
  .intro-grid p,
  .text-link {
    max-width: min(300px, calc(100vw - 40px));
    overflow-wrap: break-word;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 24, 19, 0.94), rgba(8, 24, 19, 0.58));
  }

  .hero-actions,
  .cta-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .welcome-photo {
    min-height: 310px;
  }

  .welcome-copy .button,
  .book-card .button {
    width: 100%;
  }

  .eureka-nav,
  .eureka-grid,
  .system-map {
    grid-template-columns: 1fr;
  }

  .book-covers {
    grid-template-columns: 1fr;
  }

  .book-cover,
  .book-back {
    min-height: 146px;
  }

  .topic-wide {
    grid-column: auto;
  }

  .resource-list a {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

.interior main{padding-top:75px}.interior h1{font-family:Georgia,serif;font-size:clamp(36px,4.3vw,62px);line-height:1.15;max-width:950px}.interior .section-heading{max-width:950px}.interior .panel p{line-height:1.8}.site-nav a[aria-current]{border-bottom:2px solid #d7b568}.commission-panel blockquote{margin:0;font-size:24px;line-height:1.7}.release-note{margin-top:30px}.footer-grid>div{min-width:0}.interior .button{white-space:normal}@media(max-width:980px){.interior main{padding-top:65px}}
