/* =====================================================================================================
   v3 "Daylight" - loaded last. The site turns from a dark instrument into a bright, photo-led magazine.
   Reference lock (DESIGN.md, 2026-11-29):
     primary  Le Camp "modern mountaineering": crisp white canvas, bold confident type, one vivid signal colour
     borrowed tourism-board fronts (Switzerland, Norway, Jebel Jais): the picture fills the screen and moves;
              Aker: giant condensed display type set over cinematic photography
     own      the painted waymark (white-red-white "blaze"), the ridge line, one colour per trail,
              living photos (photo + depth map), the map as the way in
   Roles: --blaze marks and states only (blaze, active chip, links on hover, focus); primary button = ink fill.
   Photos carry the colour; the interface stays black on white. Dark is used only ON pictures and maps (.dark scope).
   ===================================================================================================== */
:root {
  --abyss: #ffffff; --onyx: #f4f4f2; --char: #ebebe8; --fossil: #c8c8c4; --stone: #b3b3ae; --ash: #6a6a66;
  --linen: #0e0e0e; --linen-2: #2c2c2a; --blaze: #ff4b1f; --amber: #ff4b1f; --amber-dim: rgba(255, 75, 31, .09);
  --hair: rgba(0, 0, 0, .11); --hair-2: rgba(0, 0, 0, .22); --r: 14px; --ink: #0e0e0e;
}
/* dark scope: anything that sits on a photograph or on the satellite map */
.dark, .hero, .hk-hero, .lb, .story .stick, .terrain, .fullmap, .card, .tile, .col, .foot, .nav:not(.solid), .topo-all .over, #terrain {
  --abyss: #0c0c0c; --onyx: #171717; --char: #202020; --fossil: #5a5a5a; --stone: #707070; --ash: #c4c4c0;
  --linen: #ffffff; --linen-2: #ededea; --amber: #ffb442; --amber-dim: rgba(255, 180, 66, .16);
  --hair: rgba(255, 255, 255, .14); --hair-2: rgba(255, 255, 255, .32); color: var(--linen);
}
.light { --abyss: #fff; --onyx: #f4f4f2; --fossil: #c8c8c4; --ash: #6a6a66; --linen: #0e0e0e; --linen-2: #2c2c2a; --amber: #ff4b1f; --hair: rgba(0,0,0,.11); --hair-2: rgba(0,0,0,.22); color: var(--linen); }
html, body { background: #fff; color: var(--linen); }
::selection { background: var(--blaze); color: #fff; }
a:focus-visible, button:focus-visible { outline-color: var(--blaze); }

/* ---------- type: heavy condensed capitals at display size, plain grotesk for reading */
.display, .h2, .mega, .hk-title, .film-title, .film-name, .card .cap h3, .tile .cap h3, .col h3, .pn a h3, .hl-tx h3, .doc-sec h2, .her-entry h3, .area-h, .foot .big, .year .yr, .at-card h3, .map-note h3, .acc h3, .her-card h3 {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.012em; }
.display { font-size: clamp(56px, 9vw, 150px); line-height: .88; }
.h2 { font-size: clamp(38px, 5vw, 76px); line-height: .92; }
.mega { font-size: clamp(52px, 7.4vw, 132px); line-height: .86; margin: 14px 0 0; text-wrap: balance; }
.mega.sm { font-size: clamp(42px, 5.2vw, 88px); line-height: .9; }
.hk-title { font-size: clamp(60px, 10.5vw, 180px); line-height: .82; max-width: 12ch; }
.label { color: var(--ash); font-weight: 500; }
.label b { color: var(--linen); font-weight: 500; }
.lede { color: var(--linen-2); }
.blaze { display: inline-block; width: 21px; height: 11px; margin-right: 10px; vertical-align: -1px; border-radius: 1px;
  background: linear-gradient(90deg, #fff 0 30%, var(--blaze) 30% 70%, #fff 70%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }

/* ---------- controls */
.btn { font-weight: 600; height: 50px; padding: 0 26px; }
.btn-primary { background: var(--linen); color: var(--abyss); }
.btn-primary:hover { background: var(--blaze); color: #fff; }
.dark .btn-primary:hover, .hk-hero .btn-primary:hover { background: var(--blaze); color: #fff; }
.btn-ghost { background: transparent; color: var(--linen); border-color: var(--hair-2); backdrop-filter: none; }
.dark .btn-ghost, .terrain .btn-ghost, .hk-hero .btn-ghost { background: rgba(0, 0, 0, .35); backdrop-filter: blur(10px); }
.btn-text { border-bottom: 2px solid var(--linen); padding-bottom: 3px; }
.btn-text:hover { border-color: var(--blaze); color: var(--blaze); }
.chip { border-color: var(--hair-2); color: var(--linen); font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--linen); color: var(--abyss); border-color: var(--linen); }
.tags li { color: var(--linen); border-color: var(--hair-2); }

/* ---------- nav */
.nav { height: 72px; }
.nav.solid { background: rgba(255, 255, 255, .92); border-color: var(--hair); }
.brand b { font-weight: 600; letter-spacing: .01em; font-size: 28px; }
.brand span { color: var(--blaze); font-weight: 600; }
.nav:not(.solid) .brand span { color: #fff; }
.nav li a { color: var(--linen); font-weight: 600; font-size: 15px; }
.nav li a:hover { background: rgba(127, 127, 127, .14); }
.nav li a[aria-current] { box-shadow: inset 0 -3px 0 var(--blaze); }
.nav:not(.solid) { background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }

/* ---------- living photos */
.living { position: absolute; inset: 0; overflow: hidden; background: #15110c; }
.living img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.living-cv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s; }
.living.is-live .living-cv { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .living:not(.is-live) img { animation: drift 30s var(--ease) infinite alternate; } }

/* ---------- front page: film + map + strip */
.front { height: 100svh; min-height: 700px; display: grid; grid-template-columns: 45fr 55fr; grid-template-rows: minmax(0, 1fr) auto; background: #fff; }
.film { position: relative; overflow: hidden; isolation: isolate; }
.film::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .78) 100%); }
.film-top { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); top: 96px; transition: opacity .6s; }
.film-top .label { color: #fff; }
.film-title { font-size: clamp(34px, 3.6vw, 62px); line-height: .9; margin: 12px 0 0; }
.film-info { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 30px; }
.film-info > * { opacity: 0; transform: translateY(26px); }
.film-info.in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.film-info.in > *:nth-child(2) { transition-delay: .06s; } .film-info.in > *:nth-child(3) { transition-delay: .12s; }
.film-info.in > *:nth-child(4) { transition-delay: .18s; } .film-info.in > *:nth-child(5) { transition-delay: .24s; }
.film-info .label { color: #fff; margin: 0; }
.film-name { font-size: clamp(50px, 5.9vw, 112px); line-height: .84; margin: 12px 0 0; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.film-tl { font: 400 clamp(16px, 1.3vw, 20px)/1.4 var(--f-body); margin: 16px 0 0; max-width: 40ch; color: #fff; }
.film-facts { display: flex; gap: 26px; align-items: flex-end; margin: 22px 0 24px; flex-wrap: wrap; }
.film-facts b { display: block; font: 600 clamp(26px, 2.4vw, 38px)/1 var(--f-display); }
.film-facts span { font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; display: block; margin-top: 6px; }
.film-spark { flex: 1; min-width: 120px; max-width: 260px; height: 44px; }
.film-spark svg { width: 100%; height: 100%; overflow: visible; }
.film-spark path { fill: none; stroke: var(--c, #fff); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.film-dots { position: absolute; z-index: 3; right: var(--pad); bottom: 34px; display: flex; gap: 5px; }
.film-dots i { width: 22px; height: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .4s; }
.film-dots i.on { background: #fff; width: 44px; }
.film.chosen .film-dots { display: none; }

.mapside { position: relative; overflow: hidden; }
.mapside .map { position: absolute; inset: 0; }
.map-tools { position: absolute; z-index: 5; top: 86px; left: 16px; right: 16px; display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.map-tools > * { pointer-events: auto; }
.at-search { position: relative; width: min(340px, 46%); }
.at-search input { width: 100%; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .95); color: #0e0e0e; padding: 0 18px; font: 500 14.5px/1 var(--f-body); box-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.at-search input::placeholder { color: #6a6a66; }
.at-search input:focus { outline: 2px solid var(--blaze); }
.at-layers { position: static; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: none; }
.at-layers .chip { background: rgba(12, 12, 12, .72); color: #fff; border-color: rgba(255, 255, 255, .3); height: 34px; backdrop-filter: blur(8px); }
.at-layers .chip[aria-pressed="true"] { background: #fff; color: #0e0e0e; border-color: #fff; }
.fm-res { background: #fff; border: 0; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); color: #0e0e0e; }
.fm-res button { color: #0e0e0e; } .fm-res .label { color: #6a6a66; } .fm-res em { color: #6a6a66; }
.fm-res button:hover { background: #f1f1ee; }
.map-hint { position: absolute; z-index: 4; left: 16px; bottom: 14px; margin: 0; color: #fff; background: rgba(12, 12, 12, .6); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); }
.page-front .maplibregl-ctrl-top-left { top: 136px; }
.map-note { position: absolute; z-index: 6; right: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); background: #fff; color: #0e0e0e; border-radius: 16px; padding: 20px 22px; display: none;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .4); max-height: 70%; overflow-y: auto;
  --linen: #0e0e0e; --linen-2: #2c2c2a; --ash: #6a6a66; --hair: rgba(0,0,0,.11); --hair-2: rgba(0,0,0,.22); --amber: #ff4b1f; }
.map-note.show { display: block; animation: cardin .45s var(--ease); }
.map-note h3 { font-size: 30px; line-height: .95; margin: 10px 36px 10px 0; }
.map-note p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: #2c2c2a; }
.map-note .fm-x { background: #f1f1ee; color: #0e0e0e; border: 0; }
.fm-hikes button { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; width: 100%; padding: 8px 0; border: 0; border-top: 1px solid var(--hair); background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.fm-hikes button:hover b { color: var(--blaze); }
.fm-hikes img { border-radius: 8px; }

.stripbar { grid-column: 1 / -1; background: #fff; border-top: 1px solid var(--hair); min-width: 0; }
.filters-row { display: flex; gap: 6px; align-items: center; padding: 10px var(--pad) 8px; overflow-x: auto; scrollbar-width: none; }
.filters-row::-webkit-scrollbar { display: none; }
.filters-row .chip { flex: none; height: 30px; padding: 0 13px; font-size: 13px; }
.filters-row .sep { flex: none; width: 1px; height: 18px; background: var(--hair-2); margin: 0 6px; }
.strip-count { flex: none; margin-right: 12px; }
.strip-arrows { margin-left: auto; display: flex; gap: 6px; flex: none; padding-left: 12px; }
.strip-arrows button { width: 34px; height: 30px; border-radius: 999px; border: 1px solid var(--hair-2); background: #fff; cursor: pointer; font-size: 15px; }
.strip-arrows button:hover { background: var(--linen); color: #fff; }
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad) 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.tcard { position: relative; flex: none; width: 176px; height: 108px; border-radius: 10px; overflow: hidden; background: #222; color: #fff; scroll-snap-align: start; isolation: isolate;
  box-shadow: inset 0 -4px 0 var(--c); transition: transform .35s var(--ease), box-shadow .3s; }
.tcard[hidden] { display: none; }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .82)); border-bottom: 4px solid var(--c); }
.tcard:hover { transform: translateY(-4px); } .tcard:hover img { transform: scale(1.08); }
.tcard.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c); transform: translateY(-4px); }
.tcard-in { position: absolute; left: 10px; right: 10px; bottom: 11px; display: block; }
.tcard-in b { display: block; font: 600 13.5px/1.15 var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard-in em { display: block; font: 500 10px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; opacity: .9; font-style: normal; }
.tcard-in svg { position: absolute; right: 0; bottom: 0; width: 54px; height: 18px; overflow: visible; }
.tcard-in path { fill: none; stroke: var(--c); stroke-width: 1.8; vector-effect: non-scaling-stroke; }

/* ---------- marquee of names */
.marquee { overflow: hidden; border-bottom: 1px solid var(--hair); padding: 26px 0 22px; background: #fff; }
.marquee > div { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 70s linear infinite; }
.marquee span { font: 600 clamp(40px, 5vw, 78px)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px #0e0e0e; letter-spacing: -.005em; }
.marquee span:nth-of-type(3n) { color: #0e0e0e; }
.marquee .blaze { flex: none; width: 34px; height: 17px; margin: 0; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee > div, .wall-col > div { animation: none !important; } }

/* ---------- intro */
.sec { padding: clamp(72px, 9vw, 140px) 0; }
.sec-head { align-items: end; } .sec-head .lede { margin: 0; max-width: 46ch; }
.sec-head .label { margin-bottom: 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); align-items: end; }
.intro-grid .mega { margin: 0; }
.bignums { display: flex; gap: clamp(20px, 3vw, 48px); margin-top: 36px; border-top: 2px solid var(--linen); padding-top: 22px; }
.bignums b { display: block; font: 600 clamp(40px, 4.4vw, 72px)/.9 var(--f-display); }
.bignums .label { display: block; margin-top: 10px; }

/* ---------- accordion of collections */
.accordion-sec { padding-top: 0; }
.accordion { display: flex; gap: 6px; height: min(74vh, 720px); padding: 0 var(--pad); }
.acc { position: relative; flex: 1; min-width: 0; border-radius: 14px; overflow: hidden; isolation: isolate; transition: flex .7s var(--ease); background: #222; }
.acc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.acc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .8)); }
.acc-n { position: absolute; left: 18px; top: 16px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; }
.acc-cap { position: absolute; left: 18px; right: 18px; bottom: 20px; }
.acc h3 { font-size: clamp(26px, 2.6vw, 44px); line-height: .92; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: font-size .5s var(--ease); }
.acc p, .acc .acc-cap .label { display: none; }
.accordion:hover .acc { flex: .8; }
.accordion .acc:hover, .accordion:not(:hover) .acc:first-child { flex: 4.2; }
.acc:hover img { transform: scale(1.05); }
.accordion .acc:hover h3, .accordion:not(:hover) .acc:first-child h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: clamp(40px, 4.6vw, 80px); }
.accordion .acc:hover p, .accordion:not(:hover) .acc:first-child p { display: block; font-size: 17px; line-height: 1.45; margin: 12px 0 14px; max-width: 34ch; color: #fff; }
.accordion .acc:hover .acc-cap .label, .accordion:not(:hover) .acc:first-child .acc-cap .label { display: block; color: #fff; }

/* ---------- the photo wall */
.wall-sec { position: relative; height: min(120vh, 1100px); overflow: hidden; background: #0c0c0c; isolation: isolate; }
.wall { position: absolute; inset: -12% -6%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; transform: rotate(-5deg); z-index: -2; }
.wall-col > div { display: flex; flex-direction: column; gap: 12px; animation: rise 80s linear infinite; }
.wall-col.c1 > div, .wall-col.c3 > div { animation-direction: reverse; animation-duration: 95s; }
.wall-col.c2 > div { animation-duration: 110s; }
@keyframes rise { to { transform: translateY(calc(-50% - 6px)); } }
.wall a { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.wall img { width: 100%; height: auto; display: block; }
.wall span { position: absolute; left: 12px; bottom: 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.wall-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 30% 55%, rgba(8, 8, 8, .86) 0%, rgba(8, 8, 8, .55) 55%, rgba(8, 8, 8, .15) 100%); }
.wall-over { position: absolute; left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); top: 50%; transform: translateY(-50%); max-width: 760px; }
.wall-over .label { color: #fff; } .wall-over .lede { margin: 26px 0 30px; max-width: 44ch; color: #f1f1ee; }

/* ---------- safety, history, tiles */
.safe-sec { background: var(--onyx); }
.safe-grid .lede { margin: 22px 0 30px; }
.safe-list { border-top: 2px solid var(--linen); }
.safe-list li { font-size: 18px; padding: 22px 0; }
.safe-list li::before { color: var(--blaze); font-weight: 600; }
.her-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.her-card { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 20px; background: #222; }
.her-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.her-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .85)); }
.her-card:hover img { transform: scale(1.06); }
.her-card h3 { font-size: clamp(24px, 2.2vw, 36px); line-height: .95; margin: 8px 0 0; text-wrap: balance; }
.her-card .label { color: #fff; }
.tiles { gap: 12px; } .tile, .card, .col { border-radius: 14px; }
.tile .cap h3 { font-size: clamp(36px, 3.8vw, 64px); line-height: .9; }
.card .cap h3 { font-size: clamp(24px, 2vw, 32px); line-height: .95; }
.season i { background: var(--linen); border-radius: 4px 4px 0 0; } .season div.off i { background: var(--fossil); }
.rail { scrollbar-color: var(--fossil) transparent; }

/* ---------- footer: an ink block */
.foot { background: #0c0c0c; border: 0; padding: 72px 0 80px; }
.foot .big { font-size: clamp(60px, 10vw, 170px); line-height: .8; }
.foot .note { color: #c4c4c0; } .foot .note b { color: #fff; } .foot .note a { color: #fff; border-color: rgba(255, 255, 255, .4); }

/* ---------- list pages + filters */
.filters { background: rgba(255, 255, 255, .94); top: 72px; }
.search { color: var(--linen); border-color: var(--hair-2); }
.row h3 { font-weight: 600; } .row:hover h3 { color: var(--blaze); } .row img { border-radius: 8px; }
.year .yr { font-size: clamp(80px, 11vw, 170px); }

/* ---------- hike page */
.hk-hero { height: 100svh; }
.hk-hero > .living { z-index: -2; }
.hk-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .7) 100%); }
.hk-hero .label, .hero .label, .tagline { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hk-ridge .fill { fill: #fff; } .hk-ridge .line { stroke: var(--blaze); stroke-width: 3; }
.hk-hero .hk-ridge-cap, .hk-hero .hk-ridge-cap span { color: #6a6a66; }
.facts-bar { border-top: 2px solid rgba(255, 255, 255, .7); }
.facts-bar .v { font-weight: 600; font-size: clamp(28px, 2.9vw, 46px); text-transform: uppercase; }
.reel-cap { position: absolute; z-index: 2; right: var(--pad); top: 100px; margin: 0; background: rgba(12, 12, 12, .55); color: #fff !important; padding: 9px 14px; border-radius: 999px; backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s; }
.reel-cap.show { opacity: 1; }
.hk-tabs { background: rgba(255, 255, 255, .94); top: 72px; }
.hk-tabs a { color: var(--ash); font-weight: 500; } .hk-tabs a:hover, .hk-tabs a.on { color: var(--linen); } .hk-tabs a.on { box-shadow: inset 0 -3px 0 var(--blaze); }
.verdict { font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; }
.pips i { background: var(--fossil); } .pips i.on { background: var(--linen); }
.along li em { color: var(--ash); }
#terrain { background: #0c0c0c; padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); box-shadow: 0 0 0 100vmax #0c0c0c; clip-path: inset(0 -100vmax); margin-top: 20px; }
.terrain { border: 0; border-radius: 18px; }
.s1 { background: #fff; } .s2 { background: #cfcfca; } .s3 { background: #a3a39e; } .s4 { background: #777772; } .s5 { background: #55554f; } .s6 { background: #3a3a36; }
.plan { border-top: 2px solid var(--linen); }
.plan-cell > b.mono { color: var(--blaze); }
.plan-safe { background: var(--amber-dim); }
.km { color: var(--blaze); font-weight: 500; }
.gtk { border: 0; background: var(--onyx); border-radius: 16px; }
.hl-n { color: var(--blaze); font-weight: 600; }
.hl-ph { border-radius: 16px; position: relative; aspect-ratio: 3/2; } .hl-ph .living { border-radius: 16px; }
.hl-ph img { height: 100%; }
.her-tx p:first-child::first-letter { font-weight: 600; color: var(--blaze); }
.her-cards { border-top: 2px solid var(--linen); } .her-cards a:hover b { color: var(--blaze); }
.story { border-top: 0; } .step img { border-radius: 16px; }
.story .steps { background: #fff; }
.gallery button { border-radius: 12px; }
.topo { border: 0; border-radius: 18px; }
.pn { border-top: 2px solid var(--linen); } .pn a:hover h3 { color: var(--blaze); }
.callout { border-left-color: var(--blaze); background: var(--amber-dim); border-radius: 14px; }
.numbers { border-top: 2px solid var(--linen); } .numbers b { font-weight: 600; font-size: 64px; }
.doc-nav { border-top: 2px solid var(--linen); } .doc-nav a { color: var(--linen); font-weight: 500; } .doc-nav a:hover { color: var(--blaze); }
.doc-sec ul li::before { background: var(--blaze); height: 3px; }
.her-entry .tale { border-left: 3px solid var(--blaze); }
.her-entry:target h3 { color: var(--blaze); }
.src a { color: var(--ash); }

@media (max-width: 980px) {
  .intro-grid, .her-rail { grid-template-columns: 1fr; }
  .her-rail { grid-template-columns: 1fr 1fr; }
  .accordion { flex-direction: column; height: auto; }
  .acc, .accordion .acc:hover, .accordion:not(:hover) .acc:first-child, .accordion:hover .acc { flex: none; height: 190px; }
  .acc h3, .accordion .acc:hover h3, .accordion:not(:hover) .acc:first-child h3 { writing-mode: horizontal-tb; transform: none; font-size: 34px; white-space: normal; }
  .acc p { display: none !important; } .acc .acc-cap .label { display: block; color: #fff; margin-top: 8px; }
}
@media (max-width: 900px) {
  .front { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; }
  .film { height: 78svh; min-height: 520px; } .mapside { height: 62svh; order: 3; } .stripbar { order: 2; }
  .map-tools { top: 12px; flex-direction: column; } .at-search { width: 100%; } .at-layers { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .page-front .maplibregl-ctrl-top-left { display: none; }
  .film-name { font-size: clamp(44px, 13vw, 72px); } .film-facts { gap: 18px; } .film-spark { display: none; }
  .wall { grid-template-columns: repeat(2, 1fr); } .wall-col.c2, .wall-col.c3 { display: none; }
  .wall-over { right: var(--pad); }
  .filters, .hk-tabs { top: 60px; }
  .tcard { width: 150px; height: 96px; }
}
@media (max-width: 700px) {
  .nav { height: 60px; } .brand b { font-size: 23px; }
  .her-rail { grid-template-columns: 1fr; } .bignums { flex-wrap: wrap; }
  .hk-hero { height: auto; } .reel-cap { display: none; }
  .mega { font-size: clamp(44px, 13vw, 72px); }
}

.hl-ph .living { z-index: 1; background: none; } .hl-ph .living:not(.is-live) { display: none; }

.nav:not(.solid) { border-bottom-color: transparent; }
.page-front .maplibregl-ctrl-bottom-right { bottom: 0; } .map-hint { bottom: 40px; }

.nav:not(.solid) { border-bottom: 0; box-shadow: none; }

@media (max-width: 900px) { .film-dots { display: none; } }

/* =====================================================================================================
   v4: wide layout (2026-11-30). The page uses the screen: the column grows to 1840 px and long text
   flows in two columns instead of one narrow one. Front page order: what the site is, seven kinds of
   day, then the map. Safety is a footer link.
   ===================================================================================================== */
:root { --max: 1840px; }
.lede { max-width: 74ch; }

/* ---------- front page top: what this site is */
.top-sec { padding: calc(72px + clamp(28px, 3.4vw, 56px)) 0 clamp(26px, 3vw, 44px); }
.top-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 2.4vw, 40px) clamp(28px, 5vw, 96px); align-items: end; }
.top-grid .mega { font-size: clamp(48px, 6.2vw, 124px); }
.top-grid .lede { margin: 0 0 .8em; max-width: none; font-size: clamp(17px, 1.25vw, 21px); }
.top-grid .lede:last-child { margin-bottom: 0; }
.top-grid .bignums { grid-column: 1 / -1; margin-top: 0; justify-content: space-between; padding-top: 18px; }
.top-grid .bignums > div { display: flex; align-items: baseline; gap: 12px; }
.top-grid .bignums b { font-size: clamp(30px, 3vw, 54px); }
.top-grid .bignums .label { margin: 0; }

.accordion-sec { padding: 0 0 clamp(22px, 2.4vw, 36px); }
.accordion-sec .sec-head { margin-bottom: 16px; }
.accordion-sec .mega.sm { font-size: clamp(28px, 2.6vw, 46px); margin-top: 8px; }
.accordion { height: clamp(300px, 42vh, 460px); }
.accordion .acc:hover h3, .accordion:not(:hover) .acc:first-child h3 { font-size: clamp(34px, 3.4vw, 60px); }
.accordion .acc:hover p, .accordion:not(:hover) .acc:first-child p { font-size: 16px; margin: 8px 0 10px; max-width: 44ch; }

/* the map block sits below the menu bar now */
.front { height: calc(100svh - 72px); min-height: 640px; scroll-margin-top: 72px; }
.film-top { top: 26px; }
.film-title { font-size: clamp(24px, 2.1vw, 36px); }
.map-tools { top: 16px; }
.page-front .maplibregl-ctrl-top-left { top: 66px; }

/* ---------- footer links */
.foot .wrap { align-items: start; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { color: #fff; font: 500 15px/1.3 var(--f-body); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.foot-links a:hover { border-color: var(--blaze); }
.foot-cols { max-width: 900px; }

/* ---------- reading pages use the width */
.page-head .lede { max-width: 96ch; }
@media (min-width: 981px) { .doc { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); } }
.doc-body { columns: 2 400px; column-gap: clamp(32px, 4vw, 72px); }
.doc-body > * { break-inside: avoid; }
.doc-sec p, .doc-sec li, .callout, .src { max-width: none; }
.numbers { max-width: none; }
.area-notes { columns: 2 440px; column-gap: clamp(32px, 4vw, 72px); }
.area-notes p { max-width: none; break-inside: avoid; }
@media (min-width: 981px) { .her-entry { grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); } }
.her-entry p { max-width: none; }

/* ---------- trail page */
@media (min-width: 981px) { .intro { grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); } }
.verdict { max-width: 70ch; }
.overview { max-width: 86ch; }
.for-whom { max-width: 86ch; }
.tagline { max-width: 60ch; }
@media (min-width: 981px) { .route { grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); } }
.route-tx { columns: 2 380px; column-gap: clamp(32px, 4vw, 64px); }
.route-tx p { max-width: none; break-inside: avoid; }
@media (min-width: 981px) { .her-body { grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); } }
.her-tx { columns: 2 380px; column-gap: clamp(32px, 4vw, 64px); }
.her-tx p { max-width: none; break-inside: avoid; }
.hl-tx p { max-width: 56ch; }
.plan-safe { background: none; }

@media (max-width: 980px) {
  .top-grid { grid-template-columns: 1fr; }
  .top-grid .bignums { flex-wrap: wrap; justify-content: flex-start; gap: 14px 28px; }
  .accordion { height: auto; }
}
@media (max-width: 900px) {
  .front { height: auto; min-height: 0; }
  .film-top { top: 18px; } .map-tools { top: 12px; }
}
@media (max-width: 700px) { .top-sec { padding-top: calc(60px + 24px); } }
.top-grid .mega { font-size: clamp(44px, 4.7vw, 92px); }
.top-grid .mega { max-width: 15ch; }
.top-sec { padding-top: calc(72px + clamp(22px, 2.4vw, 40px)); }
.acc h3 { font-size: clamp(18px, 1.55vw, 27px); }
.foot .note.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 16px; color: #fff; }

/* ---------- Arabic place names */
.hk-ar, .film-ar, .ar { font-family: 'Noto Kufi Arabic', 'Geeza Pro', 'Segoe UI', Tahoma, sans-serif; font-weight: 600; direction: rtl; unicode-bidi: isolate; text-align: left; }
.hk-ar { font-size: clamp(26px, 3.2vw, 54px); line-height: 1.3; margin: 10px 0 0; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.hk-local { margin: 12px 0 0; font: 500 17px/1.4 var(--f-body); color: #fff; } .hk-local .label { color: #fff; margin-right: 8px; } .hk-local em { font-style: normal; opacity: .85; }
.film-ar { font-size: clamp(20px, 1.9vw, 32px); line-height: 1.3; margin: 8px 0 0; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.film-info.in > *:nth-child(6) { transition-delay: .3s; }
.row .ar, .card .ar { font-size: 14px; color: var(--ash); margin-left: 10px; font-weight: 500; }
.card .ar { display: block; margin: 4px 0 0; color: #fff; font-size: 15px; }

/* ---------- v6: names ribbon under the menu, regions under the map */
.marquee.top { margin-top: 72px; padding: 12px 0 10px; }
.marquee.top span { font-size: clamp(22px, 2.1vw, 36px); -webkit-text-stroke: 1px #0e0e0e; }
.marquee.top > div { gap: 22px; animation-duration: 90s; }
.marquee.top .blaze { width: 20px; height: 10px; }
.top-sec { padding-top: clamp(22px, 2.4vw, 40px); }
.tiles-sec { padding: clamp(40px, 5vw, 80px) 0; }
@media (max-width: 700px) { .marquee.top { margin-top: 60px; } .top-sec { padding-top: 22px; } }

/* ---------- logo mark */
.brand { align-items: center; gap: 8px; }
.brand-mark { width: 38px; height: 38px; flex: none; margin-right: 2px; color: var(--linen); }
.brand span { align-self: flex-end; margin-bottom: 9px; }
.foot .big { display: flex; align-items: center; gap: .12em; } .foot .big .brand-mark { width: .82em; height: .82em; color: #fff; margin: 0; }
@media (max-width: 700px) { .brand-mark { width: 32px; height: 32px; } .brand span { margin-bottom: 7px; } }
