:root { color-scheme: light; font-family: "Segoe UI", Arial, system-ui, sans-serif; color: #291c38; background: #fbf4f4; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 0 13%, #e4cede70, transparent 35%), radial-gradient(ellipse at 93% 95%, #e6d6e947, transparent 47%), linear-gradient(115deg, #fbf4f1, #faf1f4 64%, #f7f0f5); }
body::before { content: ""; position: absolute; pointer-events: none; z-index: 0; top: 108px; left: 0; width: min(550px, 70vw); height: 210px; opacity: .42; filter: blur(16px); background: radial-gradient(ellipse at 0 17%, #d6b9d0 0 12%, transparent 42%), radial-gradient(ellipse at 19% 50%, #e6c9d5 0 13%, transparent 40%), radial-gradient(ellipse at 51% 76%, #ebd2dc 0 12%, transparent 46%), radial-gradient(ellipse at 83% 100%, #e5c9d9 0 10%, transparent 40%); }
.school { position: relative; width: min(100% - 80px, 1444px); margin: 0 auto; padding: 20px 0 22px; }
.masthead { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; min-height: 78px; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: block; width: 62px; height: 72px; flex: none; }
.brand { font-family: Georgia, Cambria, "Times New Roman", serif; font-size: clamp(29px, 3vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; margin: 0; }
.brand-tagline { margin: 10px 0 0 2px; color: #736078; font-size: 11px; line-height: 1.5; letter-spacing: .24em; }
.affirmation { display: flex; align-items: center; gap: 17px; padding-right: 10px; color: #79617b; }
.affirmation p { font-family: "Segoe Print", "Bradley Hand", "URW Chancery L", cursive; font-size: 18px; font-weight: 400; line-height: 1.5; margin: 0; transform: rotate(-3deg); }
.affirmation img { opacity: .95; }
.welcome { text-align: center; margin: 8px 0 12px; }
h1 { font-family: Georgia, Cambria, "Times New Roman", serif; font-size: clamp(34px, 5.1vw, 78px); line-height: 1.1; font-weight: 400; letter-spacing: -.025em; margin: 0; }
.eyebrow { color: #6b556f; font-size: clamp(11px, 1.15vw, 16px); line-height: 1.5; font-weight: 400; letter-spacing: .28em; margin: 13px 0 7px; }
.center-heart { display: block; margin: 0 auto; }
/* Native hidden remains controlled exclusively by the existing readiness script. */
#kiosk-status { margin: 0 0 12px; padding: 8px 13px; border: 1px solid #e5d6e3; border-radius: 11px; background: #f5eef4de; color: #67516c; font-size: 11px; line-height: 1.5; }
#kiosk-status.test-mode { border-color: #dfccdf; background: #f4ecf2e6; }
#kiosk-status.test-mode strong { float: left; margin: 1px 13px 0 0; font-size: 9px; letter-spacing: .15em; line-height: 1.7; }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 14px; }
.site-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 104px minmax(0, 1fr) 52px; align-items: center; gap: 20px; min-height: 174px; padding: 22px 28px; color: #291c38; border: 1px solid #ecdde3; border-radius: 17px; text-decoration: none; background: linear-gradient(130deg, #fcf3f2e6, #f5e8ecd9); box-shadow: 0 5px 16px #76516a10; transition: box-shadow .18s ease, border-color .18s ease; }
.math { background: linear-gradient(130deg, #f4eef9e6, #eee6f6e6); border-color: #e6ddee; }
.site-card:hover { border-color: #b49bb9; box-shadow: 0 7px 22px #76516a20; }
.site-card:focus-visible { outline: 4px solid #634c7e; outline-offset: 5px; }
.motif { display: block; width: 104px; height: 104px; z-index: 1; }
.card-copy { position: relative; z-index: 1; min-width: 0; }
.site-card h2 { font-family: Georgia, Cambria, "Times New Roman", serif; font-size: clamp(24px, 2.7vw, 39px); line-height: 1.18; font-weight: 400; letter-spacing: -.035em; margin: 0 0 11px; }
.description { color: #67516e; margin: 0; font-size: 11px; line-height: 1.6; font-weight: 400; letter-spacing: .18em; }
.card-action { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #d7a9bb, #cc98ae); }
.math .card-action { background: linear-gradient(135deg, #bda9db, #ae99cf); }
.card-action svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.card-wave { position: absolute; z-index: 0; bottom: 0; left: 0; width: 100%; height: 57px; fill: #dfc2d0; opacity: .48; border-radius: 0 0 16px 16px; pointer-events: none; }
.math .card-wave { fill: #cfc0e7; opacity: .55; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.verse-card { border-radius: 17px; overflow: hidden; color: #fff; background: linear-gradient(90deg, #242233bc 0%, #242233b3 56%, #24223326 76%, #24223308), url('/assets/academy/verse-sunset.png') center 54% / cover; box-shadow: 0 8px 24px #6b426020; }
.verse-content { padding: 25px 42px 24px; min-height: 280px; }
.verse-card h2 { font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; line-height: 1.5; font-weight: 400; letter-spacing: .24em; margin: 0 0 9px; }
.verse-reference { font-family: Georgia, Cambria, "Times New Roman", serif; font-size: 20px; font-weight: 400; line-height: 1.35; margin: 0; }
.verse-divider { display: block; width: 115px; height: 1px; margin: 16px 0; background: #e5dce7b3; }
.verse-text { max-width: 52%; font-family: Georgia, Cambria, "Times New Roman", serif; font-size: clamp(26px, 2.65vw, 39px); font-weight: 400; line-height: 1.28; margin: 0; overflow-wrap: anywhere; text-shadow: 0 1px 3px #1a10292b; }
.verse-note { max-width: 52%; margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: #f9f5f9; }
.verse-attribution { max-width: 52%; margin: 9px 0 0; font-size: 9px; line-height: 1.5; }
.verse-note:empty, .verse-attribution:empty, .verse-reference:empty { display: none; }
.verse-reference:empty + .verse-divider { margin-top: 15px; }
@media (min-width: 681px) and (max-height: 800px) {
  .school { padding-top: 16px; padding-bottom: 16px; }
  .masthead { min-height: 70px; }
  .brand-mark { width: 56px; height: 65px; }
  .affirmation p { font-size: 16px; }
  .welcome { margin-top: 4px; margin-bottom: 10px; }
  h1 { font-size: clamp(40px, 4.95vw, 69px); }
  .eyebrow { margin-top: 9px; margin-bottom: 4px; font-size: 14px; }
  .center-heart { width: 20px; height: 20px; }
  .site-card { min-height: 176px; padding-top: 18px; padding-bottom: 18px; }
  .verse-content { min-height: 280px; padding-top: 22px; padding-bottom: 22px; }
}
@media (min-width: 681px) and (max-width: 1150px) {
  .school { width: calc(100% - 48px); }
  .site-card { grid-template-columns: 76px minmax(0, 1fr) 43px; gap: 15px; padding-left: 19px; padding-right: 19px; }
  .motif { width: 76px; height: 86px; }
  .site-card h2 { font-size: 27px; }
  .description { font-size: 9px; letter-spacing: .14em; }
  .card-action { width: 43px; height: 43px; }
  .verse-content { padding-left: 30px; padding-right: 30px; }
}
@media (min-width: 681px) and (max-height: 740px) {
  .school { padding-top: 12px; padding-bottom: 12px; }
  .masthead { min-height: 64px; }
  .brand { font-size: 36px; }
  .welcome { margin-top: 0; }
  h1 { font-size: clamp(40px, 4.7vw, 64px); }
  .site-card { min-height: 160px; }
  .verse-content { min-height: 252px; }
}
@media (max-width: 680px) {
  .school { width: calc(100% - 32px); padding: 18px 0; }
  .masthead { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .brand-lockup { gap: 10px; }
  .brand-mark { width: 49px; height: 59px; }
  .brand { font-size: 31px; }
  .brand-tagline { font-size: 8px; margin-top: 7px; letter-spacing: .22em; }
  .affirmation { gap: 9px; padding: 0; }
  .affirmation p { font-size: 12px; line-height: 1.6; text-align: center; transform: none; }
  .affirmation img { width: 19px; height: 19px; }
  .welcome { margin-top: 22px; margin-bottom: 12px; }
  h1 { font-size: clamp(31px, 8.7vw, 48px); line-height: 1.12; }
  .eyebrow { font-size: 9px; letter-spacing: .19em; line-height: 1.7; margin: 12px 0 7px; }
  #kiosk-status { font-size: 10px; padding: 9px 11px; }
  #kiosk-status.test-mode strong { float: none; display: block; margin: 0 0 3px; }
  .sites { grid-template-columns: 1fr; gap: 14px; }
  .site-card { grid-template-columns: 67px minmax(0, 1fr) 36px; min-height: 148px; padding: 20px 15px; gap: 12px; }
  .motif { width: 67px; height: 80px; }
  .site-card h2 { font-size: 23px; margin-bottom: 8px; }
  .description { font-size: 8px; letter-spacing: .11em; }
  .card-action { width: 36px; height: 36px; }
  .card-action svg { width: 22px; height: 22px; }
  .card-wave { height: 42px; }
  .verse-card { background-position: 62% center; background-image: linear-gradient(90deg, #242233d1, #242233b3), url('/assets/academy/verse-sunset.png'); }
  .verse-content { min-height: 280px; padding: 24px; }
  .verse-card h2 { font-size: 9px; }
  .verse-reference { font-size: 18px; }
  .verse-text { max-width: 100%; font-size: 27px; }
  .verse-note, .verse-attribution { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .site-card { transition: none; } }
@media (forced-colors: active) { .site-card, .verse-card, #kiosk-status { border: 2px solid CanvasText; } .site-card:focus-visible { outline-color: Highlight; } .verse-card { background: Canvas; color: CanvasText; } .card-action { border: 1px solid CanvasText; } .card-action svg { stroke: CanvasText; } .verse-divider { background: CanvasText; } }
