/*
Theme Name: LEONIDASCOPE
Description: The independent LEONIDASCOPE editorial theme.
Version: 1.0.3
Requires at least: 6.7
Requires PHP: 8.2
Text Domain: leonidascope
*/
@font-face { font-family:"Barlow Condensed"; src:url("assets/fonts/barlow-condensed.woff2") format("woff2"); font-weight:800; font-display:swap; }
@font-face { font-family:"Space Grotesk"; src:url("assets/fonts/space-grotesk.woff2") format("woff2"); font-weight:300 700; font-display:swap; }
@font-face { font-family:Inter; src:url("assets/fonts/inter.woff2") format("woff2"); font-weight:100 900; font-display:swap; }
:root { --ink:#101018; --surface:#191924; --line:#32313e; --white:#fff; --muted:#b8b5c6; --pink:#f64e9d; --orange:#ff9b50; --violet:#8748e5; --label:"Space Grotesk",sans-serif; --display:"Barlow Condensed",Impact,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--ink); color:var(--white); font:1rem/1.65 Inter,system-ui,sans-serif; color-scheme:dark; }
a { color:var(--pink); text-underline-offset:.25em; }
a:hover { color:var(--white); }
img { display:block; max-width:100%; height:auto; }
button,input { font:inherit; }
[hidden] { display:none!important; }
:focus-visible { outline:2px solid var(--orange); outline-offset:4px; }
.screen-reader-text,.skip-link:not(:focus) { clip-path:inset(50%); width:1px; height:1px; overflow:hidden; position:absolute; white-space:nowrap; }
.skip-link:focus { position:fixed; top:1rem; left:1rem; z-index:100; background:var(--pink); color:var(--ink); padding:.6rem 1rem; }
.wrap { width:min(calc(100% - 2.5rem),1280px); margin-inline:auto; }
h1,h2,h3 { font:800 1em/.96 var(--display); margin:0; text-wrap:balance; overflow-wrap:anywhere; }
h2 { font-size:clamp(2.5rem,5vw,4.3rem); }
h3 { font-size:clamp(1.85rem,3vw,2.4rem); }
p { margin:0 0 1rem; }
.eyebrow { font:700 .875rem/1.3 var(--label); letter-spacing:.12em; text-transform:uppercase; color:var(--pink); }
.eyebrow a { color:inherit; }
.site-header { background:#101018; border-bottom:1px solid var(--line); position:relative; z-index:2; }
.header-inner { min-height:72px; display:flex; align-items:center; gap:.7rem; }
.site-logo { flex:none; display:block; margin-inline-end:auto; width:clamp(120px,19vw,234px); }
.site-logo img,.footer-brand img { width:100%; }
.menu { order:3; }
.menu summary, .search-disclosure summary { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--white); cursor:pointer; list-style:none; }
.menu summary::-webkit-details-marker,.search-disclosure summary::-webkit-details-marker { display:none; }
.menu summary span:last-child { position:absolute; clip-path:inset(50%); overflow:hidden; width:1px; height:1px; }
.menu-icon { width:20px; height:14px; display:inline-block; border-block:2px solid currentColor; position:relative; }
.menu-icon:after { position:absolute; inset:4px 0 auto; height:2px; background:currentColor; content:""; }
.menu-panel { position:absolute; inset:100% 0 auto; max-height:calc(100dvh - 72px); overflow:auto; padding:1rem 1.25rem; background:var(--ink); border-bottom:1px solid var(--line); }
#primary-nav { display:flex; flex-direction:column; }
#primary-nav a { font:700 .875rem/1.3 var(--label); text-decoration:none; color:var(--white); }
#primary-nav a { display:block; padding:.6rem .35rem; }
#primary-nav a:hover,#primary-nav [aria-current] { color:var(--pink); }
#primary-nav ul,.footer-nav ul { display:contents; list-style:none; }
#primary-nav li { display:contents; }
.social-links { display:flex; flex-wrap:wrap; gap:.35rem; }
.social-links a { display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--line); border-radius:6px; }
.social-links a:hover { border-color:var(--pink); background:var(--surface); }
.social-links img { filter:invert(1); }
.social-desktop { display:none; }
.social-mobile { margin-top:.85rem; padding-top:.85rem; border-top:1px solid var(--line); }
.search-panel { position:absolute; z-index:1; top:100%; right:0; width:min(100%,490px); background:var(--surface); padding:1rem; border:1px solid var(--line); }
.site-search { display:flex; gap:.5rem; max-width:38rem; }
.site-search input { flex:1; min-width:0; color:var(--white); background:#101018; border:1px solid var(--muted); padding:.65rem .8rem; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:.65rem; min-height:46px; padding:.65rem 1.15rem; font:700 1rem/1.2 var(--label); text-decoration:none; border:1px solid transparent; cursor:pointer; }
.button--primary { color:var(--ink); background:var(--pink); }
.button--primary:hover { color:var(--ink); background:#ff8abb; }
.hero { isolation:isolate; min-height:clamp(520px,55vw,698px); position:relative; display:grid; align-items:center; border-bottom:1px solid var(--line); }
.hero-visual,.hero:after { position:absolute; inset:0; width:100%; height:100%; z-index:-2; }
.hero-visual { object-fit:cover; object-position:66% 54%; }
.hero:after { content:""; z-index:-1; background:linear-gradient(90deg,#101018 0%,#101018ee 25%,#10101850 68%,#10101808 100%),linear-gradient(0deg,#101018 0%,transparent 35%); }
.hero-inner { padding-block:4rem 6.2rem; position:relative; }
.hero-kicker { display:flex; align-items:center; gap:.65rem; }
.hero-kicker:before { content:""; width:1.8rem; height:2px; background:var(--pink); }
.hero h1 { font-size:clamp(4.9rem,11vw,10.5rem); line-height:.79; letter-spacing:-.026em; text-transform:uppercase; }
.hero h1 span { color:var(--pink); }
.hero--feature h1 { max-width:15ch; font-size:clamp(3.35rem,8vw,7.3rem); line-height:.89; }
.hero-intro { color:#e3e1e9; max-width:36ch; font-size:clamp(1rem,2vw,1.17rem); margin:1.65rem 0 1.45rem; }
.newsroom { display:grid; gap:1rem; padding-block:2.8rem; }
.newsroom h2 { font-size:clamp(2.6rem,6vw,4.4rem); }
.newsroom p:not(.eyebrow) { max-width:51ch; color:var(--muted); }
.content-section { padding-block:2.45rem; }
.section-heading { display:flex; align-items:end; flex-wrap:wrap; justify-content:space-between; gap:.8rem; padding-bottom:.9rem; margin-bottom:1.25rem; border-bottom:1px solid var(--line); }
.section-heading a,.newsroom a { font:700 .95rem var(--label); }
.story-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr)); gap:1.25rem; }
.story-card { min-width:0; background:var(--surface); border:1px solid var(--line); }
.story-link { height:100%; display:block; color:var(--white); text-decoration:none; }
.story-link:hover h3 { text-decoration:underline; text-decoration-color:var(--pink); text-underline-offset:.13em; }
.story-image { aspect-ratio:16/9; width:100%; object-fit:cover; }
.story-fallback { background:linear-gradient(145deg,#191924,#262039); display:grid; place-items:center; }
.story-copy { padding:1rem; }
.story-copy h3 { margin:.55rem 0 .75rem; }
.story-copy time,.article-meta,time { color:var(--muted); font:500 .875rem var(--label); }
.story-summary { margin:.65rem 0 0; color:var(--muted); font-size:.925rem; }
.archive { padding-block:clamp(2.25rem,7vw,6rem); min-height:52vh; }
.archive-title { margin-bottom:1.4rem; }
.archive-title h1,.article-header h1 { font-size:clamp(3.2rem,8vw,7.3rem); }
.archive-title h1 + p { margin-top:1rem; color:var(--muted); }
.archive .site-search { margin-bottom:1.5rem; }
.pagination { margin-top:2rem; }
.page-numbers { padding:.4rem .65rem; }
.article-page { padding-block:2rem 3.5rem; overflow-wrap:anywhere; }
.article-header { margin:2rem auto; max-width:980px; }
.article-header h1 { max-width:19ch; }
.article-dek { color:var(--muted); max-width:55ch; margin-top:1.3rem; font-size:1.16rem; }
.article-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem 1rem; margin-block:1rem; }
.article-cover { max-width:1120px; margin:1rem auto 2.25rem; }
.article-cover img { width:100%; }
.article-cover figcaption { font-size:.875rem; color:var(--muted); padding-top:.45rem; }
.breadcrumbs { max-width:980px; margin-inline:auto; font:.875rem var(--label); color:var(--muted); }
.breadcrumbs ol { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:.4rem; }
.breadcrumbs li + li:before { content:"/"; margin-right:.4rem; color:var(--muted); }
.prose { max-width:72ch; margin-inline:auto; }
.page-content .article-header { max-width:72ch; }
.prose p,.prose li { line-height:1.75; }
.prose :is(h2,h3,h4) { margin:1.65rem 0 .6rem; scroll-margin-top:2rem; }
.prose h2 { font-size:clamp(2.2rem,4vw,3.3rem); }
.prose iframe { max-width:100%; }
.prose pre,.prose table { max-width:100%; overflow:auto; }
.prose blockquote,.ls-note,.article-toc { margin:1.3rem 0; padding:1rem 1.2rem; background:var(--surface); border-left:3px solid var(--pink); }
.ls-note :is(h2,h3):first-child { margin-top:0; }
.ls-note--rumor,.ls-note--correction { border-color:var(--orange); }
.ls-note--analysis { border-color:var(--violet); }
.article-toc :last-child,.ls-note :last-child { margin-bottom:0; }
.toc-sub { margin-left:1rem; }
.article-actions { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; margin-block:2rem; padding-block:1rem; border-block:1px solid var(--line); }
.video-player { position:relative; max-width:72ch; margin:1rem auto 2rem; }
.video-shell:not(:empty) { width:100%; aspect-ratio:16/9; background:#000; }
.video-shell iframe { display:block; width:100%; height:100%; border:0; }
.video-note { font-size:.875rem; color:var(--muted); margin:.65rem 0; }
.video-stop { color:var(--white); background:var(--surface); border-color:var(--muted); }
.site-footer { border-top:1px solid var(--line); background:#0e0e15; }
.footer-main { display:grid; gap:1.5rem; padding-block:2rem; }
.footer-brand img { max-width:222px; }
.footer-brand p { color:var(--muted); margin:.7rem 0 0; max-width:45ch; font-size:.875rem; }
.footer-nav { display:flex; flex-direction:column; align-items:flex-start; gap:.4rem; }
.footer-nav h2 { color:var(--muted); text-transform:uppercase; letter-spacing:.09em; font:700 .8rem/1.3 var(--label); margin:0 0 .45rem; }
.footer-nav a { color:var(--white); font:600 .875rem/1.5 var(--label); }
.footer-nav a:hover { color:var(--pink); }
.social-footer { max-width:190px; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem; padding-block:.8rem; border-top:1px solid var(--line); color:var(--muted); font:.875rem var(--label); }
.contact-form { display:grid; gap:.55rem; max-width:38rem; }
.contact-form label { margin-top:.5rem; font:600 .9rem/1.4 var(--label); color:var(--white); }
.contact-form input:not([type=hidden]),.contact-form textarea { width:100%; min-width:0; padding:.75rem; border:1px solid var(--line); border-radius:5px; background:var(--surface); color:var(--white); font:inherit; }
.contact-form textarea { resize:vertical; }
.contact-form p { margin:.45rem 0; color:var(--muted); font-size:.9rem; }
.contact-form button { justify-self:start; }
.contact-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media (max-width:540px) {
    .hero picture .hero-visual { object-position:center; }
    .hero:after { background:linear-gradient(90deg,#101018ea,#10101865),linear-gradient(0deg,#101018 0%,transparent 60%); }
}
@media (min-width:650px) {
    .footer-main { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .footer-brand { grid-column:1 / -1; }
    .newsroom { grid-template-columns:1fr 1fr; align-items:center; }
}
@media (min-width:1080px) {
    .header-inner { gap:1.35rem; min-height:77px; }
    .menu { order:0; }
    .menu summary { display:none; }
    .menu::details-content { content-visibility:visible; }
    .menu-panel { position:static; padding:0; border:0; max-height:none; overflow:visible; }
    .menu #primary-nav { flex-direction:row; flex-wrap:wrap; align-items:center; gap:.45rem; }
    .social-mobile { display:none; }
    .social-desktop { display:flex; max-width:235px; flex-shrink:0; justify-content:flex-end; }
    .social-desktop a { width:34px; height:34px; }
    .footer-main { grid-template-columns:1.6fr .65fr 1fr 1.15fr 1fr; }
    .footer-brand { grid-column:auto; }
    .search-panel { right:max(1.25rem,calc((100vw - 1280px)/2)); }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}
