:root {
  color-scheme: light;
  --paper: #f7f2e9;
  --ink: #271f1c;
  --muted: #685950;
  --line: #d7c9b8;
  --red: #742736;
  --green: #30453b;
  --cream: #fff3df;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .26em; }
button, select, input { font: inherit; }
:focus-visible { outline: 2px solid #a55056; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: var(--serif); }
h2 { font-size: clamp(2.15rem, 4vw, 3.4rem); line-height: 1.04; font-weight: normal; letter-spacing: -.045em; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; gap: .6rem; align-items: center; font-size: 1.15rem; text-decoration: none; }
.brand span { color: var(--red); font-size: 1.55rem; }
.header-link { color: var(--muted); font-size: .9rem; }
.cover { isolation: isolate; position: relative; overflow: hidden; min-height: 504px; display: grid; align-items: center; background: #351219; color: var(--cream); }
.cover::after { content: ''; pointer-events: none; position: absolute; z-index: 1; inset: 12px; border: 1px solid #f5d6ab52; }
.cover-art { position: absolute; z-index: -1; inset: 0 0 0 34%; background: center 49% / cover no-repeat url('hero.webp'), radial-gradient(ellipse at 68% 47%, #902e3e, #351219 72%); }
.cover-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #351219 0%, #351219b8 18%, transparent 58%); }
.cover-copy { padding: 58px 0 62px clamp(36px, 7vw, 96px); max-width: 505px; }
.edition { display: flex; gap: .75rem; align-items: center; text-transform: uppercase; font-size: .8rem; font-weight: 650; letter-spacing: .15em; color: #efc8a9; }
.edition span { display: inline-block; width: 22px; background: currentColor; height: 1px; }
h1 { margin: 20px 0 19px; font-size: clamp(4.5rem, 8.5vw, 7.5rem); font-weight: normal; letter-spacing: -.075em; line-height: .87; }
h1 em { font-weight: normal; }
.intro { max-width: 342px; color: #f6e5d7; }
.button { display: inline-flex; align-items: center; min-height: 47px; font-weight: 650; text-decoration: none; }
.cover-button { margin-top: 27px; padding: 8px 20px; background: var(--cream); color: #4a1822; }
.cover-button:hover { background: #f2d5b6; }
.import { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 45px clamp(0px, 3vw, 40px) 36px; border-bottom: 1px solid var(--line); }
.import-copy > p { max-width: 365px; color: var(--muted); margin-top: 14px; }
.import-copy .privacy { color: var(--green); margin-top: 22px; font-size: .9rem; }
.privacy span { font-size: 1.2em; margin-right: .25em; }
.drop { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 152px; padding: 18px; border: 1px dashed #a78d80; background: #f0e7dc; text-align: center; transition: background .15s, border-color .15s; }
.drop:hover, .drop.dragging { border-color: var(--red); background: #ead9d0; }
.drop:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.file-mark { color: var(--red); font: italic 1.7rem/1 var(--serif); margin-bottom: 10px; }
.drop-detail, .status { color: var(--muted); font-size: .9rem; }
.status:not(:empty) { margin-top: 8px; overflow-wrap: anywhere; }
.status[data-error="true"] { color: #952b33; }
.text-button { display: inline-block; padding: 0; margin-top: 12px; color: var(--red); border: 0; background: none; text-decoration: underline; text-underline-offset: .24em; cursor: pointer; }
.report { padding: 44px 0; border-bottom: 1px solid var(--line); }
.report-header { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.report-header .edition { color: var(--red); margin-bottom: .5rem; }
.year-label { display: flex; align-items: center; gap: .6em; }
select, input[type="number"] { color: var(--ink); background: #fffbf3; border: 1px solid #aa9786; padding: .38em .6em; }
select { appearance: none; padding-right: 1.85em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23742736' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 10px; background-position: right .65em center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 5px; background: #fff9ef; padding: 24px 20px; min-width: 0; }
.stat:nth-child(1) { background: var(--red); color: var(--cream); }
.stat:nth-child(2) { background: var(--green); color: var(--cream); }
.stat-value { font: normal clamp(1.7rem, 4vw, 3.4rem)/1 var(--serif); letter-spacing: -.045em; overflow-wrap: anywhere; }
.stat-label { font-size: .9rem; }
.time-settings { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 16px; }
.time-settings p, .report-footnote { color: var(--muted); font-size: .9rem; }
.time-settings input { width: 5em; margin-left: .4em; }
.timeline { padding: 26px 0 10px; }
.timeline-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.timeline h3 { font-weight: normal; font-size: 1.65rem; }
.timeline p { color: var(--muted); font-size: .9rem; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1%; margin-top: 14px; }
.month { display: grid; grid-template-rows: 1fr auto; text-align: center; gap: 6px; min-width: 0; }
.month-track { height: 125px; background: #eddfd4; display: flex; align-items: end; }
.month-fill { width: 100%; height: var(--height); background: var(--red); }
.month-label { font-size: .8rem; }
.report-footnote { margin-top: 16px; }
.guide { padding: 40px clamp(0px, 3vw, 40px) 43px; }
.guide ol { padding-left: 1.4rem; margin-block: 18px 13px; }
.guide li + li { margin-top: 7px; }
.guide a { color: var(--red); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--line); padding-block: 19px 24px; color: var(--muted); font-size: .9rem; }
@media (max-width: 790px) {
  .wrap { width: calc(100% - 40px); }
  .cover-art { inset-inline-start: 23%; }
  .import { gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .masthead { min-height: 62px; gap: .6rem; }
  .brand { font-size: 1rem; gap: .35rem; }
  .header-link { font-size: .8rem; }
  .cover { min-height: 560px; align-items: end; }
  .cover::after { inset: 8px; }
  .cover-art { inset: 0 0 30%; background-position: 58% 47%; }
  .cover-art::after { background: linear-gradient(0deg, #351219 0%, #35121977 30%, transparent 69%); }
  .cover-copy { padding: 232px 24px 32px; }
  h1 { font-size: clamp(3.55rem, 15vw, 4.9rem); }
  .intro { font-size: .95rem; }
  .import { grid-template-columns: 1fr; padding-block: 32px 28px; gap: 18px; }
  .import-copy .privacy { margin-top: 12px; }
  .stat { padding: 17px 12px; }
  .month-label { font-size: .68rem; }
  .month-track { height: 94px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

/* Mobile-first recap: saturated graphics, tactile cards, story navigation. */
:root {
  color-scheme: dark; --paper:#0e0e14; --ink:#fafafa; --muted:#b6b4c0; --line:#393744;
  --red:#ff71b9; --green:#77f8de; --cream:#111018; --serif:system-ui,sans-serif;
}
body { background:radial-gradient(ellipse at 50% 0%, #21182e, #0e0e14 640px); }
.wrap { width:min(820px, calc(100% - 32px)); }
.masthead { min-height:66px; }
.brand { font-weight:850; letter-spacing:-.04em; font-size:1.04rem; }
.brand span { color:#72fce1; }
.header-link { font-size:.85rem; }
.cover { min-height:490px; border-radius:32px; background:#b7fa55; color:#1b1524; align-items:end; }
.cover::after { display:none; }
.cover-copy { padding:245px 30px 32px; max-width:100%; z-index:2; }
.edition { color:inherit; font-size:.7rem; font-weight:850; letter-spacing:.13em; }
h1 { font-size:clamp(2.85rem, 9.5vw, 5.4rem); line-height:.91; font-weight:950; letter-spacing:-.09em; margin:16px 0; }
h1 em { font-weight:950; color:#5028c9; font-style:normal; }
h2 { font-weight:850; font-size:clamp(1.75rem,5vw,2.7rem); letter-spacing:-.05em; }
.intro { color:#312c33; max-width:440px; font-weight:550; }
.cover-art { inset:0; background:radial-gradient(ellipse at 68% 8%, #d7ff8c 0%, transparent 62%); z-index:0; }
.cover-art::after { display:none; }
.cover-disc { position:absolute; color:#e7ffb0; background:repeating-radial-gradient(circle,#262029 0px,#262029 6px,#39353f 7px,#262029 8px); display:grid;place-items:center; width:235px; aspect-ratio:1; border-radius:50%; top:-32px; left:calc(50% - 140px); transform:rotate(-16deg); font-size:8rem;font-weight:900; box-shadow:12px 12px 0 #4924c6; }
.cover-sticker { position:absolute; font-size:1.9rem; line-height:.9; font-weight:950; letter-spacing:-.06em; background:#ff75b5; border:3px solid #191621; padding:16px 22px; border-radius:19px; top:106px; left:calc(50% + 33px); transform:rotate(12deg); box-shadow:5px 5px 0 #191621; }
.cover-orbit { position:absolute; width:350px;height:110px; border:3px solid #4f2dc8; border-radius:50%; transform:rotate(-17deg); left:calc(50% - 180px); top:50px; }
.button { border:0; border-radius:16px; padding:14px 22px; font-weight:800; justify-content:center; cursor:pointer; }
.cover-button { color:#fff; background:#1b1524; margin-top:20px; width:100%; }
.cover-button:hover { background:#463174; }
.import { gap:20px; padding:26px 8px; border-bottom:0; }
.import-copy .privacy { color:#77f8de; }
.drop { background:#1b1b25; border:2px dashed #56606c; border-radius:20px; min-height:112px; }
.drop:hover,.drop.dragging { background:#29273a; border-color:#77f8de; }
.file-mark { color:#77f8de; font-weight:850; }
.text-button { color:#fff; min-height:44px; margin:8px 0 0; font-weight:700; }
.status[data-error="true"] { color:#ff9caa; }
.report { padding:20px 0 30px; border-bottom:0; }
.report-header .edition {color:#77f8de;}
select,input[type="number"] { color:#fff; background:#25232f; border:1px solid #716e80; border-radius:9px; }
.stats { gap:9px; border:0; background:transparent; grid-template-columns:repeat(2,minmax(0,1fr)); }
.stat { background:#25232f; border-radius:16px; padding:18px 14px; }
.stat:nth-child(1) { background:#abf94d; color:#1b1524; }
.stat:nth-child(2) { background:#a790fc; color:#1b1524; }
.stat-value { font-weight:900; font-size:clamp(1.5rem,5.6vw,2.5rem); letter-spacing:-.06em; }
.stat-label { line-height:1.25; }
.month-track {background:#292735; border-radius:5px; overflow:hidden; }
.month-fill {background:#b7fa55; border-radius:4px;}
.guide { background:#191823; border-radius:24px; padding:24px; }
.guide a {color:#77f8de;}
.footer {margin-top:22px;}
.replay { background:#b7fa55; color:#16121c; width:100%; margin-top:20px; }
.story-open { overflow:hidden; }
.story { background:transparent; border:0; padding:0; margin:auto; width:min(100%,480px); height:min(100dvh,850px); max-width:none; max-height:none; overflow:hidden; color:#171420; border-radius:28px; }
.story::backdrop {background:#08080be8; backdrop-filter:blur(14px);}
.story-shell {position:relative; isolation:isolate; display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; height:100%; padding:20px 22px 13px; overflow:hidden; background:var(--story-bg); color:var(--story-ink); transition:background .3s ease; --story-bg:#b7fa55; --story-ink:#191522; --accent:#4f2bc8; }
.story-shell::before {content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(ellipse at 50% 38%, #ffffff30, transparent 63%); pointer-events:none;}
.story-shell[data-theme="cyan"] {--story-bg:#5cf8dc; --accent:#103985;}
.story-shell[data-theme="pink"] {--story-bg:#ff72b6; --accent:#82206e;}
.story-shell[data-theme="lime"] {--story-bg:#ddff62; --accent:#446b14;}
.story-shell[data-theme="violet"] {--story-bg:#ab91ff; --accent:#4c27bc;}
.story-shell[data-theme="orange"] {--story-bg:#ffb260; --accent:#a93418;}
.story-shell[data-theme="persona"] {--story-bg:#241845; --story-ink:#fff9f3; --accent:#c5ff59;}
.story-shell[data-theme="final"] {--story-bg:#15121f; --story-ink:#faf7ff; --accent:#b7fa55;}
.story-top { position:relative; z-index:2; }
.story-progress {display:flex; gap:4px; height:5px;}
.story-progress span {flex:1;background:currentColor;opacity:.22;border-radius:20px;}
.story-progress span.done {opacity:.72;}
.story-progress span.current {opacity:1;}
.story-meta { display:flex; align-items:center; gap:10px; font-size:.65rem; font-weight:900; letter-spacing:.10em; margin-top:9px; }
#story-edition { flex:1; }
#close-story { padding:0; border:0; width:36px; height:36px; color:inherit; border-radius:50%; background:#80808025; font-size:1.75rem; line-height:1; cursor:pointer; }
.story-card { min-height:0; overflow:auto; touch-action:pan-y; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:10px 0 12px; position:relative; }
.story-art {font-size:clamp(3.5rem,14vh,6.6rem); font-weight:950; line-height:1; color:var(--accent); text-shadow:4px 4px 0 #0002; transform:rotate(-10deg); margin:0 0 15px 3px;}
.story-kicker { font-size:.75rem; font-weight:950; letter-spacing:.13em; border-bottom:2px solid currentColor; padding-bottom:5px; }
.story-title { font-size:clamp(2.05rem,7.9vw,3.55rem); line-height:.98; font-weight:950; letter-spacing:-.075em; margin:12px 0 13px; max-width:100%; overflow-wrap:break-word; }
.story-value { font-weight:950; font-size:clamp(3rem,12.5vw,5.5rem); line-height:.92; letter-spacing:-.085em; margin:3px 0 10px; max-width:100%; overflow-wrap:anywhere; color:var(--accent); }
.story-value.long-value {font-size:clamp(2.3rem,10vw,4.2rem);}
.story-caption {font-weight:750; font-size:clamp(1.05rem,4vw,1.3rem); line-height:1.2; margin-top:5px;}
.story-detail {font-size:.875rem; line-height:1.35; margin-top:9px; opacity:.82;}
.story-extra {width:100%;display:grid;gap:4px;margin:6px 0 9px;}
.story-extra-row {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px; border-radius:9px;background:#ffffff45;font-size:.9rem;}
.story-extra-row strong {font-weight:900;}
.story-chart {grid-template-columns:repeat(12,minmax(0,1fr));height:85px;gap:4px;}
.story-col {min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;font-size:.55rem;font-weight:800;}
.story-bar {width:100%; height:var(--size);background:var(--accent);border-radius:3px 3px 0 0;min-height:1px;}
.story-controls { display:grid; grid-template-columns:1fr 2fr; gap:9px; position:relative; z-index:1; }
.story-controls button { border:0; border-radius:16px; min-height:54px; cursor:pointer; font-weight:850; }
.story-prev {background:#80808030;color:inherit;}
.story-prev:disabled {opacity:.34;cursor:default;}
.story-next {background:#171420;color:white;}
[data-theme="final"] .story-next,[data-theme="persona"] .story-next {background:#c5ff59;color:#171420;}
.story-hint {text-align:center; font-size:.72rem; font-weight:650; opacity:.7; margin:10px 0 0;}
.story-card.entering > * { animation:slide-in .45s cubic-bezier(.15,.7,.25,1) both;}
.story-card.entering > :nth-child(2) {animation-delay:.045s;}
.story-card.entering > :nth-child(3) {animation-delay:.09s;}
.story-card.entering > :nth-child(4) {animation-delay:.14s;}
.story-card.entering > :nth-child(5) {animation-delay:.18s;}
@keyframes slide-in {from { opacity:0; translate:0 16px; scale:.97; } to {opacity:1;translate:0 0;scale:1;}}
@media(min-width:650px){.cover{min-height:500px;}.cover-copy{padding:48px;max-width:62%;}.cover-art{left:52%;top:70px;}.cover-disc{width:280px;}.cover-sticker{top:160px;}.cover-button{width:auto;}.stats{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:560px){.wrap{width:calc(100% - 26px);}.cover{min-height:0;}.cover-copy{padding:220px 22px 26px;}.story{width:100%;height:100dvh;border-radius:0;}.story-shell{padding:calc(12px + env(safe-area-inset-top)) 22px calc(13px + env(safe-area-inset-bottom));}.import{grid-template-columns:1fr;}.month-label{font-size:.68rem;}.year-label{font-size:.85rem;}.story-title{font-size:clamp(2rem,8vw,3rem);}}
@media(max-height:650px){.story-art{font-size:3.5rem;margin-bottom:8px;}.story-title{font-size:clamp(1.7rem,6.5vw,2.35rem);margin:7px 0;}.story-value{font-size:clamp(2.5rem,10vw,4rem);}.story-card{justify-content:safe center;}.story-chart{height:60px;}.story-extra-row{padding:5px 8px;}.story-detail{margin-top:5px;}}
@media(prefers-reduced-motion:reduce){.story-card.entering>*{animation:none;}.story-shell{transition:none;}}
.story-value.long-value { font-size:clamp(1.7rem,7.8vw,3rem); overflow-wrap:normal; hyphens:auto; letter-spacing:-.065em; }
[data-theme="persona"] .story-value { font-size:clamp(1.7rem,7.6vw,2.85rem); overflow-wrap:normal; hyphens:auto; }

/* 2026 edition — a more restrained editorial look. */
:root {
  --paper:#111113; --ink:#f6f6f7; --muted:#a9aaaf; --line:#303035;
  --red:#ff5476; --green:#77dcd4;
  background:var(--paper);
}
body { background:#111113; }
.wrap { width:min(820px, calc(100% - 32px)); }
.brand { letter-spacing:-.02em; font-weight:700; }
.brand span { color:var(--red); }
.cover { background:#19191d; color:#f6f6f7; border:1px solid #303035; border-radius:20px; min-height:440px; }
.cover-art { background:none; inset:0; overflow:hidden; }
.cover-year { position:absolute; top:-54px; right:22px; color:#303035; font-size:clamp(9rem,37vw,15rem); font-weight:800; letter-spacing:-.12em; line-height:.76; user-select:none; }
.cover-orbit { width:240px; height:240px; top:-65px; left:auto; right:-70px; border:1px solid #ff5476; transform:none; opacity:.5; }
.cover-copy { padding:240px 26px 26px; }
.cover-copy .edition {color:#b4b4bb;}
h1 {font-weight:750; font-size:clamp(3.1rem,10vw,5.25rem); letter-spacing:-.065em; line-height:.98;}
h1 em {color:#f6f6f7; font-weight:750; text-decoration: underline; text-decoration-color:#ff5476; text-underline-offset:.1em; text-decoration-thickness:.07em;}
.intro {color:#b9b9be; font-weight:400;}
.button { border-radius:10px; font-weight:650; }
.cover-button,.replay {background:#f4f4f5; color:#161619;}
.cover-button:hover,.replay:hover {background:#dedee1;}
.import {padding:28px 4px; }
.drop {background:#1b1b1e;border:1px dashed #64646c;border-radius:12px;}
.drop:hover,.drop.dragging {background:#242429;border-color:#aaaab1;}
.file-mark {color:#b9b9be;}
.import-copy .privacy,.report-header .edition {color:#a9d8d5;}
.stat,.stat:nth-child(1),.stat:nth-child(2) {background:#1b1b1f; color:var(--ink); border:1px solid #303035; border-radius:12px;}
.stat:nth-child(1) .stat-value {color:#ff5476;}
.stat:nth-child(2) .stat-value {color:#77dcd4;}
.stat-value {font-weight:750; letter-spacing:-.035em;}
.year-label {padding:5px 12px;border:1px solid #414147;border-radius:6px;color:#b9b9be;font-weight:650;}
.month-fill {background:#ff5476;}
.guide {background:#19191c;border:1px solid #303035;border-radius:12px;}
.guide a,.footer a {color:#d5d5db;}
.footer a:hover {color:#ff5476;}
@media(min-width:650px){.cover-copy{padding:40px 32px;max-width:65%;}.cover-art{inset:0;}.cover-year{font-size:17rem;right:35px;top:15px;}.cover-orbit{right:-70px;top:-50px;}}
@media(max-width:560px){.cover{min-height:0;}.cover-copy{padding:215px 22px 24px;}.cover-year{right:28px;top:-28px;}.cover-orbit{right:-85px;top:-70px;}}

/* Muted sage front page that shares the story’s accent colors. */
:root {
  color-scheme:light; --paper:#a9b29f; --ink:#191a20; --muted:#343d33;
  --line:#86927e; --red:#75143f; --green:#24544c;
}
body { background:var(--paper); }
.brand span {color:#622c98;}
.cover { background:#bac5ab; color:#1e2125; border-color:#899979; }
.cover-art { background:linear-gradient(125deg,#c6d0bb 0%,transparent 56%),radial-gradient(ellipse at 92% 20%,#a8be8b,transparent 72%); }
.cover-year { color:#94a881; opacity:.87; }
.cover-orbit { border:1px solid #728150; opacity:.65; }
.cover-copy .edition {color:#374333;}
h1 em {color:#1e2125;text-decoration-color:#713fa1;}
.intro {color:#333d32;}
.cover-button,.replay {background:#232127;color:#fff;}
.cover-button:hover,.replay:hover {background:#494052;}
.drop {background:#bbc4b2;border-color:#56664e;}
.drop:hover,.drop.dragging {background:#b4c3a6;border-color:#526344;}
.file-mark {color:#425035;}
.drop-detail,.status {color:var(--muted);}
.status[data-error="true"] {color:#72192e;}
.text-button {color:#332a44;}
.import-copy .privacy,.report-header .edition {color:#244239;}
.stat,.stat:nth-child(1),.stat:nth-child(2) {background:#fff;color:var(--ink);border-color:#d6d9ce;}
.stat:nth-child(1) {background:#dceebd;border-color:#c4d5aa;}
.stat:nth-child(2) {background:#e7dcfa;border-color:#d0c0eb;}
.stat:nth-child(1) .stat-value {color:#284914;}
.stat:nth-child(2) .stat-value {color:#572ea1;}
.year-label {border-color:var(--line);color:var(--muted);}
.month-track {background:#e2e7db;}
.month-fill {background:#779455;}
.guide {background:#bbc4b2;border-color:var(--line);}
.guide a,.footer a {color:#4f287a;}
.footer a:hover {color:var(--red);}
select,input[type="number"] {color:var(--ink);background:#fff;border-color:#9caa93;}

/* Story opening: the front page's muted green blooms into the first story. */
.story::backdrop {background:#20281783;backdrop-filter:blur(11px);}
.story[open] {animation:story-open-in .8s cubic-bezier(.16,1,.3,1) both;}
.story[open]::backdrop {animation:backdrop-in .8s ease-out both;}
.story-shell {transition:background .85s cubic-bezier(.2,.7,.2,1),color .35s ease;}
.story-launch {display:none;pointer-events:none;position:absolute;inset:0;z-index:5;overflow:hidden;place-items:center;isolation:isolate;}
.story.launching .story-launch {display:grid;animation:launch-panel 2.15s cubic-bezier(.25,.65,.25,1) both;background:linear-gradient(135deg,#dce8cb,#b7fa55 68%,#d1fc88);}
.launch-title {position:relative;text-align:center;color:#25202b;z-index:2;animation:launch-title 2.15s cubic-bezier(.2,.7,.25,1) both;}
.launch-title span {display:block;font-size:.83rem;font-weight:850;letter-spacing:.14em;}
.launch-title strong {font-size:clamp(5rem,24vw,8.5rem);line-height:.96;font-weight:950;letter-spacing:-.1em;}
.launch-ring {position:absolute;width:68%;aspect-ratio:1;border:2px solid #6139c7;border-radius:50%;opacity:0;animation:launch-ring 2.05s cubic-bezier(.18,.65,.25,1) both;}
.launch-ring-second {border-color:#25202b;animation-delay:.15s;}
.story-card.entering > * {animation:slide-in .82s cubic-bezier(.16,1,.3,1) both;}
.story-card.entering > :nth-child(2) {animation-delay:.10s;}
.story-card.entering > :nth-child(3) {animation-delay:.20s;}
.story-card.entering > :nth-child(4) {animation-delay:.31s;}
.story-card.entering > :nth-child(5) {animation-delay:.43s;}
.story-card.entering > :nth-child(6) {animation-delay:.51s;}
.story.launching .story-card.entering > * {animation-delay:1.04s;}
.story.launching .story-card.entering > :nth-child(2) {animation-delay:1.14s;}
.story.launching .story-card.entering > :nth-child(3) {animation-delay:1.25s;}
.story.launching .story-card.entering > :nth-child(4) {animation-delay:1.35s;}
.story.launching .story-card.entering > :nth-child(5) {animation-delay:1.45s;}
@keyframes story-open-in {0%{opacity:0;scale:.88;translate:0 40px;}100%{opacity:1;scale:1;translate:0 0;}}
@keyframes backdrop-in {from{opacity:0;}to{opacity:1;}}
@keyframes launch-panel {0%,48%{opacity:1;clip-path:inset(0 round 0);}100%{opacity:0;clip-path:inset(0 0 100% 0 round 28px);}}
@keyframes launch-title {0%{opacity:0;scale:.58;translate:0 26px;}27%,54%{opacity:1;scale:1;translate:0 0;}100%{opacity:0;scale:1.28;translate:0 -80px;}}
@keyframes launch-ring {0%{opacity:0;scale:.3;}25%{opacity:.55;}94%,100%{opacity:0;scale:2;}}
@media(prefers-reduced-motion:reduce){
  .story[open],.story[open]::backdrop,.story-card.entering > *{animation:none!important;}
  .story.launching .story-launch{display:none;}
  .story-shell{transition:none;}
}

/* Winter details */
.masthead-actions, .footer-site {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.snow-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #333d32;
  background: transparent;
  cursor: pointer;
}
.snow-toggle span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #6f7e6680;
  border-radius: 50%;
  font-size: 1.15rem;
}
.snow-toggle[aria-pressed="true"] span, .snow-toggle:hover span {
  background: #d3ddc8;
}
.snow-toggle[aria-pressed="false"] span {
  color: #4a5747;
}
.snowfall {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cover::after {
  display: block;
  inset: 8px;
  border-color: #edf2e54f;
  border-radius: 12px;
}
.cover-year {
  opacity: .46;
}
.cover-orbit {
  opacity: .44;
}
.winter-branch {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  max-height: 100%;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
}
.footer {
  align-items: center;
}
.footer-cat {
  display: block;
  object-fit: contain;
}
@media (max-width: 649px) {
  .winter-branch {
    width: 77%;
    max-height: 205px;
  }
}
@media (max-width: 440px) {
  .masthead-actions {
    gap: .1rem;
  }
}
