/* Imperial Dark Sector homepage v4: discovery-first archive */
.home-page{
  background:#050609;
}
/* Use the same near-black at every scroll position, without a red halo. */
html:has(body.home-page){background:#050609}
body.home-page::before{background:none!important}
.home-page main{overflow:hidden}
.home-hero{max-width:1480px;margin:0 auto;padding:50px 22px 38px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);gap:34px;align-items:stretch}
.home-hero-copy{min-width:0;max-width:100%;padding:28px 2px 22px;display:flex;flex-direction:column;justify-content:center}
.home-kicker,.home-hero-copy .home-kicker{margin:0;color:#a7b0ba;font-size:.68rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.home-hero h1{margin:14px 0 20px;max-width:620px;font:900 clamp(2.55rem,3.15vw,3.75rem)/.96 "Arial Narrow",Impact,sans-serif;letter-spacing:-.02em;text-transform:uppercase;overflow-wrap:normal;word-break:normal}.home-hero h1 span{display:block;white-space:normal}
.home-dek{max-width:650px;margin:0;color:#c1c8d0;font-size:1.02rem;line-height:1.68}
.home-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}
.home-hero-actions a{min-height:46px;padding:0 16px;display:inline-flex;align-items:center;border:1px solid rgba(199,209,218,.25);background:#0b1017;color:#edf1f4;text-decoration:none;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.home-hero-actions a:hover{border-color:#c7d1da;background:#111923}
.home-hero-actions .home-primary{border-color:#8194a5;background:rgba(129,148,165,.18)}
.home-hero-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:30px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.08)}
.home-hero-metrics div{padding:15px;background:#0a0e14}
.home-hero-metrics strong{display:block;color:#e0e5e9;font:900 1.35rem/1 "Arial Narrow",Impact,sans-serif}
.home-hero-metrics span{display:block;margin-top:6px;color:#788692;font-size:.58rem;letter-spacing:.09em;text-transform:uppercase}
.home-hero-visual{min-width:0;min-height:500px;display:grid;grid-template-rows:1fr auto;border:1px solid rgba(255,255,255,.11);background:#080b10;overflow:hidden}
.home-hero-image{position:relative;min-height:430px;overflow:hidden;background:#080b10}.home-hero-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 42%}
.home-hero-image:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,6,8,.02),rgba(4,6,8,.22)),linear-gradient(90deg,rgba(4,6,8,.34),transparent 45%)}
.home-hero-image:after{content:"IDS / ARCHIVE";position:absolute;left:22px;bottom:20px;padding:7px 9px;border:1px solid rgba(255,255,255,.2);background:rgba(4,6,8,.68);color:#d6dde3;font-size:.58rem;font-weight:900;letter-spacing:.14em}
.home-hero-caption{padding:18px 20px;background:#0b1118;border-top:1px solid rgba(255,255,255,.08)}
.home-hero-caption span{display:block;color:#7c8a96;font-size:.59rem;font-weight:900;letter-spacing:.15em}
.home-hero-caption strong{display:block;margin-top:5px;color:#dbe1e6;font-size:.86rem;letter-spacing:.03em}

.home-section,.home-discovery,.home-timeline,.home-collector{max-width:1480px;margin:0 auto;padding:62px 22px}
.home-discovery--top{padding-top:24px;padding-bottom:48px}
.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:22px}
.home-section-head.compact{margin-bottom:14px}
.home-section-head h2,.home-timeline h2,.home-collector h2{margin:6px 0 0;font:900 clamp(2.5rem,5vw,4.9rem)/.92 "Arial Narrow",Impact,sans-serif;text-transform:uppercase;letter-spacing:-.025em}
.home-section-head>p{max-width:560px;margin:0;color:#aeb8c1;line-height:1.62;text-align:right}
.home-section-meta{max-width:580px;text-align:right}
.home-section-meta p{margin:0 0 10px;color:#aeb8c1;line-height:1.62}
.home-section-meta .section-link{display:inline-block}
.eyebrow{color:#8f9ca8!important;letter-spacing:.12em!important}
.section-link{color:#d4dce2;text-decoration:none;font-size:.75rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}

.home-random-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.home-random-grid a{min-height:138px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid rgba(255,255,255,.09);background:linear-gradient(145deg,#0d141d,#080b10);text-decoration:none;transition:.2s ease}
.home-random-grid a:hover{transform:translateY(-3px);border-color:rgba(213,222,229,.55)}
.home-random-grid span{color:#73818d;font-size:.6rem;letter-spacing:.12em;text-transform:uppercase}
.home-random-grid strong{font:900 1.55rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-random-grid b{align-self:flex-end;color:#8194a5;font-size:1.2rem}

.home-new-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.home-new-card{min-height:240px;padding:21px;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.09);background:#0d131b;text-decoration:none}
.home-new-card>span{color:#71808c;font-size:.59rem;font-weight:900;letter-spacing:.12em}
.home-new-card h3{margin:18px 0 10px;font:900 1.8rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-new-card p{margin:0;color:#aeb8c1;font-size:.88rem;line-height:1.55}
.home-new-card b{margin-top:auto;padding-top:20px;color:#d4dce2;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}
.home-new-card:hover{border-color:#8c99a4;background:#111923}

.home-feature-section{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:10px}
.home-feature-main{display:grid;grid-template-rows:minmax(320px,1fr) auto;border:1px solid rgba(255,255,255,.1);background:#0c121a;overflow:hidden}
.home-feature-main>img{width:100%;height:100%;min-height:360px;object-fit:cover;object-position:center 42%}
.home-feature-main-copy{padding:28px}
.home-feature-main-copy h2{margin:7px 0 14px;font:900 clamp(2.5rem,5vw,4.7rem)/.92 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-feature-main-copy p:not(.meta){max-width:850px;color:#b7c0c8;line-height:1.65}
.home-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.home-feature-stack{display:grid;gap:10px}
.home-feature-stack a{min-height:0;padding:24px;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.1);background:linear-gradient(145deg,#111821,#080b10);text-decoration:none}
.home-feature-stack span{color:#7c8a96;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase}
.home-feature-stack strong{margin:13px 0 10px;font:900 2rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-feature-stack p{color:#aeb8c1;line-height:1.55}
.home-feature-stack b{margin-top:auto;color:#d4dce2;font-size:.71rem;letter-spacing:.08em;text-transform:uppercase}
.home-feature-stack a:hover{border-color:#8c99a4}

.home-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-destination-card{min-height:455px;display:grid;grid-template-rows:215px 1fr;border:1px solid rgba(255,255,255,.1);background:#0d141d;text-decoration:none;overflow:hidden;transition:.2s ease}
.home-destination-card:hover{transform:translateY(-3px);border-color:rgba(213,222,229,.52)}
.home-destination-art{position:relative;overflow:hidden;background:#080b10;border-bottom:1px solid rgba(255,255,255,.08)}
.home-destination-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(3,5,7,.36))}
.home-destination-art img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.home-destination-card:hover .home-destination-art img{transform:scale(1.025)}
.home-destination-art.triptych{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.home-destination-art.triptych img{min-width:0}
.home-destination-art.collecting-art{display:grid;grid-template-columns:1fr 1fr;background:#f1f2f3}
.home-destination-art.collecting-art img{object-fit:contain;background:#0b0e13}
.home-destination-art.collecting-art img:last-child{background:#f3f3f3}
.home-destination-copy{padding:22px;display:flex;flex-direction:column}
.home-destination-copy .meta{margin:0;color:#75828d;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase}
.home-destination-copy h3{margin:9px 0 10px;font:900 2.05rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-destination-copy p{margin:0;color:#aeb8c1;font-size:.9rem;line-height:1.58}
.home-destination-copy b{margin-top:auto;padding-top:16px;color:#d4dce2;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}

.home-galaxy-band{max-width:1480px;margin:52px auto 60px;padding:0 22px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:0}
.home-galaxy-visual{min-height:540px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.home-galaxy-visual img{width:100%;height:100%;display:block;object-fit:cover}
.home-galaxy-copy{padding:40px;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(255,255,255,.1);border-left:0;background:linear-gradient(145deg,#101720,#070a0f)}
.home-galaxy-copy h2{margin:6px 0 15px;font:900 clamp(2.8rem,5vw,5.1rem)/.9 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-galaxy-copy>p:not(.eyebrow){color:#b5bec6;line-height:1.67}
.home-galaxy-links{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:20px}
.home-galaxy-links a{padding:13px 14px;display:flex;justify-content:space-between;border:1px solid rgba(255,255,255,.1);background:#0a0f15;color:#e0e6ea;text-decoration:none;font-size:.76rem;font-weight:900;text-transform:uppercase}
.home-galaxy-links a:hover{border-color:#8996a1}

.home-character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-character-grid a{position:relative;min-height:430px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid rgba(255,255,255,.1);background:#080b10;text-decoration:none;overflow:hidden}
.home-character-grid img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-character-grid a:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(4,6,9,.92))}
.home-character-grid span,.home-character-grid strong{position:relative;z-index:1}
.home-character-grid span{padding:0 18px;color:#aeb8c1;font-size:.6rem;letter-spacing:.1em;text-transform:uppercase}
.home-character-grid strong{padding:8px 18px 19px;font:900 2rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-character-grid a:hover{border-color:#97a4ae}

.home-timeline{padding-top:52px;padding-bottom:62px}
.home-era-strip{display:grid;grid-template-columns:repeat(9,minmax(135px,1fr));gap:1px;overflow-x:auto;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.home-era-strip a{min-width:145px;min-height:118px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;background:#0c1118;text-decoration:none;font:900 1rem/1.05 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-era-strip a span{color:#7c8a96;font:800 .58rem/1 system-ui;letter-spacing:.11em}
.home-era-strip a:hover{background:#121923}

.home-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-tools-grid a{min-height:265px;padding:24px;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.1);background:linear-gradient(145deg,#121820,#080b10);text-decoration:none}
.home-tools-grid span{color:#8194a5;font-size:.62rem;font-weight:900;letter-spacing:.13em}
.home-tools-grid h3{margin:22px 0 11px;font:900 2rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-tools-grid p{margin:0;color:#aeb8c1;line-height:1.58}
.home-tools-grid b{margin-top:auto;padding-top:18px;color:#d5dde3;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}
.home-tools-grid a:hover{border-color:#8f9ca8}

.home-collector{padding-top:64px;padding-bottom:86px}
.home-collector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-collector-grid a{min-height:240px;padding:23px;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.1);background:#0c1219;text-decoration:none}
.home-collector-grid span{color:#798793;font-size:.61rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.home-collector-grid h3{margin:17px 0 11px;font:900 1.9rem/1 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-collector-grid p{margin:0;color:#aeb8c1;line-height:1.55}
.home-collector-grid b{margin-top:auto;padding-top:18px;color:#d7dee4;font-size:.69rem;letter-spacing:.08em;text-transform:uppercase}
.home-collector-grid a:hover{border-color:#8e9aa5}
.home-collector-note{margin-top:12px;padding:14px 15px;border-left:3px solid #7e8c97;background:#090d12;color:#aeb7bf;font-size:.84rem;line-height:1.55}

.home-final-discovery{max-width:1436px;margin:0 auto 88px;padding:48px 34px;border:1px solid rgba(255,255,255,.11);background:radial-gradient(circle at 78% 40%,rgba(151,40,49,.16),transparent 27%),linear-gradient(145deg,#111821,#07090d)}
.home-final-discovery h2{max-width:920px;margin:7px 0 13px;font:900 clamp(2.8rem,5.2vw,5.2rem)/.9 "Arial Narrow",Impact,sans-serif;text-transform:uppercase}
.home-final-discovery p:not(.eyebrow){max-width:720px;color:#b4bec6;line-height:1.6}
.home-final-discovery-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.home-final-discovery-actions a{min-height:44px;padding:0 15px;display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.16);background:#0b1016;color:#e2e7eb;text-decoration:none;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.home-final-discovery-actions a:first-child{border-color:#a13d46;background:#161014}.home-final-discovery-actions a:hover,.home-final-discovery-actions a:focus-visible{border-color:#8fa3b3;background:#121923}

@media(max-width:1240px){
  .home-hero{grid-template-columns:1fr}
  .home-hero h1{max-width:760px;font-size:clamp(2.9rem,6vw,4.5rem)}
  .home-hero h1 span{white-space:normal}
  .home-hero-visual{min-height:480px}
  .home-new-grid{grid-template-columns:repeat(3,1fr)}
  .home-destination-grid{grid-template-columns:repeat(2,1fr)}
  .home-character-grid,.home-tools-grid,.home-collector-grid{grid-template-columns:repeat(2,1fr)}
  .home-feature-section,.home-galaxy-band{grid-template-columns:1fr}
  .home-galaxy-copy{border-left:1px solid rgba(255,255,255,.1);border-top:0}
}
@media(max-width:760px){
  .home-hero{padding:38px 14px 24px}
  .home-hero h1{max-width:100%;font-size:clamp(2.35rem,10vw,3.75rem);line-height:.96}
  .home-hero-metrics{grid-template-columns:1fr 1fr}
  .home-hero-visual{min-height:0}
  .home-hero-image{min-height:390px}
  .home-section,.home-discovery,.home-timeline,.home-collector{padding:48px 14px}
  .home-section-head{align-items:start;flex-direction:column;gap:10px}
  .home-section-head>p{text-align:left}
  .home-random-grid,.home-new-grid,.home-destination-grid,.home-character-grid,.home-tools-grid,.home-collector-grid{grid-template-columns:1fr}
  .home-random-grid a{min-height:112px}
  .home-feature-main>img{min-height:270px}
  .home-galaxy-band{margin-top:30px;padding:0 14px}
  .home-galaxy-visual{min-height:320px}
  .home-galaxy-copy{padding:27px 22px}
  .home-galaxy-links{grid-template-columns:1fr}
  .home-character-grid a{min-height:360px}
  .home-era-strip{grid-template-columns:repeat(9,145px)}
  .home-final-discovery{margin:0 14px 58px;padding:34px 24px}
}
@media(max-width:460px){
  .home-hero-metrics{grid-template-columns:1fr}
  .home-hero-actions a{width:100%;justify-content:center}
}

/* IDS no-gold controls */
.home-page .gold-button{
  border:1px solid #8194a5;
  background:rgba(129,148,165,.18);
  color:#edf1f4;
}
.home-page .gold-button:hover{
  border-color:#c05a62;
  background:rgba(129,148,165,.28);
}
.home-page .outline-button{
  border:1px solid rgba(199,209,218,.28);
  background:#0b1118;
  color:#dbe2e7;
}
.home-page .outline-button:hover{
  border-color:#aebbc5;
  background:#111923;
}

/* Legacy discovery fallback suppression */
.home-page main .ids-discovery{display:none!important}
@media(max-width:700px){.home-section-meta{text-align:left}.home-section-head{align-items:start}.home-section-meta p{text-align:left}}

.home-hero-collage{
  display:grid;
  grid-template-columns:1.7fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:2px;
}
.home-hero-collage img{
  min-width:0;
  min-height:0;
  object-fit:cover;
}
.home-hero-collage .home-hero-collage-main{
  grid-row:1 / 3;
  object-position:center 38%;
}
.home-hero-collage img:nth-child(2){object-position:center 24%}
.home-hero-collage img:nth-child(3){object-position:center 28%}

@media(max-width:560px){
  .home-hero-collage{grid-template-columns:1fr 1fr;grid-template-rows:240px 155px}
  .home-hero-collage .home-hero-collage-main{grid-column:1 / 3;grid-row:1}
}


/* HOME INFORMATION ARCHITECTURE V13
   Homepage hierarchy: mission -> primary archive -> featured research ->
   topic paths -> chronology -> recent additions -> direct answers -> tools -> collecting. */
#archive-doors{scroll-margin-top:96px}
.home-directory-section{
  padding-top:38px;
  padding-bottom:70px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.home-directory-section .home-section-head{
  margin-bottom:28px;
}
.home-directory-section .home-section-head h2{
  max-width:780px;
}
.home-feature-section{
  padding-top:72px;
  padding-bottom:72px;
}
.home-topic-paths{
  padding-top:68px;
  padding-bottom:64px;
}
.home-timeline{
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.home-page .home-new-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.home-page .home-tools-grid a:last-child{
  background:
    radial-gradient(circle at 78% 24%,rgba(129,148,165,.14),transparent 35%),
    linear-gradient(145deg,#121820,#080b10);
  border-color:rgba(129,148,165,.34);
}
.home-collector{
  border-top:1px solid rgba(255,255,255,.06);
}
@media(max-width:900px){
  .home-page .home-new-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-page .home-new-grid .home-new-card:last-child{grid-column:1/-1}
}
@media(max-width:760px){
  .home-directory-section{padding-top:32px;padding-bottom:54px}
  .home-feature-section,.home-topic-paths{padding-top:52px;padding-bottom:52px}
  .home-page .home-new-grid{grid-template-columns:1fr}
  .home-page .home-new-grid .home-new-card:last-child{grid-column:auto}
}


/* HOME DISCOVERY + SUPPORT V14 */
.home-discovery-lanes{
  margin-top:12px;
  padding:17px;
  border:1px solid rgba(255,255,255,.09);
  background:#090e14;
}
.home-discovery-lanes-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  margin-bottom:11px;
}
.home-discovery-lanes-head span{
  color:#8194a5;
  font-size:.6rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.home-discovery-lanes-head strong{
  color:#aeb8c1;
  font-size:.78rem;
  font-weight:650;
}
.home-discovery-lanes-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
}
.home-discovery-lanes-grid a{
  min-height:82px;
  padding:12px 13px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid rgba(255,255,255,.09);
  background:#0c1219;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.home-discovery-lanes-grid a:hover,
.home-discovery-lanes-grid a:focus-visible{
  transform:translateY(-2px);
  border-color:#8494a1;
  background:#111923;
}
.home-discovery-lanes-grid span{
  color:#74828d;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.home-discovery-lanes-grid b{
  color:#dce3e8;
  font-size:.67rem;
  letter-spacing:.04em;
}
.home-discovery-lanes-grid .home-discovery-surprise{
  border-color:rgba(129,148,165,.38);
  background:
    radial-gradient(circle at 78% 24%,rgba(129,148,165,.16),transparent 36%),
    #0c1118;
}
.home-support-panel{
  margin-top:16px;
  padding:22px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(145deg,#0d141c,#080b10);
}
.home-support-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);
  gap:28px;
  align-items:end;
  margin-bottom:15px;
}
.home-support-head>div>span{
  color:#74828d;
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.home-support-head h3{
  margin:7px 0 0;
  color:#edf1f4;
  font:900 clamp(1.9rem,3.5vw,3rem)/.95 "Arial Narrow",Impact,sans-serif;
  text-transform:uppercase;
}
.home-support-head>p{
  margin:0;
  color:#aeb8c1;
  font-size:.86rem;
  line-height:1.55;
  text-align:right;
}
.home-support-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.home-support-grid a{
  min-height:205px;
  padding:19px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.09);
  background:#090f15;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.home-support-grid a:hover,
.home-support-grid a:focus-visible{
  transform:translateY(-2px);
  border-color:#8494a1;
  background:#111923;
}
.home-support-grid span{
  color:#7d8a95;
  font-size:.57rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.home-support-grid strong{
  margin:14px 0 10px;
  color:#edf1f4;
  font:900 1.35rem/1 "Arial Narrow",Impact,sans-serif;
  text-transform:uppercase;
}
.home-support-grid p{
  margin:0;
  color:#9ea9b2;
  font-size:.8rem;
  line-height:1.5;
}
.home-support-grid b{
  margin-top:auto;
  padding-top:17px;
  color:#d6dee4;
  font-size:.66rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.home-support-panel .home-collector-note{
  margin-bottom:0;
}
.home-support-panel .home-collector-note a{
  color:#d8e0e5;
  font-weight:800;
}
@media(max-width:1100px){
  .home-discovery-lanes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-support-head{grid-template-columns:1fr}
  .home-support-head>p{text-align:left;max-width:760px}
}
@media(max-width:760px){
  .home-discovery-lanes{padding:14px}
  .home-discovery-lanes-head{align-items:flex-start;flex-direction:column;gap:5px}
  .home-discovery-lanes-grid{grid-template-columns:1fr 1fr}
  .home-support-panel{padding:16px}
  .home-support-grid{grid-template-columns:1fr}
  .home-support-grid a{min-height:170px}
}
@media(max-width:460px){
  .home-discovery-lanes-grid{grid-template-columns:1fr}
}


/* MOBILE HOMEPAGE REBUILD V15 */
@media(max-width:760px){
  /* Compact the masthead only on the homepage. */
  .home-page .site-header{
    min-height:72px!important;
    padding:8px 12px 10px!important;
    gap:9px!important;
  }
  .home-page .site-header::after{display:none!important}
  .home-page .brand{
    min-width:0!important;
    gap:9px!important;
  }
  .home-page .brand-mark{
    width:92px!important;
    height:54px!important;
    flex:0 0 92px!important;
    border:0!important;
    border-radius:0!important;
    clip-path:none!important;
    background:url("/images/ids-metallic-logo-approved.jpg?v=1") center/contain no-repeat!important;
    box-shadow:none!important;
    filter:drop-shadow(0 0 7px rgba(167,44,53,.18));
  }
  .home-page .brand-mark::before,
  .home-page .brand-mark::after{display:none!important}
  .home-page .brand strong{
    font-size:.72rem!important;
    line-height:1.05!important;
    letter-spacing:.13em!important;
  }
  .home-page .brand small{
    display:none!important;
  }
  .home-page .brand > span:last-child::after{
    margin-top:5px!important;
    font-size:.44rem!important;
    letter-spacing:.14em!important;
  }
  .home-page .ids-mobile-menu-button{
    width:44px;
    height:44px;
    padding:9px;
  }

  /* Hero: shorter, denser, and immediately readable. */
  .home-page .home-hero{
    padding:22px 14px 28px!important;
    gap:20px!important;
  }
  .home-page .home-hero-copy{
    padding:0!important;
  }
  .home-page .home-kicker,
  .home-page .home-hero-copy .home-kicker{
    max-width:30ch;
    font-size:.57rem!important;
    line-height:1.45;
    letter-spacing:.13em!important;
  }
  .home-page .home-hero h1{
    margin:10px 0 14px!important;
    max-width:10.5ch!important;
    font-size:clamp(2.35rem,10.6vw,3.15rem)!important;
    line-height:.9!important;
    letter-spacing:-.035em!important;
  }
  .home-page .home-dek{
    max-width:36ch!important;
    font-size:.9rem!important;
    line-height:1.55!important;
    color:#aeb8c2!important;
  }

  /* CTA area becomes a compact 2x2 control panel. */
  .home-page .home-hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    margin-top:20px!important;
  }
  .home-page .home-hero-actions a{
    width:auto!important;
    min-height:50px!important;
    padding:9px 10px!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:.62rem!important;
    line-height:1.2!important;
    letter-spacing:.065em!important;
  }
  .home-page .home-hero-actions .home-primary{
    grid-column:1/-1;
    min-height:54px!important;
  }

  /* Metrics stay visible without becoming four giant stacked cards. */
  .home-page .home-hero-metrics{
    grid-template-columns:1fr 1fr!important;
    margin-top:14px!important;
  }
  .home-page .home-hero-metrics div{
    min-height:68px;
    padding:11px 12px!important;
  }
  .home-page .home-hero-metrics strong{
    font-size:1.45rem!important;
  }
  .home-page .home-hero-metrics span{
    margin-top:4px!important;
    font-size:.52rem!important;
    line-height:1.3;
  }

  /* The lens is useful on desktop, but duplicates the homepage message on phones. */
  .home-page .ids-lens-signature{
    display:none!important;
  }

  /* Make the collage feel like a visual payoff, not another full page. */
  .home-page .home-hero-visual{
    min-height:0!important;
    margin-top:0!important;
  }
  .home-page .home-hero-image{
    min-height:0!important;
  }
  .home-page .home-hero-collage{
    grid-template-columns:1.25fr 1fr!important;
    grid-template-rows:132px 132px!important;
  }
  .home-page .home-hero-collage .home-hero-collage-main{
    grid-column:1!important;
    grid-row:1/3!important;
  }
  .home-page .home-hero-collage img:nth-child(2){
    grid-column:2!important;
    grid-row:1!important;
  }
  .home-page .home-hero-collage img:nth-child(3){
    grid-column:2!important;
    grid-row:2!important;
  }
  .home-page .home-hero-caption{
    padding:12px 14px!important;
  }
  .home-page .home-hero-caption span{
    font-size:.5rem!important;
  }
  .home-page .home-hero-caption strong{
    margin-top:3px!important;
    font-size:.7rem!important;
    line-height:1.35;
  }

  /* Pull the real archive entry points closer to the hero. */
  .home-page .home-directory-section{
    padding-top:32px!important;
  }
}

@media(max-width:430px){
  .home-page .brand-mark{
    width:82px!important;
    height:49px!important;
    flex-basis:82px!important;
  }
  .home-page .brand strong{
    font-size:.66rem!important;
  }
  .home-page .brand > span:last-child::after{
    font-size:.4rem!important;
  }
  .home-page .home-hero{
    padding-inline:12px!important;
  }
  .home-page .home-hero h1{
    font-size:2.45rem!important;
  }
  .home-page .home-hero-actions a{
    font-size:.58rem!important;
  }
}


/* IDS HOMEPAGE MOBILE NAV DEPLOY MARKER V1
   Critical phone navigation is intentionally in index.html so stale shared CSS cannot hide it. */

/* Consistent Imperial-black homepage backdrop and neutral steel accents. */
html:has(body.home-page),body.home-page,body.home-page main{background-color:#050609!important}
body.home-page::before,body.home-page::after{background-image:none!important}
.home-page .ids-lens-signature{display:none!important}
