:root{color-scheme:dark;--ink:#090a0c;--panel:#121416;--panel-raised:#191b1e;--line:#2c2d30;--text:#eee9e4;--muted:#b0aaa5;--red:#a5253c;--red-bright:#c33a50;--red-dark:#641826;--paper:#ded6ce;--max:1160px;--radius:12px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 74% -12%,rgba(115,23,43,.18),transparent 38rem),var(--ink);color:var(--text);line-height:1.65}a{color:#f0c0c5;text-decoration-color:rgba(195,58,80,.55);text-underline-offset:3px}a:hover{color:#fff;text-decoration-color:var(--red-bright)}img,svg{max-width:100%}.skip-link{position:absolute;left:-9999px;top:0;padding:.7rem 1rem;background:var(--red);color:#fff;z-index:20}.skip-link:focus{left:1rem;top:1rem}.wrap{width:min(var(--max),calc(100% - 2.5rem));margin-inline:auto}.topbar{position:sticky;top:0;z-index:10;background:rgba(9,10,12,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.topbar-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:2rem}.brand{display:flex;align-items:center;gap:.85rem;color:var(--text);text-decoration:none;flex:none}.brand img{width:42px;height:42px}.brand-title{font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;line-height:1.15;letter-spacing:.025em}.brand-sub{font-size:.68rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-top:.25rem}.nav{display:flex;align-items:center;gap:1.15rem;flex-wrap:wrap}.nav a{color:#d4ceca;text-decoration:none;font-size:.84rem}.nav a:hover,.nav a[aria-current=page]{color:#fff}.nav .nav-cta{border:1px solid #743040;border-radius:999px;padding:.45rem .8rem;color:#f2d9dc}.hero{padding:clamp(4rem,10vw,8rem) 0 4.5rem;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:34rem;height:34rem;border:1px solid rgba(173,39,62,.16);border-radius:50%;right:-18rem;top:1rem;box-shadow:0 0 0 3rem rgba(173,39,62,.025),0 0 0 7rem rgba(173,39,62,.02);pointer-events:none}.eyebrow,.badge,.tag{font-size:.73rem;text-transform:uppercase;letter-spacing:.13em;color:#e18490}.eyebrow:before{content:"";display:inline-block;width:1.7rem;height:1px;background:var(--red-bright);vertical-align:middle;margin-right:.65rem}.hero h1,.page-title{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.035em;line-height:1.04;max-width:850px;font-size:clamp(2.65rem,6vw,5.5rem);margin:.85rem 0 1.2rem}.hero h1 em{color:#d85769;font-style:normal}.hero p{max-width:710px;color:#c5bfba;font-size:1.1rem}.actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.8rem}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #67303a;border-radius:7px;padding:.65rem 1rem;color:#fff;text-decoration:none;background:linear-gradient(135deg,#892238,#681b2d);font-weight:650}.button:hover{background:linear-gradient(135deg,#a62a43,#762033)}.button.secondary{background:transparent;color:#e5d9d4;border-color:#454145}.button.secondary:hover{border-color:#aa3448}.section{padding:3.4rem 0}.section.alt{background:#0d0e10;border-block:1px solid #202124}.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem}.section-head h2,.section h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.16;margin:0 0 .5rem;font-size:clamp(1.65rem,3vw,2.4rem)}.section-head p,.lede{margin:0;color:var(--muted);max-width:680px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card{background:linear-gradient(145deg,#17191b,#101113);border:1px solid var(--line);border-radius:var(--radius);padding:1.35rem;min-height:210px;display:flex;flex-direction:column;transition:transform .18s ease,border-color .18s ease}.card:hover{transform:translateY(-2px);border-color:#74404a}.card h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:1.4rem;line-height:1.18;margin:.45rem 0 .65rem}.card p{color:#bdb7b2;margin:0 0 1rem}.card .arrow{margin-top:auto;color:#e78d98;font-size:.86rem}.collection-card{min-height:245px}.collection-card .tag{margin-bottom:.65rem}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-top:2.2rem;background:#121315}.feature-strip div{padding:1rem 1.1rem;border-right:1px solid var(--line)}.feature-strip div:last-child{border:0}.feature-strip strong{display:block;font-family:Georgia,serif;font-size:1.35rem;font-weight:500}.feature-strip span{font-size:.78rem;color:var(--muted)}.notice{border-left:3px solid var(--red);padding:.9rem 1rem;background:#171113;color:#d5cdca}.subhero{padding:3.4rem 0 2rem;border-bottom:1px solid var(--line);background:linear-gradient(110deg,rgba(95,20,37,.18),transparent 65%)}.breadcrumb{font-size:.8rem;color:var(--muted);margin-bottom:.7rem}.breadcrumb a{color:#d6a2a9}.subhero h1{font:500 clamp(2.25rem,5vw,4rem)/1.05 Georgia,"Times New Roman",serif;letter-spacing:-.03em;margin:.45rem 0 .75rem;max-width:900px}.subhero p{max-width:780px;color:#c4bdb8;margin:0}.page-content{padding:2rem 0 4rem}.scenario-section,.article-section{background:linear-gradient(150deg,#151719,#101113);border:1px solid var(--line);border-radius:10px;padding:clamp(1rem,3vw,1.5rem);margin:0 0 1rem}.scenario-section h2,.article-section h2{font:500 1.55rem/1.2 Georgia,serif;margin:0 0 .8rem;color:#f2e9e4}.scenario-section h3,.article-section h3{font:600 1.08rem/1.3 inherit;margin:1rem 0 .45rem;color:#eadfe0}.scenario-section p,.article-section p{color:#cec7c2}.scenario-section li,.article-section li{margin:.35rem 0;color:#cec7c2}.table-scroll{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:8px;margin:.85rem 0;background:#101113}table{border-collapse:collapse;width:100%;min-width:620px}th,td{border-bottom:1px solid var(--line);padding:.7rem .8rem;text-align:left;vertical-align:top}th{background:#21171a;color:#e5b1b8;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}td{color:#d2cbc6}.map-shell{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#151719;margin:.85rem 0 1rem}.map-shell img{display:block;width:100%;height:auto}.scenario-note{color:var(--muted)}.filters{display:grid;grid-template-columns:minmax(220px,1fr) 220px;gap:.8rem;margin:1.2rem 0 1rem}.filters input,.filters select{width:100%;min-height:46px;border:1px solid #3b3739;border-radius:7px;background:#131416;color:var(--text);padding:.7rem .8rem;font:inherit}.results-meta{color:var(--muted);font-size:.87rem;margin:.8rem 0}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.scenario-card{min-height:200px}.scenario-card h2{font:500 1.25rem/1.2 Georgia,serif;margin:.5rem 0 .55rem}.scenario-card p{font-size:.9rem}.empty-state{padding:2rem;text-align:center;border:1px dashed #53434a;border-radius:8px;color:var(--muted)}.footer{border-top:1px solid var(--line);background:#0d0e10;padding:2rem 0;color:var(--muted);font-size:.84rem}.footer-inner{display:flex;justify-content:space-between;gap:2rem;align-items:center}.footer-brand{font-family:Georgia,serif;color:#ece3dd;font-size:1.05rem}.footer p{margin:.25rem 0}.footer-nav{display:flex;flex-wrap:wrap;gap:1rem}.footer-nav a{color:#c8bfc0}.coming{display:inline-block;font-size:.69rem;letter-spacing:.1em;text-transform:uppercase;color:#e2a1aa;border:1px solid #59313a;border-radius:999px;padding:.2rem .5rem}.article-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.article-meta{color:#d78893;font-size:.77rem;text-transform:uppercase;letter-spacing:.1em}.sources a{overflow-wrap:anywhere}@media(max-width:900px){.topbar-inner{align-items:flex-start;padding:.8rem 0;flex-direction:column;gap:.8rem}.nav{gap:.65rem 1rem}.grid-3,.scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-strip{grid-template-columns:repeat(2,1fr)}.feature-strip div:nth-child(2){border-right:0}.feature-strip div:nth-child(-n+2){border-bottom:1px solid var(--line)}}@media(max-width:620px){.wrap{width:min(var(--max),calc(100% - 1.3rem))}.nav{gap:.55rem .8rem}.nav a{font-size:.79rem}.grid-3,.scenario-grid,.article-list{grid-template-columns:1fr}.hero{padding:3.3rem 0}.feature-strip div{padding:.8rem}.filters{grid-template-columns:1fr}.footer-inner{align-items:flex-start;flex-direction:column}.section{padding:2.5rem 0}.scenario-section{padding:1rem}}

/* Article and analysis pages imported into the Light-Fantastic site. */
.item-hero{padding:3rem 0 2rem}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:1.25rem;align-items:start}.article-body,.meta-panel{min-width:0;background:linear-gradient(150deg,#151719,#101113);border:1px solid var(--line);border-radius:10px;padding:clamp(1rem,3vw,1.6rem)}.article-body{font-size:1rem}.article-body h2{margin:1.8rem 0 .7rem;font:500 clamp(1.45rem,2.4vw,2rem)/1.2 Georgia,serif;color:#f2e9e4}.article-body h2:first-child{margin-top:0}.article-body h3{margin:1.3rem 0 .45rem;font:600 1.08rem/1.3 system-ui,sans-serif;color:#eadfe0}.article-body p,.article-body li{color:#cec7c2}.article-body p{margin:.75rem 0}.article-body ul,.article-body ol,.meta-panel ul{padding-left:1.35rem}.article-body li,.meta-panel li{margin:.35rem 0}.article-body ul li::marker,.article-body ol li::marker{color:#d85769}.article-body aside{border-left:3px solid var(--red);background:#171113;padding:.85rem 1rem;margin:1rem 0;color:#ded5d2}.article-body aside p:last-child{margin-bottom:0}.article-body .table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:8px;margin:.9rem 0;background:#101113}.article-body table{border-collapse:collapse;width:100%;min-width:580px}.article-body th,.article-body td{border-bottom:1px solid var(--line);padding:.7rem .8rem;text-align:left;vertical-align:top}.article-body th{background:#21171a;color:#e5b1b8;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.article-body td{color:#d2cbc6}.article-body img{height:auto;border:1px solid var(--line);border-radius:7px}.meta-panel{position:sticky;top:95px;font-size:.9rem}.meta-panel h2{font:500 1.4rem Georgia,serif}.meta-panel h3{margin:1.3rem 0 .4rem;font-size:.98rem}.meta-panel li{color:#cec7c2}.cp-reading{padding:.6rem 0;color:var(--muted);font-size:.85rem}.article-body .article-section,.article-body .wide-card{border:1px solid var(--line);border-radius:8px;padding:1rem;margin:.9rem 0;background:#131416}.article-body .check-list{list-style:disc}.article-body .item-hero{border:0;background:none;padding:0}.article-body .item-hero .wrap{width:auto}.article-body .access-pills{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.8rem}.article-body .access-pill{font-size:.72rem;border:1px solid #59313a;border-radius:99px;padding:.2rem .55rem;color:#e8bbc0}.article-body .badge{display:inline-block}.article-body .small-meta{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#e18490}.article-body .cp-key-label{display:block;color:#e18490;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;margin:.75rem 0 0}.article-body .actions{margin-top:1rem}.article-body .btn{display:inline-flex;padding:.55rem .8rem;border:1px solid #67303a;border-radius:7px;color:#f0c0c5;text-decoration:none}.article-body .btn-primary{background:#641826;color:#fff}.article-body .breadcrumb{margin:0 0 .6rem}.article-body .subhero{border:0;background:none;padding:.5rem 0 1rem}.article-body .item-hero h1{font:500 clamp(2rem,4vw,3.3rem)/1.05 Georgia,serif;margin:.4rem 0 .6rem}.article-body .item-hero p{max-width:780px;color:#c4bdb8}.article-body .article-layout{display:block}.article-body .meta-panel{position:static;margin-top:1rem}.article-body .cp-reading{padding:.5rem 0}.article-body .section{padding:1rem 0}.article-body .wrap{width:auto;margin:0}.article-body main{display:block}@media(max-width:850px){.article-layout{grid-template-columns:1fr}.meta-panel{position:static}}
.site-search-filters{grid-template-columns:minmax(260px,1fr) 220px;margin-top:.8rem}.search-result{min-height:225px}.search-result h2{font:500 1.35rem/1.2 Georgia,serif;margin:.45rem 0 .65rem}.search-result h2 a{color:#f2e9e4;text-decoration:none}.search-result h2 a:hover{color:#fff}.search-result p{color:#bdb7b2}.nav a[href="/search/"]{border:1px solid #59313a;border-radius:6px;padding:.35rem .65rem;color:#f0c0c5}@media(max-width:620px){.site-search-filters{grid-template-columns:1fr}}

.rights-notice{max-width:var(--max);margin:1.5rem auto 0;padding:.9rem 1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}

.database-summary{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1rem 1.2rem;margin-bottom:1.2rem;background:linear-gradient(120deg,#17191b,#101113);border:1px solid var(--line);border-radius:10px}.database-summary strong{display:block;font:500 2rem/1.15 Georgia,serif;margin-top:.2rem}.database-summary p{color:var(--muted);max-width:580px;margin:0}.equipment-controls{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(150px,1fr));gap:.8rem;margin:1rem 0}.equipment-controls label{display:grid;gap:.35rem;color:#d6ceca;font-size:.82rem}.equipment-controls input,.equipment-controls select{width:100%;min-height:46px;border:1px solid #3b3739;border-radius:7px;background:#131416;color:var(--text);padding:.65rem .75rem;font:inherit}.equipment-table{min-width:930px}.equipment-table th[scope=row]{background:#141517;color:var(--text);text-transform:none;letter-spacing:normal;font-size:.9rem;font-weight:600}.equipment-table th[scope=row] a{color:#f0c0c5}.equipment-table td{font-size:.86rem}.equipment-summary{display:block;color:var(--muted);font-size:.75rem;font-weight:400;line-height:1.4;margin-top:.25rem;max-width:290px}.profile-badge{display:inline-block;border:1px solid #454145;border-radius:99px;padding:.23rem .52rem;color:#d4c9c6;font-size:.72rem;white-space:nowrap}.profile-badge.featured{border-color:#763242;color:#f3c3ca;background:#281319}.equipment-table-scroll{margin-top:.5rem}.empty-state{padding:1.5rem;text-align:center;color:var(--muted)}@media(max-width:900px){.equipment-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.database-summary{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.equipment-controls{grid-template-columns:1fr}.database-summary{padding:.9rem}}

.equipment-feature{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);gap:1.4rem;align-items:stretch;background:#111315;border:1px solid var(--line);border-radius:10px;overflow:hidden}.equipment-feature-image{display:block;min-height:300px;background:#08090a}.equipment-feature-image img{display:block;width:100%;height:100%;min-height:300px;object-fit:cover}.equipment-feature-copy{padding:clamp(1.2rem,3vw,2.2rem)}.equipment-feature-copy h2{font:500 clamp(1.8rem,3vw,2.5rem)/1.12 Georgia,serif;margin:.5rem 0}.equipment-feature-copy h2 a{color:var(--text);text-decoration:none}.equipment-feature-copy p{color:#d2ccca;line-height:1.7}.equipment-feature-facts{padding:.85rem 1rem;border-left:2px solid #b63f4b;background:#17191b;font-size:.9rem}@media(max-width:760px){.equipment-feature{grid-template-columns:1fr}.equipment-feature-image,.equipment-feature-image img{min-height:220px;max-height:340px}}

.missile-rules-feature{margin:1rem 0 1.5rem;padding:1.2rem;border:1px solid var(--line);background:#121416}.missile-rules-feature h2,.missile-doc h2{font:500 1.45rem/1.2 Georgia,serif;margin:.4rem 0}.missile-rules-feature p,.missile-doc p{color:#d2ccca;line-height:1.65}.missile-doc{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem}.missile-doc .button{margin-top:auto}
.derived-40k{margin:1.25rem 0;padding:1rem;border:1px solid #743040;border-radius:8px;background:#171113}.derived-40k h3{margin:.45rem 0 .6rem;font:500 1.2rem/1.2 Georgia,"Times New Roman",serif;color:#f2e9e4}.derived-40k p{margin:.5rem 0;color:#cec7c2;font-size:.88rem;line-height:1.5}.derived-40k .derived-40k-stats{color:#f3e6e2;font-weight:650}.derived-40k .derived-40k-note{color:#b0aaa5;font-size:.8rem}.derived-40k .article-meta{font-size:.68rem}

.article-body .derived-40k-main{margin:1.5rem 0;padding:1rem 1.2rem;border:1px solid #743040;border-radius:8px;background:#171113}.article-body .derived-40k-main h2{margin:.4rem 0 .7rem;font-size:1.55rem}.article-body .derived-40k-main p{margin:.55rem 0;color:#cec7c2}.article-body .derived-40k-main .derived-40k-note{color:#b0aaa5;font-size:.84rem}

/* Searchable equipment catalogue */
.equipment-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.25rem 0 .8rem}.equipment-toolbar .results-meta{margin:0}.equipment-reset{min-height:38px;padding:.45rem .75rem;font-size:.82rem}.equipment-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.equipment-catalog-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:linear-gradient(145deg,#17191b,#101113)}.equipment-catalog-image{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:#08090a;border-bottom:1px solid var(--line);overflow:hidden;color:var(--muted);text-decoration:none}.equipment-catalog-image img{width:100%;height:100%;object-fit:contain}.equipment-catalog-copy{display:flex;flex:1;flex-direction:column;padding:1rem}.equipment-catalog-copy .article-meta{font-size:.66rem;line-height:1.5}.equipment-catalog-copy h2{font:500 1.35rem/1.2 Georgia,"Times New Roman",serif;margin:.4rem 0 .55rem}.equipment-catalog-copy h2 a{color:var(--text);text-decoration:none}.equipment-catalog-copy>p:not(.article-meta){color:#c9c2bd;font-size:.9rem;line-height:1.5;margin:.35rem 0}.equipment-catalog-copy .equipment-card-facts{padding:.55rem .65rem;border-left:2px solid #b63f4b;background:#17191b;color:#e1d7d3;font-size:.8rem}.equipment-card-link{margin-top:auto;padding-top:.5rem;color:#e78d98;font-size:.84rem;font-weight:650}.equipment-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin:1.25rem 0}.equipment-pagination button{min-height:40px;padding:.45rem .8rem}.equipment-pagination button:disabled{opacity:.45;cursor:not-allowed}.equipment-pagination span{min-width:6.5rem;text-align:center;color:var(--muted);font-size:.85rem}@media(max-width:900px){.equipment-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.equipment-card-grid{grid-template-columns:1fr}.equipment-toolbar{align-items:flex-start;flex-direction:column}.equipment-pagination{gap:.65rem}.equipment-catalog-image{aspect-ratio:16/9}}

/* Homepage library totals */
.library-overview{margin-top:2.6rem;position:relative;z-index:1}.library-overview h2{font:500 clamp(1.5rem,3vw,2rem)/1.2 Georgia,serif;letter-spacing:-.02em;margin:0 0 1rem}.library-overview .feature-strip{margin-top:0}.library-overview .feature-strip strong{font-size:clamp(1.7rem,3vw,2.2rem);font-variant-numeric:tabular-nums;line-height:1.2;margin-bottom:.35rem}.library-links{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;list-style:none;padding:0;margin:1rem 0}.library-links a{font-size:.9rem;text-decoration-thickness:1px}.library-links strong{font-variant-numeric:tabular-nums}.hero .library-note{font-size:.78rem;line-height:1.6;color:var(--muted);max-width:850px;margin:.7rem 0 0}@media(max-width:420px){.library-links{display:grid;grid-template-columns:1fr;gap:.4rem}.library-overview .feature-strip span{display:block;line-height:1.45}}
