/* Home: map-first editorial experience. Shared palette is kept in identidade.css. */
.home .wrap{width:min(1240px,calc(100% - 64px))}




.home-intro{display:grid;grid-template-columns:1.25fr .75fr;gap:32px;align-items:end;padding:36px 0 28px}
.home-intro .eyebrow{color:var(--dim);margin-bottom:16px}
.home-intro h1{font-size:clamp(54px,7.5vw,104px);line-height:.91;letter-spacing:-.075em;margin:0}
.home-intro-copy{padding:0 0 4px;max-width:440px}
.home-intro-copy p{font-size:clamp(17px,1.65vw,22px);line-height:1.43;margin:0 0 12px;color:var(--dim)}
.home-text-link{display:inline-flex;align-items:center;gap:8px;color:var(--amber);font-size:14px;font-weight:700;text-decoration:none;text-underline-offset:4px}
.home-text-link:hover{text-decoration:underline}
.home-map{scroll-margin-top:14px;margin-bottom:66px}
.map-top{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:18px 0 15px;border-top:1px solid var(--line)}
.map-top .eyebrow{font-size:10px;color:var(--hot);margin:0 0 8px}
.map-top h2{font-size:clamp(24px,3vw,38px);letter-spacing:-.045em;margin:0}
.home .button{border-radius:8px;min-height:46px;font-size:14px;padding:11px 15px;line-height:1.25}
.map-open{flex-shrink:0}
.map-shell{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel)}
.map-embed-top,.map-embed-note{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 15px;background:var(--bg);color:var(--dim);font-size:12px}
.map-embed-top{border-bottom:1px solid var(--line);font:650 11px/1.5 ui-monospace,monospace;letter-spacing:.04em;color:var(--amber)}
.map-embed-note{border-top:1px solid var(--line)}
.map-embed-note>span{max-width:64ch}
.live-dot{width:7px;height:7px;display:inline-block;background:var(--hot);border-radius:50%;margin-right:5px}
.home-map-frame{display:block;width:100%;height:clamp(600px,68vh,780px);border:0;background:var(--bg)}
.home-map-frame:focus-visible{outline:3px solid var(--amber);outline-offset:-3px}
.map-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 16px;border-top:1px solid var(--line);background:var(--bg)}
.home-counts{display:flex;align-items:center;gap:clamp(12px,2.5vw,28px);color:var(--dim);font:600 11px/1.5 ui-monospace,monospace}
.home-counts strong{font:800 19px/1 system-ui,sans-serif;color:var(--text);margin-right:3px}
.home-section-heading{display:grid;grid-template-columns:1fr .5fr;gap:24px;align-items:end;margin-bottom:18px}
.home-section-heading .eyebrow{margin-bottom:10px;color:var(--hot)}
.home-section-heading h2{margin:0;font-size:clamp(30px,4vw,52px)}
.home-section-heading>p{margin:0;color:var(--dim)}
.path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.path-card{min-width:0;display:flex;flex-direction:column;position:relative;text-decoration:none;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px;overflow:hidden}
.path-card:hover{border-color:var(--hot)}
.path-local{background:linear-gradient(145deg,#3e2717,var(--panel) 75%)}
.path-index{font:700 11px ui-monospace,monospace;color:var(--dim)}
.path-card h3{font-size:clamp(23px,2.6vw,32px);line-height:1.06;letter-spacing:-.045em;margin:14px 0 10px}
.path-card p{font-size:14px;color:var(--dim);line-height:1.5;margin-bottom:20px}
.path-action{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:12px;color:var(--amber);font-size:14px;font-weight:700;margin-top:auto}
.path-art{height:90px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--hot);position:relative;isolation:isolate}
.path-art>span{font:800 clamp(25px,4vw,48px)/1 system-ui,sans-serif;letter-spacing:-.07em}
.path-local .path-art i{position:absolute;width:70px;height:70px;border:1px solid var(--line);border-radius:50%;z-index:-1}
.path-local .path-art i:nth-of-type(1){transform:translateX(-26px)}.path-local .path-art i:nth-of-type(2){transform:translateX(26px)}
.path-data i{width:35%;height:2px;background:var(--hot);position:relative;transform:rotate(-12deg)}
.path-thread i{width:25px;height:25px;border:1px solid var(--hot);border-radius:50%;position:relative}
.path-thread i:not(:last-child)::after{content:"";height:1px;background:var(--hot);width:13px;position:absolute;left:100%;top:50%}
.path-thread i:nth-child(2){transform:translateY(-13px)}
.home-alternate{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0 56px}
.home-legacy{padding:0 0 42px;border-top:1px solid var(--line)}
.home-legacy>details>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;padding:20px 0;min-height:68px}
.home-legacy>details>summary::-webkit-details-marker{display:none}
.home-legacy summary small{display:block;color:var(--dim);margin-bottom:6px}
.home-legacy summary strong{font-size:clamp(20px,3vw,30px);letter-spacing:-.04em}
.legacy-expand{color:var(--hot);font-size:30px;line-height:1}
.home-legacy details[open] .legacy-expand{transform:rotate(45deg)}
.legacy-content{padding-top:12px}
.home .future{margin-bottom:50px}
.home-future-cta{margin-top:8px}
.home-sources{padding-bottom:40px}
.home-source-list{margin-top:18px}
.home-source-list>details:first-of-type{margin-top:12px}
.home footer.wrap{flex-wrap:wrap;color:var(--dim)}
.home footer>a:not(.brand){font-size:13px}
.home-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){.home .wrap{width:calc(100% - 40px)}.home-intro{gap:24px}.path-card{padding:15px}}
@media(max-width:660px){.home .wrap{width:calc(100% - 28px)}.home-intro{grid-template-columns:1fr;gap:10px;padding:23px 0 20px}.home-intro .eyebrow{font-size:10px;margin-bottom:12px}.home-intro h1{font-size:clamp(42px,11vw,66px);line-height:.98}.desktop-break{display:none}.home-intro-copy p{font-size:15px;margin:0 0 6px}.home-intro-copy .home-text-link{font-size:12px}.map-top{align-items:center;gap:8px;padding:12px 0}.map-top .eyebrow{font-size:9px;margin-bottom:5px}.map-top h2{font-size:22px}.map-open{white-space:normal;max-width:132px;gap:5px!important;font-size:12px!important;padding:9px!important}.map-shell{border-radius:12px}.map-bottom{align-items:flex-start;flex-direction:column;padding:12px;gap:8px}.home-counts{width:100%;justify-content:space-between;gap:6px;font-size:10px}.home-counts strong{font-size:17px}.map-bottom .home-text-link{font-size:12px}.home-map{margin-bottom:40px}.home-section-heading{grid-template-columns:1fr;gap:8px}.path-grid{grid-template-columns:1fr}.path-card{padding:18px}.path-art{height:60px}.home-alternate{margin-bottom:32px}.home-legacy{padding-bottom:24px}.home .future{margin-bottom:32px}.home footer.wrap{gap:12px}}
@media(max-width:360px){.home .wrap{width:calc(100% - 20px)}.map-top h2{font-size:19px}.map-open{max-width:114px}.home-counts{font-size:9px}.home-counts strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.home *{scroll-behavior:auto!important}}

@media(max-width:660px){.home-map-frame{height:680px}.map-embed-top,.map-embed-note{padding:10px;gap:8px}.map-embed-note{flex-direction:column;align-items:flex-start}.map-embed-top .home-text-link{font-size:11px;white-space:nowrap}.map-embed-note .home-text-link{min-height:44px;align-items:center}}

/* Keep action links legible at intermediate widths. */
.map-bottom{flex-wrap:wrap}.map-bottom .home-text-link{min-height:44px}
