/* Homepage. One dark colour (deep green), warm ivory, restrained gold, a
   display serif and a clean sans. Motion is a gentle reveal only, and every
   word is visible even if scripts or animation never run. */
.h3 { background: #fbf8f1; color: #1d2623; }
.h3 .wrap { width: min(1180px, 92vw); margin: 0 auto; }
html { scroll-padding-top: 96px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.h3 a:focus-visible, .h3 button:focus-visible { outline: 3px solid #c9962f; outline-offset: 3px; border-radius: 6px; }

.notice { background: #0f3f37; color: #e8f1ee; font-size: 14px; padding: 9px 0; }
.notice .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.notice a { color: #e4c27a; font-weight: 700; }
.notice a::after { content: ' \2192'; }
.notice .dot { width: 8px; height: 8px; border-radius: 50%; background: #e4c27a; }

.eyebrow3 { font: 700 12px/1.4 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #e4c27a; margin: 0 0 18px; }
.eyebrow3.gold { color: #9a6f1c; }
.cap { font: 500 12.5px/1.4 Inter, sans-serif; color: #6d7b77; margin: 8px 0 0; }
.mini3 { font-size: 14px; color: #6d7b77; margin-top: 14px; }
.mini3 a { color: inherit; }
.on-dark, .on-dark a { color: #cfe2dc; }

.b-gold, .b-line, .b-teal, .b-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 700 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .16s, background .16s, color .16s, border-color .16s; }
.b-gold { background: #c9962f; color: #1d1608; border: 0; }
.b-gold:hover { background: #e4c27a; color: #1d1608; transform: translateY(-1px); }
.b-line { border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.b-line:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.b-teal { background: #1f7a6b; color: #fff; border: 0; }
.b-teal:hover { background: #14544a; color: #fff; }
.b-ghost { background: #fff; color: #14544a; border: 1.5px solid #d9d1c2; }
.b-ghost:hover { border-color: #1f7a6b; }
.text-link3 { display: inline-block; font-weight: 700; color: #1f7a6b; text-decoration: none; border-bottom: 2px solid #c9962f; padding-bottom: 2px; margin: 4px 0 18px; }
.text-link3::after { content: ' \2192'; }
.as-button { background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 700; cursor: pointer; padding: 0 0 2px; }

h2 { font-family: 'Crimson Pro', Georgia, serif; }
.h3 h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; color: #0f3f37; margin: 0 0 16px; letter-spacing: -.01em; }
.h3 h2 em { color: #9a6f1c; }
.lede3 { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; color: #4d5b57; max-width: 62ch; margin: 0 0 40px; }

/* ---- hero ---- */
.hero3 { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: #0f3f37; }
.hero3-img { position: absolute; inset: 0; }
.hero3-img img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 58%; animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero3-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,26,.88) 0%, rgba(8,30,26,.62) 42%, rgba(8,30,26,.08) 78%), linear-gradient(0deg, rgba(8,30,26,.55) 0%, transparent 40%); }
.hero3-in { position: relative; z-index: 2; padding: 120px 0 84px; color: #fff; }
.hero3 h1 { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(44px, 7.4vw, 96px); line-height: .98; letter-spacing: -.02em; margin: 0; max-width: 12ch; color: #fff; }
.hero3-sub { font-family: 'Crimson Pro', Georgia, serif; font-style: italic; font-size: clamp(22px, 2.8vw, 32px); color: #e4c27a; margin: 14px 0 0; }
.hero3-body { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: #e3ece9; max-width: 54ch; margin: 18px 0 0; }
.hero3-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero3-give { display: inline-block; margin-top: 18px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.hero3-give::after { content: ' \2192'; }
.cap-hero { position: absolute; right: 18px; bottom: 14px; z-index: 3; margin: 0; color: #fff; background: rgba(8,30,26,.66); padding: 6px 12px; border-radius: 8px; }

/* ---- proof ---- */
.proof { background: #0f3f37; color: #fff; padding: 34px 0; }
.proof-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof-in > div { border-left: 2px solid #c9962f; padding-left: 18px; }
.proof b { display: block; font-family: 'Crimson Pro', Georgia, serif; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; color: #fff; }
.proof span { display: block; } .proof b span { display: inline; }
.proof > .wrap > div > span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #b9d3cc; margin-top: 6px; }

/* ---- stages ---- */
.vision3, .progress3, .news3 { padding: clamp(70px, 9vw, 120px) 0; }
.stage { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: center; margin-bottom: clamp(60px, 8vw, 100px); }
.stage.flip .stage-media { order: 2; }
.stage.wide { grid-template-columns: 1fr; }
.stage.wide .stage-text { max-width: 640px; }
.stage-media { margin: 0; }
.stage-media img, .pair img, .work img, .news-item img, .stage-thumbs img { width: 100%; height: auto; display: block; border-radius: 16px; background: #e9e2d4; }
.stage-media img { box-shadow: 0 30px 60px rgba(15,63,55,.16); }
.stage-n { font: 700 13px/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #9a6f1c; }
.stage h3 { font-family: 'Crimson Pro', Georgia, serif; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.08; color: #0f3f37; margin: 8px 0 10px; }
.status { display: inline-block; font: 700 12px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; background: #c9962f; color: #1d1608; padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.status.plain { background: #e8f1ee; color: #14544a; }
.stage p { font-size: 17px; line-height: 1.65; color: #3f4c48; margin: 0 0 18px; }
.stage-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; }
.stage-thumbs figure { margin: 0; }
.stage-text .b-teal { margin-top: 2px; }
.stage-text .text-link3 { display: table; }

/* ---- progress ---- */
.progress3 { background: #f2ece0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair figure, .work figure { margin: 0; }
.pair-note { font-size: 14px; color: #6d7b77; margin: 10px 0 40px; }
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.work img { aspect-ratio: 4 / 3; object-fit: cover; }
.rail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid #d9d1c2; }
.rail li { position: relative; padding: 22px 12px 0 0; }
.rail li::before { content: ''; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fbf8f1; border: 2px solid #b8ad97; }
.rail li.done::before { background: #1f7a6b; border-color: #1f7a6b; }
.rail li.now::before { background: #c9962f; border-color: #c9962f; box-shadow: 0 0 0 5px rgba(201,150,47,.25); }
.rail b { display: block; font-family: 'Crimson Pro', Georgia, serif; font-size: 20px; color: #0f3f37; }
.rail span { font-size: 14px; color: #6d7b77; }

/* ---- after-school ---- */
.as3 { background: #0f3f37; color: #fff; padding: clamp(70px, 9vw, 110px) 0; }
.as3-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.as3 h2 { color: #fff; }
.as3 p { color: #d6e5e0; font-size: 17px; line-height: 1.65; }
.as3 .eyebrow3.gold { color: #e4c27a; }
.as3-notes a { color: #e4c27a; }
.as3-classes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.as3-classes li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px; font-family: 'Crimson Pro', Georgia, serif; font-size: 19px; color: #fff; display: flex; align-items: center; gap: 12px; }
.as3-classes img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; }
.as3-classes small { display: block; font: 500 12.5px/1.3 Inter, sans-serif; color: #b9d3cc; }
.as3-classes a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 12px; width: 100%; }

/* ---- Miriam ---- */
.miriam3 { padding: clamp(70px, 9vw, 120px) 0; }
.miriam3-in { display: grid; grid-template-columns: 360px 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; max-width: 1040px; }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 700 / 1243; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(15,63,55,.2); }
.miriam3-copy { font-family: 'Crimson Pro', Georgia, serif; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.5; color: #24312d; margin: 0 0 8px; }

/* ---- news ---- */
.news3 { background: #f2ece0; }
.news3-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.news-item figure { margin: 0 0 14px; }
.news-item .when { font: 700 12px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #9a6f1c; }
.news-item h3 { font-family: 'Crimson Pro', Georgia, serif; font-size: 26px; color: #0f3f37; margin: 8px 0 8px; }
.news-item p { font-size: 16px; line-height: 1.6; color: #3f4c48; margin: 0 0 8px; }
.video-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #0f3f37; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.video-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.video-card.no-thumb img { display: none; }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0f3f37; font-size: 26px; display: flex; align-items: center; justify-content: center; padding-left: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* ---- support ---- */
.support3 { background: #0f3f37; color: #fff; padding: clamp(70px, 9vw, 110px) 0; }
.support3-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.support3 h2 { color: #fff; }
.support3 p { color: #d6e5e0; font-size: 18px; line-height: 1.6; }
.support3-actions { display: flex; flex-direction: column; gap: 12px; }
.support3-actions a { justify-content: center; }

/* ---- dialogs ---- */
.lb { border: 0; padding: 18px; border-radius: 16px; max-width: min(1100px, 94vw); width: 100%; background: #fff; }
.lb::backdrop { background: rgba(6,20,18,.82); }
.lb img { width: 100%; height: auto; border-radius: 10px; display: block; }
.lb-close { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; border: 0; background: #fff; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; color: #1d2623; }
.lb-title { font-family: 'Crimson Pro', Georgia, serif; font-size: 22px; margin: 0 50px 12px 4px; color: #0f3f37; }
.vid { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- reveal: content is visible by default, motion only adds polish ---- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero3-img img { animation: none; }
}

/* ---- small screens ---- */
@media (max-width: 900px) {
  .stage, .stage.flip { grid-template-columns: 1fr; }
  .stage.flip .stage-media { order: 0; }
  .as3-in, .support3-in, .news3-grid { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr 1fr; }
  .work figure:last-child { grid-column: span 2; }
  .rail { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .rail li { padding-bottom: 18px; }
}
@media (max-width: 760px) {
  .miriam3-in { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .proof-in { grid-template-columns: 1fr; gap: 16px; }
  .pair { grid-template-columns: 1fr; }
  .hero3 { min-height: 0; }
  .hero3-in { padding: 64vw 0 70px; }
  .hero3-shade { background: linear-gradient(0deg, rgba(8,30,26,.95) 0%, rgba(8,30,26,.82) 52%, rgba(8,30,26,.15) 82%); }
  .hero3-img img { object-position: 22% 30%; height: 72vw; position: absolute; top: 0; }
  .cap-hero { top: calc(72vw - 40px); bottom: auto; right: 10px; }
  .as3-classes { grid-template-columns: 1fr; }
  .stage-thumbs { grid-template-columns: 1fr 1fr; }
}
/* Phones: the rendering sits on top, clean, with its caption in its top
   corner; the words start below it on the dark ground. */
@media (max-width: 760px) {
  .hero3-in { padding: calc(68vw + 26px) 0 64px; }
  .hero3-img img { height: 68vw; object-position: 30% 55%; }
  .hero3-shade { background: linear-gradient(180deg, transparent 0, transparent calc(68vw - 60px), #0f3f37 68vw, #0f3f37 100%); }
  .cap-hero { top: 10px; bottom: auto; right: 10px; font-size: 11.5px; }
  .notice .wrap { font-size: 13.5px; }
}
