/* Homepage only: directory, account and Forecasts layouts stay independent. */
.home { --home-space:clamp(60px,7.5vw,112px); }
.home h1,.home h2,.home h3,.home p { margin-top:0; }
.home h2 { font-size:clamp(34px,4vw,60px); line-height:1.08; letter-spacing:-.055em; font-weight:620; }
.home h3 { font-size:21px; line-height:1.3; letter-spacing:-.025em; }
.home p { line-height:1.7; }
.home-kicker { color:#ffad7b; font-size:13px; font-weight:680; text-transform:uppercase; letter-spacing:.12em; margin-bottom:18px; }
.home-copy>p:not(.home-kicker),.home-feature-row p,.home-place-guide p,.home-favourites p:not(.home-kicker),.home-faq p,.home-join p:not(.home-kicker) { color:#bec5cf; }
.home-text-link { display:inline-block; color:#ffc49e; text-decoration-thickness:1px; text-underline-offset:5px; font-size:16px; font-weight:550; padding-block:6px; }
.home-text-link:hover { color:#fff0e6; }
.home-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; }
.home .btn { min-height:50px; font-size:16px; padding-inline:24px; }
.home-hero { position:relative; isolation:isolate; overflow:hidden; background:#27232d; }
.home-hero-photo,.home-hero-photo img,.home-hero::after { position:absolute; inset:0; width:100%; height:100%; z-index:-1; }
.home-hero-photo img { object-fit:cover; object-position:66% 54%; }
.home-hero::after { content:""; background:linear-gradient(90deg,#10131aeb 0%,#10131ac4 34%,#10131a31 72%,#10131a0a),linear-gradient(0deg,#10131a9c,transparent 40%); }
.home-hero-copy { padding-block:clamp(64px,7vw,110px); }
.home-hero h1 { font-size:clamp(48px,6.8vw,104px); font-weight:630; letter-spacing:-.068em; line-height:1.01; margin-bottom:25px; }
.home-hero h1 em { font:400 1.04em/.95 Georgia,serif; letter-spacing:-.06em; color:#ffd5b4; }
.home-hero .home-lead { max-width:610px; color:#f0eae6; font-size:clamp(17px,1.45vw,21px); margin-bottom:27px; }
.home-hero .home-hero-note { max-width:610px; color:#cdd0d6; font-size:14px; margin:20px 0 0; }
.home-hero-note a { color:#f8dfce; }
.home-sections { border-bottom:1px solid var(--line); background:#151a22; }
.home-sections>div { display:flex; align-items:center; flex-wrap:wrap; gap:8px 30px; padding-block:18px; }
.home-sections span { color:#929caa; font-size:13px; margin-right:auto; }
.home-sections a { color:#e4e4e8; font-size:15px; text-decoration:none; padding-block:6px; }
.home-sections a:hover { color:var(--accent); text-decoration:underline; }
.home-section { padding-block:var(--home-space); scroll-margin-top:20px; }
.home-split { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr); gap:clamp(32px,5vw,80px); align-items:center; }
.home-copy { max-width:560px; }
.home-copy p { margin-bottom:18px; }
.home-shot { min-width:0; margin:0; }
.home-shot-link { display:block; position:relative; text-decoration:none; border:1px solid #45505e; border-radius:10px; background:#121720; box-shadow:0 12px 40px #0002; }
.home-image-window { display:block; position:relative; overflow:hidden; border-radius:9px; }
.home-shot-link>.home-image-window { border-radius:9px 9px 0 0; }
.home-image-window img { display:block; width:100%; height:auto; border:0; border-radius:0; }
.home-enlarge { display:block; padding:7px 14px; border-top:1px solid #45505e; border-radius:0 0 9px 9px; font-size:14px; font-weight:580; text-align:right; color:#fff4ec; background:#202835; }
.home-shot-link:hover .home-enlarge { background:#ffb281; color:#201710; border-color:#ffb281; }
.home-shot figcaption { padding-top:12px; font-size:13px; line-height:1.5; gap:4px 16px; }
.home-feature-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(22px,4vw,64px); margin-top:46px; }
.home-feature-row article { padding-top:22px; border-top:1px solid #4b4545; }
.home-feature-row p { margin:0; }
.home-terrain { background:#1a202a; border-block:1px solid var(--line); }
.home-section-intro { display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,6vw,100px); align-items:center; margin-bottom:32px; }
.home-section-intro h2 { margin-bottom:0; }
.home-section-intro>p { color:#bec5cf; max-width:580px; margin:0; }
.home-terrain-shots { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:center; }
.home-note { font-size:14px; color:#a7b2c1; }
.home-terrain .home-note { margin:25px 0 0; }
/* Show the maps and credits from original captures, without the old header/footer. */
.home-directory-window { aspect-ratio:3400 / 1640; }
.home-directory-window img { position:absolute; max-width:none; width:112.941177%; top:-29.878049%; left:-6.470588%; }
.home-viewpoints { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,100px); align-items:center; margin-top:55px; }
.home-place-guide { display:grid; gap:24px; }
.home-place-guide article { display:flex; align-items:flex-start; gap:15px; }
.home-place-guide .place-badge { flex:none; margin-top:3px; }
.home-place-guide p { margin:0; }
.home-place-guide h3 { margin-bottom:6px; }
.home-viewpoint-shot { width:100%; max-width:625px; justify-self:end; }
.home-viewpoint-window { aspect-ratio:580 / 368; }
.home-viewpoint-window img { position:absolute; max-width:none; width:107.758621%; left:-6.551724%; top:-10.869566%; }
.home-trip-band { background:#171d26; border-block:1px solid var(--line); scroll-margin-top:20px; }
.home-personal { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(30px,7vw,110px); }
.home-favourites { padding:clamp(24px,4vw,50px); border:1px solid #494252; border-radius:12px; background:linear-gradient(145deg,#24232f,#191d27); }
.home-favourites h3 { font-size:clamp(27px,2.6vw,39px); letter-spacing:-.045em; }
.home-private-badges { display:flex; gap:18px; margin-bottom:25px; }
.home-private-badges .place-badge { width:28px; height:28px; }
.home-favourites p:last-of-type { margin-bottom:18px; }
.home-faq { border-top:1px solid var(--line); padding-block:52px var(--home-space); display:grid; grid-template-columns:.75fr 1.25fr; gap:40px; }
.home-faq h2 { font-size:clamp(28px,3vw,40px); }
.home-faq details { border-bottom:1px solid var(--line); }
.home-faq summary { padding:18px 4px; cursor:pointer; font-size:17px; font-weight:560; }
.home-faq summary::marker { color:#ffad7b; }
.home-faq summary:focus-visible { outline:3px solid #ffd4a2; outline-offset:3px; }
.home-faq p { padding-inline:4px; margin-bottom:22px; }
.home-join { padding:clamp(28px,5vw,70px); margin-bottom:var(--home-space); border:1px solid #654939; border-radius:12px; background:linear-gradient(120deg,#2d2426,#1b202a); display:flex; justify-content:space-between; gap:32px; align-items:center; }
.home-join h2 { font-size:clamp(34px,3.7vw,54px); }
.home-join p:last-child { max-width:620px; margin-bottom:0; }
.home-join .home-actions { flex:none; flex-direction:column; align-items:flex-start; }
.home-viewer { width:min(1480px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 32px); color:var(--ink); background:#151b24; padding:0; border:1px solid #5d6777; border-radius:10px; box-shadow:0 20px 80px #0009; }
.home-viewer[open] { display:flex; flex-direction:column; }
.home-viewer::backdrop { background:#06090de8; }
.home-viewer-toolbar,.home-viewer-footer { display:flex; flex:none; align-items:center; justify-content:space-between; gap:12px 24px; padding:14px 20px; }
.home-viewer-toolbar { border-bottom:1px solid var(--line); }
.home-viewer-toolbar h2 { font-size:18px; letter-spacing:-.02em; margin:0; }
.home-viewer-toolbar form { margin:0; }
.home-viewer button { cursor:pointer; font:550 14px/1.4 Inter,Arial,sans-serif; color:#f4eee9; background:#29323f; border:1px solid #637082; border-radius:5px; min-height:40px; padding:7px 13px; }
.home-viewer button:hover { border-color:#ffa96f; color:#ffd3b3; }
.home-viewer-scroll { overflow:auto; min-height:0; padding:18px; }
.home-viewer-image { max-width:1280px; margin:auto; }
.home-viewer-footer { border-top:1px solid var(--line); }
.home-viewer-footer p { font-size:14px; color:#bdc5d1; margin:0; }
.home-viewer-footer>div { display:flex; align-items:center; gap:14px; flex:none; }
.home-viewer [data-home-counter] { font-size:13px; color:#bdc5d1; }
html.home-viewer-open { overflow:hidden; scrollbar-gutter:stable; }
@media(min-width:1400px) { .home-wide-shot { margin-inline:24px; } }
@media(max-width:950px) {
    .home-split { grid-template-columns:1fr; gap:30px; }
    .home-split .home-copy { max-width:700px; }
    .home-section-intro { gap:35px; }
    .home-viewpoints,.home-personal { gap:32px; }
    .home-join { flex-direction:column; align-items:flex-start; }
    .home-join .home-actions { flex-direction:row; align-items:center; }
    .home-sections>div { column-gap:20px; }
    .home-sections span { width:100%; }
}
@media(max-width:650px) {
    .home-hero-copy { padding-block:60px; }
    .home-hero::after { background:linear-gradient(90deg,#10131ae8,#10131a78),linear-gradient(0deg,#10131a94,transparent); }
    .home-hero h1 { font-size:clamp(43px,9.4vw,61px); }
    .home-feature-row,.home-section-intro,.home-terrain-shots,.home-viewpoints,.home-personal,.home-faq { grid-template-columns:1fr; }
    .home-feature-row { gap:24px; margin-top:32px; }
    .home-section-intro { gap:20px; }
    .home-viewpoints { margin-top:38px; }
    .home-viewpoint-shot { justify-self:start; }
    .home-enlarge { padding:7px 12px; }
    .home-shot figcaption { flex-direction:column; }
    .home-faq { gap:12px; padding-top:35px; }
    .home-faq h2 { margin-bottom:0; }
    .home-faq summary { line-height:1.5; }
    .home-join { gap:22px; }
    .home-viewer { width:calc(100% - 16px); max-height:calc(100dvh - 16px); }
    .home-viewer-toolbar,.home-viewer-footer { padding:12px; gap:10px; }
    .home-viewer-scroll { padding:10px; }
    .home-viewer-footer { flex-direction:column; align-items:stretch; }
    .home-viewer-footer>div { justify-content:space-between; }
    /* The preview scrolls inside the dialog, keeping small UI labels readable. */
    .home-viewer-image { min-width:850px; }
}
