:root {
  --ink: #101916;
  --night: #071813;
  --evergreen: #0b3929;
  --evergreen-2: #10543a;
  --red: #a51620;
  --red-dark: #731016;
  --gold: #d9aa43;
  --gold-light: #f0d98a;
  --cream: #fbf8ef;
  --paper: #f4f0e5;
  --white: #fff;
  --muted: #66716c;
  --line: rgba(16, 25, 22, .14);
  --shadow: 0 26px 70px rgba(7, 24, 19, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.dialog-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--white); padding: .7rem 1rem; border-radius: .35rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; color: var(--white); background: rgba(7, 24, 19, .94); border-bottom: 1px solid rgba(217, 170, 67, .24); backdrop-filter: blur(16px); }
.header-inner { max-width: 1440px; min-height: 78px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1; }
.brand img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.3)); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 1.25rem/1.05 var(--serif); letter-spacing: .025em; }
.brand small { margin-top: .2rem; color: var(--gold-light); font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.2rem); }
nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }
.nav-cta { padding: .7rem 1rem; color: var(--night); background: var(--gold); border-radius: 999px; }
nav .nav-cta:hover, nav .nav-cta:focus-visible { color: var(--night); background: var(--gold-light); }
.menu-button { display: none; width: 46px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: .6rem; }
.menu-button span:not(.sr-only) { width: 20px; height: 2px; background: currentColor; border-radius: 9px; }

.hero { min-height: min(760px, calc(100svh - 78px)); padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(330px, .94fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); color: var(--white); overflow: hidden; background:
  radial-gradient(circle at 75% 55%, rgba(217,170,67,.16), transparent 28%),
  linear-gradient(118deg, rgba(7,24,19,.98) 0 55%, rgba(11,57,41,.96) 55% 100%);
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle, rgba(255,255,255,.75) 1px, transparent 1.2px); background-size: 54px 54px; mask-image: linear-gradient(to right, transparent 15%, black 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(90deg, var(--red) 0 33.333%, var(--gold) 33.333% 66.666%, var(--evergreen-2) 66.666%); }
.hero-copy, .hero-mark { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: var(--gold-light); font-size: .73rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; }
.eyebrow span { width: 32px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--red); }
.hero h1 { max-width: 820px; margin: 0; font: 700 clamp(3.35rem, 7.2vw, 7.2rem)/.91 var(--serif); letter-spacing: -.05em; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-lead { max-width: 660px; margin: 1.8rem 0 0; color: rgba(255,255,255,.82); font-size: clamp(1.08rem, 1.7vw, 1.34rem); line-height: 1.6; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.button { min-height: 50px; padding: .78rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; font-weight: 900; }
.button span { font-size: 1.3em; }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 10px 25px rgba(165,22,32,.3); }
.button-primary:hover { background: #bd1b27; transform: translateY(-1px); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: var(--gold); color: var(--gold-light); }
.hero-note { max-width: 660px; margin: 1.6rem 0 0; padding-top: 1.3rem; color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.12); font-size: .87rem; }
.hero-mark { min-height: 570px; display: flex; align-items: center; justify-content: center; }
.hero-mark img { width: min(490px, 92%); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 35px 50px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
.hero-mark p { position: absolute; bottom: .5rem; left: 50%; margin: 0; transform: translateX(-50%); width: 100%; text-align: center; color: var(--gold-light); font: italic 1.1rem/1.45 var(--serif); letter-spacing: .03em; }
.hero-mark p span { color: rgba(255,255,255,.6); font-family: var(--sans); font-size: .7rem; font-style: normal; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(217,170,67,.22); border-radius: 50%; transform: translate(-50%, -53%); }
.orbit-one { width: 560px; height: 560px; }
.orbit-two { width: 680px; height: 680px; border-style: dashed; opacity: .45; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.promise { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 5.5rem); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--cream); }
.promise article { min-height: 210px; padding: 2rem clamp(1rem, 2vw, 2rem); display: flex; gap: 1rem; border-right: 1px solid var(--line); align-items: flex-start; }
.promise article:last-child { border-right: 0; }
.promise article > span { color: var(--red); font-size: .67rem; font-weight: 900; letter-spacing: .12em; }
.promise h2 { margin: 0; font: 700 1.45rem/1.1 var(--serif); }
.promise p { margin: .65rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.learning-section, .standards-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); }
.learning-section { background: var(--paper); border-top: 1px solid var(--line); }
.section-heading { max-width: 1290px; margin: 0 auto 2.4rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.section-heading h2 { margin: 0; font: 700 clamp(2.5rem, 5vw, 4.7rem)/1 var(--serif); letter-spacing: -.035em; }
.section-heading > p { max-width: 570px; margin: 0; color: var(--muted); font-size: 1.03rem; }
.lesson-tools { max-width: 1290px; margin: 0 auto 1.7rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.search-field { width: min(350px, 100%); min-height: 48px; padding: 0 .9rem; display: flex; align-items: center; gap: .65rem; background: var(--white); border: 1px solid var(--line); border-radius: .35rem; }
.search-field:focus-within { outline: 3px solid rgba(217,170,67,.3); border-color: var(--gold); }
.search-field svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .94rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter { min-height: 42px; padding: .55rem .9rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: .83rem; font-weight: 800; cursor: pointer; }
.filter:hover, .filter:focus-visible { border-color: var(--red); color: var(--red); }
.filter.active { color: var(--white); background: var(--evergreen); border-color: var(--evergreen); }
.lesson-grid { max-width: 1290px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lesson-card { min-height: 350px; padding: 1.6rem; display: flex; flex-direction: column; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: .4rem; box-shadow: 0 8px 22px rgba(16,25,22,.04); position: relative; overflow: hidden; }
.lesson-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--accent, var(--red)); }
.lesson-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(16,25,22,.1); border-color: rgba(165,22,32,.25); }
.lesson-card, .button { transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.lesson-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.lesson-number { width: 44px; height: 44px; display: grid; place-items: center; margin: 1.8rem 0 1.2rem; color: var(--white); background: var(--accent, var(--red)); border-radius: 50%; font: 700 1rem var(--serif); }
.lesson-card h3 { margin: 0; font: 700 1.8rem/1.06 var(--serif); letter-spacing: -.02em; }
.lesson-card > p { margin: .9rem 0 1.5rem; color: var(--muted); font-size: .91rem; }
.lesson-open { margin-top: auto; padding: 0; align-self: flex-start; color: var(--red); background: none; border: 0; border-bottom: 1px solid currentColor; font-weight: 900; cursor: pointer; }
.lesson-open:hover, .lesson-open:focus-visible { color: var(--evergreen); }
.no-results { max-width: 1290px; margin: 2rem auto 0; padding: 2rem; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); }

