/* A visual introduction with two starting paths and a secondary learning map. */
body[data-mode="home"] .header-actions { display: none; }
#title-screen { max-width: 1320px; padding-top: 36px; padding-bottom: 24px; }
.title-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 50px; align-items: center; }
.title-copy { padding: 12px 0 16px; }
#title-screen-heading { font: clamp(50px, 5.1vw, 68px)/1.04 Georgia, serif; letter-spacing: -2.8px; margin: 18px 0 24px; }
#title-screen-heading:focus { outline: none; }
#title-screen-heading em { color: #8a6748; font-weight: 400; }
.title-intro { font-size: 18px; line-height: 1.6; margin: 0 0 10px; }
.title-description { max-width: 390px; color: #637469; font-size: 15px; line-height: 1.8; margin: 0; }
.title-world { position: relative; min-width: 0; margin: 0 0 30px; padding: 12px 0 0; }
.title-world::before { content: ''; position: absolute; inset: -14px -8px 12px 20px; border: 1px solid #d8decd; border-radius: 48% 48% 22px 22px; transform: rotate(4deg); background: #e8ebdb; z-index: -1; }
.title-world-frame { position: relative; overflow: hidden; border-radius: 160px 160px 20px 20px; background: #c3cfad; box-shadow: 0 18px 38px #243d331c; }
#title-world { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; object-position: 46% center; }
.title-world-label { position: absolute; bottom: 20px; right: 20px; color: #fff6d8; font-size: 8px; letter-spacing: 1.8px; background: #183a33db; padding: 8px 10px; border-radius: 5px; }
.title-code-note { position: absolute; bottom: -28px; left: -22px; display: flex; gap: 16px; align-items: center; padding: 18px 22px; border: 1px solid #e1decf; border-radius: 12px; background: #fffdf3; box-shadow: 0 10px 25px #243d3314; transform: rotate(-3deg); }
.title-code-note div>span { display: block; color: #637469; font-size: 10px; margin-bottom: 8px; }
.title-code-note code { font: 22px var(--mono); color: #365b48; }.title-code-note code>span { color: #9d6a43; }
.title-code-spark { color: #8b9b70; font-size: 38px; }.title-code-arrow { font-size: 28px; color: #84966c; padding-left: 12px; }
.title-world-star { position: absolute; top: -12px; right: -12px; color: #8c6f42; font-size: 74px; line-height: 1; text-shadow: 0 2px #f7f5ee; }
.title-path-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 32px; margin: 24px 0 20px; border-top: 1px solid var(--border); }
.title-path-heading h2 { font: 25px Georgia, serif; margin: 0; }.title-path-heading>span { color: #637469; font-size: 12px; }
.title-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.title-choice { text-align: left; width: 100%; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; position: relative; display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 26px 28px; border: 1px solid #d9dfcd; border-radius: 16px; background: #edf1e3; }
.title-choice-copy { display: block; flex: 1; padding-right: 34px; }.title-choice-copy .eyebrow { display: block; margin: 0 0 12px; color: #617454; font-size: 9px; letter-spacing: 1.5px; }.title-choice-title { display: block; font: 29px/1.15 Georgia, serif; margin: 0 0 12px; letter-spacing: -.6px; }.title-choice-description { display: block; color: #617063; font-size: 13px; line-height: 1.75; margin: 0 0 22px; max-width: 440px; }
.title-choice-link { display: block; padding-top: 14px; border-top: 1px solid #284b4320; width: 100%; font-size: 12px; font-weight: 650; }
.title-games { background: #f2e9dc; border-color: #e1d7c8; }.title-games .eyebrow { color: #896c4c; }
.title-choice:hover:not(:disabled) { background: #e4ebd6; border-color: #91a57c; box-shadow: 0 10px 24px #243d3312; transform: translateY(-3px); }
.title-games:hover:not(:disabled) { background: #eadfce; border-color: #b49b7b; }
.title-choice:focus-visible { outline: 3px solid #6e885a; outline-offset: 4px; box-shadow: 0 10px 24px #243d3312; }
.title-choice:active:not(:disabled) { transform: translateY(0); }

.title-choice-mark { position: absolute; right: 26px; top: 24px; color: #778967; font: 24px var(--mono); }.title-games .title-choice-mark { color: #9a7b55; font: 38px/1 Georgia, serif; }
.title-map-link { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; font-size: 12px; }.title-map-link p { margin: 0; color: #657468; }.title-map-link button { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }.title-map-link button span { display: inline-block; margin-left: 8px; text-decoration: none; }
.title-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding-top: 18px; color: #6d7b6f; font-size: 10px; line-height: 1.6; }
@media(max-width: 1000px) { .title-hero { gap: 32px; }#title-screen-heading { font-size: 59px; }.title-world { margin-left: 10px; }.title-code-note { padding: 15px; left: -18px; gap: 10px; }.title-code-arrow { display: none; }.title-choice-title { font-size: 25px; } }
@media(max-width: 800px) { #title-screen { padding-top: 26px; }.title-hero { grid-template-columns: 1fr; gap: 22px; }.title-copy { padding: 0; }#title-screen-heading { font-size: clamp(48px, 8.5vw, 64px); margin: 12px 0 18px; }#title-screen-heading em br { display: none; }.title-intro { font-size: 17px; }.title-description { max-width: 480px; font-size: 14px; }.title-world { margin: 0 12px 26px; padding-top: 0; }.title-world-frame { border-radius: 70px 70px 16px 16px; }#title-world { aspect-ratio: 2.2; }.title-world::before { inset: -8px -8px 8px 12px; border-radius: 70px 70px 16px 16px; }.title-world-star { top: -12px; right: -10px; font-size: 48px; }.title-code-note { bottom: -25px; left: -8px; padding: 12px 16px; }.title-code-note code { font-size: 19px; }.title-code-note div>span { font-size: 9px; }.title-code-spark { font-size: 28px; }.title-world-label { display: none; }.title-path-heading { margin-top: 22px; padding-top: 24px; flex-direction: column; gap: 8px; }.title-path-heading h2 { font-size: 24px; }.title-actions { grid-template-columns: 1fr; gap: 16px; }.title-choice { padding: 24px; }.title-choice-copy { padding-right: 20px; }.title-choice-mark { right: 20px; top: 20px; }.title-map-link { margin: 22px 0; gap: 0; }.title-footer { flex-direction: column; gap: 6px; } }

@media(prefers-reduced-motion: reduce) { .title-choice { transition: none; }.title-choice:hover:not(:disabled), .title-choice:active:not(:disabled) { transform: none; } }
