:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #162b43; background: #f3f7fc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }
a { color: inherit; }
.home-background { position: fixed; inset: 0; z-index: -2; background: #edf3fa url("radiotherapy-mosaic.png") center / cover no-repeat; opacity: .49; pointer-events: none; }
.home-wash { position: fixed; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(247,250,255,.88), rgba(247,250,255,.76) 50%, rgba(235,243,255,.41)); pointer-events: none; }
.home-shell { width: min(1180px, calc(100% - 96px)); min-height: 100vh; min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; }
.home-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { width: 54px; height: 54px; object-fit: contain; }
.brand-name { display: block; font-size: 17px; font-weight: 760; letter-spacing: -.025em; }
.brand-detail { display: block; margin-top: 3px; font-size: 12px; letter-spacing: .025em; color: #50657c; }
.home-domain { font-size: 12px; color: #526980; }
.home-header-actions { display: flex; align-items: center; gap: 18px; }
.home-lucky { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 15px; border: 1px solid #c5d9ec; border-radius: 14px; color: #2563a9; background: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 16px rgba(34,67,110,.05); transition: background .15s, transform .15s; }
.home-lucky img { width: 26px; height: 26px; object-fit: contain; }
.home-lucky:hover { background: #edf5fe; transform: translateY(-2px); }
.home-lucky:focus-visible { outline: 3px solid #2563a9; outline-offset: 4px; }
.home-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0 65px; }
.home-eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; color: #376483; }
.home-eyebrow::before { content: ""; width: 25px; height: 2px; background: #3489b7; }
.home-title { margin: 0; max-width: 850px; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.06; font-weight: 760; letter-spacing: -.055em; }
.home-title span { color: #336e9f; }
.home-intro { margin: 22px 0 40px; max-width: 600px; font-size: 17px; line-height: 1.7; color: #4a6178; }
.workspace-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.workspace-link { --accent: #2563a9; display: flex; flex-direction: column; min-height: 256px; padding: 26px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 10px 35px rgba(34,67,110,.07); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.workspace-link:hover { transform: translateY(-4px); border-color: #9cbfe2; box-shadow: 0 16px 35px rgba(34,67,110,.12); }
.workspace-link:focus-visible, .home-brand:focus-visible, .home-footer a:focus-visible { outline: 3px solid #2563eb; outline-offset: 5px; }
.workspace-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.workspace-year { font-size: 32px; line-height: 1; font-weight: 780; letter-spacing: -.06em; color: var(--accent); }
.workspace-symbol { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #edf5fe; color: var(--accent); }
.workspace-symbol svg { width: 23px; height: 23px; }
.workspace-link h2 { font-size: 22px; letter-spacing: -.035em; margin: 23px 0 9px; }
.workspace-link p { margin: 0 0 24px; color: #5a6c80; font-size: 14px; line-height: 1.6; }
.workspace-open { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--accent); font-size: 13px; font-weight: 750; }
.workspace-open svg { width: 19px; height: 19px; }
.workspace-2027 { --accent: #3e7091; }
.workspace-2027 .workspace-symbol { background: #eff6fa; }
.workspace-duty { --accent: #5261a8; }
.workspace-duty .workspace-symbol { background: #f1f0fd; }
.year-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.year-links .workspace-year { margin: 0; font-size: 40px; }
.year-links p { margin-top: 25px; max-width: 380px; font-size: 16px; }
.home-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 25px; border-top: 1px solid rgba(80,112,145,.18); font-size: 11px; color: #587087; line-height: 1.6; }
.home-footer a { text-decoration-color: #91a6bb; text-underline-offset: 3px; }
.home-skip { position: fixed; top: 8px; left: 8px; z-index: 10; transform: translateY(-160%); padding: 10px 15px; border-radius: 8px; background: #fff; }
.home-skip:focus { transform: translateY(0); }
@media (max-width: 850px) {
    .home-shell { width: calc(100% - 48px); }
    .home-domain { display: none; }
    .workspace-link { padding: 22px; }
}
@media (max-width: 620px) {
    .home-shell { width: calc(100% - 36px); }
    .home-header { padding: 20px 0; }
    .brand-icon { width: 45px; height: 45px; }
    .brand-name { font-size: 16px; }
    .home-header { gap: 10px; }
    .home-header-actions { gap: 0; }
    .home-lucky { width: 44px; padding: 8px; flex-shrink: 0; }
    .home-lucky-label { display: none; }
    .home-main { padding: 32px 0 35px; }
    .home-title { font-size: 45px; }
    .home-intro { margin: 18px 0 28px; font-size: 15px; }
    .workspace-links { grid-template-columns: 1fr; gap: 13px; }
    .workspace-link { min-height: 210px; padding: 22px; }
    .workspace-link h2 { margin-top: 16px; }
    .year-links .workspace-year { margin-top: 0; }
    .home-background { background-size: auto 100%; }
    .home-wash { background: rgba(245,249,255,.79); }
    .home-footer { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .workspace-link, .home-lucky { transition: none; } .workspace-link:hover, .home-lucky:hover { transform: none; } }