.path-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; color: var(--white); background: var(--evergreen); }
.path-intro { position: sticky; top: 115px; }
.path-intro h2 { margin: 0; font: 700 clamp(2.7rem, 5vw, 4.8rem)/1 var(--serif); letter-spacing: -.04em; }
.path-intro > p:last-child { max-width: 530px; margin: 1.5rem 0 0; color: rgba(255,255,255,.67); }
.path-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.path-list li { min-height: 145px; padding: 1.6rem .5rem; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.path-list li > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--night); background: var(--gold); border-radius: 50%; font: 700 1.15rem var(--serif); }
.path-list p, .path-list h3, .path-list small { margin: 0; }
.path-list p { color: var(--gold-light); font-size: .68rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.path-list h3 { margin-top: .3rem; font: 700 1.65rem/1.15 var(--serif); }
.path-list small { color: rgba(255,255,255,.57); }

.creed-section { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem); background: var(--red-dark); }
.creed-card { max-width: 1290px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; background: var(--cream); box-shadow: var(--shadow); }
.creed-title-block { padding: clamp(2rem, 4vw, 4rem); color: var(--white); background: var(--night); position: relative; overflow: hidden; }
.creed-title-block::after { content: "✦"; position: absolute; right: -2rem; bottom: -7rem; color: rgba(217,170,67,.08); font-size: 22rem; line-height: 1; }
.creed-title-block img { width: 125px; height: 125px; margin-bottom: 2rem; object-fit: contain; }
.creed-title-block .eyebrow { color: var(--gold-light); }
.creed-title-block h2 { margin: 0; font: 700 clamp(2.5rem, 4.4vw, 4.6rem)/.98 var(--serif); letter-spacing: -.04em; }
.creed-title-block > p:last-child { margin: 1.5rem 0 0; color: rgba(255,255,255,.64); }
.creed-text { padding: clamp(2rem, 5vw, 5rem); }
.creed-text > p, .creed-collapsed p { margin: 0 0 1.25rem; color: #3f4945; }
.creed-opening { color: var(--red) !important; font: italic 1.6rem/1.4 var(--serif); }
.creed-text blockquote { margin: 2rem 0; padding: 1.4rem 0 1.4rem 1.7rem; color: var(--evergreen); border-left: 4px solid var(--gold); font: italic clamp(1.35rem, 2.3vw, 2rem)/1.42 var(--serif); }
.creed-collapsed { display: none; }
.creed-collapsed.open { display: block; }
.text-button { padding: 0 0 .2rem; color: var(--red); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-weight: 900; cursor: pointer; }

.standards-section { background: var(--cream); }
.standards-list { max-width: 1290px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.standard-item { background: var(--white); border: 1px solid var(--line); }
.standard-item button { width: 100%; min-height: 76px; padding: 1rem 1.2rem; display: grid; grid-template-columns: 40px 1fr 24px; gap: .85rem; align-items: center; text-align: left; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.standard-item button:hover, .standard-item button:focus-visible { background: var(--paper); }
.standard-number { color: var(--red); font: 700 1.1rem var(--serif); }
.standard-title { font-weight: 900; letter-spacing: .03em; }
.standard-icon { font-size: 1.2rem; transition: transform .2s ease; }
.standard-item.open .standard-icon { transform: rotate(45deg); }
.standard-copy { display: none; margin: 0; padding: 0 1.2rem 1.4rem 4.95rem; color: var(--muted); font-size: .92rem; }
.standard-item.open .standard-copy { display: block; }

.invitation { padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; color: var(--white); background: linear-gradient(110deg, var(--red-dark), var(--red)); }
.invitation img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.invitation h2 { max-width: 770px; margin: 0; font: 700 clamp(2.3rem, 4.4vw, 4.3rem)/1 var(--serif); letter-spacing: -.035em; }
.invitation div > p:last-child { max-width: 780px; margin: 1rem 0 0; color: rgba(255,255,255,.74); }
.button-gold { color: var(--night); background: var(--gold); white-space: nowrap; }
.button-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

footer { padding: 2.5rem clamp(1.25rem, 7vw, 7.5rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; color: rgba(255,255,255,.7); background: var(--night); }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--white); font-family: var(--serif); font-size: 1.15rem; }
.footer-brand span { color: var(--gold-light); font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-contact { text-align: right; }
.footer-contact p { margin: 0; font-size: .75rem; }
.footer-contact a { color: var(--gold-light); font-weight: 800; }
.copyright { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }

.lesson-dialog { width: min(820px, calc(100% - 2rem)); max-height: min(850px, calc(100svh - 2rem)); padding: 0; color: var(--ink); background: var(--cream); border: 0; border-radius: .55rem; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.lesson-dialog::backdrop { background: rgba(4,15,12,.8); backdrop-filter: blur(5px); }
.dialog-shell { padding: clamp(1.6rem, 5vw, 4rem); position: relative; }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 42px; height: 42px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-kicker { margin: 0 0 .75rem; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.lesson-dialog h2 { max-width: 650px; margin: 0; font: 700 clamp(2.3rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.035em; }
.dialog-summary { max-width: 680px; margin: 1rem 0 2rem; color: var(--muted); font-size: 1.05rem; }
.dialog-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dialog-columns section { padding: 1.3rem; background: var(--white); border: 1px solid var(--line); }
.dialog-columns h3 { margin: 0 0 .7rem; font: 700 1.15rem var(--serif); }
.dialog-columns ul { margin: 0; padding-left: 1.2rem; }
.dialog-columns li + li { margin-top: .5rem; }
.dialog-columns p { margin: 0; }
.dialog-reminder { margin: 1rem 0 0; padding: 1rem 1.2rem; color: var(--white); background: var(--evergreen); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr .72fr; gap: 2rem; }
  .hero-mark { min-height: 450px; }
  .orbit-two { width: 520px; height: 520px; }
  .orbit-one { width: 440px; height: 440px; }
  .promise { grid-template-columns: 1fr 1fr; }
  .promise article:nth-child(2) { border-right: 0; }
  .promise article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lesson-grid { grid-template-columns: 1fr 1fr; }
  .invitation { grid-template-columns: 120px 1fr; }
  .invitation img { width: 120px; height: 120px; }
  .invitation .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 48px; height: 48px; }
  .menu-button { display: flex; }
  nav { position: absolute; left: 0; right: 0; top: 70px; padding: 1.2rem; display: none; flex-direction: column; align-items: stretch; gap: .25rem; background: var(--night); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
  nav.open { display: flex; }
  nav a { padding: .75rem; }
  .nav-cta { margin-top: .4rem; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; padding-bottom: 4rem; }
  .hero-mark { min-height: 390px; }
  .hero-mark img { width: min(380px, 85%); }
  .hero-mark p { bottom: -1rem; }
  .orbit-one { width: 370px; height: 370px; }
  .orbit-two { width: 460px; height: 460px; }
  .section-heading, .path-section, .creed-card { grid-template-columns: 1fr; }
  .section-heading { gap: 1.3rem; }
  .lesson-tools { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .path-intro { position: static; }
  .creed-title-block { min-height: 430px; }
  .standards-list { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .brand strong { font-size: 1.08rem; }
  .brand small { letter-spacing: .12em; font-size: .62rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-mark { min-height: 320px; }
  .hero-mark img { width: 285px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 350px; height: 350px; }
  .promise { grid-template-columns: 1fr; }
  .promise article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise article:nth-child(2) { border-bottom: 1px solid var(--line); }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-card { min-height: 320px; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; }
  .filter { white-space: nowrap; }
  .path-list li { grid-template-columns: 54px 1fr; }
  .dialog-columns { grid-template-columns: 1fr; }
  .invitation { grid-template-columns: 1fr; text-align: center; }
  .invitation img { margin: 0 auto; }
  .invitation .button { grid-column: 1; justify-self: stretch; }
  .invitation .eyebrow { justify-content: center; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-contact { text-align: center; }
  .copyright { grid-column: 1; }
}

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