/*
Theme Name: EXLabs Journal
Theme URI: https://exlabs.io
Author: EXLabs
Description: A sharp, editorial WordPress theme for the EXLabs journal.
Version: 1.0.0
Text Domain: exlabs-journal
*/

/*
 * This file is intentionally build-free: the utilities below are the compiled
 * design layer for the theme. It follows Tailwind's token-first approach while
 * keeping the theme portable in a standard WordPress installation.
 */
@font-face{font-family:"Sphere Sans";src:url("assets/fonts/spheresans-webfont.woff") format("woff");font-display:swap;font-style:normal;font-weight:100 900}
:root{--ink:#090909;--paper:#f9f9f7;--muted:#777772;--line:#e8e8e5;--lime:#d8ff58;--blue:#203784;--radius:22px;--shell:min(1280px,calc(100% - 48px));--sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--display:"Sphere Sans",Inter,ui-sans-serif,system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{top:8px;left:8px;width:auto;height:auto;padding:10px 14px;margin:0;clip:auto;background:#fff;z-index:1000;border-radius:8px}.site-shell{width:var(--shell);margin-inline:auto}.site-header{padding:22px 0;position:relative;z-index:10}.nav-bar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-size:15px;font-weight:900;letter-spacing:-.08em}.brand span{color:var(--muted);font-weight:500}.menu-wrap{display:flex;align-items:center;gap:22px}.primary-menu{display:flex;align-items:center;gap:24px;margin:0;padding:0;list-style:none;font-size:12px;font-weight:650}.primary-menu a{transition:opacity .2s}.primary-menu a:hover{opacity:.54}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 16px;border-radius:999px;background:var(--ink);color:#fff;font-size:11px;font-weight:750;border:1px solid var(--ink);transition:transform .2s,background .2s}.nav-cta:hover,.button:hover{transform:translateY(-2px);background:#303030}.menu-toggle{display:none;border:0;background:transparent;font-size:22px;cursor:pointer}.grid-bg{background-image:linear-gradient(100deg,transparent 0 10%,rgba(0,0,0,.025) 10.1% 10.4%,transparent 10.5% 20%,rgba(0,0,0,.02) 20.1% 20.4%,transparent 20.5%);background-size:260px 100%}.hero{padding:76px 0 68px;border-radius:0 0 var(--radius) var(--radius);min-height:430px;display:flex;align-items:flex-end}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.eyebrow:before{content:"";width:7px;height:7px;background:var(--lime);border-radius:50%}.hero-copy{max-width:800px}.hero h1{max-width:760px;margin:15px 0 18px;font-size:clamp(50px,7.2vw,106px);line-height:.91;letter-spacing:-.075em;font-weight:850}.hero p{max-width:510px;margin:0;color:var(--muted);font-size:15px}.topic-rail{background:var(--ink);color:#fff;border-radius:var(--radius);margin:0 auto;padding:27px 0}.topic-rail .site-shell{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:20px;align-items:center}.rail-label{font-size:10px;color:#b5b5b2;font-weight:700}.rail-link{font-size:14px;font-weight:700}.rail-link:after{content:"↗";margin-left:8px;color:var(--lime)}.section{padding:108px 0}.section-kicker{margin-bottom:9px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--muted)}.section-title{margin:0;font-size:clamp(30px,4vw,48px);line-height:.98;letter-spacing:-.055em;font-weight:850}.section-intro{margin:14px 0 0;max-width:610px;font-size:14px;color:var(--muted)}.featured-layout{display:grid;grid-template-columns:1.4fr .8fr;gap:42px;margin-top:40px}.feature-card{background:var(--ink);border-radius:18px;overflow:hidden;color:#fff;position:relative;min-height:490px;display:flex;flex-direction:column;justify-content:flex-end;padding:30px;isolation:isolate}.feature-card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(145deg,#1c2983 0%,#0e0e0e 55%,#171717 100%)}.feature-card.has-image:before{background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.05) 72%)}.feature-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.tag{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--lime)}.feature-card h2{font-size:clamp(31px,3.5vw,52px);line-height:.98;letter-spacing:-.06em;margin:11px 0}.feature-card p{max-width:530px;color:#d2d2d2;font-size:13px;margin:0}.feature-meta,.card-meta{font-size:10px;color:#a9a9a9;margin-top:19px;text-transform:uppercase;letter-spacing:.06em}.side-list{border-top:1px solid var(--line)}.side-post{display:block;padding:22px 0;border-bottom:1px solid var(--line)}.side-post .tag{color:#565651}.side-post h3{margin:8px 0 10px;font-size:22px;line-height:1.03;letter-spacing:-.045em}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:40px}.post-card{display:flex;flex-direction:column;min-width:0}.post-image{aspect-ratio:1.16;border-radius:14px;overflow:hidden;background:#dcdedb;position:relative}.post-image:empty:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#dce4e0,#7b8ca0)}.post-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.post-card:hover img{transform:scale(1.04)}.post-card:nth-child(3n+2) .post-image:empty:before{background:linear-gradient(135deg,#273a89,#1d1d33)}.post-card:nth-child(3n) .post-image:empty:before{background:linear-gradient(135deg,#b6c0ad,#e3d8cf)}.post-card .tag{color:#686863;margin-top:16px}.post-card h3{font-size:24px;line-height:1.03;letter-spacing:-.05em;margin:8px 0}.post-card p{font-size:12px;color:var(--muted);margin:0}.newsletter{padding:88px 0;background:#f0f0ed}.newsletter-inner{max-width:900px;margin:auto;text-align:center}.newsletter h2{margin:12px 0;font-size:clamp(36px,5vw,62px);line-height:.94;letter-spacing:-.065em}.newsletter p{max-width:500px;margin:0 auto 22px;color:var(--muted);font-size:14px}.subscribe-form{display:flex;max-width:420px;margin:auto;padding:5px;border:1px solid #dededb;border-radius:999px;background:#fff}.subscribe-form input{min-width:0;flex:1;border:0;outline:0;padding:0 14px;background:transparent;font:inherit;font-size:12px}.subscribe-form button{border:0;cursor:pointer}.site-footer{padding:55px 0 26px;background:var(--ink);color:#fff}.footer-top{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:30px;padding-bottom:50px}.footer-brand{font-size:28px;font-weight:900;letter-spacing:-.08em}.footer-heading{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#a3a3a0;margin:8px 0 13px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:7px 0}.footer-links a{font-size:12px;color:#e6e6e4}.footer-bottom{padding-top:22px;border-top:1px solid #242424;display:flex;justify-content:space-between;color:#858582;font-size:10px}.archive-head{padding:75px 0 45px}.archive-head h1{margin:12px 0 0;font-size:clamp(50px,7vw,90px);line-height:.9;letter-spacing:-.075em}.archive-head p{color:var(--muted);max-width:580px;margin:18px 0 0}.archive-grid{padding-bottom:100px}.pagination{display:flex;gap:8px;margin-top:40px}.pagination .page-numbers{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:12px;border:1px solid var(--line)}.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}.single-header{padding:70px 0 40px;max-width:920px}.single-header h1{margin:15px 0;font-size:clamp(43px,6vw,82px);line-height:.94;letter-spacing:-.075em}.single-lede{font-size:18px;line-height:1.45;color:var(--muted);max-width:650px}.single-image{width:var(--shell);max-height:650px;margin:8px auto 70px;border-radius:18px;overflow:hidden;background:#d9ddd8}.single-image img{width:100%;max-height:650px;object-fit:cover}.prose{max-width:710px;margin:0 auto;padding-bottom:100px;font-size:18px;line-height:1.68}.prose>*+*{margin-top:1.4em}.prose h2,.prose h3{line-height:1.04;letter-spacing:-.045em;margin-top:2em}.prose h2{font-size:38px}.prose h3{font-size:27px}.prose a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.prose blockquote{padding:5px 0 5px 24px;border-left:3px solid var(--ink);font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.035em}.prose img{border-radius:14px}.empty-state{text-align:center;padding:100px 0}.comments-area{max-width:710px;margin:0 auto 100px;border-top:1px solid var(--line);padding-top:40px}.comment-list{list-style:none;padding:0}.comment-body{border-bottom:1px solid var(--line);padding:18px 0}.comment-form input,.comment-form textarea{display:block;width:100%;padding:12px;margin:6px 0 16px;border:1px solid var(--line);border-radius:7px;background:#fff}.comment-form input[type=submit]{width:auto;background:var(--ink);color:#fff;border-radius:999px;padding:10px 18px;cursor:pointer}
/* Sphere Sans is a display treatment, never the default reading face. */
.hero h1,.section-title,.feature-card h2,.side-post h3,.post-card h3,.newsletter h2,.footer-brand,.archive-head h1,.single-header h1,.prose h2,.prose h3,.brand-title{font-family:var(--display)}
.brand{display:inline-flex;align-items:baseline;gap:0}.brand .brand-title{color:var(--ink);font-weight:900}.brand .brand-subline{margin-left:.32em;color:var(--muted);font-weight:500;letter-spacing:-.04em}
@media(max-width:760px){:root{--shell:calc(100% - 32px)}.site-header{padding:13px 0}.menu-toggle{display:block}.menu-wrap{gap:10px}.primary-menu{display:none;position:absolute;top:62px;left:16px;right:16px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;flex-direction:column;align-items:flex-start;box-shadow:0 15px 30px rgba(0,0,0,.08)}.primary-menu.is-open{display:flex}.nav-cta{display:none}.hero{min-height:390px;padding:65px 0 50px}.hero h1{font-size:54px}.topic-rail{border-radius:14px}.topic-rail .site-shell{grid-template-columns:1fr 1fr;gap:18px}.rail-label{grid-column:1/-1}.section{padding:72px 0}.featured-layout{grid-template-columns:1fr;gap:25px}.feature-card{min-height:390px;padding:22px}.post-grid{grid-template-columns:1fr;gap:34px}.post-image{aspect-ratio:1.55}.footer-top{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{gap:10px;flex-direction:column}.archive-head{padding:58px 0 38px}.single-header{padding:50px 0 26px}.single-image{margin-bottom:46px}.prose{font-size:17px}.subscribe-form{border-radius:15px;flex-direction:column;gap:8px;padding:8px}.subscribe-form input{height:40px}.subscribe-form button{height:40px}.newsletter{padding:65px 0}}
