/* Page shell, hero and discovery controls; independent from result components. */
.site-header{height:76px;border-bottom:1px solid var(--line-soft);background:transparent;position:relative;z-index:5}
.header-inner{display:flex;align-items:center;gap:20px;height:100%}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;font-weight:900;letter-spacing:-1.2px;flex-shrink:0}
.brand-accent{color:var(--accent)}
.brand img{flex:none}
.header-divider{height:21px;width:1px;background:var(--line)}
.header-tagline{font-size:9px;letter-spacing:.13em;font-weight:750;color:var(--subtle)}
.header-nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.nav-library{font-size:13px;color:var(--muted);font-weight:650}
.nav-library:hover{color:var(--accent)}
.plus{font-size:21px;line-height:1;font-weight:400;color:var(--accent)}
.language-switch{display:flex;border-left:1px solid var(--line);padding-left:16px;gap:2px}
.lang-btn{background:transparent;border:0;border-radius:6px;min-height:40px;min-width:36px;color:var(--subtle);font-size:11px;font-weight:800}
.lang-btn.active{color:var(--text);background:var(--surface-raised)}
.lang-btn:hover{color:var(--accent)}
.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:64px;min-height:344px;padding-block:46px 40px;position:relative}
.hero-copy{position:relative;z-index:1}
.hero-copy .eyebrow{margin-bottom:15px}
h1{font-family:var(--display);font-size:clamp(40px,4.6vw,65px);line-height:1.04;letter-spacing:-.055em;font-weight:900}
.hero-highlight{color:var(--accent)}
.hero-intro{color:var(--muted);max-width:470px;font-size:14px;line-height:1.7;margin-top:18px}
.hero-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;margin-top:22px;flex-wrap:wrap}
.hero-meta b{color:var(--text);font-size:14px;font-weight:750}
.meta-separator{color:#505744}.hero-meta-note{border-left:1px solid var(--line);padding-left:12px;margin-left:2px;color:var(--subtle)}
.hero-gallery{position:relative;height:274px;transform:translate(var(--parallax-x,0),var(--parallax-y,0));isolation:isolate}
.gallery-orbit{position:absolute;inset:20px 14px;border:1px solid #2e3426;border-radius:50%;transform:rotate(-15deg);background:radial-gradient(ellipse,rgba(216,255,95,.035),transparent 65%);z-index:-1}
.gallery-orbit::after{content:'';position:absolute;inset:18px -16px;border:1px dashed #2b3024;border-radius:50%}
.gallery-label{position:absolute;top:0;right:10px;font-size:9px;font-weight:750;letter-spacing:.15em;color:var(--subtle)}
.gallery-stamp{position:absolute;bottom:-1px;left:2px;display:flex;align-items:center;gap:12px;font-size:17px;font-weight:900;transform:rotate(-4deg);color:var(--subtle)}
.gallery-stamp b{color:var(--accent)}
.gallery-stamp svg{width:27px;height:16px;stroke:var(--accent);fill:none;stroke-width:1.8}
.library{scroll-margin-top:24px;padding-bottom:38px}
.library-topline{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 20px;padding-top:13px;border-top:1px solid var(--line-soft)}
.section-eyebrow{font-size:9px;margin-bottom:7px;color:var(--subtle)}
h2{font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.7px}
.motion-toggle{display:flex;gap:6px;align-items:center;border:0;background:none;padding:8px 0 8px 10px;min-height:40px;color:var(--subtle);font-size:11px;white-space:nowrap}
.motion-toggle svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.5;fill:none}
.motion-toggle[aria-pressed=true]{color:var(--accent)}
.discovery-tools{background:transparent;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.search-form{height:66px;display:flex;align-items:center;gap:14px;padding:10px 12px 10px 20px;background:var(--surface);border-bottom:1px solid #3b4234;box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)}
.search-form:focus-within{background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--accent),0 0 0 1px rgba(216,255,95,.08);border-radius:13px 13px 0 0}
.search-icon{width:23px;height:23px;flex:none;fill:none;stroke:var(--accent);stroke-width:1.6}
.search-form input{height:44px;flex:1;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:16px}
.search-form input::placeholder{color:#979e8c;opacity:1}
.search-form input::-webkit-search-cancel-button{display:none}
.search-shortcut{border:1px solid #48503b;background:#252b1c;color:var(--muted);border-radius:4px;font-family:inherit;font-size:11px;padding:2px 6px}
.search-submit{display:flex;align-items:center;gap:23px;height:43px;background:var(--accent);color:var(--accent-ink);border:0;border-radius:7px;padding:0 17px;font-size:13px;font-weight:800;flex:none}
.search-submit>span:last-child{font-size:21px;font-weight:400}
.search-submit:hover{background:#e6ff98}
.clear-search{background:none;border:0;font-size:23px;color:var(--muted);height:36px;width:30px;flex:none}
.filters{padding:0 18px 17px}
.mode-tabs{display:flex;gap:5px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line-soft);padding:11px 0;margin-bottom:13px}
.filter-chip{background:transparent;border:1px solid transparent;border-radius:6px;min-height:37px;display:inline-flex;align-items:center;gap:7px;padding:7px 15px;font-size:12px;color:var(--muted);font-weight:700;white-space:nowrap}
.filter-chip:hover{color:var(--text);background:var(--surface-raised)}
.filter-chip.selected{background:var(--accent-soft);border-color:#525e32;color:var(--accent)}
.mode-glyph{font-size:13px}
.filter-selects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.select-field label{display:block;margin-bottom:5px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:750;color:var(--subtle)}
.select-wrap{position:relative}
.select-wrap select{appearance:none;width:100%;height:39px;border:1px solid var(--line);background:var(--surface-raised);padding:0 32px 0 11px;border-radius:6px;color:var(--text);font-size:12px;cursor:pointer}
.select-wrap select:hover{border-color:#555e46}
.select-wrap select option{background:#20231e;color:var(--text)}
.select-chevron{width:16px;height:16px;pointer-events:none;position:absolute;right:11px;top:12px;stroke:var(--muted);stroke-width:1.8;fill:none}
.filter-footnote{display:flex;gap:7px;align-items:flex-start;padding:10px 2px 0;font-size:10px;color:var(--subtle)}
.note-dot{width:4px;height:4px;border-radius:50%;background:var(--subtle);margin-top:5px;flex:none}
.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0 16px;position:relative;z-index:2}
.results-summary{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:12px}
.results-summary strong{font-weight:650;color:var(--text)}
.sort-label{font-size:9px;border:1px solid var(--line);padding:2px 5px;border-radius:3px;color:var(--subtle);white-space:nowrap}
.results-options{display:flex;gap:14px;align-items:center}
.reset-button{padding:6px 0;font-size:11px;color:var(--accent);border:0;background:none;min-height:35px}
.ranking-explainer{font-size:11px;color:var(--muted);position:relative}
.ranking-explainer summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;min-height:35px}
.ranking-explainer summary::-webkit-details-marker{display:none}
.info-dot{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--subtle);width:14px;height:14px;border-radius:50%;font-size:9px;font-weight:750}
.ranking-explainer>p{position:absolute;z-index:10;right:0;top:40px;width:min(345px,80vw);padding:16px;background:var(--surface-raised);border:1px solid #4f593f;box-shadow:0 12px 35px #0009;border-radius:10px;line-height:1.7;color:var(--text)}
.empty-state{padding:65px 20px;text-align:center;border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft)}
.empty-symbol{font-size:50px;color:var(--accent)}
.empty-state h3{font-size:24px;letter-spacing:-.7px}.empty-state p{color:var(--muted);margin:10px 0 20px}
.library-note{margin-top:24px;display:flex;align-items:flex-start;gap:10px;color:var(--subtle);font-size:11px;line-height:1.7;padding:14px 0;border-top:1px solid var(--line-soft)}
.library-note .icon{margin-top:2px}
.about-strip{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:24px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:28px;margin-top:4px}
.about-mark{font-size:27px;font-weight:900;letter-spacing:-2px}.about-mark span{color:var(--accent)}
.about-strip h2{font-size:20px;margin-bottom:8px}.about-strip p{max-width:680px;color:var(--muted);font-size:12px;line-height:1.75}
.back-search{display:flex;align-items:center;gap:20px;color:var(--accent);font-size:12px;font-weight:750}.back-search>span:last-child{font-size:20px}
.site-footer{padding-block:28px 22px}.footer-main{display:flex;align-items:center;gap:27px}.footer-brand{font-size:18px;gap:8px}
.footer-main>#count{font-size:11px;color:var(--muted)}
.legal-links{margin-left:auto;display:flex;gap:22px;font-size:11px;color:var(--muted)}.legal-links a:hover{color:var(--accent)}
.footer-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:20px;font-size:10px;color:var(--subtle)}
.build-id{font-size:9px;letter-spacing:.05em;font-family:monospace}
.preview-notice{display:flex;gap:7px;align-items:center;color:var(--warning);font-size:10px;margin-top:16px;opacity:.8}
.preview-dot{width:4px;height:4px;background:currentColor;border-radius:50%;flex:none}
.no-script{padding:24px;border:1px solid var(--warning);color:var(--warning)}
@media(min-width:1500px){.hero{gap:100px}}
@media(max-width:1100px){.header-tagline,.header-divider{display:none}.hero{gap:25px}.hero-gallery{height:250px}.gallery-stamp{left:0;bottom:-8px}.hero-meta-note{display:none}.filter-chip{padding-inline:12px}}
@media(max-width:820px){.hero{grid-template-columns:1fr;min-height:0;padding-block:33px 30px}.hero-gallery{display:none}.hero-intro{max-width:600px}.hero-meta-note{display:inline}.hero{gap:0}.hero-copy .eyebrow{margin-bottom:14px}.hero h1{font-size:clamp(39px,7vw,56px)}.hero h1 br{display:none}.hero h1 .hero-highlight::before{content:' '}.header-nav{gap:12px}.nav-library{display:none}.site-header{height:66px}.filter-selects{gap:10px}.filter-chip{padding-inline:10px;font-size:11px}.about-strip{grid-template-columns:50px 1fr}.back-search{grid-column:2}.search-form input{font-size:14px}.hero-meta{margin-top:15px}.hero-intro{margin-top:12px}}
@media(max-width:640px){.header-inner{gap:8px}.brand{font-size:20px;gap:7px}.brand img{width:28px;height:28px}.header-nav{gap:8px}.header-nav .button{font-size:11px;padding:8px 9px;gap:4px;min-height:36px}.header-nav .plus{font-size:17px}.language-switch{padding-left:6px}.lang-btn{min-width:29px;min-height:35px;font-size:10px}.hero{padding-block:26px}.hero h1{font-size:43px;letter-spacing:-.055em}.hero h1 br{display:block}.hero h1 .hero-highlight::before{content:none}.hero-intro{font-size:12px;max-width:365px}.hero-meta{font-size:10px;gap:8px}.hero-meta b{font-size:12px}.hero-meta-note{font-size:9px;margin:0;padding-left:9px}.eyebrow{font-size:9px}.library-topline{margin-bottom:14px;align-items:center}.section-eyebrow{font-size:8px;margin-bottom:6px}.library-topline h2{font-size:20px}.motion-toggle{font-size:9px;gap:4px}.motion-toggle svg{width:12px;height:12px}.search-form{height:58px;padding:7px 8px 7px 12px;gap:9px}.search-icon{width:18px;height:18px}.search-shortcut{display:none}.search-form input{font-size:12px}.search-submit{padding:0 11px;height:40px;gap:6px;font-size:11px}.search-submit>span:first-child{display:none}.search-submit>span:last-child{font-size:23px}.filters{padding:0 12px 14px}.mode-tabs{gap:3px;padding:10px 0;margin-bottom:12px}.filter-chip{padding:5px 8px;min-height:32px;font-size:10px;gap:4px}.filter-selects{grid-template-columns:1fr 1fr;gap:12px}.select-wrap select{font-size:11px;height:38px}.select-field label{font-size:8px}.filter-footnote{font-size:9px;padding-top:8px}.results-toolbar{margin:19px 0 13px;gap:8px;align-items:flex-start}.results-summary{font-size:10px;gap:7px;min-height:30px;flex-shrink:0}.sort-label{display:none}.results-options{gap:6px;justify-content:flex-end;flex-wrap:wrap}.ranking-explainer{font-size:9px}.ranking-explainer summary{gap:5px;min-height:30px}.reset-button{font-size:10px;min-height:30px;padding:3px}.info-dot{width:12px;height:12px}.about-strip{grid-template-columns:1fr;gap:12px;padding-block:22px}.about-mark{display:none}.back-search{grid-column:auto}.about-strip h2{font-size:18px}.footer-main{flex-wrap:wrap;gap:15px}.legal-links{gap:15px}.footer-main>#count{order:3;width:100%;font-size:10px}.footer-bottom{font-size:9px;gap:10px;flex-wrap:wrap}.preview-notice{font-size:9px}.footer-brand{font-size:17px}.library{padding-bottom:18px}.library-note{font-size:10px}.about-strip p{font-size:11px}.build-id{font-size:8px}}
@media(max-width:380px){.brand{font-size:18px;gap:5px}.brand img{width:25px;height:25px}.header-nav .plus{display:none}.header-nav .button{font-size:9px;padding-inline:7px}.header-nav{gap:6px}.language-switch{padding-left:4px}.lang-btn{min-width:25px;font-size:9px}.header-inner{gap:6px}.hero-meta-note{font-size:8px}}
