/* ============ DESIGN TOKENS ============ */
:root{
--rust:#A05A2C;--rust-600:#8a4a22;--rust-50:rgba(160,90,44,.08);
--blue:#0F5D98;--blue-50:rgba(15,93,152,.08);
--charcoal:#1A1A1A;
--bg:#ffffff;--bg-elev:#f8f8f8;--bg-muted:#f3f3f3;--bg-hover:#eeeeee;
--bg-overlay:rgba(255,255,255,0.92);
--text:#1A1A1A;--text-dim:#555555;--text-faint:#8a8a8a;
--border:#eeeeee;--border-strong:#dddddd;
--shadow-sm:0 2px 8px rgba(0,0,0,.04);
--shadow-md:0 20px 40px -20px rgba(0,0,0,.12);
--shadow-lg:0 30px 60px -30px rgba(0,0,0,.2);
--ring:0 0 0 3px rgba(160,90,44,.25);
--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-full:999px;
--ease-spring:cubic-bezier(.34,1.56,.64,1);
--ease-smooth:cubic-bezier(.22,1,.36,1);
--nav-h:64px;
}
[data-theme="dark"]{
--bg:#0e0e10;--bg-elev:#17171a;--bg-muted:#1e1e22;--bg-hover:#26262b;
--bg-overlay:rgba(14,14,16,.88);
--text:#f5f5f5;--text-dim:#c5c5c5;--text-faint:#888888;
--border:#26262b;--border-strong:#333338;
--shadow-sm:0 2px 8px rgba(0,0,0,.4);
--shadow-md:0 20px 40px -20px rgba(0,0,0,.6);
--shadow-lg:0 30px 60px -30px rgba(0,0,0,.8);
--ring:0 0 0 3px rgba(160,90,44,.4);
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden;transition:background .4s var(--ease-smooth),color .4s var(--ease-smooth)}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
a{color:inherit;text-decoration:none}
:focus-visible{outline:none;box-shadow:var(--ring)}
::selection{background:var(--rust);color:#fff}
.serif{font-family:'Playfair Display',Georgia,serif}
@keyframes slideUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes scaleIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes blurIn{from{opacity:0;filter:blur(20px);transform:translateY(8px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{0%,100%{box-shadow:0 0 0 4px var(--rust-50)}50%{box-shadow:0 0 0 8px transparent}}
@keyframes pulseLive{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.7)}70%{box-shadow:0 0 0 10px transparent}}
/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:var(--bg-overlay);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid var(--border);transition:box-shadow .3s ease,border-color .3s ease,background .4s var(--ease-smooth)}
.nav.scrolled{box-shadow:var(--shadow-sm);border-bottom-color:transparent}
.nav-inner{max-width:1600px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:8px 32px;gap:14px;min-height:64px}
.logo{display:flex;align-items:center;gap:9px;font-weight:700;font-size:16px;letter-spacing:-.02em;flex-shrink:0}
.logo-mark{width:30px;height:30px;transition:transform .6s var(--ease-spring)}
.logo:hover .logo-mark{transform:rotate(180deg)}
.logo-mark svg{width:100%;height:100%}
.nav-links{display:flex;gap:2px;align-items:center;flex-wrap:nowrap}
.nav-link{padding:7px 10px;font-size:12px;font-weight:600;color:var(--text-dim);border-radius:var(--radius-full);transition:all .25s var(--ease-smooth);white-space:nowrap}
.nav-link:hover{color:var(--text);background:var(--bg-muted)}
.nav-link.active{color:#fff;background:var(--rust)}
.nav-link.admin-link{background:var(--rust);color:#fff}
.nav-link.admin-link:hover{background:var(--rust-600);color:#fff !important}
.nav-right{display:flex;align-items:center;gap:6px;flex-shrink:0}
.theme-toggle{width:34px;height:34px;border-radius:50%;background:var(--bg-muted);display:flex;align-items:center;justify-content:center;transition:all .3s var(--ease-smooth);flex-shrink:0}
.theme-toggle:hover{background:var(--bg-hover);transform:rotate(20deg)}
.theme-toggle svg{width:18px;height:18px;stroke:var(--text)}
.theme-toggle .sun{display:none}
[data-theme="dark"] .theme-toggle .sun{display:block}
[data-theme="dark"] .theme-toggle .moon{display:none}
.nav-links .mobile-drawer-theme{display:none}
.mobile-menu-btn{display:none;width:36px;height:36px;border-radius:50%;background:var(--bg-muted);align-items:center;justify-content:center}
.mobile-menu-btn svg{width:18px;height:18px;stroke:var(--text)}
.nav-search{display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--border);border-radius:var(--radius-full);font-size:12px;color:var(--text-faint);transition:all .25s ease;min-width:170px;position:relative;background:var(--bg)}
.nav-search:focus-within{border-color:var(--text);color:var(--text);box-shadow:var(--ring)}
.nav-search svg{width:14px;height:14px;flex-shrink:0;stroke:currentColor}
.nav-search input{border:none;outline:none;background:transparent;font-family:inherit;font-size:13px;color:var(--text);width:100%}
.nav-search input::placeholder{color:var(--text-faint)}
.mobile-search-btn{display:none;width:36px;height:36px;flex:0 0 36px;align-items:center;justify-content:center;border-radius:50%;background:var(--bg-muted);color:var(--text)}
.mobile-search-btn svg{width:17px;height:17px;stroke:currentColor}
.search-kbd{margin-left:auto;padding:2px 6px;border-radius:4px;background:var(--bg-muted);font-size:10px;font-family:monospace;color:var(--text-dim)}
.search-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-md);min-width:380px;max-height:420px;overflow-y:auto;display:none;z-index:101;animation:scaleIn .2s var(--ease-spring)}
.search-dropdown.open{display:block}
.search-section-title{padding:10px 16px 6px;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--text-faint);font-weight:700}
.search-result{padding:10px 16px;display:flex;gap:12px;align-items:center;cursor:pointer;transition:background .2s}
.search-result:hover{background:var(--bg-muted)}
.search-result img{width:40px;height:40px;border-radius:6px;object-fit:cover}
.search-result-text{flex:1;min-width:0}
.search-result-text strong{font-size:13px;display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-result-text small{font-size:11px;color:var(--text-faint)}
.search-empty{padding:24px;text-align:center;color:var(--text-faint);font-size:13px}
@media(max-width:1120px){.nav-inner{padding:8px 20px}.nav-links{display:none}.nav-search{min-width:0;flex:1;order:3}.mobile-menu-btn{display:flex}.search-kbd{display:none}.nav-links.open{display:flex;position:fixed;top:var(--nav-h);left:0;right:0;flex-direction:column;background:var(--bg);padding:14px 20px;border-bottom:1px solid var(--border);gap:3px;box-shadow:var(--shadow-md);animation:slideUp .3s var(--ease-smooth)}.nav-links.open .nav-link{width:100%;padding:11px 14px;border-radius:var(--radius-md)}}
/* PAGES */
.page{display:block;padding-top:var(--nav-h);min-height:100vh;animation:blurIn .6s var(--ease-smooth)}
.page.active{display:block}
/* HERO */
.hero{max-width:1400px;margin:0 auto;padding:40px 40px 30px}
.hero-eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--rust);font-weight:600;margin-bottom:16px}
.hero h1{font-family:'Playfair Display',serif;font-size:clamp(36px,6vw,88px);font-weight:500;letter-spacing:-.03em;line-height:.95;margin-bottom:20px}
.hero h1 em{font-style:italic;font-weight:400;color:var(--blue)}
.hero-sub{font-size:16px;color:var(--text-dim);max-width:560px;line-height:1.6}
/* OTD */
.otd{max-width:1400px;margin:0 auto;padding:0 40px 40px}
.otd-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:10px}
.otd-label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.otd-dot{width:8px;height:8px;border-radius:50%;background:var(--rust);box-shadow:0 0 0 4px var(--rust-50);animation:pulse 2s infinite}
.otd-date{font-size:13px;color:var(--text-faint);font-weight:500}
.otd-scroll{display:flex;gap:16px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x mandatory;scroll-padding:20px;-webkit-overflow-scrolling:touch}
.otd-scroll::-webkit-scrollbar{height:4px}
.otd-scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:2px}
.otd-card{flex:0 0 220px;scroll-snap-align:start;position:relative;border-radius:var(--radius-md);overflow:hidden;aspect-ratio:3/4;cursor:pointer;transition:transform .5s var(--ease-spring)}
.otd-card:hover{transform:translateY(-6px)}
.otd-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.otd-card:hover img{transform:scale(1.05)}
.otd-card::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.75),transparent 50%);pointer-events:none}
.otd-card-info{position:absolute;bottom:0;left:0;right:0;padding:16px;color:#fff;z-index:2}
.otd-card-year{font-size:11px;letter-spacing:.15em;text-transform:uppercase;opacity:.85;margin-bottom:4px}
.otd-card-title{font-family:'Playfair Display',serif;font-size:15px;font-weight:500;line-height:1.3}
/* FILTERS */
.filters{max-width:1400px;margin:0 auto;padding:0 40px 24px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.filter-chip{padding:8px 16px;border-radius:var(--radius-full);font-size:13px;font-weight:500;background:var(--bg-muted);color:var(--text-dim);transition:all .25s var(--ease-smooth);border:1px solid transparent}
.filter-chip:hover{background:var(--bg-hover);color:var(--text)}
.filter-chip.active{background:var(--text);color:var(--bg)}
.filter-chip .count{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:var(--radius-full);background:rgba(0,0,0,.08);font-size:11px}
[data-theme="dark"] .filter-chip .count{background:rgba(255,255,255,.1)}
.filter-chip.active .count{background:rgba(255,255,255,.2)}
/* MASONRY */
.masonry{max-width:1400px;margin:0 auto;padding:0 40px 20px;columns:4;column-gap:16px}
@media(max-width:1200px){.masonry{columns:3}}
@media(max-width:800px){.masonry{columns:2;padding:0 20px 20px}}
@media(max-width:480px){.masonry{columns:1}}
.m-item{break-inside:avoid;margin-bottom:16px;border-radius:var(--radius-md);overflow:hidden;position:relative;cursor:pointer;background:var(--bg-muted);transition:transform .5s var(--ease-spring),box-shadow .3s ease}
.m-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.m-item img{width:100%;display:block;transition:transform .6s ease}
.m-item:hover img{transform:scale(1.04)}
.m-item-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.8) 0%,transparent 50%);opacity:0;transition:opacity .3s ease;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;color:#fff}
.m-item:hover .m-item-overlay{opacity:1}
.m-item-title{font-family:'Playfair Display',serif;font-size:15px;font-weight:500;margin-bottom:4px}
.m-item-meta{font-size:11px;opacity:.85;letter-spacing:.05em;text-transform:uppercase}
.m-item-caption{font-size:12px;font-style:italic;opacity:.9;margin-top:6px;line-height:1.4;max-width:90%}
.m-item-actions{position:absolute;top:12px;right:12px;display:flex;gap:6px;opacity:0;transform:translateY(-6px);transition:all .3s var(--ease-smooth);z-index:3}
.m-item:hover .m-item-actions{opacity:1;transform:translateY(0)}
.m-action-btn{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center;transition:transform .3s var(--ease-spring),background .2s;color:#1a1a1a}
.m-action-btn:hover{transform:scale(1.12)}
.m-action-btn:active{transform:scale(.95)}
.m-action-btn svg{width:14px;height:14px}
.m-action-btn.saved svg{fill:var(--rust);stroke:var(--rust)}
.pagination-wrap{max-width:1400px;margin:0 auto;padding:20px 40px 80px;display:flex;justify-content:center;flex-direction:column;align-items:center;gap:12px}
.load-more-btn{padding:14px 28px;border-radius:var(--radius-full);background:var(--text);color:var(--bg);font-size:14px;font-weight:600;transition:all .25s var(--ease-spring);display:inline-flex;align-items:center;gap:10px}
.load-more-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}
.load-more-btn:active{transform:translateY(0)}
.load-more-btn svg{width:16px;height:16px}
.load-more-btn.loading{pointer-events:none;opacity:.6}
.feed-counter{font-size:13px;color:var(--text-faint);text-align:center}
/* SHARED */
.section{max-width:1400px;margin:0 auto;padding:24px 40px 60px}
.section-title{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--text-faint);margin-bottom:20px;display:flex;align-items:center;gap:10px}
.section-title::before{content:'';width:24px;height:2px;background:var(--rust)}
.empty-state{text-align:center;padding:80px 20px;color:var(--text-faint);display:flex;flex-direction:column;align-items:center;gap:12px}
.empty-state svg{width:48px;height:48px;opacity:.5;stroke:var(--text-faint)}
.empty-state h3{font-size:18px;color:var(--text);font-weight:700}
.empty-state p{font-size:14px;max-width:320px}
/* VAULT */
.vault-hero{max-width:1400px;margin:0 auto;padding:40px 40px 30px;display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:20px}
.vault-hero h1{font-family:'Playfair Display',serif;font-size:clamp(36px,5vw,64px);font-weight:500;letter-spacing:-.03em;line-height:1}
.vault-hero h1 span{color:var(--blue);font-style:italic}
.vault-tabs{display:flex;gap:4px;background:var(--bg-muted);padding:4px;border-radius:var(--radius-full);flex-wrap:wrap}
.vault-tab{padding:9px 18px;border-radius:var(--radius-full);font-size:13px;font-weight:600;color:var(--text-dim);transition:all .25s var(--ease-smooth);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.vault-tab.active{background:var(--bg);color:var(--text);box-shadow:var(--shadow-sm)}
.vault-tab .count{font-size:10px;opacity:.7;font-weight:500}
.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
@media(max-width:600px){.album-grid{grid-template-columns:1fr}}
.album-card{border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-elev);cursor:pointer;transition:all .4s var(--ease-spring);border:1px solid var(--border)}
.album-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.album-cover{aspect-ratio:4/3;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px}
.album-cover img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.album-cover img:first-child{grid-column:1/3;grid-row:1/3}
.album-card:hover .album-cover img{transform:scale(1.04)}
.album-badge{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:var(--radius-full);background:rgba(255,255,255,.95);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;z-index:2;color:#1a1a1a}
.album-badge.batch{color:var(--blue)}
.album-badge.friend{color:var(--rust)}
.album-badge.bookmark{color:var(--rust)}
.album-info{padding:16px 18px 18px}
.album-name{font-family:'Playfair Display',serif;font-size:16px;font-weight:600;margin-bottom:4px}
.album-meta{font-size:12px;color:var(--text-faint);display:flex;justify-content:space-between}
/* ALBUM VIEWER */
.album-viewer{position:fixed;inset:0;z-index:998;background:var(--bg);display:none;overflow-y:auto}
.album-viewer.active{display:block;animation:blurIn .4s var(--ease-smooth)}
.album-viewer-head{position:sticky;top:0;background:var(--bg-overlay);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border);padding:14px 30px;display:flex;align-items:center;justify-content:space-between;z-index:10;flex-wrap:wrap;gap:12px}
.album-viewer-head-left{display:flex;align-items:center;gap:16px;min-width:0}
.album-viewer-back{width:40px;height:40px;border-radius:50%;background:var(--bg-muted);display:flex;align-items:center;justify-content:center;transition:all .3s var(--ease-spring);flex-shrink:0}
.album-viewer-back:hover{background:var(--text);color:var(--bg)}
.album-viewer-back:hover svg{stroke:var(--bg)}
.album-viewer-back svg{width:18px;height:18px;stroke:var(--text);transition:stroke .2s}
.album-viewer-title{font-family:'Playfair Display',serif;font-size:20px;font-weight:600;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.album-viewer-meta{font-size:12px;color:var(--text-faint);margin-top:2px}
.album-viewer-actions{display:flex;gap:8px;flex-wrap:wrap}
.album-hero{max-width:1400px;margin:0 auto;padding:30px 30px 0;display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:center}
@media(max-width:900px){.album-hero{grid-template-columns:1fr;padding:20px}}
.album-hero-cover{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/10}
.album-hero-cover img{width:100%;height:100%;object-fit:cover}
.album-hero-info h2{font-family:'Playfair Display',serif;font-size:clamp(28px,4vw,44px);font-weight:500;letter-spacing:-.03em;line-height:1;margin-bottom:12px}
.album-hero-info p{font-size:15px;color:var(--text-dim);margin-bottom:20px;line-height:1.6}
.album-hero-stats{display:flex;gap:16px;flex-wrap:wrap}
.album-hero-stat{padding:12px 16px;background:var(--bg-elev);border-radius:var(--radius-md);border:1px solid var(--border)}
.album-hero-stat-label{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--text-faint);font-weight:600;margin-bottom:4px}
.album-hero-stat-value{font-size:18px;font-weight:800;letter-spacing:-.02em}
.album-photos{max-width:1400px;margin:0 auto;padding:30px;columns:3;column-gap:16px}
@media(max-width:900px){.album-photos{columns:2;padding:20px}}
@media(max-width:600px){.album-photos{columns:1;padding:20px}}
.album-photo{break-inside:avoid;margin-bottom:16px;border-radius:var(--radius-md);overflow:hidden;position:relative;cursor:pointer;transition:transform .4s var(--ease-spring)}
.album-photo:hover{transform:translateY(-4px)}
.album-photo img{width:100%;display:block;transition:transform .6s ease}
.album-photo:hover img{transform:scale(1.04)}
.album-photo-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7),transparent 60%);opacity:0;transition:opacity .3s;display:flex;align-items:flex-end;justify-content:space-between;padding:14px;color:#fff}
.album-photo:hover .album-photo-overlay{opacity:1}
.album-photo-meta{font-size:12px;font-weight:600}
.album-photo-caption{font-size:12px;font-style:italic;opacity:.9;margin-top:4px;max-width:80%;line-height:1.4}
.album-photo-actions{display:flex;gap:6px}
.album-photo-btn{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center;color:#1a1a1a;transition:transform .2s}
.album-photo-btn:hover{transform:scale(1.1)}
.album-photo-btn svg{width:12px;height:12px}
/* SLIDESHOW */
.slideshow{position:fixed;inset:0;z-index:2000;background:#000;display:none;align-items:center;justify-content:center;overflow:hidden}
.slideshow.active{display:flex}
.slideshow-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.slideshow-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;display:flex;align-items:center;justify-content:center}
.slideshow-slide.active{opacity:1}
.slideshow-slide img{max-width:100vw;max-height:100vh;object-fit:contain;animation:slideZoom 8s ease-out forwards}
@keyframes slideZoom{from{transform:scale(1.05)}to{transform:scale(1)}}
.slideshow-caption{position:absolute;bottom:0;left:0;right:0;padding:40px 60px;background:linear-gradient(to top,rgba(0,0,0,.85),transparent);color:#fff;transform:translateY(100%);transition:transform .5s ease;z-index:3}
.slideshow.show-caption .slideshow-caption{transform:translateY(0)}
.slideshow-caption-title{font-family:'Playfair Display',serif;font-size:clamp(20px,3vw,32px);font-weight:500;margin-bottom:8px;letter-spacing:-.01em}
.slideshow-caption-meta{font-size:13px;opacity:.8;letter-spacing:.05em}
.slideshow-caption-text{font-size:14px;font-style:italic;opacity:.85;margin-top:10px;max-width:700px;line-height:1.5}
.slideshow-controls{position:absolute;top:24px;right:24px;display:flex;gap:10px;z-index:4;opacity:0;transition:opacity .3s ease}
.slideshow:hover .slideshow-controls,.slideshow.show-controls .slideshow-controls{opacity:1}
.slideshow-btn{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.12);backdrop-filter:blur(10px);color:#fff;display:flex;align-items:center;justify-content:center;transition:all .25s var(--ease-smooth)}
.slideshow-btn:hover{background:rgba(255,255,255,.25);transform:scale(1.08)}
.slideshow-btn svg{width:20px;height:20px}
.slideshow-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:rgba(255,255,255,.15);z-index:4}
.slideshow-progress-bar{height:100%;background:#fff;width:0%;transition:width .1s linear}
.slideshow-counter{position:absolute;top:32px;left:32px;color:#fff;font-size:13px;font-weight:500;letter-spacing:.1em;z-index:4;opacity:0;transition:opacity .3s;background:rgba(0,0,0,.4);padding:8px 16px;border-radius:100px;backdrop-filter:blur(10px)}
.slideshow:hover .slideshow-counter,.slideshow.show-controls .slideshow-counter{opacity:1}
/* TIMELINE */
.timeline-hero{max-width:1400px;margin:0 auto;padding:40px 40px 30px;text-align:center}
.timeline-hero .eyebrow{font-size:12px;letter-spacing:.25em;text-transform:uppercase;color:var(--rust);font-weight:600;margin-bottom:20px}
.timeline-hero h1{font-family:'Playfair Display',serif;font-size:clamp(40px,7vw,96px);font-weight:500;letter-spacing:-.04em;line-height:.95;margin-bottom:20px}
.timeline-hero h1 em{font-style:italic;color:var(--blue);font-weight:400;letter-spacing:.01em}
.timeline-hero p{font-size:16px;color:var(--text-dim);max-width:540px;margin:0 auto;line-height:1.7}
.timeline-container{max-width:1200px;margin:0 auto;padding:40px 40px 80px;position:relative}
.timeline-container::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,transparent,var(--border-strong) 10%,var(--border-strong) 90%,transparent);transform:translateX(-50%)}
@media(max-width:768px){.timeline-container::before{left:20px}}
.timeline-item{position:relative;margin-bottom:60px;display:grid;grid-template-columns:1fr 80px 1fr;align-items:center}
@media(max-width:768px){.timeline-item{grid-template-columns:40px 1fr;padding-left:0}}
.timeline-item:nth-child(odd) .timeline-content{grid-column:1;text-align:right;padding-right:40px}
.timeline-item:nth-child(odd) .timeline-spacer{grid-column:3}
.timeline-item:nth-child(even) .timeline-spacer{grid-column:1}
.timeline-item:nth-child(even) .timeline-content{grid-column:3;text-align:left;padding-left:40px}
@media(max-width:768px){.timeline-item:nth-child(odd) .timeline-content,.timeline-item:nth-child(even) .timeline-content{grid-column:2;text-align:left;padding-left:30px;padding-right:0}}
.timeline-dot{grid-column:2;width:20px;height:20px;border-radius:50%;background:var(--bg);border:3px solid var(--rust);position:relative;z-index:2;margin:0 auto;box-shadow:0 0 0 6px var(--bg)}
.timeline-dot::after{content:'';position:absolute;inset:-8px;border-radius:50%;background:var(--rust-50);animation:pulse 2s infinite}
.timeline-content{animation:slideUp .6s var(--ease-smooth) both}
.timeline-card{display:block;color:inherit;text-decoration:none;background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;transition:all .4s var(--ease-spring)}
.timeline-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.timeline-card-img{aspect-ratio:16/10;overflow:hidden;position:relative}
.timeline-card-img img,.timeline-card-img video{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.timeline-card:hover .timeline-card-img img,.timeline-card:hover .timeline-card-img video{transform:scale(1.05)}
.timeline-card-date{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:100px;background:rgba(255,255,255,.95);font-size:10px;font-weight:700;letter-spacing:.1em;color:#1a1a1a}
.timeline-card-body{padding:16px 18px}
.timeline-card-body h3{font-family:'Playfair Display',serif;font-size:17px;font-weight:600;margin-bottom:6px}
.timeline-card-body p{font-size:13px;color:var(--text-dim);line-height:1.5;margin-bottom:8px}
.timeline-card-foot{display:flex;justify-content:space-between;font-size:11px;color:var(--text-faint);letter-spacing:.05em;text-transform:uppercase}
.timeline-spacer{}
/* STORY */
.story-view{position:fixed;inset:0;z-index:998;background:var(--bg);display:none;overflow-y:auto}
.story-view.active{display:block;animation:blurIn .4s var(--ease-smooth)}
.overlay-head{position:sticky;top:0;background:var(--bg-overlay);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border);padding:14px 30px;display:flex;align-items:center;justify-content:space-between;z-index:10}
.overlay-title{font-family:'Playfair Display',serif;font-size:20px;font-weight:600;letter-spacing:-.02em}
.story-body{max-width:1400px;margin:0 auto;padding:30px;display:grid;grid-template-columns:1fr 320px;gap:30px}
@media(max-width:900px){.story-body{grid-template-columns:1fr;padding:20px}}
.story-preview{background:var(--bg-elev);border-radius:var(--radius-lg);padding:30px;min-height:600px;border:2px dashed var(--border-strong)}
.story-page{background:var(--bg);border-radius:var(--radius-md);padding:24px;margin-bottom:20px;box-shadow:var(--shadow-sm)}
.story-page h2{font-family:'Playfair Display',serif;font-size:28px;font-weight:500;margin-bottom:16px;color:var(--blue);letter-spacing:-.02em}
.story-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}
.story-photo{aspect-ratio:1;border-radius:8px;overflow:hidden;cursor:move;border:2px solid transparent;transition:all .2s;position:relative}
.story-photo:hover{border-color:var(--rust)}
.story-photo.dragging{opacity:.5}
.story-photo img{width:100%;height:100%;object-fit:cover}
.story-photo-remove{position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;opacity:0;transition:opacity .2s}
.story-photo:hover .story-photo-remove{opacity:1}
.story-caption{width:100%;padding:10px;border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:13px;resize:vertical;background:var(--bg);color:var(--text);min-height:60px;margin-bottom:10px}
.story-caption:focus{outline:none;border-color:var(--rust);box-shadow:var(--ring)}
.story-sidebar{display:flex;flex-direction:column;gap:16px}
.story-panel{background:var(--bg-elev);border-radius:var(--radius-md);padding:20px}
.story-panel h3{font-size:14px;font-weight:700;margin-bottom:12px}
.story-actions{display:flex;gap:8px;margin-bottom:12px}
.story-actions button{flex:1;padding:8px;border-radius:8px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;transition:all .2s}
.story-select-all{background:var(--text);color:var(--bg)}
.story-select-all:hover{background:var(--rust)}
.story-deselect-all{background:var(--bg-muted);color:var(--text)}
.story-deselect-all:hover{background:var(--bg-hover)}
.story-photo-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:360px;overflow-y:auto}
.story-pick{aspect-ratio:1;border-radius:6px;overflow:hidden;cursor:pointer;border:2px solid transparent;transition:all .2s;position:relative}
.story-pick:hover{border-color:var(--rust)}
.story-pick.selected{border-color:var(--blue)}
.story-pick.selected::after{content:'✓';position:absolute;inset:0;background:rgba(15,93,152,.6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:20px}
.story-pick img{width:100%;height:100%;object-fit:cover}
.story-export-btn{width:100%;padding:14px;border-radius:10px;background:var(--rust);color:#fff;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;transition:all .25s var(--ease-spring);display:flex;align-items:center;justify-content:center;gap:8px}
.story-export-btn:hover{background:var(--rust-600);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.story-export-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.story-export-btn svg{width:16px;height:16px}
/* SPOTLIGHT */
.spotlight-hero{max-width:1400px;margin:0 auto;padding:40px 40px 30px}
.spotlight-hero h1{font-family:'Playfair Display',serif;font-size:clamp(36px,5vw,64px);font-weight:500;letter-spacing:-.03em;line-height:1}
.spotlight-hero h1 em{font-style:italic;color:var(--rust);font-weight:400}
.spotlight-hero-sub{max-width:580px;margin-top:14px;color:var(--text-dim);font-size:15px;line-height:1.7}
.spotlight-tabs{max-width:1400px;margin:0 auto;padding:0 40px 24px;display:flex;gap:4px;border-bottom:1px solid var(--border);overflow-x:auto}
.spotlight-tab{padding:14px 20px;font-size:14px;font-weight:600;color:var(--text-faint);border-bottom:2px solid transparent;transition:all .25s ease;margin-bottom:-1px;white-space:nowrap}
.spotlight-tab:hover{color:var(--text)}
.spotlight-tab.active{color:var(--rust);border-bottom-color:var(--rust)}
.spotlight-content{max-width:1400px;margin:0 auto;padding:0 40px 80px}
.spotlight-panel{display:none;animation:blurIn .5s var(--ease-smooth)}
.spotlight-panel.active{display:block}
.podcast-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}
@media(max-width:600px){.podcast-grid{grid-template-columns:1fr}}
.podcast-card{border-radius:20px;overflow:hidden;background:var(--bg-elev);border:1px solid var(--border);transition:all .35s var(--ease-spring);cursor:pointer}
.podcast-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.podcast-cover{aspect-ratio:16/9;position:relative;overflow:hidden}
.podcast-cover img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.podcast-card:hover .podcast-cover img{transform:scale(1.06)}
.podcast-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.3);opacity:0;transition:opacity .3s ease}
.podcast-card:hover .podcast-play{opacity:1}
.podcast-play-btn{width:56px;height:56px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;transition:transform .3s var(--ease-spring)}
.podcast-card:hover .podcast-play-btn{transform:scale(1.08)}
.podcast-play-btn svg{width:20px;height:20px;margin-left:3px}
.podcast-media-type{position:absolute;left:14px;top:14px;padding:6px 10px;border:1px solid rgba(255,255,255,.28);border-radius:var(--radius-full);background:rgba(15,15,16,.68);color:#fff;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;backdrop-filter:blur(8px)}
.podcast-progress{position:absolute;bottom:0;left:0;right:0;height:4px;background:rgba(255,255,255,.3);display:none}
.podcast-card.playing .podcast-progress{display:block}
.podcast-progress-bar{height:100%;background:var(--rust);width:0%;transition:width .3s linear}
.podcast-now-playing{display:none;padding:4px 10px;border-radius:var(--radius-full);background:var(--rust);color:#fff;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:6px;margin-top:10px;width:fit-content}
.podcast-card.playing .podcast-now-playing{display:inline-flex}
.podcast-now-playing .wave{display:inline-flex;gap:2px;align-items:flex-end;height:10px}
.podcast-now-playing .wave span{display:block;width:2px;background:#fff;border-radius:1px;animation:wave 1s ease-in-out infinite}
.podcast-now-playing .wave span:nth-child(1){animation-delay:0s;height:6px}
.podcast-now-playing .wave span:nth-child(2){animation-delay:.2s;height:10px}
.podcast-now-playing .wave span:nth-child(3){animation-delay:.4s;height:4px}
@keyframes wave{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
.podcast-info{padding:20px 22px 22px}
.podcast-ep{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--rust);font-weight:700;margin-bottom:6px}
.podcast-title{font-family:'Playfair Display',serif;font-size:21px;font-weight:600;margin-bottom:8px;line-height:1.25}
.podcast-desc{font-size:13px;color:var(--text-dim);line-height:1.75;white-space:pre-line}
.podcast-meta{margin-top:14px;padding-top:14px;border-top:1px solid var(--border);display:flex;justify-content:space-between;font-size:12px;color:var(--text-faint);flex-wrap:wrap;gap:8px}
.spotlight-download{display:inline-flex;align-items:center;gap:7px;width:fit-content;margin-top:12px;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-full);color:var(--rust);font-size:11px;font-weight:700;transition:background .2s ease,border-color .2s ease,color .2s ease}
.spotlight-download:hover{border-color:var(--rust);background:var(--rust);color:#fff}
.spotlight-download span{font-size:15px;line-height:1}
.newsletter-list{display:flex;flex-direction:column;gap:18px;max-width:1080px;margin:0 auto}
.newsletter-item{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:24px;padding:18px;border-radius:20px;background:var(--bg-elev);border:1px solid var(--border);align-items:center;transition:all .3s var(--ease-smooth)}
.newsletter-item:hover{background:var(--bg-hover);transform:translateY(-2px);box-shadow:var(--shadow-sm);border-color:var(--border-strong)}
.newsletter-main{cursor:pointer}
.newsletter-thumb{grid-column:1;grid-row:1;aspect-ratio:4/3;border-radius:12px;overflow:hidden;position:relative;background:var(--bg-muted)}
.newsletter-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.newsletter-item:hover .newsletter-thumb img{transform:scale(1.04)}
.newsletter-cover-label{position:absolute;left:10px;bottom:10px;padding:5px 9px;border-radius:var(--radius-full);background:rgba(15,15,16,.75);color:white;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.newsletter-info{grid-column:2;grid-row:1;min-width:0}
.newsletter-info h3{font-family:'Playfair Display',serif;font-size:23px;font-weight:600;line-height:1.2;margin:5px 0 8px}
.newsletter-info h3 a:hover{color:var(--rust)}
.newsletter-info p{font-size:13px;color:var(--text-dim);line-height:1.6;margin-bottom:0}
.newsletter-tag{display:inline-block;padding:3px 10px;border-radius:var(--radius-full);background:var(--blue-50);font-size:11px;font-weight:600;color:var(--blue)}
.newsletter-right{grid-column:3;grid-row:1;display:flex;flex-direction:column;gap:12px;align-items:center}
.newsletter-kicker{display:flex;align-items:center;gap:10px;color:var(--text-faint);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.newsletter-kicker span{color:var(--rust)}
.newsletter-read-link{font-size:11px;font-weight:700;color:var(--rust);white-space:nowrap}
.newsletter-read-link span{font-size:16px;margin-left:3px}
.newsletter-video{display:block;width:min(100%,520px);max-height:230px;margin-top:16px;border-radius:12px;background:#080808}
.newsletter-date{font-size:12px;color:var(--text-faint);white-space:nowrap}
.newsletter-download{width:40px;height:40px;border-radius:50%;background:var(--bg);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;transition:all .25s var(--ease-spring)}
.newsletter-download:hover{background:var(--blue);color:#fff;border-color:var(--blue);transform:scale(1.08)}
.newsletter-download:hover svg{stroke:#fff}
.newsletter-download svg{width:14px;height:14px;transition:stroke .2s}
@media(max-width:700px){.newsletter-item{grid-template-columns:140px minmax(0,1fr);gap:16px;padding:14px}.newsletter-thumb{grid-column:1;grid-row:1}.newsletter-info{grid-column:2;grid-row:1}.newsletter-right{grid-column:1 / -1;grid-row:2;flex-direction:row;justify-content:flex-end;width:100%}.newsletter-info h3{font-size:19px}}
@media(max-width:480px){.newsletter-item{grid-template-columns:1fr}.newsletter-thumb,.newsletter-info,.newsletter-right{grid-column:1;grid-row:auto}.newsletter-thumb{aspect-ratio:16/9}.newsletter-right{justify-content:space-between}.newsletter-info h3{font-size:21px}}
.election-banner{border-radius:20px;overflow:hidden;aspect-ratio:21/9;position:relative;background:var(--charcoal);color:#fff;margin-bottom:30px;cursor:pointer}
@media(max-width:600px){.election-banner{aspect-ratio:16/10}}
.election-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5;transition:opacity .4s ease}
.election-banner:hover img{opacity:.7}
.election-banner-content{position:relative;z-index:2;padding:30px 40px;display:flex;flex-direction:column;justify-content:flex-end;height:100%}
.election-live{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:var(--radius-full);background:var(--rust);font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;width:fit-content;margin-bottom:16px}
.election-live::before{content:'';width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 1.5s infinite}
.election-banner h2{font-family:'Playfair Display',serif;font-size:clamp(22px,3.5vw,44px);font-weight:500;letter-spacing:-.02em;line-height:1.05;margin-bottom:10px}
.election-banner p{font-size:14px;opacity:.85;max-width:500px}
/* CAPSULE */
.capsule-hero{max-width:1400px;margin:0 auto;padding:60px 40px 30px;text-align:center}
.capsule-hero .eyebrow{font-size:12px;letter-spacing:.25em;text-transform:uppercase;color:var(--rust);font-weight:600;margin-bottom:20px}
.capsule-hero h1{font-family:'Playfair Display',serif;font-size:clamp(40px,7vw,96px);font-weight:500;letter-spacing:-.04em;line-height:.95;margin-bottom:20px}
.capsule-hero h1 em{font-style:italic;color:var(--blue);font-weight:400}
.capsule-hero p{font-size:16px;color:var(--text-dim);max-width:540px;margin:0 auto}
.capsule-years{max-width:1400px;margin:0 auto;padding:20px 40px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.year-chip{padding:10px 22px;border-radius:var(--radius-full);font-size:13px;font-weight:600;background:var(--bg-muted);color:var(--text-dim);transition:all .25s var(--ease-smooth)}
.year-chip.active{background:var(--text);color:var(--bg)}
.year-chip:hover{background:var(--bg-hover)}
.capsule-grid{max-width:1400px;margin:0 auto;padding:20px 40px 80px;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
@media(max-width:600px){.capsule-grid{grid-template-columns:1fr}}
.capsule-card{border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-elev);border:1px solid var(--border);transition:all .4s var(--ease-spring);cursor:pointer}
.capsule-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.capsule-card-img{aspect-ratio:4/3;overflow:hidden;position:relative}
.capsule-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.capsule-card:hover .capsule-card-img img{transform:scale(1.06)}
.capsule-then{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:var(--radius-full);background:rgba(255,255,255,.95);font-size:10px;font-weight:700;letter-spacing:.1em;color:#1a1a1a}
.capsule-card-body{padding:18px 20px 20px}
.capsule-card-body h3{font-family:'Playfair Display',serif;font-size:17px;font-weight:600;margin-bottom:6px}
.capsule-card-body p{font-size:13px;color:var(--text-dim);margin-bottom:12px}
.capsule-card-foot{display:flex;justify-content:space-between;font-size:11px;color:var(--text-faint);letter-spacing:.05em;text-transform:uppercase}
/* ADMIN */
.admin-wrap{display:grid;grid-template-columns:1fr;min-height:calc(100vh - var(--nav-h))}
.admin-main{padding:28px 32px 48px;max-width:1360px;margin:0 auto;width:100%}
@media(max-width:600px){.admin-main{padding:18px 16px 36px}}
.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;flex-wrap:wrap;gap:12px}
.admin-header h1{font-family:'Playfair Display',serif;font-size:28px;font-weight:500;letter-spacing:-.02em}
.admin-header-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{padding:10px 18px;border-radius:10px;font-size:13px;font-weight:600;transition:all .25s var(--ease-spring);display:inline-flex;align-items:center;gap:8px;min-height:40px}
.btn:active{transform:scale(.97)}
.btn-primary{background:var(--text);color:var(--bg)}
.btn-primary:hover{box-shadow:var(--shadow-sm)}
.btn-ghost{background:var(--bg-muted);color:var(--text)}
.btn-ghost:hover{background:var(--bg-hover)}
.btn svg{width:14px;height:14px}
.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:22px}
.stat-card{padding:15px 16px;border-radius:var(--radius-md);background:var(--bg-elev);border:1px solid var(--border)}
.stat-label{font-size:11px;color:var(--text-faint);letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px;font-weight:600}
.stat-value{font-family:'Playfair Display',serif;font-size:27px;font-weight:500;letter-spacing:-.02em;transition:all .3s var(--ease-spring)}
.stat-value.updated{transform:scale(1.08);color:var(--rust)}
.stat-delta{font-size:12px;color:#22c55e;margin-top:4px;font-weight:600}
.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius-md);padding:28px 18px;text-align:center;margin-bottom:22px;transition:all .25s var(--ease-smooth);background:var(--bg-elev);cursor:pointer}
.dropzone:hover{border-color:var(--text-dim);background:var(--bg-muted)}
.dropzone.dragover{border-color:var(--rust);background:var(--rust-50);transform:scale(1.01)}
.dropzone svg{width:36px;height:36px;color:var(--text-faint);margin:0 auto 12px;stroke:currentColor}
.dropzone h4{font-size:15px;font-weight:700;margin-bottom:4px}
.dropzone p{font-size:13px;color:var(--text-faint)}
.dropzone strong{color:var(--rust);cursor:pointer}
.admin-files{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}
.admin-files-head{padding:13px 18px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.admin-files-head h3{font-size:14px;font-weight:700}
.admin-file{display:grid;grid-template-columns:60px 1fr 180px 180px 100px;gap:12px;padding:12px 18px;border-bottom:1px solid var(--border);align-items:flex-start;transition:background .2s ease}
.admin-file:hover{background:var(--bg-elev)}
.admin-file:last-child{border-bottom:none}
@media(max-width:1100px){.admin-file{grid-template-columns:60px 1fr 1fr;gap:12px}.admin-file > *:nth-child(n+4){grid-column:1/-1}}
@media(max-width:700px){.admin-file{grid-template-columns:60px 1fr;gap:10px}.admin-file > *:nth-child(n+3){grid-column:1/-1}}
.admin-file.removing{opacity:0;transform:translateX(20px);transition:all .4s ease;pointer-events:none}
.admin-file-thumb{width:60px;height:60px;border-radius:8px;overflow:hidden;background:var(--bg-muted)}
.admin-file-thumb img{width:100%;height:100%;object-fit:cover}
.admin-file-name{font-size:14px;font-weight:600;margin-bottom:2px}
.admin-file-date{font-size:12px;color:var(--text-faint)}
.admin-field{display:flex;flex-direction:column;gap:6px;width:100%}
.admin-field select,.admin-field input,.admin-field textarea{padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:12px;font-family:inherit;background:var(--bg);color:var(--text);width:100%;transition:border-color .2s,box-shadow .2s}
.admin-field textarea{resize:vertical;min-height:60px;font-size:13px}
.admin-field select:focus,.admin-field input:focus,.admin-field textarea:focus{outline:none;border-color:var(--rust);box-shadow:var(--ring)}
.admin-field input.invalid{border-color:#ef4444}
.admin-field-error{font-size:10px;color:#ef4444;display:none}
.admin-field.invalid .admin-field-error{display:block}
.admin-field label{font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text-faint)}
.admin-file-actions{display:flex;gap:6px;justify-content:flex-end}
.icon-btn{width:36px;height:36px;border-radius:8px;background:var(--bg-muted);display:flex;align-items:center;justify-content:center;transition:all .2s var(--ease-spring)}
.icon-btn:hover{background:var(--text);color:var(--bg)}
.icon-btn:hover svg{stroke:var(--bg)}
.icon-btn.danger:hover{background:#ef4444}
.icon-btn svg{width:14px;height:14px;transition:stroke .2s}
/* LIGHTBOX */
.lightbox{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.96);display:none;align-items:center;justify-content:center;animation:fadeIn .25s ease}
.lightbox.active{display:flex}
.lightbox-close{position:absolute;top:24px;right:24px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s ease;z-index:3}
.lightbox-close:hover{background:rgba(255,255,255,.2);transform:rotate(90deg)}
.lightbox-close svg{width:20px;height:20px}
.lightbox-img{max-width:90vw;max-height:85vh;border-radius:8px;animation:scaleIn .5s var(--ease-spring)}
.lightbox-info{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);color:#fff;text-align:center;z-index:3;display:flex;gap:16px;align-items:center;background:rgba(0,0,0,.6);padding:10px 18px;border-radius:var(--radius-full);backdrop-filter:blur(10px);flex-wrap:wrap;max-width:90vw;justify-content:center}
.lightbox-info-text{text-align:left;max-width:60vw}
.lightbox-info h3{font-family:'Playfair Display',serif;font-size:15px;font-weight:500;margin-bottom:2px;white-space:nowrap}
.lightbox-info p{font-size:11px;opacity:.8;white-space:nowrap}
.lightbox-caption-display{font-size:12px;font-style:italic;opacity:.9;margin-top:4px;max-width:400px;white-space:normal;line-height:1.4}
.lightbox-info-actions{display:flex;gap:6px}
.lb-action-btn{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;transition:all .25s var(--ease-spring)}
.lb-action-btn:hover{background:rgba(255,255,255,.25);transform:scale(1.08)}
.lb-action-btn:active{transform:scale(.95)}
.lb-action-btn svg{width:14px;height:14px;stroke:#fff}
.lb-action-btn.saved svg{fill:var(--rust);stroke:var(--rust)}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;transition:all .25s var(--ease-spring);z-index:3}
.lb-nav:hover{background:rgba(255,255,255,.25);transform:translateY(-50%) scale(1.1)}
.lb-nav svg{width:20px;height:20px}
.lb-nav.prev{left:24px}
.lb-nav.next{right:24px}
.lb-nav:disabled{opacity:.3;cursor:not-allowed}
@media(max-width:600px){.lb-nav.prev{left:8px}.lb-nav.next{right:8px}.lb-nav{width:40px;height:40px}}
/* TOASTS */
.toast-container{position:fixed;bottom:24px;right:24px;z-index:1100;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:calc(100vw - 48px)}
.toast{background:var(--text);color:var(--bg);padding:14px 18px;border-radius:var(--radius-md);font-size:13px;font-weight:500;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-md);animation:toastIn .35s var(--ease-spring);pointer-events:auto;min-width:240px;max-width:400px}
[data-theme="dark"] .toast{background:#f5f5f5;color:#1a1a1a}
.toast.success{background:#059669;color:#fff}
.toast.error{background:#dc2626;color:#fff}
.toast.info{background:var(--blue);color:#fff}
.toast svg{width:16px;height:16px;flex-shrink:0;stroke:currentColor}
.toast.hide{animation:toastOut .3s ease forwards}
@keyframes toastIn{from{opacity:0;transform:translateX(40px) scale(.95)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes toastOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(40px)}}
/* MODALS */
.modal{position:fixed;inset:0;z-index:1100;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:20px}
.modal.active{display:flex;animation:fadeIn .25s ease}
.modal-panel{background:var(--bg);border-radius:20px;padding:30px 40px;max-width:500px;width:100%;animation:scaleIn .35s var(--ease-spring);max-height:90vh;overflow-y:auto}
.modal-panel h2{font-family:'Playfair Display',serif;font-size:24px;font-weight:500;margin-bottom:4px;letter-spacing:-.02em}
.modal-panel p{font-size:13px;color:var(--text-dim);margin-bottom:24px}
.shortcut-list{display:flex;flex-direction:column;gap:6px}
.shortcut-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--border);font-size:14px}
.shortcut-row:last-child{border-bottom:none}
.shortcut-keys{display:flex;gap:4px}
kbd{display:inline-block;padding:3px 8px;background:var(--bg-muted);border-radius:6px;font-family:monospace;font-size:12px;font-weight:600;color:var(--text);border:1px solid var(--border)}
/* FOOTER */
.footer{background:var(--charcoal);color:#fff;padding:50px 40px 30px;margin-top:40px}
.footer-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:minmax(220px,2fr) repeat(auto-fit,minmax(130px,1fr));gap:40px}
@media(max-width:800px){.footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:500px){.footer-inner{grid-template-columns:1fr}}
.footer-brand h3{font-family:'Playfair Display',serif;font-size:22px;font-weight:500;margin-bottom:12px;letter-spacing:-.02em}
.footer-brand p{font-size:13px;color:#888;max-width:300px;line-height:1.6}
.footer-col h4{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#888;margin-bottom:16px;font-weight:600}
.footer-col a{display:block;font-size:14px;color:#ccc;padding:4px 0;transition:color .2s ease}
.footer-col a:hover{color:#fff}
.footer-col .footer-social-link{display:flex;align-items:center;gap:9px}
.footer-social-link img{width:20px;height:20px;object-fit:contain}
.footer-bottom{max-width:1400px;margin:30px auto 0;padding-top:20px;border-top:1px solid #333;display:flex;justify-content:space-between;font-size:12px;color:#666;flex-wrap:wrap;gap:10px}
@media(max-width:700px){.hero,.otd,.filters,.section,.spotlight-hero,.spotlight-tabs,.spotlight-content,.capsule-hero,.capsule-years,.capsule-grid,.capsule-section-title,.vault-hero,.timeline-hero,.timeline-container{padding-left:20px;padding-right:20px}.search-dropdown{min-width:calc(100vw - 40px);right:-20px}}
.reveal{opacity:0;transform:translateY(20px);transition:all .6s var(--ease-smooth)}
.reveal.in{opacity:1;transform:translateY(0)}

/* ============================================================
   DJANGO EDITION — additions on top of the original design system
   ============================================================ */

/* Media wrappers (images + videos) */
.m-item-media{position:relative;overflow:hidden;background:var(--bg-muted)}
.m-item-media img,.m-item-media video{width:100%;height:100%;display:block;object-fit:cover;transition:transform .6s ease}
.m-item:hover .m-item-media img,.m-item:hover .m-item-media video{transform:scale(1.04)}
.m-item-caption-bar{position:absolute;left:0;right:0;bottom:0;padding:34px 16px 14px;background:linear-gradient(to top,rgba(0,0,0,.82),transparent);color:#fff;font-size:12px;font-style:italic;line-height:1.4;z-index:2;pointer-events:none}
.m-item-overlay{pointer-events:none}
.m-item-actions{pointer-events:auto}
.album-photo video{width:100%;display:block;transition:transform .6s ease}
.album-photo:hover video{transform:scale(1.04)}
.album-photo,.m-item,.otd-card,.capsule-card,.timeline-card,.media-sibling{outline:none}
.otd-card video{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.otd-card:hover video{transform:scale(1.05)}
.capsule-card-img video{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.capsule-card:hover .capsule-card-img video{transform:scale(1.06)}
.timeline-card-img video{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.timeline-card:hover .timeline-card-img video{transform:scale(1.05)}
.album-hero-cover video{width:100%;height:100%;object-fit:cover}
.album-cover video{width:100%;height:100%;object-fit:cover}

.media-kind-badge{position:absolute;top:12px;left:12px;z-index:3;display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:var(--radius-full);background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(6px);pointer-events:none}
.media-kind-badge svg{width:11px;height:11px}
.capsule-card .media-kind-badge,.timeline-card .media-kind-badge{left:auto;right:12px}

/* Sticky sub-page header (veritcal offset below the fixed nav) */
.subpage-head{position:sticky;top:var(--nav-h);z-index:90;background:var(--bg-overlay);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid var(--border);padding:14px 30px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.subpage-head-left{display:flex;align-items:center;gap:16px;min-width:0}
.subpage-title-wrap{min-width:0}
.subpage-head .album-viewer-title{max-width:52vw}
@media(max-width:760px){.subpage-head{padding:12px 16px}.subpage-head .album-viewer-title{max-width:100%;font-size:17px}.subpage-head .album-viewer-actions{width:100%;justify-content:flex-start}.subpage-head .album-viewer-actions .btn{flex:1;justify-content:center;padding:9px 12px}}

/* Lightbox stage now handles images and videos */
.lightbox-stage{display:flex;align-items:center;justify-content:center;max-width:92vw;max-height:86vh;position:relative;z-index:1}
.lightbox-stage img,.lightbox-stage video{max-width:90vw;max-height:85vh;border-radius:8px;object-fit:contain;background:#000;animation:scaleIn .5s var(--ease-spring)}
.slideshow-slide video{max-width:100vw;max-height:100vh;object-fit:contain}

/* Search landing page */
.search-hero{max-width:1400px;margin:0 auto;padding:50px 40px 20px}
.search-hero .hero-eyebrow{margin-bottom:12px}
.search-hero h1{font-family:'Playfair Display',serif;font-size:clamp(34px,5vw,68px);font-weight:500;letter-spacing:-.03em;line-height:1;margin-bottom:14px}
.search-hero h1 em{font-style:italic;color:var(--blue);font-weight:400}
.search-hero p{font-size:15px;color:var(--text-dim);max-width:560px;line-height:1.6}

/* Capsule note */
.capsule-note{max-width:900px;margin:0 auto 20px;padding:12px 18px;background:var(--bg-muted);border-radius:10px;font-size:13px;color:var(--text-dim);text-align:center;line-height:1.5}
.capsule-section{max-width:1400px;margin:0 auto}
.capsule-section-title{padding:10px 40px 0;font-family:'Playfair Display',serif;font-size:clamp(22px,3vw,30px);font-weight:500}

/* Bookmark grid inside a section already has outer padding */
#bookmarkGrid{padding:0}

/* Media detail page */
.media-detail{max-width:1400px;margin:0 auto;padding:30px 40px 90px}
.media-detail-stage{background:#0b0b0c;border-radius:var(--radius-lg);overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:40vh;max-height:78vh;border:1px solid var(--border)}
.media-detail-stage img,.media-detail-stage video{max-width:100%;max-height:78vh;object-fit:contain;display:block}
.media-detail-info{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;padding:26px 0 34px;flex-wrap:wrap}
.media-detail-copy{max-width:760px}
.media-detail-title{font-family:'Playfair Display',serif;font-size:clamp(28px,4vw,48px);font-weight:500;letter-spacing:-.03em;line-height:1.05;margin-bottom:8px}
.media-detail-meta{font-size:13px;color:var(--text-faint)}
.media-detail-meta a{color:var(--blue);font-weight:600}
.media-detail-caption{font-size:15px;color:var(--text-dim);line-height:1.65;margin-top:16px;font-style:italic;border-left:3px solid var(--rust);padding-left:16px}
.media-detail-nav{display:flex;gap:8px;flex-wrap:wrap}
.media-sibling-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.media-sibling{aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--bg-muted);cursor:pointer;position:relative}
.media-sibling img,.media-sibling video{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.media-sibling:hover img,.media-sibling:hover video{transform:scale(1.05)}
@media(max-width:700px){.media-detail{padding:18px 16px 70px}}

/* ============================ STORY BUILDER ============================ */
.story-body{max-width:1400px;margin:0 auto;padding:30px;display:grid;grid-template-columns:1fr 340px;gap:30px;align-items:start}
@media(max-width:960px){.story-body{grid-template-columns:1fr;padding:18px}}
.story-preview{background:var(--bg-elev);border-radius:var(--radius-lg);padding:24px;min-height:420px;border:2px dashed var(--border-strong);display:flex;flex-direction:column;gap:16px}
.story-sheet{position:relative;width:100%;aspect-ratio:297/210;border-radius:10px;overflow:hidden;background:#fff;box-shadow:var(--shadow-sm);border:1px solid var(--border);flex-shrink:0}
.story-sheet.cover{background:#0a0a0a;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:6% 8%}
.story-sheet.cover::before{content:'';position:absolute;top:0;left:0;right:0;height:7px;background:linear-gradient(90deg,#A05A2C,#0F5D98,#A05A2C)}
.story-sheet-cover-inner{max-width:760px}
.story-sheet-eyebrow{font-size:10px;letter-spacing:.4em;text-transform:uppercase;color:#A05A2C;font-weight:700;margin-bottom:20px}
.story-sheet-title{font-family:'Playfair Display',serif;font-size:clamp(24px,4vw,52px);font-weight:400;font-style:italic;line-height:1.05;margin-bottom:16px;letter-spacing:-.02em}
.story-sheet-intro{font-size:clamp(11px,1.2vw,15px);line-height:1.7;color:#cfcfcf;font-style:italic;max-width:560px;margin:0 auto 18px}
.story-sheet-meta{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#888}
.story-sheet.photo{background:#000}
.story-sheet.photo img{width:100%;height:100%;object-fit:contain;display:block}
.story-sheet-caption{position:absolute;left:0;right:0;bottom:0;padding:6% 6% 4.5%;background:linear-gradient(to top,rgba(0,0,0,.9),transparent);color:#fff}
.story-sheet-caption .num{font-size:9px;letter-spacing:.2em;color:#e0a67c;font-weight:700;margin-bottom:5px}
.story-sheet-caption .txt{font-size:clamp(10px,1.1vw,14px);line-height:1.5;font-style:italic}
.story-sheet.placeholder{display:flex;align-items:center;justify-content:center;color:#999;background:#f3f3f3;font-size:14px;text-align:center;padding:30px}
.story-sidebar{display:flex;flex-direction:column;gap:16px;position:sticky;top:calc(var(--nav-h) + 90px)}
@media(max-width:960px){.story-sidebar{position:static}}
.story-photo-picker .story-pick{cursor:pointer}
.story-pick.selected::after{content:'✓';position:absolute;inset:0;background:rgba(15,93,152,.55);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:20px}

/* Print: only the story sheets */
@page story-sheet { size: A4 landscape; margin: 0; }
@media print{
  .nav,.footer,.subpage-head,.story-sidebar,.toast-container,.no-print,.modal,.lightbox,.slideshow{display:none !important}
  body{background:#fff !important;color:#000 !important}
  .page{padding-top:0 !important;min-height:0 !important}
  .story-body{display:block;padding:0;margin:0;max-width:none;gap:0}
  .story-preview{border:none;padding:0;margin:0;background:#fff;min-height:0;display:block}
  .story-sheet{width:297mm;height:210mm;aspect-ratio:auto;border:none;border-radius:0;box-shadow:none;margin:0;page-break-after:always;break-after:page;page:story-sheet}
  .story-sheet:last-child{page-break-after:auto;break-after:auto}
}

/* ============================ NEWSLETTER ============================ */
.newsletter-article{max-width:860px;margin:0 auto;padding:46px 40px 100px}
.newsletter-article-tag{display:inline-block;padding:4px 12px;border-radius:var(--radius-full);background:var(--blue);color:#fff;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px}
.newsletter-article-title{font-family:'Playfair Display',serif;font-size:clamp(30px,5vw,52px);font-weight:600;letter-spacing:-.03em;line-height:1.06;margin-bottom:10px}
.newsletter-article-date{font-size:13px;color:var(--text-faint);font-style:italic;margin-bottom:26px;padding-bottom:20px;border-bottom:3px solid var(--rust)}
.newsletter-article-cover{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:30px;max-height:420px}
.newsletter-article-cover img{width:100%;height:100%;object-fit:cover}
.newsletter-article-body p{font-size:16px;line-height:1.8;color:var(--text-dim);margin-bottom:18px}
.newsletter-article-foot{margin-top:50px;padding-top:20px;border-top:1px solid var(--border);font-size:11px;color:var(--text-faint);text-align:center;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:600px){.newsletter-article{padding:28px 20px 70px}.newsletter-article-body p{font-size:15px}}
@media print{
  .newsletter-article{padding:0;max-width:none}
  .newsletter-article-body p{color:#222;font-size:12pt}
  .newsletter-article-cover img{max-height:80mm}
}

/* ============================ MANAGE / ADMIN ============================ */
.manage-tabs{display:flex;gap:4px;background:var(--bg-muted);padding:4px;border-radius:var(--radius-full);width:fit-content;margin-bottom:28px;flex-wrap:wrap}
.manage-tabs .vault-tab{text-decoration:none}
.upload-card{background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius-lg);padding:19px;margin-bottom:22px}
.upload-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.upload-card-head h2{font-family:'Playfair Display',serif;font-size:24px;font-weight:500;letter-spacing:-.02em;margin-bottom:4px}
.upload-card-head p{font-size:13px;color:var(--text-dim);max-width:640px;line-height:1.55}
.upload-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:15px 0}
.upload-card .dropzone{margin-bottom:0}
.upload-queue{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:16px;padding:14px 18px;border-radius:var(--radius-md);background:var(--bg);border:1px solid var(--border)}
.upload-queue-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.upload-queue-info strong{font-size:14px}
.upload-queue-info span{font-size:11px;color:var(--text-faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:520px}
.upload-queue-actions{display:flex;gap:8px;align-items:center}
.upload-progress{width:100%;height:6px;background:var(--bg-muted);border-radius:4px;overflow:hidden;margin-top:10px}
.upload-progress #uploadBar{height:100%;width:0%;background:var(--rust);transition:width .15s linear}
.upload-progress[hidden],.upload-queue[hidden]{display:none !important}

.manage-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;align-items:start}
.manage-form-card{background:var(--bg-elev);border:1px solid var(--border);border-radius:var(--radius-lg);padding:19px}
.manage-form-card h2{font-family:'Playfair Display',serif;font-size:19px;font-weight:500;letter-spacing:-.02em;margin-bottom:4px}
.form-stack{display:flex;flex-direction:column;gap:14px;margin-top:16px}
.form-grid{display:grid;gap:14px}
.form-grid.two{grid-template-columns:1fr 1fr}
@media(max-width:560px){.form-grid.two{grid-template-columns:1fr}}
.form-field{display:flex;flex-direction:column;gap:6px}
.form-field > span,.form-field > label{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-faint)}
.form-input,.form-field select,.form-field input,.form-field textarea{padding:9px 11px;border:1px solid var(--border);border-radius:9px;font-size:13px;font-family:inherit;background:var(--bg);color:var(--text);width:100%;transition:border-color .2s,box-shadow .2s}
.password-toggle-wrap{position:relative}
.password-toggle-wrap input{padding-right:58px}
.password-toggle{position:absolute;top:50%;right:9px;transform:translateY(-50%);border:0;background:transparent;color:var(--rust);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.password-toggle:focus-visible{outline:2px solid var(--rust);outline-offset:2px;border-radius:3px}
.form-field textarea{resize:vertical;min-height:90px;line-height:1.5}
.form-input:focus,.form-field select:focus,.form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--rust);box-shadow:var(--ring)}
.form-help{font-size:12px;color:var(--text-faint);line-height:1.55;margin-top:8px}
.form-errors{background:rgba(220,38,38,.08);border:1px solid rgba(220,38,38,.3);color:#dc2626;border-radius:8px;padding:10px 12px;font-size:12px}
.field-error{font-style:normal;font-size:11px;color:#dc2626}
.checkbox-field{flex-direction:row;align-items:center;gap:9px}
.checkbox-field input{width:auto;accent-color:var(--rust)}
.checkbox-field span{font-size:13px;color:var(--text);text-transform:none;letter-spacing:0;font-weight:500}
.manage-hints{list-style:none;display:flex;flex-direction:column;gap:12px;font-size:13px;color:var(--text-dim);line-height:1.55;margin-top:14px}
.manage-hints li{position:relative;padding-left:20px}
.manage-hints li::before{content:'—';position:absolute;left:0;color:var(--rust);font-weight:700}

.manage-album-row{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;padding:11px 18px;border-bottom:1px solid var(--border)}
.manage-album-row:last-child{border-bottom:none}
.manage-album-row:hover{background:var(--bg-elev)}
.manage-album-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.manage-album-info strong{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manage-album-info span{font-size:12px;color:var(--text-faint)}
.manage-album-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.manage-album-actions form{display:inline-flex}
@media(max-width:640px){.manage-album-row{grid-template-columns:46px 1fr;padding:12px 16px}.manage-album-row .admin-file-thumb{width:46px;height:46px}.manage-album-actions{grid-column:1/-1;justify-content:flex-start}}

/* Admin media rows */
.admin-file.media-row{grid-template-columns:54px minmax(150px,1.15fr) 130px 150px minmax(170px,1.25fr) 80px;gap:10px;padding:11px 16px}
.admin-file-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.admin-file-main .admin-file-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-file-links{display:flex;gap:12px;font-size:11px;font-weight:600;color:var(--blue);margin-bottom:2px}
.admin-file-links a:hover{text-decoration:underline}
.mini-field{display:flex;flex-direction:column;gap:2px}
.mini-field span{font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-faint)}
.mini-field input{padding:5px 8px;border:1px solid var(--border);border-radius:6px;font-size:11px;background:var(--bg);color:var(--text);width:100%;font-family:inherit}
.mini-field input:focus{outline:none;border-color:var(--rust);box-shadow:var(--ring)}
.admin-file-thumb video{width:100%;height:100%;object-fit:cover}
.admin-file-actions{align-self:center}
.status-pill{display:inline-block;padding:2px 8px;border-radius:var(--radius-full);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;vertical-align:middle}
.status-pill.pending{background:rgba(160,90,44,.12);color:var(--rust)}
.status-pill.published{background:rgba(5,150,105,.12);color:#059669}
.email-field.hidden{display:none}
.admin-file.removing{opacity:0;transform:translateX(20px);transition:all .4s ease;pointer-events:none}
@media(max-width:1250px){
  .admin-file.media-row{grid-template-columns:62px 1fr 1fr}
  .admin-file.media-row > .admin-file-main{grid-column:2/-1}
  .admin-file.media-row > .admin-field{grid-column:1/-1}
  .admin-file.media-row > .admin-file-actions{grid-column:1/-1;justify-content:flex-end}
}
@media(max-width:700px){
  .admin-file.media-row{grid-template-columns:52px 1fr;padding:14px 16px}
  .admin-file.media-row > .admin-file-main{grid-column:2}
  .admin-file.media-row > .admin-field,.admin-file.media-row > .admin-file-actions{grid-column:1/-1}
  .admin-file-thumb{width:52px;height:52px}
}

.btn:disabled{opacity:.5;pointer-events:none}
.btn-ghost.danger{color:#dc2626}

/* ============================ PODCAST PLAYER ============================ */
.media-player{position:fixed;left:0;right:0;bottom:0;z-index:1200;background:var(--bg-overlay);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-top:1px solid var(--border);padding:10px 20px;box-shadow:0 -10px 30px rgba(0,0,0,.08)}
.media-player[hidden]{display:none !important}
.media-player-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:14px}
.media-player-art{width:44px;height:44px;border-radius:8px;overflow:hidden;background:var(--bg-muted);flex-shrink:0}
.media-player-art img{width:100%;height:100%;object-fit:cover}
.media-player-text{display:flex;flex-direction:column;min-width:120px;max-width:260px;gap:2px}
.media-player-text strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.media-player-text span{font-size:11px;color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-btn{width:40px;height:40px;border-radius:50%;background:var(--text);color:var(--bg);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s var(--ease-spring)}
.player-btn:hover{transform:scale(1.08)}
.player-btn svg{width:15px;height:15px}
.media-player-progress{flex:1;height:5px;background:var(--bg-muted);border-radius:4px;overflow:hidden;cursor:pointer;min-width:60px}
.media-player-progress #ppBar{height:100%;width:0%;background:var(--rust);border-radius:4px}
.media-player-time{font-size:11px;color:var(--text-faint);font-variant-numeric:tabular-nums;min-width:38px;text-align:right}
@media(max-width:620px){.media-player-text{display:none}.media-player{padding:8px 12px}}

.video-modal{position:fixed;inset:0;z-index:1300;background:rgba(0,0,0,.95);display:flex;align-items:center;justify-content:center;padding:30px}
.video-modal[hidden]{display:none !important}
.video-modal video{max-width:92vw;max-height:86vh;border-radius:8px;background:#000}
.video-modal .lightbox-close{top:20px;right:20px}

/* Podcast card keyboard focus */
.podcast-card:focus-visible,.m-item:focus-visible,.album-photo:focus-visible,.capsule-card:focus-visible,.timeline-card:focus-visible,.otd-card:focus-visible{box-shadow:var(--ring)}

/* ============================ SMALL RESPONSIVE FIXES ============================ */
@media(max-width:600px){
  .hero h1{font-size:clamp(34px,11vw,56px)}
  .album-hero{padding:18px}
  .album-viewer-actions .btn{font-size:12px}
  .subpage-head .album-viewer-actions .btn{flex:1}
}

/* Small finishing touches */
.story-sheet-remove{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.68);color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;z-index:4;transition:background .2s}
.story-sheet-remove:hover{background:#dc2626}
.search-result-placeholder{width:40px;height:40px;border-radius:6px;background:var(--bg-muted);flex-shrink:0}
.admin-file.saved-flash{background:rgba(5,150,105,.09);transition:background .4s ease}
.story-sheet.dragging{opacity:.45}
@media print{.story-sheet-remove{display:none !important}.story-sheet.placeholder{display:none !important}}

.account-link{font-size:12px;font-weight:600;color:var(--text-dim);padding:8px 10px;border-radius:var(--radius-full);white-space:nowrap}
.account-link:hover{background:var(--bg-muted);color:var(--text)}
.logout-form{display:inline-flex}
.auth-wrap{max-width:680px;margin:0 auto;padding:70px 24px 90px}
.auth-card{padding:34px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--bg-elev);box-shadow:var(--shadow-md)}
.auth-card h1{font-family:'Playfair Display',serif;font-size:clamp(34px,6vw,54px);font-weight:500;line-height:1;margin-bottom:12px}
.auth-card>p{color:var(--text-dim);font-size:14px;line-height:1.6}
.auth-card .btn{width:100%;justify-content:center}
.auth-alternate{margin-top:20px;text-align:center;font-size:13px;color:var(--text-dim)}
.auth-alternate a{color:var(--blue);font-weight:700}
.auth-card .helptext{font-size:11px;color:var(--text-faint)}
.profile-photo-preview{width:96px;height:96px;object-fit:cover;border-radius:50%;border:2px solid var(--border);margin:18px 0 4px}
.form-field small{color:var(--text-faint);font-size:11px;line-height:1.5}
@media(max-width:700px){.auth-wrap{padding:40px 18px 70px}.auth-card{padding:24px 20px}.nav-right{gap:4px}.account-link{padding:7px 6px;font-size:11px}}
.explore-filter-bar{max-width:1400px;margin:0 auto 18px;padding:0 40px 8px;display:flex;align-items:flex-end;gap:8px;overflow-x:auto;scrollbar-width:thin}
.explore-filter-control{display:flex;flex:1 1 175px;flex-direction:column;gap:4px;min-width:145px}
.explore-filter-control>span{padding-left:3px;color:var(--text-faint);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.explore-filter-control select{width:100%;height:38px;padding:0 30px 0 11px;border:1px solid var(--border);border-radius:9px;background:var(--bg-elev);color:var(--text);font-family:inherit;font-size:12px;font-weight:500}
.explore-filter-control select:focus{outline:none;border-color:var(--rust);box-shadow:var(--ring)}
.explore-filter-submit{min-height:38px;padding:8px 14px;flex:0 0 auto}
.explore-filter-settings{flex:0 0 auto;padding:0 4px 10px;color:var(--text-faint);font-size:11px;font-weight:600;white-space:nowrap}
.explore-filter-settings:hover{color:var(--rust)}
.explore-filter-groups{max-width:1400px;margin:0 auto;padding:0 40px 16px}
.filter-group-label{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--text-faint);margin:0 0 8px 4px}
.explore-filter-groups .subfilters{margin-top:8px;padding-left:14px;border-left:2px solid var(--border)}
.m-item-hashtags{position:absolute;top:44px;right:10px;z-index:5;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:calc(100% - 20px)}
.m-item-hashtags a{padding:3px 7px;border-radius:var(--radius-full);background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:600;backdrop-filter:blur(4px)}
.m-item-hashtags a:hover{background:var(--rust)}
@media(max-width:700px){.explore-filter-bar{padding-left:20px;padding-right:20px}.explore-filter-control{flex:0 0 160px}.explore-filter-submit{flex:0 0 auto}.explore-filter-settings{padding-bottom:10px}.explore-filter-groups{padding-left:20px;padding-right:20px}}
.spotlight-section-description{max-width:900px;margin:0 auto 24px;color:var(--text-dim);line-height:1.7}
.spotlight-entry-grid,.club-grid,.council-grid{max-width:1400px;margin:0 auto 30px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.spotlight-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.spotlight-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.spotlight-entry-grid{grid-template-columns:1fr}}
.spotlight-entry-card,.club-card,.council-card{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--bg-elev);padding:18px}
.spotlight-entry-card{padding:0;box-shadow:var(--shadow-sm);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.spotlight-entry-card:hover{transform:translateY(-3px);border-color:var(--border-strong);box-shadow:var(--shadow-md)}
.spotlight-entry-card>.spotlight-entry-cover{display:block;width:100%;max-height:300px;aspect-ratio:16/10;object-fit:cover;margin:0;background:var(--bg-muted)}
.spotlight-entry-placeholder{display:grid;place-items:center;min-height:145px;background:linear-gradient(145deg,var(--rust-50),var(--bg-muted));color:var(--rust);font-family:'Playfair Display',serif;font-size:52px}
.spotlight-entry-content{padding:22px 24px 24px}
.spotlight-entry-kickers{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.spotlight-entry-kickers span{padding:4px 9px;border-radius:var(--radius-full);background:var(--bg-muted);color:var(--text-faint);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.spotlight-entry-kickers .spotlight-entry-kind{background:var(--rust-50);color:var(--rust)}
.spotlight-entry-live{margin:0 0 10px}
.spotlight-entry-meta{margin:0 0 10px;color:var(--text-faint);font-size:12px;font-weight:600}
.spotlight-entry-card h2,.club-card h3,.council-card h2{font-family:'Playfair Display',serif;font-size:22px;margin-bottom:8px}
.spotlight-entry-card p,.club-card p,.council-card p{color:var(--text-dim);font-size:13px;line-height:1.65;margin-bottom:8px}
.spotlight-entry-date{margin-bottom:8px;color:var(--text-faint);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.spotlight-entry-card h2{margin:0 0 10px;font-size:clamp(21px,2.4vw,27px);line-height:1.22}
.spotlight-entry-card .spotlight-entry-summary{margin:0 0 18px;color:var(--text-dim);font-size:14px;line-height:1.75;white-space:pre-line}
.spotlight-entry-body{display:grid;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}
.spotlight-entry-body p{margin:0;font-size:13px;line-height:1.8}
.spotlight-entry-media{margin-top:18px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-muted)}
.spotlight-entry-attachment{margin-top:18px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-muted)}
.spotlight-entry-attachment iframe{display:block;width:100%;height:420px;margin-bottom:8px;border:1px solid var(--border);border-radius:10px;background:#fff}
.club-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;padding:0}
.club-card{display:flex;align-items:flex-start;gap:14px;padding:15px;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.club-card:hover{transform:translateY(-2px);border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.club-card-visual{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;overflow:hidden;border-radius:14px;background:var(--rust-50);color:var(--rust);font-family:'Playfair Display',serif;font-size:22px;font-weight:600}
.club-card-visual img{width:100%;height:100%;object-fit:cover}
.club-card-body{min-width:0;flex:1}
.club-card h3{font-size:17px;line-height:1.3;margin:1px 0 5px}
.club-card p{font-size:12px;line-height:1.55;margin-bottom:6px}
.club-card .form-help{margin-top:7px}
.club-card a{display:inline-flex;margin-top:3px;color:var(--rust);font-size:12px;font-weight:700}
.club-card a:hover{text-decoration:underline}
.spotlight-club-group{margin:0 0 34px}
.spotlight-club-heading{margin:0 0 14px;font-family:'Playfair Display',serif;font-size:clamp(22px,3vw,30px);font-weight:500}
.club-spotlight-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px}
.club-spotlight-card{padding:14px}
.club-spotlight-card>p{margin:8px 0 14px;line-height:1.75}
.club-album-gallery{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:120px 82px;gap:4px;overflow:hidden;margin-bottom:14px;border-radius:var(--radius-md);background:var(--bg-muted)}
.club-album-gallery img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.club-album-gallery img:first-child{grid-row:span 2}
.club-album-gallery span{position:absolute;right:8px;bottom:8px;padding:5px 9px;border-radius:999px;background:rgba(15,15,16,.72);color:#fff;font-size:10px;font-weight:700;backdrop-filter:blur(8px)}
.club-album-gallery:hover img{filter:brightness(.92)}
.club-album-empty{display:grid;place-items:center;height:120px;margin-bottom:14px;border-radius:var(--radius-md);background:var(--rust-50);color:var(--rust);font-family:'Playfair Display',serif;font-size:36px}
.club-meeting-details{padding:8px 10px;border-left:2px solid var(--rust);background:var(--bg-muted);border-radius:0 8px 8px 0}
.club-contact-link{display:inline-flex;color:var(--rust);font-size:12px;font-weight:700}
.club-contact-link:hover{text-decoration:underline}
.spotlight-entry-card video{display:block;width:100%;max-height:420px;border-radius:10px;background:#080808}
.spotlight-entry-card audio{display:block;width:100%}
.spotlight-entry-media-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-faint);font-size:11px}
.spotlight-entry-media-footer .spotlight-download{flex:0 0 auto;margin-top:8px}
.newsletter-pdf-preview{margin:30px 0}
.newsletter-pdf-preview h2{font-family:'Playfair Display',serif;margin-bottom:12px}
.newsletter-pdf-preview iframe{display:block;width:100%;height:min(78vh,900px);min-height:480px;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff}
.newsletter-description{font-size:16px;line-height:1.7;color:var(--text-dim);margin:0 0 24px}
.newsletter-pdf-fallback,.newsletter-pdf-unavailable{font-size:13px;color:var(--text-dim);margin-top:12px}
.newsletter-pdf-fallback a{color:var(--rust);font-weight:700}
.newsletter-pdf-icon{display:grid;place-items:center;width:100%;height:100%;background:var(--bg-muted);color:var(--rust);font-size:28px;font-weight:800;letter-spacing:.08em}
@media(max-width:700px){.spotlight-entry-grid,.council-grid{padding-left:0;padding-right:0}.club-grid{padding:0}}
.council-hero-mark{display:grid;place-items:center;width:58px;height:58px;margin:0 0 20px;border-radius:18px;background:var(--rust);color:#fff;font-family:'Playfair Display',serif;font-size:16px;font-weight:700;letter-spacing:.08em;box-shadow:0 12px 30px rgba(160,90,44,.2)}
.council-roster{max-width:1400px;margin:0 auto;padding:10px 40px 72px}
.council-roster-heading{margin:0 0 22px}
.council-roster-heading h2{display:flex;align-items:baseline;gap:12px;margin:12px 0 8px;font-family:'Playfair Display',serif;font-size:clamp(28px,4vw,42px);font-weight:500;letter-spacing:-.025em}
.council-roster-heading h2 span{color:var(--text-faint);font-family:'Inter',sans-serif;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.council-roster-heading>p{color:var(--text-dim);font-size:14px}
.council-roster .council-grid{max-width:none;margin:0;padding:0;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.council-grid .council-card{display:flex;align-items:center;gap:14px;padding:12px;border-radius:var(--radius-lg);transition:transform .25s ease,box-shadow .25s ease,border-color .2s ease}
.council-grid .council-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm);border-color:var(--border-strong)}
.council-portrait{position:relative;flex:0 0 76px;width:76px;height:76px;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,var(--bg-muted),var(--bg-hover))}
.council-portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:transform .5s ease}
.council-card:hover .council-portrait>img{transform:scale(1.035)}
.council-portrait-placeholder{display:grid;place-items:center;width:100%;height:100%;color:var(--text-faint)}
.council-portrait-placeholder svg{width:34px;height:34px}
.council-index{display:none}
.council-card-body{padding:0;min-width:0;flex:1}
.team-credits{max-width:1180px;margin:0 auto;padding:10px 40px 80px}
.team-credits-heading{margin:0 0 22px}
.team-credits-heading h2{margin:0 0 6px;font-family:'Playfair Display',serif;font-size:clamp(24px,3vw,32px);font-weight:500;letter-spacing:-.02em}
.team-credits-heading p{margin:0;color:var(--text-dim);font-size:14px;line-height:1.6}
.team-credits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.team-credit-card{display:flex;flex-direction:column;align-items:flex-start;min-height:220px;padding:26px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--bg-elev);box-shadow:var(--shadow-sm);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.team-credit-card:hover{transform:translateY(-3px);border-color:var(--border-strong);box-shadow:var(--shadow-md)}
.team-credit-photo,.team-credit-photo-placeholder{display:grid;place-items:center;width:100%;height:190px;margin:-26px -26px 20px;width:calc(100% + 52px);max-width:calc(100% + 52px);object-fit:cover;background:linear-gradient(145deg,var(--blue-50),var(--bg-muted));color:var(--blue);font-family:'Playfair Display',serif;font-size:48px}
.team-credit-number{display:grid;place-items:center;width:34px;height:34px;margin-bottom:22px;border-radius:10px;background:var(--blue-50);color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.08em}
.team-credit-card h2{margin:0 0 8px;font-family:'Playfair Display',serif;font-size:23px;font-weight:500;line-height:1.25}
.team-credit-role{min-height:44px;margin:0 0 20px;color:var(--text-dim);font-size:13px;line-height:1.6}
.team-credit-aka{display:inline-block;margin:7px 0 0;padding:3px 9px;border:1px solid var(--border);border-radius:var(--radius-full);color:var(--text-faint);font-size:11px;font-style:italic;line-height:1.4}
.team-credit-contact-label{margin-top:auto;margin-bottom:5px;color:var(--text-faint);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.team-credit-email{color:var(--blue);font-size:13px;font-weight:600;overflow-wrap:anywhere}
.team-credit-email:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.team-credits{padding:10px 20px 56px}}
.council-role{width:fit-content;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px;padding:4px 8px;border-radius:var(--radius-full);background:var(--rust-50);color:var(--rust);font-size:9px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.council-card-body h3{margin:0 0 3px;font-family:'Playfair Display',serif;font-size:18px;font-weight:600;line-height:1.2}
.council-batch{color:var(--text-faint);font-size:11px;font-weight:600;letter-spacing:.04em}
.council-card-body>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0 0;color:var(--text-dim);font-size:11px;line-height:1.5}
.council-empty{grid-column:1/-1}
.newsletter-article-video{max-width:960px;margin:26px auto}
.newsletter-article-video video{display:block;width:100%;max-height:70vh;border-radius:var(--radius-lg);background:#080808}
@media(max-width:700px){.council-roster{padding:8px 20px 56px}.council-roster .council-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:10px}}
@media(max-width:460px){.council-roster .council-grid{grid-template-columns:1fr}.council-portrait{flex-basis:68px;width:68px;height:68px}.council-grid .council-card{border-radius:14px}}

@media(max-width:1120px){
  .nav{backdrop-filter:none;-webkit-backdrop-filter:none}
  .nav-inner{gap:8px;padding:8px 16px}
  .nav-right>#themeToggle{display:none}
  .nav-overlay{position:fixed;inset:0;z-index:101;background:rgba(12,14,18,.48);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
  .nav-overlay.open{opacity:1;visibility:visible}
  .nav-links.open{display:flex;position:fixed;z-index:102;top:0;right:auto;bottom:0;left:0;width:min(340px,88vw);max-height:100dvh;overflow-y:auto;flex-direction:column;align-items:stretch;gap:5px;padding:0 16px 24px;border:0;border-right:1px solid var(--border);border-radius:0 22px 22px 0;background:var(--bg);box-shadow:0 24px 70px rgba(0,0,0,.24);transform:translateX(-105%);transition:transform .32s var(--ease-smooth);animation:none}
  .nav-links.open{transform:translateX(0)}
  .mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;min-height:76px;margin:0 -16px 12px;padding:0 18px 0 22px;border-bottom:1px solid var(--border);font-family:'Playfair Display',serif;font-size:20px;font-weight:600;letter-spacing:-.02em}
  .mobile-drawer-close{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:var(--bg-muted);color:var(--text-dim)}
  .mobile-drawer-close svg{width:18px;height:18px}
  .mobile-drawer-label{padding:0 12px 6px;color:var(--text-faint);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
  .nav-links.open .nav-link{width:100%;padding:12px 14px;border-radius:12px;font-size:14px}
  .nav-links.open .account-link{display:block;width:100%;padding:12px 14px;text-align:left;border-radius:12px;font-size:13px}
  .nav-links.open .logout-form{width:100%}
  .nav-links.open .logout-form button{font-family:inherit}
  .nav-links.open .mobile-drawer-theme{display:none}
  .nav-links.open .mobile-drawer-head .mobile-drawer-theme{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center}
  .nav-links.open .mobile-drawer-theme-bottom{display:none !important}
  .mobile-drawer-theme:hover{transform:none}
  .mobile-drawer-theme svg{flex:0 0 18px}
  body.nav-menu-open{overflow:hidden}
}
@media(max-width:600px){
  .nav-inner{padding:7px 12px;min-height:60px}
  .nav-inner>.mobile-menu-btn{display:flex;flex:0 0 38px;width:38px;height:38px}
  .logo{gap:6px;font-size:14px}
  .logo-mark{width:26px;height:26px}
  .nav-search{padding:7px 9px}
  .nav-search input{min-width:0;font-size:12px}
  .nav-right{flex:1;min-width:0;justify-content:flex-end}
  .mobile-search-btn{display:flex}
  .nav-right>.nav-search{display:none}
  .nav-right.search-open>.nav-search{position:fixed;z-index:105;top:calc(var(--nav-h) + 8px);left:12px;right:12px;display:flex;min-width:0;min-height:44px;padding:10px 12px;border-radius:14px;box-shadow:var(--shadow-md)}
  .nav-right.search-open>.nav-search input{font-size:16px}
  .nav-right.search-open .search-dropdown{right:0;left:0;min-width:0;width:100%;max-width:100%}
  .nav-links.open{width:min(340px,88vw)}
  .timeline-item{margin-bottom:34px}
  .timeline-card-body{padding:14px}
  .timeline-card-body h3{font-size:16px}
  .btn,.icon-btn{min-height:42px}
  .form-field input,.form-field select,.form-field textarea{font-size:16px}
  .toast-container{right:12px;bottom:12px;max-width:calc(100vw - 24px)}
  .toast{min-width:0;width:100%}
}
.mobile-drawer-head,.mobile-drawer-label,.nav-overlay{display:none}
@media(max-width:1120px){
  .nav-overlay{display:block}
  .mobile-drawer-head,.mobile-drawer-label{display:flex}
}
