/* The measured pastel mosaic is the only full-screen background. */
:root{--pink:#a72472;--text:#302039;--muted:#65536e;--line:#957b9c;color-scheme:light;--glass:rgba(255,251,255,.87);--edge:rgba(255,255,255,.65);--shadow:0 8px 28px #40233c18}
body,body[data-view=timeline],body[data-view=year]{background:#be96c6;color:var(--text)}
#background{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
#site{position:relative;z-index:1}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #542855;outline-offset:4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.header,body[data-view=timeline] .header,body[data-view=year] .header{background:linear-gradient(#fff9ffdc,#fff9ff99 72%,#fff9ff00)}
.brand{padding:8px 12px;border-radius:12px;background:#ffffffba;max-width:38vw}
.brand img{mix-blend-mode:multiply}
.brand{min-height:48px}
.brand img,.loader-logo img{mix-blend-mode:normal}
.header-caption,.header-period,body[data-view=timeline] .header-period,.header-story p,body[data-view=timeline] .header-story p{color:var(--muted)}
.icon-button,.quiet-button,.circle-button{color:var(--text);background:var(--glass);border-color:#76527b66;box-shadow:0 2px 8px #49234b0a;min-height:48px}
.icon-button,.circle-button,.story-controls .circle-button{width:48px;height:48px;flex-shrink:0}
.quiet-button:hover,.circle-button:hover{background:#fff;border-color:var(--pink);color:var(--pink)}
.quiet-button[aria-pressed=true]{color:var(--pink);border-color:var(--pink);background:#fff}
.home{background:transparent;padding-bottom:90px;gap:14px}
.home-copy{text-shadow:0 1px 0 #ffffff80}
.home-copy p{color:#49334f}
.anniversary{min-height:160px;display:grid;place-items:center;overflow:visible}
.anniversary-art{height:100%;max-height:100%;width:min(960px,100%);min-height:0;filter:drop-shadow(0 12px 14px #52365212)}
.start-button{color:#fff;background:#55325f;border-color:#ffffffb3;box-shadow:0 8px 28px #50335735;min-height:56px;margin-bottom:0}
.start-button:hover{background:#6f3971;box-shadow:0 8px 28px #50335755}
.home-nav>div{background:var(--glass);border-color:var(--edge);border-radius:12px;box-shadow:var(--shadow);backdrop-filter:none}
.home-nav b{font-weight:600}.home-nav small{color:var(--muted)}
.background-modes{position:fixed;z-index:20;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:6px;background:#fff9fff2;border:1px solid #ffffffbf;border-radius:18px;box-shadow:0 4px 24px #50305022}
.background-modes button{width:48px;height:48px;border-radius:12px;font-variant-numeric:tabular-nums;color:#66526e;font-size:1rem;transition:background .15s,color .15s}
.background-modes button:hover{background:#ede1f0;color:#402448}
.background-modes button[aria-pressed=true]{background:#53305c;color:#fff;box-shadow:0 3px 8px #53305c24}
body[data-view=timeline]{touch-action:pan-y;overscroll-behavior-x:none}
.timeline{touch-action:pan-y;scroll-snap-type:none;overscroll-behavior-x:none}
.timeline-intro{color:#49304f;background:#ffffffc7;padding:9px 14px;border:1px solid #ffffffb3;border-radius:9px;top:108px}
.year-copy{background:var(--glass);border:1px solid var(--edge);border-left:3px solid #ae5691;border-radius:12px;padding:14px 16px;max-width:330px;left:20px;right:22px;box-shadow:var(--shadow);top:16%}
.year-card.below .year-copy{top:auto;bottom:170px}
.year-copy strong{color:#493151;font-size:clamp(2.8rem,4.4vw,5.5rem)}
.year-description{color:#5c4966;font-size:.9rem;line-height:1.4}
.year-title{font-weight:600}
.year-open{color:#823964;background:#faf3fa;border-color:#b789a0;border-radius:6px;min-height:28px;padding:5px 9px}
.year-card:hover .year-open{background:#8d326a;color:#fff}
.year-card.selected .year-copy{border-left-color:#9e2068;background:#fff9ffed}
.year-card.selected .year-copy strong{color:#9d276c;text-shadow:none}
.year-card:after{background:#71355f80;box-shadow:none;height:2px}
.year-stem{background:linear-gradient(#855e8599,#9d276c)}
.year-card.below .year-stem{background:linear-gradient(#9d276c,#855e8599)}
.year-node{border-color:#fff6fd;background:#954279;box-shadow:0 0 0 5px #fff7fc66}
.year-card.selected .year-node{border-color:#8c3169;box-shadow:0 0 0 6px #fff7fcb3}
.year-mosaic{top:44%;height:21%}
.year-card.below .year-mosaic{top:34%}
.photo-main,.photo-small,.photo-third{border:3px solid #fff9ff;box-shadow:0 8px 24px #432d4840;border-radius:4px}
.photo-main{filter:none}.year-card.selected .photo-main{filter:none;outline:2px solid #9d276c;box-shadow:0 8px 24px #432d4855}
.pan-button{width:48px;background:#fff9ffe8;color:#4e2e57;border-color:#ffffffcc;box-shadow:var(--shadow)}
.timeline-footer{bottom:91px;padding:7px 12px;gap:20px;border:1px solid var(--edge);background:#fff9ffed;border-radius:12px;box-shadow:var(--shadow)}
.timeline-scrollbar{color:#573e60}
.timeline-scrollbar input::-webkit-slider-runnable-track{background:#b38ba8;height:3px}
.timeline-scrollbar input::-moz-range-track{background:#b38ba8;height:3px}
.timeline-scrollbar input::-webkit-slider-thumb{background:#8d326a;box-shadow:none;height:12px;margin-top:-4.5px}
.timeline-scrollbar input::-moz-range-thumb{background:#8d326a;height:12px}
.timeline-hint{bottom:auto;top:150px;left:4vw;right:auto;color:#4a3353;font-size:.75rem;background:#ffffffb8;padding:6px 10px;border-radius:6px}
.year-screen{padding-bottom:104px}
.year-navigation{color:#503658;background:#fff9ffcc;border:1px solid var(--edge);border-radius:10px;padding:8px 12px}
.year-summary,.year-materials,.year-stories{background:#fff9fff0;border:1px solid var(--edge);border-radius:14px;padding:22px;box-shadow:var(--shadow)}
.year-summary{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.year-summary>p,.story-quote,.story-author small,.achievement-card small,.achievement-description,.story-controls{color:#5c4766}
.year-number{color:#9d276c;text-shadow:none}
.year-tags>span{background:#f0e2f0;color:#6b3c64;border-color:#d6b4cd;border-radius:6px}
.year-hero{border-color:#fff9ff;border-width:3px;border-radius:14px;box-shadow:var(--shadow)}
.year-hero figcaption{background:#fff9fff2;color:#573c5e}
.achievement-card{background:#fff;border-color:#dbc6dd;border-radius:10px}
.achievement-card.selected{background:#f8eefa;border-color:#a54380;box-shadow:none}
.achievement-description{background:#f1e5f2;border-left-color:#a54380;border-radius:4px}
.year-stories .section-heading{border-color:#ddc7dc}.year-stories .section-heading h2{color:#493151}
.section-heading>span{color:#8b3368}
.story-photo{background:#fff;border-color:#d5bcd4;border-radius:9px}
.story-photo>span{background:#f8eff8;color:#5c4062}
.story-attachments h3{color:#65506e}
.album-photo{border-color:#fff;border-width:2px;border-radius:8px}
.album-photo>span{color:#fff}.album-photo.selected{border-color:#a54380;box-shadow:none}
.gallery{background:#fcf6ff;color:#38243f;border-color:#fff;border-radius:14px;box-shadow:0 24px 80px #1c0a2d88}
.gallery::backdrop{background:#23122ec9;backdrop-filter:none}
.gallery-art{background:#110d17}.gallery-close{background:#fff8ffff;color:#493151}
.eyebrow{color:#8b3368}
.fullscreen-notice{background:#fff9ff;color:#493151;border-color:#9d699b;box-shadow:var(--shadow)}
.loader{background:transparent;color:#38243f}
.loader-logo{background:#fff9ffdc;border-radius:12px;padding:15px}
.loader-logo img{mix-blend-mode:multiply}
.loader-footer{background:#fff9ffe6;border:1px solid var(--edge);border-radius:14px;box-shadow:var(--shadow)}
.loading-caption{color:#674b70}.loading-track{background:#bfa3c4}.loading-track i{box-shadow:none}
#load-error{margin-top:14px}#load-error p{display:block;margin:0 0 12px;color:#6b3158;font-size:.9rem;letter-spacing:0;line-height:1.5}#load-retry{min-height:48px;padding:10px 18px}
.loader-years span{color:#513558;text-shadow:none;background:#fff9ffb8;border-radius:6px;padding:5px 8px}
@media(min-width:1700px){.home{padding-bottom:96px}.year-screen{padding-bottom:108px}}
@media(max-width:1100px){.year-copy{padding:12px 13px}.year-summary,.year-materials,.year-stories{padding:18px}.header-story p{letter-spacing:0}}


@media(max-height:750px) and (min-width:900px){.home{padding-bottom:90px;gap:8px;grid-template-rows:auto minmax(110px,1fr) auto auto}.anniversary{min-height:110px}.home-nav>div{padding:10px 12px}.home-copy h1{font-size:1.8rem}.home-copy p{font-size:.9rem}.start-button{min-height:48px}.year-copy{top:18%;padding:10px 13px}.year-copy strong{font-size:3rem}.year-description{font-size:.8rem}.year-title{font-size:.95rem}.year-card.below .year-copy{top:auto;bottom:164px}.timeline-footer{bottom:88px}.timeline-hint{display:none}.timeline-intro{top:90px;padding:6px 10px}}
@media(max-height:640px){.timeline-intro{display:none}.year-copy{top:18%;padding:8px 12px}.year-copy strong{font-size:2.4rem;margin-bottom:4px}.year-title{font-size:.85rem}.year-description,.year-open{display:none}.year-card.below .year-copy{top:auto;bottom:150px}.year-mosaic{top:41%;height:21%}.year-card.below .year-mosaic{top:30%}.timeline-footer{bottom:80px}.timeline-footer .quiet-button{min-height:40px}.background-modes button{height:44px}.background-modes{bottom:10px}}


/* Exhibition layout: typography, material and spacing shared by every screen. */
:root{font-family:'Segoe UI',Arial,Helvetica,sans-serif;--pink:#7c0047;--shadow:0 10px 32px #432b421a}
.header-caption{font-weight:500;letter-spacing:.12em;font-size:.68rem}
.home{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-rows:minmax(0,1fr) auto auto;column-gap:5vw;row-gap:20px;padding-left:7vw;padding-right:7vw}
.home-copy{grid-column:1;grid-row:1;align-self:center;text-align:left;text-shadow:none;max-width:760px}
.home-kicker{display:block;font-size:clamp(.75rem,1vw,.95rem);font-weight:600;letter-spacing:.13em;color:#67456c;margin-bottom:22px}
.home-copy h1{font-size:clamp(2rem,3.55vw,4.5rem);font-weight:700;letter-spacing:-.04em;line-height:1.07}
.home-copy p{font-size:clamp(1rem,1.25vw,1.3rem);line-height:1.6;margin-top:22px;max-width:540px;color:#5b3b61}
.anniversary{grid-column:2;grid-row:1/3;align-self:stretch;min-height:0}
.anniversary-art{width:100%;height:100%;max-height:620px}
.anniversary img.anniversary-art{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:100%;object-fit:contain;object-position:center;pointer-events:none;filter:drop-shadow(0 12px 18px #50335720)}
.start-button{grid-column:1;grid-row:2;justify-self:start;border-radius:16px;min-height:60px;padding:14px 24px;font-size:.95rem;font-weight:500;letter-spacing:.025em;background:#58345f}
.home-nav{grid-column:1/3;grid-row:3;width:100%;max-width:1700px;gap:14px;margin-top:16px}
.home-nav>div{padding:20px;border-radius:16px;background:#fff9ffdc}
.home-nav b{font-size:1rem}.home-nav small{font-size:.8rem;line-height:1.5;margin-top:6px}
.home-info-icon{color:#7c0047}
.quiet-button{border-radius:9px;font-weight:500}
.background-modes{border-radius:20px;background:#fff9fff5}.background-modes button{font-weight:600}
.year-copy{border-radius:16px;border-left-width:1px;padding:14px 18px;background:#fffaffed}
.year-card.selected .year-copy{border:1px solid #aa659a;box-shadow:0 8px 24px #69356024}
.year-copy strong{font-weight:500;letter-spacing:-.075em}.year-title{font-weight:600}
.year-open{border-radius:99px;font-weight:500;padding:5px 12px}
.year-card.selected .year-open{background:#7c0047;border-color:#7c0047;color:#fff}
.timeline-intro,.timeline-hint{border:0;background:#fff9ffe0}
.timeline-footer{border-radius:16px;bottom:max(32px,calc(24px + env(safe-area-inset-bottom)))}.timeline-hint{color:#65456b}
.year-number{font-size:clamp(5rem,7vw,8rem);color:#7c0047}
.year-summary h1{line-height:1.13;font-weight:600;font-size:clamp(1.8rem,2.5vw,2.7rem)}
.year-summary,.year-materials,.year-stories{border-radius:18px;background:#fffafff2;padding:26px}
.year-summary>p{line-height:1.8}.year-tags>span{padding:6px 10px}
.achievement-section>h2,.section-heading h2{font-weight:600}.story-attachments h3{color:#5d4667}
.story-quote{line-height:1.75}.year-hero{border-radius:18px}.gallery{border-radius:18px}
.loader{padding:28px 4vw;align-items:stretch;background:transparent;isolation:isolate}
.loader-scene{position:absolute;z-index:0;left:50%;top:50%;transform:translate(-50%,-50%);width:min(100vw,calc(var(--screen-height) * 1.77683));aspect-ratio:1672/941;max-height:100%;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.loader-scene img{width:100%;height:100%;display:block;object-fit:contain}
.loader:before{content:'';position:absolute;z-index:1;inset:0;background:linear-gradient(#fff9ffb3,transparent 22%,transparent 68%,#fff9ff80);pointer-events:none}
.loader-logo{align-self:flex-start;width:clamp(240px,19vw,340px);margin:0;padding:14px;background:#fffaffeb}
.loader-motto{position:absolute;right:4vw;top:45px;text-align:right;letter-spacing:.14em;font-size:.72rem;color:#5b405f}
.loader-period{position:absolute;right:4vw;top:99px;z-index:2;font-size:.85rem;letter-spacing:.12em;color:#644369}
.loader-art{min-height:100px}.loader-footer{align-self:center;width:min(760px,100%);padding:16px 20px;background:#fffaffed;border-radius:16px;margin-top:auto}
.loader-footer p{font-size:.75rem;line-height:1.5;letter-spacing:.075em;margin-bottom:12px}.loader-footer em{font-weight:700;color:#7c0047}
.loading-track{height:3px;margin-bottom:10px}.loading-track i{height:3px;border-radius:5px;background:#7c0047}.loading-caption{font-weight:500;letter-spacing:.1em;color:#65456b}
@media(min-width:1700px){.home{padding-top:8px}.home-copy h1{font-size:clamp(3rem,3.4vw,5rem)}.home-nav{margin-top:8px}.year-screen{padding-top:112px}}
@media(max-width:1100px){.home{column-gap:3vw;padding-left:5vw;padding-right:5vw}.home-nav>div{padding:15px 12px}.home-kicker{letter-spacing:.07em}.home-copy h1{font-size:2.4rem}}
@media(max-height:750px) and (min-width:900px){.home{grid-template-rows:minmax(0,1fr) auto auto;row-gap:10px}.home-copy h1{font-size:2rem}.home-copy p{font-size:.95rem;margin-top:12px}.home-kicker{font-size:.7rem;margin-bottom:12px}.start-button{min-height:48px;font-size:.8rem}.home-nav{margin-top:0}.home-nav>div{padding:10px 12px}.anniversary{min-height:0}.year-copy{padding:10px 13px}}

@media(max-height:640px){.year-copy{padding:8px 12px}.loader{padding:16px 4vw}.loader-logo{width:220px;padding:10px}.loader-motto{top:30px}.loader-period{top:80px}.loader-footer{width:min(620px,100%);padding:12px 18px}.loader-footer p{display:none}}

/* Keep navigation and event material clear of the fixed background controls. */
.home-copy{padding:30px 34px;border-radius:24px;background:linear-gradient(115deg,#fff9ffe6,#fff9ffa8);border:1px solid #ffffff80;box-shadow:var(--shadow)}
.header-story h1{font-weight:650!important}
body[data-view=timeline] .header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto}
body[data-view=timeline] .header-story{position:static;transform:none;justify-self:center;text-align:center;margin:0}
body[data-view=timeline] .header-period{margin:0}
.timeline-intro{top:106px;left:50%;transform:translateX(-50%);font-size:.82rem;white-space:nowrap;border-radius:99px;padding:8px 16px}
.timeline-hint{top:auto;bottom:166px;left:50%;right:auto;transform:translateX(-50%);font-size:.7rem;white-space:nowrap;padding:5px 12px;border-radius:99px}
.year-copy{top:clamp(150px,calc(52% - 400px),700px);bottom:auto}
.year-card.below .year-copy{top:calc(52% + 160px);bottom:auto}
.year-mosaic{top:calc(52% - 58px);height:160px}
.year-card.below .year-mosaic{top:calc(52% - 148px);height:160px}
.photo-main{width:72%;left:7%;border-radius:10px;transform:rotate(-1deg)}
.photo-small{width:32%;right:4%;top:-14%;border-radius:9px}
.photo-third{width:26%;right:3%;bottom:-12%;border-radius:9px}
.year-card.below .photo-main{left:12%}.year-card.below .photo-small{left:0;top:50%}
.year-stem{top:calc(52% - 156px);height:156px}.year-card.below .year-stem{top:52%;height:160px}
.year-screen{max-width:2300px;padding-top:112px}
.year-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.85fr);gap:24px}
.year-summary{grid-column:1;grid-row:1;padding:28px;min-width:0}
.year-hero{grid-column:2/4;grid-row:1;min-height:380px}
.year-materials{grid-column:1/3;grid-row:2;min-width:0}
.year-stories{grid-column:3;grid-row:2;min-width:0}
.year-navigation{background:#fffaffed;min-height:64px;letter-spacing:.12em;border-radius:14px}
.year-hero figcaption{font-size:.9rem;line-height:1.4}.year-tags{gap:8px}
.album-photo{height:150px}.story-photo>span{line-height:1.5}
.gallery h2{font-size:1.25rem;line-height:1.4;color:#38243f}
.gallery-footer{background:#fcf7fe}.gallery .circle-button{box-shadow:none}
@media(min-height:1000px) and (min-width:681px){.year-copy{top:clamp(165px,calc(52% - 460px),700px)}.year-card.below .year-copy{top:calc(52% + 210px)}.year-mosaic{height:210px;top:calc(52% - 60px)}.year-card.below .year-mosaic{height:210px;top:calc(52% - 195px)}.year-stem{top:calc(52% - 205px);height:205px}.year-card.below .year-stem{height:210px}}
@media(min-width:2560px) and (min-height:1200px){.year-mosaic{height:280px;top:calc(52% - 80px)}.year-card.below .year-mosaic{height:280px;top:calc(52% - 260px)}.year-copy{top:calc(52% - 550px);max-width:420px}.year-card.below .year-copy{top:calc(52% + 280px)}.year-stem{top:calc(52% - 278px);height:278px}.year-card.below .year-stem{height:280px}.year-screen{max-width:2800px}.home-copy{max-width:1000px;padding:45px}.anniversary-art{max-height:1000px}.year-hero{min-height:560px}}
@media(max-height:1399px){.year-card.below .year-copy{top:auto;bottom:170px}}
@media(max-width:1100px){.home-copy{padding:24px}.year-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.year-summary{grid-column:1;grid-row:1}.year-hero{grid-column:2;grid-row:1}.year-materials{grid-column:1;grid-row:2}.year-stories{grid-column:2;grid-row:2}.year-copy{max-width:290px}.timeline-hint{display:none}}
@media(max-height:750px){.year-copy{top:clamp(120px,calc(52% - 240px),200px);padding:10px 13px}.year-card.below .year-copy{top:auto;bottom:164px}.year-copy strong{font-size:2.9rem}.year-title{font-size:.95rem}.year-description{display:none}.year-open{margin-top:8px;font-size:.68rem}.year-mosaic{height:105px;top:calc(52% - 22px)}.year-card.below .year-mosaic{height:105px;top:calc(52% - 98px)}.year-stem{top:calc(52% - 96px);height:96px}.year-card.below .year-stem{height:105px}.timeline-hint{display:none}.timeline-intro{top:86px}.home-copy{padding:20px 24px}.year-hero{min-height:320px}.year-summary{padding:22px}.year-number{font-size:5rem}}
@media(max-height:640px){.year-copy{top:clamp(110px,calc(52% - 220px),180px);padding:8px 12px}.year-card.below .year-copy{top:auto;bottom:150px}.year-copy strong{font-size:2.4rem}.year-title{font-size:.82rem}.year-open{display:none}.year-mosaic{height:88px;top:calc(52% - 15px)}.year-card.below .year-mosaic{height:88px;top:calc(52% - 82px)}.year-stem{top:calc(52% - 85px);height:85px}.year-card.below .year-stem{height:88px}}



.timeline-hint{display:none}

/* Centered anniversary artwork; the heading is a secondary introduction. */
.home.home{height:calc(var(--screen-height) - 104px);min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;padding:6px 5vw 100px}
.home .home-copy{grid-column:1;grid-row:1;justify-self:center;align-self:start;display:grid;gap:5px;width:auto;max-width:100%;padding:0;text-align:center;background:none;border:0;border-radius:0;box-shadow:none;text-shadow:0 1px 2px #fff7ff80}
.home .home-kicker{margin:0;font-size:.72rem;font-weight:500;letter-spacing:.09em;color:#62466a}
.home .home-copy h1{font-size:clamp(1.2rem,1.3vw,1.7rem);font-weight:600;letter-spacing:.01em;line-height:1.2;color:#46304e}
.home .home-copy p{max-width:none;margin:0;font-size:.8rem;line-height:1.4;color:#5b4263}
.home .anniversary{grid-column:1;grid-row:2;align-self:stretch;justify-self:center;width:100%;height:100%;min-height:0;overflow:visible}
.home .anniversary img.anniversary-art{max-height:100%;filter:drop-shadow(0 8px 16px #5033571a)}
.home .start-button{grid-column:1;grid-row:3;justify-self:center;min-height:56px;margin:0;padding:12px 26px;font-size:.88rem;white-space:normal;text-align:center;border-radius:99px}
.home .home-nav{grid-column:1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:1500px;margin:0;gap:12px;transform:translateY(clamp(24px,4vh,48px))}
.home .home-nav>div{padding:15px 18px;background:#fff9ffd4;border-radius:14px}
.home .home-nav b{font-size:.94rem}.home .home-nav small{font-size:.75rem;margin-top:5px}
@media(min-width:1700px){.home.home{height:calc(var(--screen-height) - 125px)}}
@media(max-height:750px) and (min-width:900px){.home.home{height:calc(var(--screen-height) - 85px);gap:6px;padding-top:2px;padding-bottom:86px}.home .home-copy{gap:3px}.home .home-kicker{font-size:.62rem}.home .home-copy h1{font-size:1.1rem}.home .home-copy p{font-size:.7rem}.home .start-button{min-height:48px;padding:8px 22px;font-size:.75rem}.home .home-nav>div{padding:9px 12px}.home .home-nav b{font-size:.8rem}.home .home-nav small{font-size:.65rem;margin-top:3px}}



/* Shared brand lockup: original inks, no separate logo card. */
:root{--header-height:116px;--brand-width:320px}
body .header.header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px;height:var(--header-height);padding:14px 4vw;isolation:isolate;background:linear-gradient(180deg,#fffaffeb,#fffaffb8 66%,#fffaff00)}
body .header .brand{position:static;transform:none;justify-self:start;width:min(var(--brand-width),100%);max-width:100%;min-height:48px;margin:0;padding:0;display:grid;align-items:center;background:none;border:0;border-radius:0;box-shadow:none}
body .header .brand img,.loader-header .loader-logo img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;mix-blend-mode:normal;filter:none}
.header .header-context{display:grid;gap:6px;text-align:center;justify-self:center;min-width:0}
.header .header-caption{display:block;margin:0;font-size:.8rem;font-weight:500;line-height:1.4;letter-spacing:.01em;color:#67564c}
.header .header-period{display:block;margin:0;font-size:.7rem;font-weight:500;line-height:1.3;letter-spacing:.12em;color:#67536e}
.header .header-story{display:none;position:static;transform:none;margin:0;text-align:center}
.header .header-story h1{font-size:1.1rem!important;font-weight:600!important;line-height:1.3;letter-spacing:.01em;color:#46304e}
body[data-view=timeline] .header .header-caption{display:none}
body[data-view=timeline] .header .header-story{display:block}
.header .header-actions{display:flex;align-items:center;justify-self:end;gap:12px;min-width:0}
body .header #header-back{position:static;order:0;min-height:48px;padding:10px 16px;font-size:.8rem;border-radius:99px;background:#fffaff94;border-color:#76527b4d}
.header #header-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body .header #fullscreen{margin:0;width:48px;height:48px;min-height:48px;border-radius:50%;background:#fffaff94;border-color:#76527b4d}
.header #fullscreen:hover,.header #header-back:hover{background:#fffaff;border-color:#7c0047;color:#7c0047}
.header .brand:focus-visible{outline-offset:6px;border-radius:3px}
.pennant{
 --pennant-height:clamp(160px,19vh,205px);
 --pennant-hit-offset:24px;
 --pennant-logo-width:min(var(--brand-width),calc((92vw - 48px) / 3));
 position:absolute;left:calc(4vw + var(--pennant-logo-width) * .82);
 top:calc((var(--header-height) + var(--pennant-logo-width) * 277 / 966) / 2 + 1px + var(--pennant-hit-offset) - var(--pennant-height) * .016);
 transform:translateX(-50%);width:calc(var(--pennant-height) * .56);height:calc(var(--pennant-height) - var(--pennant-hit-offset));padding:0;
}
/* The two sway rows use all 18 columns. The turn rows use the first 12. */
.pennant-art{
 position:absolute;inset:calc(-1 * var(--pennant-hit-offset)) 0 0;pointer-events:none;
 background:url("assets/pennant-2008.webp") 0 var(--pennant-row,0%) / 1800% 400% no-repeat;
 animation:pennant-sway 1800ms steps(18,jump-none) infinite;
}
.pennant-art::after{
 content:"";position:absolute;left:50%;top:1.6%;transform:translate(-50%,-50%);width:9px;height:9px;border-radius:50%;
 background:radial-gradient(circle at 35% 29%,#faf4e6 1%,#c3b29d 32%,#8a7868 64%,#51443d 100%);box-shadow:1px 2px 3px #392c44a0;
}
.pennant[data-pose="front-back"]{--pennant-row:calc(100% / 3)}
.pennant[data-pose="back"]{--pennant-row:calc(200% / 3)}
.pennant[data-pose="back-front"]{--pennant-row:100%}
.pennant[data-pose="front-back"] .pennant-art,.pennant[data-pose="back-front"] .pennant-art{animation:pennant-turn 1680ms steps(12,jump-none) forwards}
.pennant:focus-visible{outline:2px solid #7c0047;border-radius:8px}
@keyframes pennant-sway{to{background-position-x:100%}}
@keyframes pennant-turn{to{background-position-x:calc(1100% / 17)}}
@media(prefers-reduced-motion:reduce){.pennant .pennant-art{animation:none}}
.home.home{height:calc(var(--screen-height) - var(--header-height))}
.timeline-intro{top:calc(var(--header-height) + 8px)}
.year-screen{padding-top:calc(var(--header-height) + 18px)}
.loader-header{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;width:100%}
.loader-header .loader-logo{align-self:center;width:min(var(--brand-width),100%);margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.loader-context{display:grid;gap:8px;text-align:right}
.loader-header .loader-motto{position:static;align-self:auto;text-align:inherit;font-size:.8rem;font-weight:500;line-height:1.4;letter-spacing:.01em;color:#67564c}
.loader-header .loader-period{position:static;align-self:auto;font-size:.7rem;line-height:1.3;letter-spacing:.12em;color:#67536e}
@media(min-width:1700px){:root{--header-height:125px;--brand-width:360px}}
@media(max-height:750px) and (min-width:900px){:root{--header-height:85px;--brand-width:250px}body .header.header{padding-top:10px;padding-bottom:10px}}
@media(max-width:1100px){body .header.header{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:20px}.header .header-caption{font-size:.72rem}.header .header-actions{gap:8px}}


/* Timeline bands share one geometry; every photo stays inside its year. */
.timeline{gap:24px;align-items:flex-start}
.timeline .year-card{flex-basis:clamp(320px,29vw,490px);height:calc(var(--screen-height) - var(--header-height) - 238px);margin-top:calc(var(--header-height) + 58px);display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:0}
.timeline .year-copy{position:relative;inset:auto;grid-column:1;grid-row:1;align-self:start;justify-self:center;width:calc(100% - 32px);max-width:330px;margin:12px 0;padding:16px 20px;pointer-events:auto;text-align:left;min-width:0;overflow-wrap:anywhere}
.timeline .year-card.below .year-copy{inset:auto;grid-row:2;align-self:end}
.timeline .year-copy strong{font-size:clamp(3rem,4.4vw,5.2rem);line-height:1;margin-bottom:10px}
.timeline .year-title{font-size:clamp(1rem,1.2vw,1.25rem);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.timeline .year-description{max-width:none;font-size:.86rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.timeline .year-open{margin-top:12px}
.timeline .year-mosaic{position:relative;inset:auto;grid-column:1;grid-row:2;align-self:start;width:calc(100% - 24px);height:min(280px,calc((var(--screen-height) - var(--header-height) - 286px)/2));margin:12px;pointer-events:auto;transform:translateY(-32px)}
.timeline .year-card.below .year-mosaic{inset:auto;grid-row:1;align-self:end;transform:translateY(32px)}
.timeline .year-card:after{display:none}
.timeline-photo{position:absolute;display:block;padding:0;overflow:hidden;border:3px solid #fff9ff;border-radius:10px;box-shadow:0 7px 18px #43224024;min-width:0;min-height:0;transition:box-shadow .2s}
.timeline-photo:hover,.timeline-photo:focus-visible{z-index:2;box-shadow:0 0 0 3px #9d276c,0 7px 18px #43224024}
.year-mosaic .timeline-photo .managed-photo,.year-mosaic .timeline-photo .atlas-photo{position:static;width:100%;height:100%;border:0;border-radius:0;box-shadow:none;transform:none;filter:none}
.timeline .year-card.no-images .year-copy{grid-row:1/-1}.timeline .year-card.no-images .year-mosaic{display:none}
@media(max-height:750px){.timeline .year-copy{padding:12px 16px;margin:8px 0}.timeline .year-copy strong{font-size:2.8rem}.timeline .year-description{display:none}.timeline .year-open{margin-top:8px}}
@media(min-width:2560px) and (min-height:1200px){.timeline .year-card{flex-basis:clamp(490px,25vw,760px)}.timeline .year-copy{max-width:420px}.timeline .year-mosaic{height:340px}}
@media(max-height:1000px){.timeline .year-copy strong{font-size:3.5rem}.timeline .year-description{-webkit-line-clamp:2}}
@media(max-height:750px){.timeline .year-copy strong{font-size:2.8rem}}
#history-title:focus{outline:none}

@property --team-outline-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.year-navigation #team-open{
  position:relative;
  justify-content:center;
  gap:10px;
  min-width:164px;
  padding-inline:16px;
  border:1px solid #9d4675;
  border-radius:24px;
  background:#fae9f4;
  color:#65133f;
  font-weight:650;
}
.year-navigation #team-open:hover,
.year-navigation #team-open:focus-visible{background:#fff4fb;color:#65133f}
@media(prefers-reduced-motion:no-preference){
  #team-open::after{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:inherit;
    padding:2px;
    background:conic-gradient(from var(--team-outline-angle),transparent 0 270deg,#dc80b5 305deg,#812450 343deg,transparent 360deg);
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
    pointer-events:none;
    animation:team-outline 3.6s linear infinite;
  }
  @keyframes team-outline{to{--team-outline-angle:360deg}}
}
body[data-view=team]{overflow:hidden;background:#faf7f3}
body[data-view=team] #background{visibility:hidden}
body[data-view=team] .header.header{
  position:absolute;
  inset:0 0 auto;
  display:flex;
  justify-content:flex-end;
  height:auto;
  background:none;
  pointer-events:none;
}
body[data-view=team] .header :is(.brand,.header-context){display:none}
body[data-view=team] .header-actions{pointer-events:auto}
#team-screen:focus{outline:none}
#team-exhibit{height:100dvh}
#team-exhibit iframe{display:block;width:100%;height:100%;border:0}

.timeline-shell{--timeline-axis:calc((var(--screen-height) + var(--header-height))/2 - 61px)}.timeline-shell .pan-button{top:var(--timeline-axis);transform:translateY(-50%)}
.timeline .year-card .year-stem{display:block;left:var(--year-marker-x,50%);top:var(--year-stem-top,25%);height:var(--year-stem-height,25%);width:1px;pointer-events:none}.timeline .year-node,.timeline .year-card.selected .year-node{left:var(--year-marker-x,50%);top:var(--year-marker-y,50%);transform:translate(-50%,-50%);pointer-events:none}.timeline .year-card.no-images .year-stem,.timeline .year-card.no-images .year-node{display:none}
