/* Homepage uplift (12 Nov 2026 candidate). Loaded on the homepage only (scripts/design/apply-chrome.mjs).
   Concept A (.hx): Living Earth hero. Concept B (.hb): question-led civic layout. Shared pieces use .hx-*. */

/* ---------- shared ---------- */
.hx-section { padding-block: var(--ds-section); }
.hx-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.hx-head h2 { font-size: var(--ds-t-2xl); line-height: 1.12; margin: 0.35rem 0 0.75rem; }
.hx-head p { color: var(--ds-muted); font-size: var(--ds-t-m); line-height: 1.6; margin: 0; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: var(--ds-t-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ds-teal-ink); }
.hx-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: 0 0 auto; }
.hx-dot.is-live { background: var(--ds-teal); box-shadow: 0 0 0 3px rgba(18, 127, 131, 0.18); }
.hx-dot.is-soon { background: var(--ds-amber); box-shadow: 0 0 0 3px rgba(245, 163, 43, 0.2); }
.hx-dot.is-dev { background: var(--ds-stone); box-shadow: 0 0 0 3px rgba(181, 173, 162, 0.25); }
.hx-fine { font-size: var(--ds-t-xs); color: var(--ds-muted); line-height: 1.55; max-width: 52rem; }
.hx-kicker { margin: 0 0 1rem; font-size: var(--ds-t-s); font-weight: 600; letter-spacing: 0.02em; }

/* the search (both concepts) */
.hx-search { margin-top: 1.75rem; max-width: 40rem; }
.hx-search label { display: block; font-weight: 700; font-size: var(--ds-t-s); margin-bottom: 0.5rem; }
.hx-search-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hx-search-field { flex: 1 1 16rem; display: flex; align-items: center; gap: 0.6rem; min-height: 3.4rem; padding: 0 1rem;
  background: #fff; border: 1.5px solid var(--ds-line); border-radius: 999px; box-shadow: var(--ds-shadow); }
.hx-search-field:focus-within { border-color: var(--ds-storm); outline: 3px solid rgba(80, 184, 220, 0.45); outline-offset: 1px; }
.hx-search-field svg { width: 1.25rem; height: 1.25rem; color: var(--ds-muted); flex: 0 0 auto; }
.hx-search-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: var(--ds-t-m); color: var(--ds-navy); padding: 0.75rem 0; }
.hx-search-field input:focus { outline: none; }
.hx-go { min-height: 3.4rem; padding-inline: 1.5rem; }
.hx-help { margin: 0.6rem 0 0; font-size: var(--ds-t-xs); line-height: 1.5; color: var(--ds-muted); }
.hx-help.is-error { color: #A3361B; font-weight: 600; }
@media (max-width: 30rem) { .hx-go { flex: 1 1 100%; justify-content: center; } }

/* what you can do (cards) */
.hx-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.hx-card { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.9rem; row-gap: 0.3rem; height: 100%; padding: 1.25rem 1.35rem;
  background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-r-m); color: var(--ds-navy); text-decoration: none;
  box-shadow: var(--ds-shadow); transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease; }
.hx-card:hover { box-shadow: var(--ds-shadow-lift); border-color: #c4d3dd; transform: translateY(-1px); }
.hx-card:focus-visible { outline: 3px solid var(--ds-sky); outline-offset: 2px; }
.hx-card svg { grid-row: span 2; width: 2.6rem; height: 2.6rem; padding: 0.5rem; border-radius: 12px; background: #E6F3F7; color: var(--ds-storm); }
.hx-card b { font-size: var(--ds-t-m); line-height: 1.3; }
.hx-card span { font-size: var(--ds-t-s); line-height: 1.55; color: var(--ds-muted); }

.hx-next { margin-top: 1.5rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  padding: 1.25rem; border: 1px dashed #c9d5de; border-radius: var(--ds-r-m); background: rgba(255, 255, 255, 0.6); }
.hx-next h3 { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.5rem; margin: 0; font-family: var(--ds-sans); font-size: var(--ds-t-s);
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8A4B00; }
.hx-next-item { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.25rem 0.25rem; color: var(--ds-navy); text-decoration: none; }
.hx-next-item b { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hx-next-item span:not(.ds-stage):not(.hx-stage-dev) { font-size: var(--ds-t-s); color: var(--ds-muted); line-height: 1.5; }
.hx-next-item:hover b { text-decoration: underline; }
.hx-next-item .ds-stage, .hx-stage-dev { display: inline-block; font-size: var(--ds-t-xs); font-weight: 600; border-radius: 999px; padding: 0.1rem 0.55rem; }
.hx-next-item .ds-stage { color: #8A4B00; background: #FFF1DC; }
.hx-stage-dev { color: #4A4239; background: #EEEAE4; }

/* audiences */
.hx-routes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.hx-route { padding: 1.5rem; background: #fff; border-radius: var(--ds-r-l); border: 1px solid var(--ds-line); box-shadow: var(--ds-shadow); }
.hx-route > svg { width: 2.4rem; height: 2.4rem; color: var(--ds-teal); }
.hx-route h3 { font-family: var(--ds-serif); font-size: var(--ds-t-l); line-height: 1.25; margin: 0.6rem 0 0.5rem; }
.hx-route p { margin: 0; color: var(--ds-muted); line-height: 1.6; }
.hx-route .hx-route-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }
.hx-route-links a { font-weight: 600; color: var(--ds-storm); }

/* closing band */
.hx-close { background: var(--ds-navy); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.hx-close-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.hx-close h2 { color: #fff; font-size: var(--ds-t-2xl); margin: 0 0 0.6rem; }
.hx-close p { margin: 0; max-width: 42rem; color: #D5E3EC; line-height: 1.6; }
.hx-close-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hx-btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); background: transparent; }
.hx-btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---------- Concept A: Living Earth hero ---------- */
.hx-hero { position: relative; isolation: isolate; color: #fff; min-height: min(46rem, 92vh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #061e2e; }
.hx-hero-img { position: absolute; inset: 0; z-index: -2; }
.hx-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hx-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 30, 46, 0.94) 0%, rgba(6, 30, 46, 0.86) 34%, rgba(6, 30, 46, 0.45) 62%, rgba(6, 30, 46, 0.12) 100%),
              linear-gradient(0deg, rgba(6, 30, 46, 0.55) 0%, rgba(6, 30, 46, 0) 30%); }
.hx-hero-inner { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(4rem, 8vw, 6rem); }
.hx-hero .hx-kicker { color: var(--ds-pale); }
.hx-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.05; max-width: 18ch; margin: 0; text-wrap: balance; }
.hx-lede { margin: 1.25rem 0 0; max-width: 36rem; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: #E3EEF4; }
.hx-hero .hx-search label { color: #fff; }
.hx-hero .hx-help { color: #B9CDD9; max-width: 38rem; }
.hx-hero .hx-help a { color: #fff; }
.hx-hero .hx-help.is-error { color: #FFD2C2; }
.hx-hero .hx-go { background: rgba(255,255,255,0.92); color: var(--ds-navy); }   /* 19 Nov 2026: the area lookup is secondary to the three paths */
.hx-hero .hx-go:hover { background: #fff; color: var(--ds-navy); }
.hx-alt { margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; font-weight: 600; }
.hx-alt a { color: #fff; text-underline-offset: 3px; }
.hx-alt span { color: rgba(255, 255, 255, 0.5); }
.hx-credit { position: absolute; right: var(--ds-gutter); bottom: 0.75rem; margin: 0; max-width: min(34rem, 60vw); text-align: right;
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
@media (max-width: 47.99rem) {
  .hx-hero { min-height: 0; }
  .hx-hero::before { background: linear-gradient(180deg, rgba(6, 30, 46, 0.15) 0%, rgba(6, 30, 46, 0.55) 12rem, rgba(6, 30, 46, 0.93) 20rem, rgba(6, 30, 46, 0.97) 100%); }
  .hx-hero-inner { padding-top: 11rem; }
  .hx-hero-img img { object-position: 45% 0%; height: 26rem; }
  .hx-hero-img img { object-position: 30% 50%; }
  main#main .hx-hero-inner { padding-bottom: 4.5rem; }
  .hx-credit { left: var(--ds-gutter); text-align: left; }
}

.hx-earth { background: #0b3147; color: #fff; }
.hx-earth .hx-head h2 { color: #fff; }
.hx-earth .hx-head p { color: #D5E3EC; }
.hx-earth .hx-eyebrow { color: var(--ds-pale); }
.hx-earth .hx-fine { color: #B9CDD9; margin: 1rem 0 1.5rem; }
.hx-shots { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.hx-shot { margin: 0; position: relative; border-radius: var(--ds-r-m); overflow: hidden; background: #123d55; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.hx-shot-wide { grid-row: span 2; }
.hx-shot img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1600 / 839; }
.hx-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem 0.7rem; font-size: var(--ds-t-xs); font-weight: 600;
  background: linear-gradient(0deg, rgba(6, 30, 46, 0.85), rgba(6, 30, 46, 0)); color: #fff; }
@media (max-width: 47.99rem) { .hx-shots { grid-template-columns: 1fr; } .hx-shot-wide { grid-row: auto; } }

/* ---------- Concept B: civic, question-led ---------- */
.hb-hero { background: linear-gradient(180deg, #fff 0%, var(--ds-ground) 100%); border-bottom: 1px solid var(--ds-line); }
.hb-hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem); }
.hb-kicker { color: var(--ds-teal-ink); }
.hb-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.06; margin: 0; text-wrap: balance; }
.hb-lede { margin: 1.1rem 0 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; color: #2E4757; max-width: 34rem; }
.hb-facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hb-facts li { font-weight: 600; color: var(--ds-teal-ink); background: #E3F2F1; border-radius: 999px; padding: 0.25rem 0.8rem; }
.hb-hero-figure { margin: 0; position: relative; }
.hb-hero-figure > picture img { display: block; width: 100%; height: auto; border-radius: var(--ds-r-l); box-shadow: var(--ds-shadow-lift); aspect-ratio: 5 / 4; object-fit: cover; object-position: 55% 50%; }
.hb-hero-figure figcaption { margin-top: 0.75rem; font-size: var(--ds-t-xs); color: var(--ds-muted); }
.hb-reading { position: absolute; left: -1.5rem; bottom: 3.5rem; width: min(17rem, 62%); padding: 1rem 1.1rem; background: #fff;
  border-radius: var(--ds-r-m); box-shadow: var(--ds-shadow-lift); border: 1px solid var(--ds-line); }
.hb-reading-h { margin: 0 0 0.5rem; font-weight: 700; font-size: var(--ds-t-s); }
.hb-reading dl { margin: 0; display: grid; gap: 0.35rem; }
.hb-reading dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--ds-t-xs); border-bottom: 1px solid var(--ds-cloud); padding-bottom: 0.3rem; }
.hb-reading dt { color: var(--ds-muted); }
.hb-reading dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.hb-reading-src { margin: 0.55rem 0 0; font-size: 0.72rem; line-height: 1.45; color: var(--ds-muted); }
@media (max-width: 55.99rem) {
  .hb-hero-grid { grid-template-columns: 1fr; }
  .hb-reading { position: static; width: auto; margin-top: -2rem; margin-inline: 1rem; }
}

.hb-white { background: #fff; }
.hb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); counter-reset: none; }
.hb-steps li { position: relative; padding: 1.5rem 1.4rem 1.4rem; border-radius: var(--ds-r-l); background: var(--ds-ground); border: 1px solid var(--ds-line); }
.hb-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ds-navy); color: #fff; font-weight: 700; }
.hb-steps h3 { font-family: var(--ds-serif); font-size: var(--ds-t-l); line-height: 1.25; margin: 0.8rem 0 0.5rem; }
.hb-steps p { margin: 0 0 0.9rem; color: var(--ds-muted); line-height: 1.6; }
.hb-steps a { font-weight: 600; color: var(--ds-storm); }

.hb-earth { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.hb-earth h2 { font-size: var(--ds-t-2xl); line-height: 1.12; margin: 0.35rem 0 0.75rem; }
.hb-earth p { color: var(--ds-muted); line-height: 1.6; }
.hb-earth-shots { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.hb-earth-shots figure { margin: 0; }
.hb-earth-shots img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ds-r-m); box-shadow: var(--ds-shadow); }
.hb-earth-shots figcaption { margin-top: 0.4rem; font-size: var(--ds-t-xs); font-weight: 600; color: var(--ds-muted); }
@media (max-width: 55.99rem) { .hb-earth { grid-template-columns: 1fr; } }

.hb-status { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.hb-col { padding: 1.4rem 1.5rem; border-radius: var(--ds-r-l); border: 1px solid var(--ds-line); background: var(--ds-ground); }
.hb-col h3 { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.6rem; font-family: var(--ds-sans); font-size: var(--ds-t-s); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; }
.hb-col h3 + ul + h3 { margin-top: 1.4rem; }
.hb-col ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; line-height: 1.55; }
.hb-col a { color: var(--ds-storm); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .hx-card { transition: none; } .hx-card:hover { transform: none; } }

/* lists and paragraphs in these layouts are layout containers, not prose: no reading-measure cap */
main#main :is(.hx-grid, .hb-steps, .hb-status ul, .hb-facts, .hx-alt, .hx-route-links, .hx-head p, .hx-close p) { max-width: none; }
main#main .hx-head p { max-width: 46rem; } main#main .hx-close p { max-width: 42rem; }
.hx-hero .hx-lede { max-width: 36rem; }

main#main .hx-lede { margin-top: 1.1rem; } main#main .hx-kicker { margin-bottom: 0.9rem; }
/* Balance pass (founder, 12 Nov 2026): buildings and infrastructure lead beside the environment; three connected areas */
.hx-reassure { margin: 0.9rem 0 0; font-weight: 600; color: #fff; }
.hx-pillars { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; max-width: 62rem; }
.hx-pillar { display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem; border-radius: var(--ds-r-l); background: rgba(6, 30, 46, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); }
.hx-pillar picture { flex: 0 0 auto; }
.hx-pillar img { display: block; width: 6.5rem; height: 4.6rem; object-fit: cover; border-radius: calc(var(--ds-r-l) - 0.25rem); }
.hx-pillar strong { display: block; color: #fff; font-size: 1rem; line-height: 1.25; }
.hx-pillar span { display: block; margin-top: 0.2rem; color: #C9DAE4; font-size: var(--ds-t-s); line-height: 1.4; }
main#main .hx-pillars { max-width: 62rem; }
.hx-hero h1 { max-width: 22ch; }
.hb-status { grid-template-columns: 1fr; }
.hb-areas { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.hb-area { padding: 1.4rem 1.5rem; border-radius: var(--ds-r-l); border: 1px solid var(--ds-line); background: #fff; }
.hb-area h3 { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 1.2rem; }
.hb-area h3 svg { width: 1.6rem; height: 1.6rem; flex: 0 0 auto; color: var(--ds-teal); }
.hb-area > p { margin: 0.5rem 0 0; }
.hb-area .hb-avail { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: var(--ds-t-s); font-weight: 700; }
.hb-area ul { margin: 0.5rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; line-height: 1.55; }
.hb-area a { color: var(--ds-storm); font-weight: 600; }
.hb-next { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.hb-next h3 + ul + h3 { margin-top: 0; }
/* desktop: the hero fits the first screen with the three areas at its foot */
@media (min-width: 48rem) {
  .hx-hero { min-height: 0; justify-content: flex-start; }
  main#main .hx-hero-inner { padding-block: clamp(2rem, 4vw, 3rem) 0; }
  .hx-hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.5rem); max-width: 24ch; }
  .hx-hero .hx-lede { max-width: 40rem; font-size: 1.12rem; }
  main#main .hx-hero .hx-help { font-size: 0.85rem; line-height: 1.45; max-width: 42rem; }
  main#main .hx-hero { padding-top: 0; }
  main#main .hx-hero h1 { max-width: 26ch; }
  .hx-hero .hx-alt { margin-top: 0.8rem; }
  .hx-pillars-wrap { padding-block: 1.5rem 3.2rem; }
  .hx-pillars { margin: 0; }
}
@media (max-width: 47.99rem) {
  .hx-hero { justify-content: flex-start; }
  .hx-hero::before { display: none; }
  .hx-hero-img { position: relative; inset: auto; z-index: 0; order: -4; }
  .hx-hero-img img { height: 12rem; object-position: 55% 50%; }
  main#main .hx-hero { padding-top: 0; }
  main#main .hx-hero .hx-credit { font-size: 0.72rem; line-height: 1.35; }
  .hx-hero .hx-credit { order: -3; position: static; max-width: none; margin: 0; padding: 0.35rem var(--ds-gutter) 0; text-align: left; font-size: 0.7rem; color: #9FB6C4; }
  .hx-pillars-wrap { order: -2; padding-top: 0.9rem; }
  .hx-pillars { margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .hx-pillar { flex-direction: column; align-items: stretch; gap: 0.4rem; padding: 0.35rem; background: rgba(255, 255, 255, 0.07); backdrop-filter: none; }
  .hx-pillar img { width: 100%; height: 3.6rem; }
  .hx-pillar strong { font-size: 0.8rem; padding: 0 0.15rem 0.2rem; }
  .hx-pillar span { display: none; }
  main#main .hx-hero-inner { padding-top: 1.3rem; padding-bottom: 3rem; }
}
main#main .hb-area h3 { font-size: 1.15rem; }
main#main .hb-steps h3 { max-width: none; }
.hb-steps li a + a { margin-left: 0.9rem; }
/* V2 refinements (founder, 12 Nov 2026, 21:40): the three areas are links to working pages; a shorter map on phones */
a.hx-pillar { text-decoration: none; color: inherit; transition: border-color 0.15s, background 0.15s; }
a.hx-pillar:hover, a.hx-pillar:focus-visible { border-color: rgba(255, 255, 255, 0.55); background: rgba(6, 30, 46, 0.9); }
a.hx-pillar:focus-visible { outline: 3px solid var(--ds-amber); outline-offset: 2px; }
.hx-pillar-go { display: inline-flex !important; align-items: center; gap: 0.3rem; margin-top: 0.35rem !important; color: var(--ds-amber) !important; font-weight: 600; font-size: 0.82rem !important; }
.hx-pillar-go svg { width: 0.9rem; height: 0.9rem; }
.hx-pillars > li { display: flex; }
.hx-pillars > li > a { flex: 1 1 auto; }
@media (max-width: 47.99rem) {
  .hx-hero-img img { height: 8.5rem; }
  .hx-pillars-wrap { padding-top: 0.6rem; }
  .hx-pillar img { height: 2.8rem; }
  .hx-pillar-go { display: none !important; }
  main#main .hx-hero-inner { padding-top: 1rem; }
  main#main .hx-hero .hx-kicker { margin-bottom: 0.5rem; }
}
@media (max-width: 47.99rem) {
  main#main .hx-hero .hx-kicker { font-size: 0.82rem; }
  main#main .hx-hero .hx-lede { font-size: 1rem; line-height: 1.5; margin-top: 0.7rem; }
  .hx-hero .hx-search { margin-top: 1rem; }
}

/* ---- Homepage Earth hero (release candidate, 13 Nov 2026): Blue Marble Earth on the right, navy text area on the left ---- */
main#main .he { position: relative; isolation: isolate; background: #061a33; color: #fff; min-height: min(44rem, 88vh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.he .he-earth { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.he .he-earth img { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 118%; width: auto; max-width: none; filter: brightness(0.86) saturate(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.he .he-earth canvas { position: absolute; left: 0; top: 0; -webkit-mask-image: linear-gradient(90deg, transparent 36%, #000 56%); mask-image: linear-gradient(90deg, transparent 36%, #000 56%); }
.he::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 26, 51, 0.97) 0%, rgba(6, 26, 51, 0.9) 30%, rgba(6, 26, 51, 0.35) 48%, rgba(6, 26, 51, 0) 60%); }
main#main .he .hx-hero-inner { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem); }
main#main .he h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 1.3rem + 3.2vw, 3.9rem); line-height: 1.05; margin: 0; text-wrap: balance; }
main#main .he .hx-lede { color: #d8e6ef; max-width: 31rem; margin-top: 1.3rem; font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); }
main#main .he .hx-search { margin-top: 2rem; max-width: 36rem; }
main#main .he .hx-search label { color: #fff; }
main#main .he .hx-help { color: #ffd2c2; margin: 0.4rem 0 0; min-height: 0; }
main#main .he .hx-help:empty { display: none; }
main#main .he .hx-go { background: rgba(255,255,255,0.92); color: var(--ds-navy); }
main#main .he .hx-go:hover { background: #fff; color: var(--ds-navy); }
.he .he-privacy { margin-top: 0.6rem; font-size: 0.85rem; color: #b9cdd9; max-width: 36rem; }
.he .he-privacy summary { cursor: pointer; color: #d8e6ef; }
.he .he-privacy p { margin: 0.4rem 0 0; line-height: 1.45; }
.he .he-privacy a { color: #fff; }
main#main .he .hx-reassure { color: #d8e6ef; margin-top: 0.9rem; font-size: 0.95rem; }
main#main .he .hx-reassure a { color: #fff; font-weight: 600; }
.he .he-meta { position: absolute; right: var(--ds-gutter); bottom: 0.7rem; left: 50%; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
main#main .he .he-credit { margin: 0; text-align: right; font-size: 0.74rem; line-height: 1.4; color: #b7cddb; max-width: 34rem; }
.he .he-motion { font: inherit; font-size: 0.8rem; color: #fff; background: rgba(6, 26, 51, 0.6); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 0.3rem 0.8rem; cursor: pointer; }
.he .he-motion:focus-visible { outline: 2px solid var(--ds-amber); outline-offset: 2px; }
@media (max-width: 63.99rem) { main#main .he h1 { max-width: 16ch; } }
@media (max-width: 47.99rem) {
  main#main .he { min-height: 0; justify-content: flex-start; }
  .he .he-earth { bottom: auto; height: 13rem; }
  .he .he-earth img { height: 100%; width: 100%; object-fit: cover; object-position: 58% 52%; right: auto; left: 0; top: 0; transform: none; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .he::before { display: none; }
  main#main .he .hx-hero-inner { padding-top: 11rem; padding-bottom: 1.6rem; }
  main#main .he h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 2.5rem); }
  .he .he-meta { position: static; align-items: flex-start; padding: 0 var(--ds-gutter) 1rem; }
  main#main .he .he-credit { text-align: left; font-size: 0.72rem; }
}

/* ---------- homepage marketing redesign (13 Nov 2026): the story below the Earth hero ---------- */
.hm-head { max-width: 44rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.hm-head h2 { font-size: var(--ds-t-2xl); line-height: 1.1; margin: 0.4rem 0 0.7rem; }
.hm-head p { font-size: var(--ds-t-m); line-height: 1.6; margin: 0; color: var(--ds-muted); }
.hm-head-light h2 { color: #fff; } .hm-head-light p { color: #D5E3EC; }
.hm-eyebrow { margin: 0; font-size: var(--ds-t-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ds-amber); }
.hm-eyebrow-dark { color: var(--ds-teal-ink); }
.hm-fine { font-size: var(--ds-t-xs); color: #B9CDD9; margin: 0.9rem 0 0; }
.hm-fine-dark { color: var(--ds-muted); }
main#main .hm-head p, main#main .hm-orgs p { max-width: 44rem; }

/* 1. every place has a weather story: continues the night-blue of the Earth hero */
.hm-story { background: linear-gradient(180deg, #04122b 0%, #092A40 100%); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hm-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.hm-tabs[hidden] { display: none; }
.hm-tabs button { font: inherit; font-weight: 600; font-size: var(--ds-t-s); color: #D5E3EC; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 0.55rem 1.1rem; cursor: pointer; min-height: 2.75rem; }
.hm-tabs button:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.hm-tabs button[aria-selected="true"] { background: var(--ds-amber); border-color: var(--ds-amber); color: var(--ds-navy); }
.hm-tabs button:focus-visible { outline: 3px solid var(--ds-sky); outline-offset: 2px; }
.hm-places:not(.is-tabs) .hm-panel + .hm-panel { margin-top: 2rem; }
.hm-panel h3 { font-family: var(--ds-serif); font-size: var(--ds-t-xl); color: #fff; margin: 0 0 1rem; }
.hm-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.hm-figs > div { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.35rem; padding: 1.25rem 1.25rem 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; }
.hm-figs > div::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 4px; border-radius: 0 4px 4px 0; background: var(--ds-sky); }
.hm-figs > .is-heat::before { background: var(--ds-amber); }
.hm-figs > .is-snow::before { background: #E8F4FA; }
.hm-figs dd { margin: 0; font-family: var(--ds-serif); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hm-figs dt { font-size: var(--ds-t-s); line-height: 1.4; color: #D5E3EC; }
.hm-src { margin: 0.9rem 0 0; font-size: var(--ds-t-xs); line-height: 1.5; color: #9FB8C8; max-width: 48rem; }
.hm-story-foot { margin-top: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hm-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; color: #B9CDD9; font-size: var(--ds-t-s); }
.hm-stats b { display: block; font-family: var(--ds-serif); font-size: var(--ds-t-xl); color: #fff; font-weight: 600; }

/* 2. Living Earth: a full-width map preview */
.hm-earth { background: #0b3147; color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hm-earth-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hm-earth-inner > .hm-fine { grid-column: 2; margin-top: -0.75rem; }
.hm-earth .hm-head { margin: 0; } .hm-earth .hm-head .ds-btn { margin-top: 1.5rem; }
.hm-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hm-shot { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #082436; }
.hm-shot-main { grid-column: 1 / -1; }
.hm-shot img { display: block; width: 100%; height: auto; }
.hm-shot figcaption { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: var(--ds-t-xs);
  background: rgba(4, 18, 43, 0.78); color: #fff; }

/* 3. weather and buildings */
.hm-build { background: var(--ds-ground); padding-block: clamp(3rem, 7vw, 5.5rem); }
.hm-conds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }
.hm-conds li { display: flex; flex-direction: column; gap: 0.2rem; }
.hm-conds picture { display: block; border-radius: 12px; overflow: hidden; margin-bottom: 0.5rem; aspect-ratio: 4 / 3; }
.hm-conds img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-conds b { font-size: var(--ds-t-s); color: var(--ds-navy); }
.hm-conds span { font-size: var(--ds-t-xs); line-height: 1.45; color: var(--ds-muted); }
.hm-tools { margin-top: clamp(1.75rem, 4vw, 2.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.hm-tools a { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.75rem; align-items: start; padding: 1rem 1.1rem; border-radius: 12px;
  background: var(--ds-navy); color: #fff; text-decoration: none; transition: background 0.15s ease; }
.hm-tools a:hover { background: var(--ds-storm); }
.hm-tools a:focus-visible { outline: 3px solid var(--ds-sky); outline-offset: 2px; }
.hm-tools svg { grid-row: span 2; width: 2.25rem; height: 2.25rem; color: var(--ds-amber); }
.hm-tools b { font-size: var(--ds-t-s); }
.hm-tools span { font-size: var(--ds-t-xs); line-height: 1.4; color: #C7D8E3; }

/* 4. Building Alerts: sun-gold band */
.hm-alerts { background: #FFF1D6; border-block: 1px solid #F3D9A6; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.hm-alerts-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: center; }
.hm-alerts-icon { width: 3.5rem; height: 3.5rem; padding: 0.75rem; border-radius: 50%; background: var(--ds-amber); color: var(--ds-navy); }
.hm-alerts h2 { font-size: var(--ds-t-xl); line-height: 1.2; margin: 0.35rem 0 0.5rem; }
.hm-alerts p { margin: 0; color: #4A3A1C; line-height: 1.55; max-width: 46rem; }
.hm-badge { display: inline-block; font-size: var(--ds-t-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #7A4A00; background: #FFE2A8; border-radius: 999px; padding: 0.15rem 0.65rem; }
.hm-btn-navy { background: var(--ds-navy); color: #fff; border-color: var(--ds-navy); white-space: nowrap; }
.hm-btn-navy:hover { background: var(--ds-storm); color: #fff; }

/* 5. organizations */
.hm-orgs { background: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hm-orgs-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hm-orgs-photo { border-radius: 18px; overflow: hidden; }
.hm-orgs-photo img { display: block; width: 100%; height: auto; }
.hm-orgs h2 { font-size: var(--ds-t-2xl); line-height: 1.12; margin: 0.4rem 0 0.75rem; }
.hm-orgs p { line-height: 1.6; color: var(--ds-muted); margin: 0 0 1rem; }
.hm-orgs-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hm-orgs-links a:not(.ds-btn) { font-weight: 600; color: var(--ds-storm); }
.hm-small { font-size: var(--ds-t-xs); }

/* 6. trust */
.hm-trust { background: var(--ds-ground); border-top: 1px solid var(--ds-line); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.hm-trust-h { font-size: var(--ds-t-xl); margin: 0 0 1.25rem; }
.hm-trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.hm-trust-list li { position: relative; padding-left: 2.6rem; line-height: 1.5; color: var(--ds-muted); font-size: var(--ds-t-s); }
.hm-trust-list b { display: block; color: var(--ds-navy); font-size: var(--ds-t-m); }
.hm-trust-list svg { position: absolute; left: 0; top: 0.1rem; width: 1.9rem; height: 1.9rem; color: var(--ds-teal); }
.hm-agencies { margin: 1.5rem 0 0; font-size: var(--ds-t-xs); color: var(--ds-muted); line-height: 1.55; max-width: 60rem; }

@media (max-width: 63.99rem) {
  .hm-earth-inner, .hm-orgs-inner { grid-template-columns: 1fr; }
  .hm-earth-inner > .hm-fine { grid-column: 1; margin-top: 0; }
  .hm-conds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-alerts-inner { grid-template-columns: auto minmax(0, 1fr); }
  .hm-alerts-inner > .ds-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 39.99rem) {
  .hm-figs { grid-template-columns: 1fr; gap: 0.6rem; }
  .hm-figs > div { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 1rem; padding: 0.9rem 1rem 0.9rem 1.2rem; }
  .hm-figs dd { min-width: 5.5rem; font-size: 2.2rem; }
  .hm-conds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-tools, .hm-trust-list { grid-template-columns: 1fr; }
  .hm-alerts-inner { grid-template-columns: 1fr; }
  .hm-alerts-icon { width: 3rem; height: 3rem; }
  .hm-stats { gap: 0.75rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hm-tools a { transition: none; } }
main#main :is(.hm-conds, .hm-trust-list, .hm-stats, .hm-figs, .hm-tools, .hm-tabs) { max-width: none; }
main#main .hm-figs dd { margin: 0; font-family: var(--ds-serif); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1; color: #fff; font-weight: 600; }
main#main .hm-figs dt { color: #D5E3EC; font-weight: 500; }
.hm-story-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: end; }
@media (max-width: 47.99rem) { .hm-story-foot { grid-template-columns: 1fr; } .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; } }
@media (max-width: 39.99rem) { main#main .hm-figs dd { min-width: 5.5rem; font-size: 2.2rem; } }
/* geographic balance (13 Nov 2026): six places side by side, north to south, none selected by default */
.hm-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
main#main .hm-places { max-width: none; }
.hm-place { padding: 1.1rem 1.15rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; }
.hm-place h3 { font-family: var(--ds-serif); font-size: var(--ds-t-l); color: #fff; margin: 0 0 0.75rem; }
.hm-place h3 span { display: block; font-family: var(--ds-sans); font-size: var(--ds-t-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9FB8C8; margin-top: 0.2rem; }
.hm-place .hm-figs { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.hm-place .hm-figs > div { background: transparent; border: 0; padding: 0.2rem 0 0.2rem 0.85rem; }
.hm-place .hm-figs > div::before { top: 0.25rem; bottom: 0.25rem; }
main#main .hm-place .hm-figs dd { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); }
main#main .hm-place .hm-figs dt { font-size: var(--ds-t-xs); line-height: 1.35; }
.hm-place .hm-src { margin-top: 0.75rem; }
.hm-src-all { margin-top: 1rem; }
@media (max-width: 63.99rem) { .hm-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 39.99rem) {
  .hm-places { grid-template-columns: 1fr; }
  .hm-place .hm-figs { grid-template-columns: 1fr 1fr; }
  .hm-place .hm-figs > div { flex-direction: column-reverse; align-items: flex-start; gap: 0.25rem; padding: 0.2rem 0 0.2rem 0.85rem; }
  main#main .hm-place .hm-figs dd { min-width: 0; font-size: 2rem; }
}

/* homepage place cards (14 Nov 2026): what the evidence can mean for buildings, and where to look next */
.hm-insight { margin: 0.8rem 0 0; padding: 0.7rem 0.85rem; border-left: 3px solid var(--ds-amber); background: rgba(255, 255, 255, 0.05); border-radius: 0 10px 10px 0;
  font-size: var(--ds-t-s); line-height: 1.55; color: #DCE8F0; max-width: 44rem; }
.hm-insight + .hm-insight { margin-top: 0.5rem; border-left-color: var(--ds-sky); }
.hm-place-go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem; font-weight: 600; font-size: var(--ds-t-s); color: #9ED8EC; text-underline-offset: 3px; }
.hm-place-go::after { content: "→"; }
.hm-place-go:hover { color: #fff; }
.hm-insight b { display: block; font-weight: 600; color: #fff; }
.hm-insight small { display: block; margin-top: 0.3rem; font-size: var(--ds-t-xs); color: #9FB8C8; line-height: 1.45; }

/* weather-story carousel (17 Nov 2026). Without home-story.js the six places stay a grid of cards, each with its image on
   top. With it, one place shows at a time. All slides share one grid cell, so the height never jumps (no layout shift). */
.hm-place-img { position: relative; margin: -1.1rem -1.15rem 1rem; border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: #04122b; }
.hm-place-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 3px solid var(--ds-amber);
  box-shadow: 0 0 0 2px rgba(4, 18, 43, 0.7), 0 0 0 9px rgba(245, 163, 43, 0.22); }
main#main .hm-credit { margin-top: 0.35rem; }

.hm-car { margin-top: 0.25rem; }
.hm-car-bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.hm-car-picks { position: relative; display: flex; flex-wrap: wrap; gap: 0.45rem; flex: 1 1 auto; min-width: 0; }
.hm-car button { font: inherit; font-weight: 600; font-size: var(--ds-t-s); color: #D5E3EC; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; min-height: 2.75rem; padding: 0.45rem 1rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.hm-car button:hover { background: rgba(255, 255, 255, 0.13); color: #fff; }
.hm-car button:focus-visible { outline: 3px solid var(--ds-sky); outline-offset: 2px; }
.hm-car .hm-car-pick[aria-current="true"] { background: var(--ds-amber); border-color: var(--ds-amber); color: var(--ds-navy); }
.hm-car .hm-car-prev, .hm-car .hm-car-next { width: 2.75rem; padding: 0; font-size: 1.5rem; line-height: 1; flex: none; }
.hm-car .hm-car-pause { flex: none; min-width: 4.75rem; }
.hm-car .hm-car-pause::before { content: "❚❚"; font-size: 0.7em; letter-spacing: -0.1em; margin-right: 0.45rem; }
.hm-car .hm-car-pause[aria-pressed="true"]::before { content: "▶"; letter-spacing: 0; }

.is-carousel .hm-places { display: grid; grid-template-columns: minmax(0, 1fr); }
.is-carousel .hm-place { --hm-pad: clamp(1rem, 2vw, 1.4rem); --hm-img: 52%; position: relative; grid-area: 1 / 1; padding: var(--hm-pad) var(--hm-pad) var(--hm-pad) calc(var(--hm-img) + 2 * var(--hm-pad));
  min-height: 26rem; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.is-carousel .hm-place.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s ease; }
.is-carousel .hm-place > .hm-place-img { position: absolute; left: var(--hm-pad); top: var(--hm-pad); bottom: var(--hm-pad); width: var(--hm-img); margin: 0; border-radius: 10px; aspect-ratio: auto; }
.is-carousel .hm-place h3 { font-size: var(--ds-t-xl); }
.is-carousel .hm-place.is-on .hm-place-img img { animation: hm-car-drift 9s ease-out both; }
.is-carousel.is-rotating .hm-place.is-on .hm-place-img img { animation-play-state: running; }
.is-carousel:not(.is-rotating) .hm-place .hm-place-img img { animation: none; }
@keyframes hm-car-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .is-carousel .hm-place, .is-carousel .hm-place.is-on, .hm-car button { transition: none; }
  .is-carousel .hm-place .hm-place-img img { animation: none; }
}
@media (max-width: 47.99rem) {
  .is-carousel .hm-place { padding: var(--hm-pad); min-height: 0; }
  .is-carousel .hm-place > .hm-place-img { position: relative; left: auto; top: auto; bottom: auto; width: auto; aspect-ratio: 16 / 10; margin: 0 0 1rem; }
  .hm-car-bar { flex-wrap: wrap; }
  .hm-car-picks { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
  .hm-car-picks::-webkit-scrollbar { display: none; }
  .hm-car-picks button { flex: none; }
  .hm-car .hm-car-pause { margin-right: auto; }
}
/* Homepage H2 (19 Nov 2026): the two flagship Almanacs side by side, real screenshots */
.hm-flag { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.hm-flag-card { display: grid; grid-template-rows: auto 1fr; border-radius: 1rem; overflow: hidden; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff; text-decoration: none; transition: transform .15s, border-color .15s; }
.hm-flag-card figure { margin: 0; aspect-ratio: 16 / 9.4; overflow: hidden; background: #050b18; }
.hm-flag-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-flag-space img { object-position: 50% 45%; }
.hm-flag-t { display: grid; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; }
.hm-flag-t strong { font: 600 1.25rem/1.2 var(--ds-serif); }
.hm-flag-t span { font-size: 0.95rem; line-height: 1.5; color: rgba(255,255,255,0.86); }
.hm-flag-t em { font-style: normal; font-weight: 600; color: #F5C463; }
.hm-flag-card:hover, .hm-flag-card:focus-visible { transform: translateY(-2px); border-color: rgba(245,196,99,0.7); }
@media (max-width: 55.99rem) { .hm-flag { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hm-flag-card { transition: none; } .hm-flag-card:hover { transform: none; } }
/* Homepage completion (19 Nov 2026): Check a building feature, Resilience framing, research band */
.hm-check { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: #fff; }
.hm-check-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hm-check-fig { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(9,42,64,.5); }
.hm-check-fig img { display: block; width: 100%; height: auto; }
.hm-check-fig figcaption { position: absolute; left: .7rem; bottom: .6rem; padding: .12rem .5rem; border-radius: 999px; background: rgba(5,22,36,.72); color: #f6f3ec; font: 600 .7rem/1.4 var(--ds-sans); }
.hm-check-copy h2 { margin: .3rem 0 .7rem; font: 600 clamp(1.7rem, 3.2vw, 2.4rem)/1.12 var(--ds-serif, Georgia, serif); color: var(--ds-navy); }
.hm-check-copy > p { color: #33434f; line-height: 1.6; }
.hm-check-cta { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.2rem; }
.hm-link { font-weight: 650; color: var(--ds-teal-ink, #0b5f6e); }
.hm-link::after { content: " \2192"; }
.hm-research { padding: clamp(2.5rem, 6vw, 4rem) 0; background: linear-gradient(160deg, #071f30 0%, #0d3550 100%); color: #f6f3ec; }
.hm-rfigs { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.hm-rfigs a { display: grid; gap: .35rem; height: 100%; padding: 1.1rem 1.2rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #f6f3ec; text-decoration: none; transition: background .15s; }
.hm-rfigs a:hover, .hm-rfigs a:focus-visible { background: rgba(255,255,255,.13); }
.hm-rfigs b { font: 700 2rem/1.05 var(--ds-sans); color: #f4c463; }
.hm-rfigs span { line-height: 1.45; }
.hm-rfigs em { font-style: normal; font-size: .8rem; opacity: .75; }
.hm-research-more { margin: 1.2rem 0 0; }
.hm-link-light { color: #fff; }
@media (max-width: 760px) { .hm-check-in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hm-rfigs a { transition: none; } }
@media (min-width: 64rem) { .hm-rfigs { grid-template-columns: repeat(3, 1fr); } }
.hm-check-go { background: var(--ds-navy, #092a40); color: #fff; } .hm-check-go:hover, .hm-check-go:focus-visible { background: #0d3a57; color: #fff; }
/* Discovery strip under the hero (19 Nov 2026) */
.hd { background: #071f30; color: #f6f3ec; padding: 1.1rem 0 1.3rem; border-top: 1px solid rgba(255,255,255,.08); }
.hd-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .7rem; }
.hd h2 { margin: 0; font: 600 1.15rem/1.2 var(--ds-serif, Georgia, serif); color: #fff; }
.hd-ctrls { display: flex; align-items: center; gap: .4rem; }
.hd-ctrls button { min-width: 2.6rem; min-height: 2.4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font: 600 .85rem var(--ds-sans); cursor: pointer; padding: 0 .8rem; }
.hd-ctrls button:hover, .hd-ctrls button:focus-visible { background: rgba(255,255,255,.16); }
.hd-ctrls .hd-mine { border-color: #f4c463; color: #f4c463; }
.hd-count { min-width: 3.4rem; text-align: center; font: 600 .8rem var(--ds-sans); opacity: .75; }
.hd-stage { min-height: 9rem; }
.hd-when { margin: 0; font-size: .92rem; line-height: 1.4; color: rgba(255,255,255,.86); }
.hd-slide { display: grid; gap: .45rem; padding: 1rem 1.2rem; border-radius: 16px; background: linear-gradient(120deg, rgba(31,111,105,.35) 0%, rgba(9,42,64,.6) 60%); border: 1px solid rgba(255,255,255,.1); }
.hd-space { background: linear-gradient(120deg, rgba(64,74,150,.45) 0%, rgba(9,42,64,.6) 60%); }
.hd-infrastructure { background: linear-gradient(120deg, rgba(168,115,15,.35) 0%, rgba(9,42,64,.6) 60%); }
.hd-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0; }
.hd-cat { padding: .1rem .55rem; border-radius: 999px; background: #f4c463; color: #092a40; font: 700 .7rem/1.5 var(--ds-sans); text-transform: uppercase; letter-spacing: .05em; }
.hd-space .hd-cat { background: #a9b7ff; } .hd-earth .hd-cat { background: #8fd8cf; }
.hd-place { font: 600 .88rem var(--ds-sans); opacity: .9; }
.hd .hd-h { margin: 0; font: 600 clamp(1.15rem, 2.2vw, 1.5rem)/1.25 var(--ds-serif, Georgia, serif); color: #fff; }
.hd-why { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem 1.2rem; }
.hd-why dt { font: 700 .68rem/1.3 var(--ds-sans); text-transform: uppercase; letter-spacing: .05em; color: #f4c463; }
.hd-why dd { margin: .1rem 0 0; font-size: .9rem; line-height: 1.4; }
.hd-ph { margin: .2rem 0 0; font: 600 .74rem/1.3 var(--ds-sans); opacity: .85; }
.hd-acts { margin: .1rem 0 0; padding-left: 1.05rem; } .hd-acts li { margin: 0 0 .25rem; } .hd-acts a, .hd-why dd a { color: #f4c463; }
.hd-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; align-items: baseline; margin: .2rem 0 0; }
.hd-src { font-size: .74rem; opacity: .7; }
.hd-go { color: #f4c463; font-weight: 700; } .hd-go::after { content: " \2192"; }
.hd-mybox { display: grid; gap: .3rem; margin: 0 0 .7rem; max-width: 26rem; font-size: .85rem; position: relative; }
.hd-mybox input { padding: .5rem .8rem; border-radius: 10px; border: 0; font: 500 .95rem var(--ds-sans); }
.hd-results { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.hd-results:empty { display: none; }
.hd-results button { width: 100%; text-align: left; padding: .45rem .8rem; border: 0; background: #fff; color: #092a40; cursor: pointer; font: 500 .88rem var(--ds-sans); }
.hd-results button:hover, .hd-results button:focus-visible { background: #eef4f4; }
.hd-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hd-in-r { animation: hd-r .45s ease; } .hd-in-l { animation: hd-l .45s ease; }
@keyframes hd-r { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes hd-l { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .hd-why { grid-template-columns: 1fr; } .hd-stage { min-height: 19rem; } .hd-why div:nth-child(2) { display: none; } }
/* compact card (founder 21 Nov 11:20): bounded height whatever the record holds; the full record opens in the dialog */
.hd-why dd { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hd-open { font: 700 .88rem/1 var(--ds-sans); color: #0b1d2a; background: #f4c463; border: 0; border-radius: 999px; padding: .55rem .95rem; cursor: pointer; }
.hd-open:hover { background: #ffd77f; } .hd-open:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hd-pause { white-space: nowrap; }
.hdd-quote { margin: .35rem 0 0; padding: .5rem .75rem; border-left: 3px solid #1f6f69; background: #f2f7f6; border-radius: 6px; white-space: pre-line; }
.hd-links { display: inline-flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
/* detail dialog: an ICI alert, styled like the Building Alerts email (white document, coloured header band) */
.hdd { width: min(44rem, calc(100vw - 2rem)); max-height: min(88vh, 60rem); padding: 0; border: 0; border-radius: 18px; background: #fff; color: #10212c; box-shadow: 0 24px 80px rgba(0,0,0,.45); overflow: hidden; }
.hdd[open] { display: flex; flex-direction: column; }
.hdd::backdrop { background: rgba(4,14,22,.72); }
.hdd-head { position: relative; padding: 1.2rem 1.4rem 1rem; background: #0b2a3c; color: #f6f3ec; }
.hdd-head .hd-top { margin: 0 0 .35rem; }
.hdd .hdd-title { margin: 0; padding-right: 5rem; color: #f6f3ec; font: 700 1.35rem/1.25 var(--ds-serif, Georgia, serif); }
.hdd-sub { margin: .3rem 0 0; opacity: .85; font-size: .95rem; }
.hdd-close { position: absolute; top: .9rem; right: .9rem; font: 600 .85rem/1 var(--ds-sans); color: #f6f3ec; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5rem .85rem; cursor: pointer; }
.hdd-close:focus-visible { outline: 3px solid #f4c463; outline-offset: 2px; }
.hdd-body { overflow-y: auto; padding: 1rem 1.4rem 1.4rem; overscroll-behavior: contain; }
.hdd-official { margin: 0 0 1rem; padding: .85rem 1rem; border-left: 5px solid #b3261e; background: #fdecea; border-radius: 8px; }
.hdd-official h3 { margin: 0 0 .3rem; font: 700 .95rem/1.3 var(--ds-sans); color: #8c1d18; } .hdd-official p { margin: 0; }
.hdd-sec { padding: .7rem 0; border-top: 1px solid #e3e8eb; } .hdd-sec:first-of-type { border-top: 0; }
.hdd-sec h3 { margin: 0 0 .3rem; font: 700 .8rem/1.3 var(--ds-sans); text-transform: uppercase; letter-spacing: .05em; color: #1f6f69; }
.hdd-sec h4 { margin: .55rem 0 .15rem; font: 700 .88rem/1.3 var(--ds-sans); color: #10212c; }
.hdd-sec p, .hdd-sec li { font-size: .95rem; line-height: 1.5; } .hdd-sec p { margin: 0; } .hdd-sec ul { margin: .15rem 0 0; padding-left: 1.15rem; } .hdd-sec li { margin: 0 0 .3rem; }
.hdd a { color: #0b5f8a; } .hdd-note { color: #5a6872; font-size: .85rem; }
.hdd-fine { margin: .9rem 0 0; font-size: .8rem; color: #5a6872; }
.hdd-links { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1rem 0 0; } .hdd-links .hd-go { color: #0b5f8a; } .hdd-links .hd-off { color: #0b5f8a; }
@media (max-width: 600px) { .hdd { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; } .hdd-title { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) { .hd-in-r, .hd-in-l { animation: none; } }
.hm-themes { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.1rem; }
.hm-themes a { display: grid; gap: .45rem; height: 100%; padding: 0 0 1.1rem; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #f6f3ec; text-decoration: none; transition: transform .2s, background .2s; }
.hm-themes a:hover, .hm-themes a:focus-visible { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.hm-themes figure { position: relative; margin: 0; } .hm-themes img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hm-themes figcaption { position: absolute; left: .6rem; bottom: .5rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(5,22,36,.72); font: 600 .68rem/1.4 var(--ds-sans); }
.hm-themes b { padding: 0 1.1rem; font: 600 1.2rem/1.25 var(--ds-serif, Georgia, serif); color: #fff; }
.hm-themes span { padding: 0 1.1rem; font-size: .95rem; line-height: 1.5; opacity: .9; }
.hm-themes em { padding: 0 1.1rem; font-style: normal; font-weight: 700; color: #f4c463; } .hm-themes em::after { content: " \2192"; }
@media (prefers-reduced-motion: reduce) { .hm-themes a { transition: none; } .hm-themes a:hover { transform: none; } }
.hm-research .hm-themes { max-width: none; width: 100%; } @media (min-width: 64rem) { .hm-research .hm-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Around Our World: current findings (19 Nov 2026 20:12) */
.hd-status { margin: -.3rem 0 .6rem; font-size: .78rem; opacity: .75; }
.hd-status:empty { display: none; }
.hd-status.hd-status-stale { opacity: 1; font-weight: 600; color: #FDE68A; border-left: 3px solid #F59E0B; padding-left: .5rem; }   /* 22 Nov 2026: stale warning feed */
.hd-lab { padding: .1rem .5rem; border-radius: 4px; font: 800 .66rem/1.5 var(--ds-sans); letter-spacing: .08em; border: 1px solid currentColor; }
.hd-lab-live { color: #ff9b8a; } .hd-lab-forecast { color: #f4c463; } .hd-lab-observed { color: #8fd8cf; } .hd-lab-recent { color: #c9d3d9; }
.hd-lab-historical, .hd-lab-calculated { color: #a9b7ff; }
.hd-f { background: linear-gradient(120deg, rgba(139,29,44,.35) 0%, rgba(9,42,64,.65) 60%); }
.hd-l-observed { background: linear-gradient(120deg, rgba(31,111,105,.4) 0%, rgba(9,42,64,.65) 60%); }
.hd-l-forecast { background: linear-gradient(120deg, rgba(168,115,15,.35) 0%, rgba(9,42,64,.65) 60%); }
.hd-f .hd-cat { background: #fff; }
.hd-f .hd-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hd-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
.hd-off { color: #fff; font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1000px) { .hd-f .hd-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hd-f .hd-why { grid-template-columns: 1fr; } .hd-f .hd-why div:nth-child(2) { display: none; } }

/* founder 21 Nov 12:20: compact card (place, hazard, timing, source); the mobile stage no longer reserves room for guidance rows */
@media (max-width: 760px) { .hd-stage { min-height: 11rem; } }
/* 21 Nov 2026: ordering note and high-severity priority tag */
.hd-order { margin: -.2rem 0 .4rem; font-size: .76rem; opacity: .7; }
.hd-prio { font-size: .7rem; font-weight: 700; letter-spacing: .02em; padding: .1rem .45rem; border-radius: 999px; border: 1px solid rgba(239,138,91,.7); color: #ef8a5b; }

/* 22 Nov 2026: Canada | United States | Global views */
.hd-views { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 .5rem; }
.hd-views button { min-height: 2.2rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font: 600 .85rem var(--ds-sans); cursor: pointer; }
.hd-views button[aria-selected="true"] { background: #f6f3ec; color: #071f30; border-color: #f6f3ec; }
.hd-views button:focus-visible { outline: 2px solid #FDE68A; outline-offset: 2px; }
.hd-views-note { font-size: .78rem; opacity: .75; }
.hd-views .hd-views-note:not(:empty) { display: block; flex-basis: 100%; margin-top: .35rem; max-width: 46rem; line-height: 1.4; }
/* 22 Nov 2026 alert experience: grouped actions with why and benefit, progressive disclosure, folded evidence */
.hdd-when { margin: .35rem 0 0; color: #3d5566; font-size: .92rem; }
.hdd-ended { margin: .5rem 0 0; padding: .5rem .75rem; border-left: 3px solid #b7791f; background: #fff8eb; border-radius: 6px; }
.hdd-acts { display: grid; gap: .6rem; }
.hdd-act { padding: .7rem .85rem; border: 1px solid #d8e4ea; border-radius: 10px; background: #f7fbfc; }
.hdd-act-more { display: none; }
.hdd-acts-all .hdd-act-more { display: block; }
.hdd-act-do { margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.hdd-act-do strong { font-weight: 600; color: #0b2233; line-height: 1.4; }
.hdd-ph { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .12rem .5rem; border-radius: 999px; background: #e3eef3; color: #1f4f66; }
.hdd-ph-during { background: #ffe8d6; color: #8a3b00; }
.hdd-ph-after { background: #e6f4ea; color: #1e5e31; }
.hdd-ph-season { background: #eceff3; color: #4a5866; }
.hdd-act-why, .hdd-act-ben, .hdd-act-safe, .hdd-act-src { margin: .3rem 0 0; font-size: .9rem; line-height: 1.45; color: #2f4656; }
.hdd-act-ben { color: #1e5e4e; }
.hdd-act-safe { color: #8a1f11; }
.hdd-act-src { font-size: .8rem; }
.hdd-more { justify-self: start; background: none; border: 1px solid #9fb7c4; border-radius: 999px; padding: .3rem .8rem; color: #1f4f66; cursor: pointer; font: inherit; font-size: .85rem; }
.hdd-fold { margin-top: .9rem; border-top: 1px solid #e1e8ec; padding-top: .7rem; }
.hdd-fold > summary { cursor: pointer; font-weight: 600; color: #1f6f69; }
.hdd-fc { padding: .75rem .9rem; border: 1px solid #b9d3df; border-radius: 10px; background: #f1f8fb; }
.hdd-fc p { margin: .45rem 0 0; }
.hdd-fc-inund { margin: 0; padding-left: 1.1rem; }
.hdd-fc-inund strong { font-size: 1.05rem; color: #0b3550; }
/* 22 Nov 2026 15:15: alert dialog header always on the dark Planet2Place surface (the status tint sits on top of it, never on white) */
.hdd-head.hd-l-live, .hdd-head.hd-l-forecast, .hdd-head.hd-l-observed, .hdd-head.hd-l-recent, .hdd-head.hd-l-historical, .hdd-head.hd-l-calculated { background-color: #031328; }
.hdd-head .hd-lab-forecast { color: #f7d27a; border-color: #f7d27a; }
.hdd-head .hdd-sub { color: #d7e3ea; }
.hdd-act-detail { margin-top: .35rem; }
.hdd-act-detail > summary { cursor: pointer; font-size: .82rem; color: #1f6f69; font-weight: 600; }
.hdd-act-detail[open] > summary { margin-bottom: .15rem; }
/* 22 Nov 2026 15:22 approved hero copy: the brand tagline sits quietly above the headline */
main#main .he .hx-tagline { margin: 0 0 .8rem; font: 600 .78rem/1.3 var(--ds-sans, system-ui); letter-spacing: .12em; text-transform: uppercase; color: #7fe3e8; }
main#main .he h1 { max-width: 16ch; }
@media (max-width: 47.99rem) { main#main .he .hx-tagline { font-size: .7rem; letter-spacing: .1em; margin-bottom: .55rem; } }
main#main .he .hx-lede { text-wrap: pretty; }
/* 22 Nov 2026 15:22: the approved copy is shorter than the old copy on wide screens; the hero keeps its approved height so the
   Earth and Moon keep their approved size and position (the globe is sized from the hero's height). */
@media (min-width: 64rem) { main#main .hx-hero.he { min-height: 43.06rem; } }
@media (min-width: 80rem) { main#main .hx-hero.he { min-height: 47.19rem; } }
@media (min-width: 90rem) { main#main .hx-hero.he { min-height: 47.63rem; } }
@media (min-width: 120rem) { main#main .hx-hero.he { min-height: 47.69rem; } }
@media (min-width: 48rem) and (max-width: 63.99rem) { main#main .hx-hero.he .hx-lede { max-width: 30rem; } }

/* Homepage consolidation (founder 22 Nov 2026 17:53): five areas below the approved hero */
main#main .hm-next { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1rem 0 0; }
main#main .hm-next a { color: #8fd8cf; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(143,216,207,.45); padding-bottom: .1rem; }
main#main .hm-next a:hover, main#main .hm-next a:focus-visible { color: #fff; border-color: #f4c463; }
.hm-gates { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.hm-gates nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.hm-gates b { color: #f4c463; font: 700 .72rem/1.4 var(--ds-sans, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .08em; width: 100%; }
.hm-gates a { color: #e6eef3; font-size: .92rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.hm-gates a:hover, .hm-gates a:focus-visible { color: #fff; border-color: #f4c463; }
.hm-paths { list-style: none; padding: 0; margin: 1.1rem 0 .9rem; display: grid; gap: .7rem; }
.hm-paths a { display: grid; gap: .25rem; padding: .95rem 1.1rem; border-radius: 14px; border: 1px solid var(--ds-line, #d4dee5); background: #fff; color: inherit; text-decoration: none; border-left: 4px solid #00a5a8; }
.hm-paths a:hover, .hm-paths a:focus-visible { border-color: #00a5a8; box-shadow: 0 6px 20px rgba(3,19,40,.08); }
.hm-paths b { font: 600 1.08rem var(--ds-serif, Georgia, serif); color: #031328; }
.hm-paths span { color: #3d5463; line-height: 1.5; font-size: .95rem; }
.hm-conds[data-how] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.hm-how-coast { display: grid; align-content: end; }
.hm-how-tide { display: block; aspect-ratio: 4 / 3; border-radius: 12px; margin-bottom: .5rem;
  background: linear-gradient(180deg, #0b2d4a 0%, #0b2d4a 48%, #00a5a8 48%, #057d86 100%); position: relative; overflow: hidden; }
.hm-how-tide::after { content: ""; position: absolute; left: 0; right: 0; top: 40%; border-top: 2px dashed rgba(244,196,99,.85); }
.hm-how-notes { margin: 1rem 0 1.2rem; padding-left: 1.1rem; max-width: 52rem; line-height: 1.6; color: #233848; }
.hm-how-notes li { margin: .35rem 0; } .hm-how-notes b { color: #031328; }
.hm-feature { display: grid; gap: .35rem; margin: 0 0 1.4rem; padding: 1.2rem 1.4rem; border-radius: 16px; text-decoration: none; color: #e6eef3;
  background: radial-gradient(120% 140% at 85% 0%, #14466e 0%, #071f30 60%); border: 1px solid rgba(143,216,207,.35); }
.hm-feature-k { color: #8fd8cf; font: 700 .72rem/1.4 var(--ds-sans, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .08em; }
.hm-feature b { color: #fff; font: 600 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--ds-serif, Georgia, serif); }
.hm-feature em { color: #f4c463; font-style: normal; font-weight: 700; }
.hm-feature:hover, .hm-feature:focus-visible { border-color: #f4c463; }
@media (max-width: 47.99rem) { .hm-gates { grid-template-columns: 1fr; } .hm-conds[data-how] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* ===== Planet2Place homepage visual system (founder 22 Nov 2026 18:25). Shared tokens for later pages: --p2-* ===== */
:root { --p2-ink: #020a16; --p2-navy: #031328; --p2-deep: #061d36; --p2-ocean: #0b3a5c; --p2-teal: #2fc4c0; --p2-teal-soft: #8fd8cf;
  --p2-text: #eef4f8; --p2-muted: #b7c8d6; --p2-gold: #f4c463; --p2-line: rgba(160,200,230,.16); --p2-glass: rgba(255,255,255,.045); }
main#main .p2-sec { background: var(--p2-navy); color: var(--p2-text); padding: clamp(3rem, 7vw, 5.5rem) 0; border: 0; }
main#main .p2-earth { background: linear-gradient(180deg, var(--p2-navy) 0%, var(--p2-deep) 100%); }
main#main .p2-place { background: radial-gradient(90% 120% at 15% 50%, #0a2c4a 0%, var(--p2-deep) 55%, var(--p2-navy) 100%); }
main#main .p2-prepare { background: linear-gradient(180deg, var(--p2-navy) 0%, var(--p2-ink) 100%); }
main#main .p2-alerts { background: var(--p2-ink); padding: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
main#main .p2-research { background: radial-gradient(120% 90% at 85% 0%, #10304f 0%, var(--p2-navy) 50%, var(--p2-ink) 100%); }
main#main .p2-orgs { background: var(--p2-ink); border-top: 1px solid var(--p2-line); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
main#main .p2-sec h2 { color: #fff; font: 600 clamp(1.8rem, 3.6vw, 2.7rem)/1.1 var(--ds-serif, Georgia, serif); letter-spacing: -.01em; margin: .35rem 0 .7rem; }
main#main .p2-sec h2::after { display: none; }
main#main .p2-sec p { color: var(--p2-muted); }
main#main .p2-sec a { color: var(--p2-teal-soft); }
.p2-head { max-width: 40rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
main#main .p2-head p { font-size: 1.08rem; line-height: 1.6; margin: 0; }
main#main .p2-eyebrow { color: var(--p2-gold); font: 700 .74rem/1.3 var(--ds-sans, system-ui, sans-serif); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
main#main .p2-credit { font-size: .78rem; color: #7f97aa; margin: .9rem 0 0; }
main#main .p2-small { font-size: .88rem; line-height: 1.55; margin: .8rem 0 0; }
.p2-k { color: var(--p2-teal-soft); font: 700 .72rem/1.3 var(--ds-sans, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
/* gateways */
.p2-gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); }
main#main .p2-gate { position: relative; display: block; min-height: clamp(19rem, 34vw, 27rem); border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.p2-gate picture, .p2-gate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.p2-gate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,10,22,0) 25%, rgba(2,10,22,.55) 60%, rgba(2,10,22,.92) 100%); }
.p2-gate-t { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.2rem, 2.6vw, 2rem); display: grid; gap: .35rem; }
.p2-gate-t b { font: 600 clamp(1.5rem, 2.8vw, 2.1rem)/1.1 var(--ds-serif, Georgia, serif); }
.p2-gate-t > span:not(.p2-k) { color: #d9e6ef; max-width: 28rem; line-height: 1.5; }
.p2-gate-t em { font-style: normal; font-weight: 700; color: var(--p2-gold); margin-top: .3rem; }
main#main .p2-gate:hover img, main#main .p2-gate:focus-visible img { transform: scale(1.04); }
main#main .p2-gate:focus-visible { outline: 3px solid var(--p2-gold); outline-offset: 3px; }
/* your place */
.p2-place-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.p2-place-fig { position: relative; margin: 0; border-radius: 50%; overflow: hidden; aspect-ratio: 1; max-width: 30rem; width: 100%; justify-self: center;
  box-shadow: 0 0 0 1px var(--p2-line), 0 0 80px -10px rgba(47,196,192,.35); }
.p2-place-fig img { width: 100%; height: 100%; object-fit: cover; }
.p2-place-fig figcaption { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font-size: .66rem; color: #c7d6e2; padding: 0 18%; }
.p2-pin { position: absolute; left: 47%; top: 46%; width: 18px; height: 18px; border-radius: 50%; background: var(--p2-gold); box-shadow: 0 0 0 6px rgba(244,196,99,.25), 0 0 0 14px rgba(244,196,99,.1); }
main#main .p2-lede { font-size: 1.1rem; line-height: 1.6; color: var(--p2-text); }
.p2-steps { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .7rem; counter-reset: p2s; }
.p2-steps li { counter-increment: p2s; }
main#main .p2-steps a { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .9rem; align-items: start; padding: 1rem 1.1rem; border-radius: 16px; background: var(--p2-glass); border: 1px solid var(--p2-line); color: var(--p2-text); text-decoration: none; }
.p2-steps a::before { content: counter(p2s); grid-row: span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--p2-gold); color: var(--p2-gold); font-weight: 700; }
.p2-steps b { font: 600 1.12rem var(--ds-serif, Georgia, serif); color: #fff; }
.p2-steps span { color: var(--p2-muted); line-height: 1.5; }
main#main .p2-steps a:hover, main#main .p2-steps a:focus-visible { border-color: var(--p2-teal); background: rgba(47,196,192,.08); }
/* prepare */
main#main .hm-conds[data-p2] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.2rem); }
main#main .hm-conds[data-p2] li { display: flex; flex-direction: column; gap: .25rem; background: var(--p2-glass); border: 1px solid var(--p2-line); border-radius: 18px; overflow: hidden; padding: 0 0 1.1rem; }
main#main .hm-conds[data-p2] picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; margin: 0 0 .7rem; }
main#main .hm-conds[data-p2] img { width: 100%; height: 100%; object-fit: cover; }
main#main .hm-conds[data-p2] b { color: #fff; font: 600 1.15rem var(--ds-serif, Georgia, serif); padding: 0 1.1rem; }
main#main .hm-conds[data-p2] span { color: var(--p2-teal-soft); font-size: .82rem; padding: 0 1.1rem; }
main#main .hm-conds[data-p2] p { color: var(--p2-muted); font-size: .92rem; line-height: 1.5; margin: .4rem 0 0; padding: 0 1.1rem; }
.p2-tools { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
main#main .p2-tools a { padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--p2-line); color: var(--p2-text); text-decoration: none; font-weight: 600; font-size: .92rem; min-height: 44px; display: inline-flex; align-items: center; }
main#main .p2-tools a:hover, main#main .p2-tools a:focus-visible { border-color: var(--p2-teal); color: #fff; }
main#main .p2-tools .p2-tools-all { color: var(--p2-gold); border-color: rgba(244,196,99,.45); }
/* alerts */
main#main .p2-alerts .hm-alerts-inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-radius: 18px; border: 1px solid rgba(244,196,99,.3); background: rgba(244,196,99,.05); }
main#main .p2-alerts h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: .2rem 0 .4rem; }
main#main .p2-alerts .hm-badge { color: var(--p2-gold); background: transparent; border: 1px solid rgba(244,196,99,.5); }
main#main .p2-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; background: var(--p2-teal); color: var(--p2-ink); font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; }
.p2-btn svg { width: 1em; height: 1em; }
main#main .p2-btn:hover, main#main .p2-btn:focus-visible { background: #fff; color: var(--p2-ink); }
/* research */
main#main .p2-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--p2-text); border: 1px solid var(--p2-line); background: var(--p2-ink); }
.p2-feature picture, .p2-feature img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.p2-feature-t { display: grid; align-content: center; gap: .5rem; padding: clamp(1.4rem, 3vw, 2.4rem); }
.p2-feature-t b { font: 600 clamp(1.5rem, 2.8vw, 2.2rem)/1.15 var(--ds-serif, Georgia, serif); color: #fff; }
.p2-feature-t > span:not(.p2-k) { color: var(--p2-muted); line-height: 1.55; }
.p2-feature-t em { font-style: normal; font-weight: 700; color: var(--p2-gold); }
main#main .p2-feature:hover, main#main .p2-feature:focus-visible { border-color: var(--p2-gold); }
main#main .p2-credit-r { text-align: right; }
.p2-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 4vw, 3rem); margin-top: 2rem; }
main#main .p2-cols h3 { color: #fff; font: 600 1.15rem var(--ds-serif, Georgia, serif); margin: 0 0 .5rem; }
.p2-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--p2-line); }
.p2-list li { border-bottom: 1px solid var(--p2-line); }
main#main .p2-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; min-height: 44px; color: var(--p2-text); text-decoration: none; }
.p2-list a::after { content: "→"; color: var(--p2-gold); }
main#main .p2-list a:hover, main#main .p2-list a:focus-visible { color: #fff; }
/* orgs */
main#main .p2-orgs .hm-orgs-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: start; }
main#main .p2-orgs h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
main#main .p2-orgs .hm-orgs-links { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 0; }
/* the Global Watch strip and the weather stories join the same palette */
main#main .hd, main#main .hm-story { background: var(--p2-navy); }
@media (max-width: 55.99rem) {
  .p2-gates, .p2-place-in, .p2-cols, main#main .p2-feature, main#main .p2-orgs .hm-orgs-inner { grid-template-columns: 1fr; }
  main#main .hm-conds[data-p2] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p2-place-fig { max-width: 18rem; }
  main#main .p2-alerts .hm-alerts-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 34rem) {
  main#main .hm-conds[data-p2] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; padding-bottom: .5rem; margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
  main#main .hm-conds[data-p2] li { flex: 0 0 78%; scroll-snap-align: start; }
  main#main .p2-gate { min-height: 17rem; }
  main#main .p2-credit-r { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .p2-gate img { transition: none; } main#main .p2-gate:hover img { transform: none; } }
main#main .p2-sec .p2-gate, main#main .p2-sec .p2-feature, main#main .p2-sec .p2-steps a, main#main .p2-sec .p2-list a, main#main .p2-sec .p2-tools a { color: var(--p2-text); }
main#main .p2-sec .p2-gate-t b, main#main .p2-sec .p2-feature-t b, main#main .p2-sec .p2-steps b { color: #fff; }
main#main .p2-sec .p2-btn { color: var(--p2-ink); }
main#main .p2-sec .p2-tools .p2-tools-all { color: var(--p2-gold); }
.p2-gate picture { display: block; }
.p2-place-fig { overflow: visible; border-radius: 0; aspect-ratio: auto; box-shadow: none; }
.p2-place-fig picture { display: block; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 1px var(--p2-line), 0 0 80px -10px rgba(47,196,192,.35); }
.p2-place-fig figcaption { position: static; padding: .7rem 0 0; font-size: .74rem; color: #7f97aa; text-align: center; }
/* ===== Living planet canvas (preview branch; founder direction 22 Nov 2026 19:10) =====
   Reusable layer for the page below the hero. Every light in it is decorative (ambient artistic mode): it shows no live
   condition. Left: three feathered crops of NASA ISS aurora photographs placed at different heights (no tiling).
   Right: pale gold and silver-blue light echoing the hero Earth's sunlit rim. Centre: a faint orthographic view of the
   NASA Black Marble 2016 night-lights composite (not live). The hero paints above the layer and is unchanged. */
:root { --cv-ink: #010409; --cv-ink-2: #02070f;
  --cv-panel: linear-gradient(170deg, rgba(20,36,58,.62) 0%, rgba(8,17,31,.86) 55%, rgba(5,11,21,.92) 100%);
  --cv-line: rgba(170,198,228,.13); --cv-line-top: rgba(205,224,246,.22);
  --cv-aurora-edge: rgba(110,214,196,.20); --cv-sun-edge: rgba(236,212,160,.18);
  --cv-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 24px 48px -36px rgba(0,0,0,.95); }
/* The hero's atmosphere continued (V3, founder review 22 Nov 2026 20:17). Layers, back to front:
   stars: the site's real J2000 starfield, faint; globe: night-side Earth drawn by canvas-env.js from NASA Black Marble 2016
   (geometry tested; lights not live); aurora: two generated layers in the hero shader's colours, broad and feathered, brightest
   mid-page, moved by long incommensurate CSS animations (decorative); limb: the hero's sunlit rim continued, brightest mid-page;
   ocean: an illustrative moonlit glitter path near the foot of the page (no Moon drawn, no wave model). */
main#main { position: relative; background: var(--cv-ink); }
main#main > .hx-hero { z-index: 2; }
main#main > section:not(.hx-hero) { background: transparent !important; position: relative; z-index: 1; }
.p2-env { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; background: var(--cv-ink); }
.p2-stars { position: absolute; inset: 0; opacity: .32; background: url(/assets/img/earth/starfield-j2000-b789e89841ef.webp) 0 0 / 2400px auto repeat; }
.p2-globe { position: absolute; top: 58%; right: -24vw; width: min(78vw, 72rem); aspect-ratio: 1; opacity: .62; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(92,153,255,.10), 0 0 50px 4px rgba(92,153,255,.07), inset 0 0 40px 6px rgba(92,153,255,.05); }
.p2-globe canvas { width: 100%; height: 100%; display: block; border-radius: 50%; }
.p2-horizon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(16rem, 30vw, 27rem); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 80%, transparent); }
.sky-off .p2-horizon { display: none; }
@media (max-width: 34rem) { .p2-stars { opacity: .22; } .p2-globe { top: 44%; right: -45vw; width: 110vw; opacity: .45; } .p2-horizon { height: 62vw; } main#main .p2-sky { padding-bottom: 34vw; } }
@media (prefers-reduced-data: reduce) { .p2-stars, .p2-globe { display: none; } }

/* The sky note: what the horizon shows, for which place and time, and the aurora evidence */
main#main .p2-sky { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(9rem, 17vw, 15rem); }
main#main .p2-sky > .ds-wrap { position: relative; }
main#main .p2-sky-k { margin: 0 0 .35rem; color: var(--p2-teal-soft); font: 700 .72rem/1.2 var(--ds-sans, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
main#main .p2-sky-state { margin: 0; color: #dfe9f4; font-size: .95rem; line-height: 1.55; max-width: 56rem; }
main#main .p2-sky-aur { margin: .3rem 0 0; color: var(--p2-muted); font-size: .85rem; line-height: 1.5; max-width: 56rem; }
main#main .p2-sky-small { margin: .6rem 0 0; color: var(--p2-muted); font-size: .76rem; line-height: 1.5; max-width: 56rem; }
.p2-sky-ctl { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.p2-sky-ctl[hidden] { display: none; }
.p2-sky-ctl button { min-height: 40px; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(176,206,238,.28); background: rgba(6,14,26,.7); color: #e6f0fa; font: 600 .85rem var(--ds-sans, system-ui, sans-serif); cursor: pointer; }
.p2-sky-ctl button[aria-pressed="true"] { border-color: rgba(143,224,230,.6); color: #fff; }
.p2-sky-ctl button:focus-visible { outline: 2px solid var(--p2-teal); outline-offset: 2px; }

/* Panels: quiet by default; featured panels a little brighter. Left edges catch faint aurora teal, right edges faint
   solar silver-gold. Nothing animates. */
main#main .hd-slide, main#main .p2-steps a, main#main .hm-conds[data-p2] li, main#main .hm-place, main#main .p2-orgs .hm-orgs-inner, main#main .p2-alerts .hm-alerts-inner, main#main .p2-rgate, main#main .p2-rbar {
  background: var(--cv-panel); border: 1px solid var(--cv-line); border-top-color: var(--cv-line-top); border-left-color: var(--cv-aurora-edge); border-right-color: var(--cv-sun-edge); box-shadow: var(--cv-shadow); }
main#main .hd-slide, main#main .p2-rgate { /* featured */
  background: radial-gradient(90% 70% at 0% 0%, rgba(90,190,200,.09), transparent 60%), radial-gradient(70% 70% at 100% 100%, rgba(236,206,150,.05), transparent 60%), var(--cv-panel);
  border-top-color: rgba(214,236,250,.30); }
main#main .p2-alerts .hm-alerts-inner { border-top-color: rgba(244,206,130,.32); }
main#main .p2-orgs .hm-orgs-inner { padding: clamp(1.2rem, 3vw, 2rem); border-radius: 20px; }
main#main .p2-gate { border: 1px solid var(--cv-line); border-top-color: var(--cv-line-top); box-shadow: var(--cv-shadow); }
main#main .p2-tools a { background: rgba(6,14,26,.7); border: 1px solid var(--cv-line); }

/* Research programmes */
.p2-head-wide { max-width: 50rem; }
main#main .p2-intel h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.08; }
main#main .p2-head-more { margin-top: .7rem; }
.p2-status { display: inline-block; font: 700 .64rem/1.1 var(--ds-sans, system-ui, sans-serif); letter-spacing: .1em; text-transform: uppercase; padding: .34rem .55rem; border-radius: 999px; font-style: normal; }
.p2-status.is-live { color: #8fe8c6; border: 1px solid rgba(143,232,198,.38); }
.p2-status.is-dev { color: var(--p2-gold); border: 1px solid rgba(244,196,99,.42); }
.p2-rail { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
main#main ul.p2-rgates { list-style: none; margin: 0; padding: 0; max-width: none; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.3rem); }
.p2-rgates:focus-visible { outline: 2px solid var(--p2-teal); outline-offset: 6px; border-radius: 22px; }
main#main .p2-rgates > li { margin: 0; max-width: none; }
main#main .p2-rgate { position: relative; display: block; height: 100%; min-height: 11.5rem; border-radius: 20px; overflow: hidden; color: var(--p2-text); text-decoration: none; isolation: isolate; transition: border-color .25s; }
.p2-rgate picture { position: absolute; inset: 0 0 0 38%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 40%, #000 100%), linear-gradient(0deg, transparent, #000 45%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 40%, #000 100%); opacity: .62; }
.p2-rgate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p2-rgate-t { display: grid; gap: .45rem; padding: 1.3rem 1.4rem 1.2rem; height: 100%; align-content: start; max-width: 30rem; }
.p2-ricon { width: 2rem; height: 2rem; fill: none; stroke: var(--p2-teal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .2rem; }
main#main .p2-rgate b { color: #fff; font: 600 clamp(1.2rem, 1.8vw, 1.45rem)/1.2 var(--ds-serif, Georgia, serif); }
.p2-rdesc { color: #d4e2f0; font-size: .94rem; line-height: 1.45; max-width: 22rem; }
.p2-rfoot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.p2-rgo { flex: 0 0 auto; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(143,224,230,.45); color: #fff; font-size: 1rem; }
main#main .p2-rgate:hover, main#main .p2-rgate:focus-visible { border-color: rgba(143,224,230,.40); }
main#main .p2-rbar { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.4rem; margin-top: clamp(1rem, 2vw, 1.5rem); padding: 1.1rem 1.4rem; border-radius: 18px; color: var(--p2-text); text-decoration: none; border-right-color: rgba(236,206,150,.30); }
main#main .p2-rbar b { color: #fff; font: 600 1.3rem var(--ds-serif, Georgia, serif); padding-right: 1.4rem; border-right: 1px solid var(--cv-line); }
main#main .p2-rbar > span:not(.p2-rgo) { color: var(--p2-muted); font-size: .92rem; line-height: 1.45; }
main#main .p2-rbar .p2-rgo { border-color: rgba(244,196,99,.5); }
main#main .p2-rbar:hover { border-color: rgba(143,224,230,.38); }
.p2-rail-ctl { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .7rem; color: var(--p2-muted); font-size: .85rem; }
.p2-rail-ctl[hidden] { display: none; }
.p2-rail-ctl button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(176,206,238,.3); background: rgba(8,18,32,.8); color: #fff; font-size: 1rem; cursor: pointer; }
.p2-rail-ctl button:focus-visible { outline: 2px solid var(--p2-teal); outline-offset: 2px; }
main#main .p2-done { margin: 1.1rem 0 0; font-size: .86rem; line-height: 2; color: var(--p2-muted); }
main#main .p2-done-k { margin-right: .4rem; }
main#main .p2-done a { color: #dbe8f5; margin-right: 1rem; white-space: nowrap; }
main#main .p2-done a small { color: var(--p2-gold); font-size: .72rem; margin-left: .25rem; }
main#main .p2-credit { margin-top: .5rem; font-size: .74rem; color: var(--p2-muted); max-width: 60rem; }

/* Phones: shorter, more opaque, simpler */
@media (max-width: 34rem) {
  main#main { --cv-panel: linear-gradient(170deg, rgba(16,30,50,.92), rgba(6,13,24,.97)); }
  main#main .p2-sec, main#main .hm-story, main#main .hd { padding-block: 2.2rem; }
  main#main .p2-head h2, main#main .hm-story h2 { font-size: 1.65rem; }
  main#main .p2-head { margin-bottom: 1.2rem; }
  .p2-gates { grid-template-columns: 1fr 1fr !important; gap: .6rem; }
  main#main .p2-gate { min-height: 12.5rem; border-radius: 16px; }
  main#main .p2-gate-t { padding: .9rem; }
  main#main .p2-gate-t > span:not(.p2-k) { display: none; }
  main#main .p2-gate-t b { font-size: 1.12rem; }
  .p2-place-in { grid-template-columns: 1fr !important; }
  main#main .p2-place-fig { display: none; }
  main#main .p2-steps a { padding: .8rem .9rem; }
  main#main .p2-tools { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .4rem; }
  main#main .p2-tools a { flex: 0 0 auto; scroll-snap-align: start; }
  main#main ul.p2-rgates { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem; padding-bottom: .2rem; scrollbar-width: none; }
  .p2-rgates::-webkit-scrollbar { display: none; }
  main#main .p2-rgates > li { flex: 0 0 86%; scroll-snap-align: start; }
  main#main .p2-rgate { min-height: 12rem; }
  .p2-rgate picture { inset: 0 0 0 30%; }
  main#main .p2-rbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  main#main .p2-rbar b { border: 0; padding: 0; font-size: 1.15rem; }
  main#main .p2-rbar > span:not(.p2-rgo) { grid-column: 1 / -1; grid-row: 2; }
  main#main .p2-done-k { display: block; line-height: 1.4; margin-bottom: .2rem; }
}
@media (max-width: 34rem) and (prefers-reduced-motion: no-preference) { main#main ul.p2-rgates { scroll-behavior: smooth; } }
main#main .p2-orgs { border-top: 0; }
.p2-night { top: 63%; right: -16vw; width: min(66vw, 68rem); opacity: .5; }

/* Why it matters: one reviewed, sourced insight (discovery, evidence, meaning, uncertainty) */
main#main .p2-why { margin: 0 0 clamp(1.4rem, 3vw, 2rem); padding: clamp(1.2rem, 2.6vw, 1.9rem); border-radius: 22px;
  background: radial-gradient(80% 90% at 0% 0%, rgba(90,190,200,.10), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(236,206,150,.06), transparent 60%), var(--cv-panel);
  border: 1px solid var(--cv-line); border-top-color: rgba(214,236,250,.30); border-left-color: var(--cv-aurora-edge); border-right-color: var(--cv-sun-edge); box-shadow: var(--cv-shadow); }
main#main .p2-why-k { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; color: var(--p2-muted); font-size: .8rem; letter-spacing: .04em; }
main#main .p2-why-k > span { color: var(--p2-gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
main#main .p2-why h3 { color: #fff; font: 600 clamp(1.3rem, 2.4vw, 1.85rem)/1.22 var(--ds-serif, Georgia, serif); margin: .7rem 0 1.1rem; max-width: 46rem; }
.p2-why-g { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr; gap: clamp(1rem, 2.4vw, 2rem); }
main#main .p2-why-g b { display: block; color: var(--p2-teal-soft); font: 700 .72rem/1.2 var(--ds-sans, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .45rem; }
main#main .p2-why-g p { color: #cfdcea; font-size: .93rem; line-height: 1.58; margin: 0 0 .6rem; }
main#main .p2-why-g a { color: var(--p2-gold); font-weight: 600; }
@media (max-width: 55.99rem) { .p2-why-g { grid-template-columns: 1fr; } }

/* V3 panels: restrained planetary accents (--acc as r,g,b) on the top edge, icon and a faint reflection; gentle entry */
.acc-earth { --acc: 110,200,214; } .acc-atmos { --acc: 128,168,232; } .acc-silver { --acc: 192,206,226; } .acc-copper { --acc: 196,146,108; }
main#main [class*="acc-"] .p2-rgate, main#main .p2-why[class*="acc-"] {
  border-top-color: rgba(var(--acc), .34);
  background: radial-gradient(90% 70% at 0% 0%, rgba(var(--acc), .08), transparent 60%), radial-gradient(70% 70% at 100% 100%, rgba(236,206,150,.035), transparent 60%), var(--cv-panel); }
main#main [class*="acc-"] .p2-ricon { stroke: rgb(var(--acc)); }
main#main .p2-why[class*="acc-"] .p2-why-g b { color: rgb(var(--acc)); }
.p2-status.is-research { color: #bccbe6; border: 1px solid rgba(188,203,230,.38); }
main#main .p2-evolves { margin-top: .9rem; color: var(--p2-teal-soft); font-size: .92rem; font-style: italic; }
.cv-js [data-cv-panel] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.cv-js [data-cv-panel].cv-in { opacity: 1; transform: none; }

/* ===== V5.1 panels: observatory-instrument surfaces (founder 23 Nov 2026) =====
   Three tiers: featured finding (richest surface, chart), programme gateways (imagery, accent), utility (quiet).
   --env-rgb / --env-a are set by living-sky.js from the calculated sky (warm at sunrise and sunset, silver under a
   visible Moon, teal only with forecast-supported aurora, cool otherwise): a faint, predictable edge reflection, not a
   simulation. Nothing on a panel animates continuously. */
:root { --env-rgb: 110,140,190; --env-a: .10; }
.p2-why, .p2-rgate, .p2-rbar, .p2-sky-details, main#main .hd-slide { position: relative; }
main#main .p2-why::before, main#main .p2-rgate::before, main#main .hd-slide::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(140deg, rgba(var(--env-rgb), calc(var(--env-a) * 2.2)) 0%, rgba(255,255,255,.07) 22%, rgba(255,255,255,.025) 55%, rgba(var(--acc, 150,180,220), .22) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* Tier 1: featured finding */
main#main .p2-why { border: 0; border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.4rem); margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  background:
    radial-gradient(70% 60% at 92% -8%, rgba(var(--env-rgb), calc(var(--env-a) * .55)), transparent 60%),
    radial-gradient(60% 80% at -6% 110%, rgba(38,84,126,.22), transparent 62%),
    linear-gradient(180deg, rgba(13,25,43,.90), rgba(5,11,21,.94));
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.95), 0 0 120px -60px rgba(var(--env-rgb), calc(var(--env-a) * 2)); }
.p2-why-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center; }
main#main .p2-why-k { gap: .6rem; margin: 0; }
main#main .p2-why-k > span { color: var(--p2-gold); font: 700 .7rem/1 var(--ds-sans, system-ui, sans-serif); letter-spacing: .16em; text-transform: uppercase; }
main#main .p2-why h3 { font: 600 clamp(1.5rem, 2.7vw, 2.15rem)/1.16 var(--ds-serif, Georgia, serif); margin: .8rem 0 .7rem; color: #fff; max-width: 34rem; }
main#main .p2-why-lede { color: #c9d7e6; font-size: 1.02rem; line-height: 1.55; margin: 0; max-width: 32rem; }
.p2-why-fig { margin: 0; padding: .9rem .9rem .6rem; border-radius: 16px; background: rgba(3,8,16,.55); border: 1px solid rgba(170,198,228,.10); }
.p2-why-fig img { display: block; width: 100%; height: auto; }
main#main .p2-why-fig figcaption { margin-top: .5rem; color: var(--p2-muted); font-size: .76rem; line-height: 1.45; }
main#main .p2-why-g { margin-top: clamp(1.3rem, 2.6vw, 2rem); padding-top: clamp(1.1rem, 2vw, 1.5rem); border-top: 1px solid rgba(170,198,228,.12); gap: 0; }
main#main .p2-why-g > div { padding: 0 clamp(.9rem, 2vw, 1.6rem); border-left: 1px solid rgba(170,198,228,.10); }
main#main .p2-why-g > div:first-child { padding-left: 0; border-left: 0; }
main#main .p2-why-g b { color: rgb(var(--acc, 128,168,232)); }
main#main .p2-why-g p { font-size: .92rem; line-height: 1.6; color: #cdd9e7; }
main#main .p2-why-go a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .95rem; border-radius: 999px; border: 1px solid rgba(244,196,99,.45); color: #fff; text-decoration: none; font-weight: 600; font-size: .88rem; }
main#main .p2-why-go a::after { content: "\2192"; color: var(--p2-gold); }
main#main .p2-why-go a:hover, main#main .p2-why-go a:focus-visible { border-color: var(--p2-gold); }

/* Tier 2: programme gateways */
main#main .p2-rgate { border: 0; border-radius: 20px; background: radial-gradient(90% 80% at 0% 0%, rgba(var(--acc), .10), transparent 60%), linear-gradient(180deg, rgba(11,21,37,.84), rgba(5,11,21,.9)); box-shadow: 0 26px 50px -38px rgba(0,0,0,.95); }
main#main .p2-rgate b { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
main#main .p2-rgate .p2-rdesc { color: #c8d6e5; }
main#main .p2-rgate:hover::before, main#main .p2-rgate:focus-visible::before { background: linear-gradient(140deg, rgba(var(--acc), .55), rgba(255,255,255,.08) 40%, rgba(var(--acc), .3)); }

/* Tier 3: utility */
main#main .p2-rbar { background: rgba(7,13,24,.62); border: 1px solid rgba(170,198,228,.13); box-shadow: none; }
main#main .p2-done a { color: #dbe8f5; }

/* Living sky: a band of the page, not a separate demonstration */
main#main .p2-sky { position: relative; z-index: 1; padding: 0; min-height: clamp(24rem, 40vw, 34rem); display: flex; align-items: flex-start; }
main#main .p2-horizon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
main#main .p2-sky-in { position: relative; padding-top: clamp(1.6rem, 3vw, 2.4rem); }
main#main .p2-sky-k { margin: 0; color: var(--p2-teal-soft); font: 700 .7rem/1.2 var(--ds-sans, system-ui, sans-serif); letter-spacing: .18em; text-transform: uppercase; }
main#main .p2-sky-lede { margin: .35rem 0 0; color: #e6eef7; font: 500 1.05rem/1.45 var(--ds-serif, Georgia, serif); max-width: 34rem; }
main#main .p2-sky-meta { margin: .3rem 0 0; color: var(--p2-muted); font-size: .8rem; line-height: 1.45; max-width: 46rem; }
.p2-sky-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem 1.2rem; margin-top: .7rem; }
main#main .p2-sky-details { max-width: 44rem; border-radius: 12px; background: rgba(4,9,18,.72); border: 1px solid rgba(170,198,228,.14); }
main#main .p2-sky-details summary { cursor: pointer; padding: .5rem .85rem; color: #e6eef7; font-size: .84rem; font-weight: 600; list-style-position: inside; min-height: 40px; display: flex; align-items: center; }
main#main .p2-sky-details summary:focus-visible { outline: 2px solid var(--p2-teal); outline-offset: 2px; border-radius: 12px; }
main#main .p2-sky-details dl { margin: 0; padding: .2rem .9rem .9rem; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .35rem .9rem; font-size: .82rem; line-height: 1.5; }
main#main .p2-sky-details dt { color: var(--p2-teal-soft); font-weight: 600; }
main#main .p2-sky-details dd { margin: 0; color: #d3dfeb; }
main#main .p2-sky-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid rgba(176,206,238,.28); color: #e6f0fa; font-size: .84rem; font-weight: 600; text-decoration: none; background: rgba(4,9,18,.6); }
main#main .p2-sky-link::after { content: "\2192"; margin-left: .4rem; color: var(--p2-gold); }
.sky-off .p2-horizon { display: none; }

@media (max-width: 55.99rem) { .p2-why-top { grid-template-columns: 1fr; } main#main .p2-why-g > div { padding: 1rem 0 0; border-left: 0; border-top: 1px solid rgba(170,198,228,.10); margin-top: 1rem; } main#main .p2-why-g > div:first-child { border-top: 0; margin-top: 0; padding-top: 0; } }
@media (max-width: 34rem) {
  main#main .p2-why { border-radius: 20px; padding: 1.2rem; background: linear-gradient(180deg, rgba(13,25,43,.96), rgba(6,12,22,.98)); }
  main#main .p2-why h3 { font-size: 1.4rem; }
  .p2-why-fig { padding: .6rem .5rem .4rem; }
  main#main .p2-sky { min-height: 26rem; }
  main#main .p2-sky-details dl { grid-template-columns: 1fr; gap: .1rem; }
  main#main .p2-sky-details dt { margin-top: .5rem; }
}

/* ===== V6 descent: from space to the surface (founder 23 Nov 2026) =====
   One fixed stage behind the content below the hero; descent.js sets --p1..--p3 (opacity) and --z1..--z3 (approach)
   from scroll position. Stage 1: the night-side Earth (NASA Black Marble 2016, oriented for the time shown). Stage 2 and 3:
   views of the North Atlantic coast ray-traced from 2,600 km and 900 km over the same Black Marble lights (illustrative
   descent, not a live camera; scripts/design/render-descent.py). Stage 4: the Living Sky band at the foot of the page. */
.p2-descent { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; --p1: 1; --p2: 0; --p3: 0; --z1: 0; --z2: 0; --z3: 0; }
main#main .p2-descent .p2-globe { position: absolute; top: 8vh; right: -20vw; width: min(74vw, 70rem); aspect-ratio: 1; opacity: .62; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(92,153,255,.12), 0 0 60px 6px rgba(92,153,255,.08), inset 0 0 40px 6px rgba(92,153,255,.05); }
.p2-d1, .p2-d2, .p2-d3 { position: absolute; inset: 0; will-change: opacity, transform; }
.p2-d1 { opacity: var(--p1); transform: translate3d(0, calc(var(--z1) * 22vh), 0) scale(calc(1 + var(--z1) * .55)); transform-origin: 80% 40%; }
.p2-d2 { opacity: calc(var(--p2) * .9); background: url(/assets/img/home/env-descent-high.webp) 50% 100% / cover no-repeat; transform: translate3d(0, calc((1 - var(--z2)) * 18vh), 0) scale(calc(1 + var(--z2) * .18)); transform-origin: 50% 100%; }
.p2-d3 { opacity: calc(var(--p3) * .9); background: url(/assets/img/home/env-descent-low.webp) 50% 100% / cover no-repeat; transform: translate3d(0, calc((1 - var(--z3)) * 10vh), 0) scale(calc(1 + var(--z3) * .12)); transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) { .p2-d1, .p2-d2, .p2-d3 { transform: none; } }
@media (max-width: 34rem) { main#main .p2-descent .p2-globe { top: 14vh; right: -50vw; width: 120vw; opacity: .5; } .p2-d2, .p2-d3 { background-size: 220% auto; } }
@media (prefers-reduced-data: reduce) { .p2-descent { display: none; } }
/* the Living Sky band is the arrival: its scene sits on solid night so the fixed descent does not show through */
main#main .p2-sky { background: linear-gradient(180deg, transparent 0, #01040a 22%) !important; min-height: clamp(30rem, 46vw, 40rem); }
main#main .p2-sky ~ .hm-orgs { background: #01040a !important; }

/* V6 restore, functional fixes only (23 Nov 2026). The seven free tools sit on one row at desktop widths and become a
   horizontal scroller (snap points, edge fade) below that, never wrapped lines; a visible focus ring on homepage links;
   44 px touch targets for the completed-investigation links on phones. No visual redesign. */
main#main .p2-tools { flex-wrap: nowrap; gap: .45rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--p2-line) transparent; padding: .2rem .1rem .55rem;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.75rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.75rem), transparent); }
main#main .p2-tools a { flex: 1 0 auto; justify-content: center; white-space: nowrap; scroll-snap-align: start; padding: .5rem .8rem; font-size: .86rem; min-height: 44px; }
main#main .p2-tools a:last-child { margin-right: 2rem; }
@media (min-width: 75rem) {
  main#main .p2-tools { overflow: visible; -webkit-mask-image: none; mask-image: none; padding-bottom: .2rem; }
  main#main .p2-tools a:last-child { margin-right: 0; }
}
main#main a:focus-visible { outline: 2px solid var(--p2-teal); outline-offset: 3px; }
@media (max-width: 34rem) { main#main .p2-done a { display: inline-flex; align-items: center; min-height: 44px; margin-right: .9rem; } }

/* Continuous Atmosphere (founder 23 Nov 2026: concept accepted 11:00). Decorative background only: one near-black canvas
   below the hero, warming very slightly toward navy down the page with faint blue and teal depth; stars fade out below the
   hero. The fixed night-side globe and descent views no longer show behind content. Meaningful imagery is untouched. */
.p2-descent { display: none; }
main#main { background: #010308; }
.p2-env { background:
  radial-gradient(70% 12% at 78% 30%, rgba(60, 110, 170, .07), transparent 70%),
  radial-gradient(80% 14% at 18% 52%, rgba(47, 196, 192, .045), transparent 70%),
  radial-gradient(90% 16% at 70% 74%, rgba(70, 120, 175, .06), transparent 70%),
  linear-gradient(180deg, #010308 0%, #020610 22%, #030b18 45%, #05111f 68%, #061626 86%, #07192a 100%); }
.p2-stars { opacity: .30; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 12%, rgba(0,0,0,.25) 28%, transparent 42%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 12%, rgba(0,0,0,.25) 28%, transparent 42%); }
/* Living Sky Observatory: the band blends into the canvas */
main#main .p2-sky { background: linear-gradient(180deg, transparent 0, #020509 30%) !important; }
/* Observatory refinement: the sky band eases in under the text and fades into the page without a hard edge; phones get a
   compact band below the text */
main#main .p2-horizon { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.12) 10%, rgba(0,0,0,.45) 22%, rgba(0,0,0,.85) 34%, #000 42%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.12) 10%, rgba(0,0,0,.45) 22%, rgba(0,0,0,.85) 34%, #000 42%, #000 86%, transparent); }
@media (max-width: 34rem) { main#main .p2-horizon { top: auto; bottom: 0; height: 72vw; } main#main .p2-sky { padding-bottom: 50vw; min-height: 0; } }
/* Ground-level backdrop (founder 23 Nov 2026, 11:39): the homepage ends on the ground under a live, calculated sky. The sky
   is one subdued canvas behind the Living Sky text and the closing organizations card; content stays on top. */
main#main .p2-ground { position: relative; isolation: isolate; }
main#main .p2-ground > .p2-horizon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.08) 8%, rgba(0,0,0,.3) 18%, rgba(0,0,0,.62) 28%, rgba(0,0,0,.88) 38%, #000 46%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.08) 8%, rgba(0,0,0,.3) 18%, rgba(0,0,0,.62) 28%, rgba(0,0,0,.88) 38%, #000 46%, #000 100%); }
main#main .p2-ground > .p2-sky, main#main .p2-ground > .p2-orgs { position: relative; z-index: 1; background: transparent !important; }
main#main .p2-ground > .p2-sky { min-height: 0; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
main#main .p2-ground > .p2-orgs { padding-bottom: clamp(9rem, 16vw, 14rem); }
main#main .p2-ground > .p2-orgs .hm-orgs-inner { background: rgba(5,11,22,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 34rem) {
  main#main .p2-ground > .p2-horizon { inset: auto 0 0 0; height: 96vw; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 100%); }
  main#main .p2-ground > .p2-orgs { padding-bottom: 52vw; }
  main#main .p2-ground > .p2-orgs .hm-orgs-inner { background: rgba(5,11,22,.84); gap: .75rem; }
  main#main .p2-ground > .p2-orgs .p2-small { font-size: .8rem; }
}
/* Observatory clearance (founder 23 Nov 2026, 15:24): the organizations panel is its own section after the observatory, so
   nothing promotional sits over the Sun, the Moon, the horizon or their paths. The Living Sky text stays small at the top
   and passes pointer hits through its empty area; below it the scene has uninterrupted height at every width, and the sky
   mask is fully opaque from just under the text so bodies high in the sky are not faded. */
main#main .p2-ground > .p2-sky { padding-bottom: clamp(24rem, 40vw, 36rem); pointer-events: none; }
main#main .p2-ground > .p2-sky .p2-sky-in > * { pointer-events: auto; }
main#main .p2-ground > .p2-horizon { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.3) 10%, rgba(0,0,0,.75) 20%, #000 30%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.3) 10%, rgba(0,0,0,.75) 20%, #000 30%, #000 100%); }
main#main .p2-ground + .p2-orgs { border-top: 0; padding-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 34rem) {
  main#main .p2-ground > .p2-sky { padding-bottom: 100vw; }
  main#main .p2-ground > .p2-horizon { inset: auto 0 0 0; height: 108vw; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 100%); }
}
/* Living sky v2 (23 Nov 2026). The observatory is one unobstructed scene: the text sits above an open sky band sized by
   observatory-frame.js to hold the whole sky from the sea horizon to the zenith (the CSS heights below are the same formula
   for the default view, so nothing shifts when the script refines them); the horizon is the band's lower edge and the open sea
   lies under it. Phones keep only the heading above the sky and set the caption and buttons on a dark glass strip over the
   sea. The scene carries no compass letters; the details list the view's orientation. A second canvas carries only motion
   (sky-motion.js). The organizations panel stays below the scene, lit with a soft teal glow. */
main#main .p2-ground > .p2-sky { padding-bottom: clamp(5.5rem, 9vw, 8rem); pointer-events: none; }
main#main .p2-ground > .p2-sky .p2-sky-in { display: flex; flex-direction: column; align-items: flex-start; }
main#main .p2-ground > .p2-horizon, main#main .p2-ground > .p2-horizon-fx { inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.06) 0, rgba(0,0,0,.16) calc(var(--sky-open-top, 210px) * .62), rgba(0,0,0,.55) calc(var(--sky-open-top, 210px) * .9), #000 var(--sky-open-top, 210px), #000 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.06) 0, rgba(0,0,0,.16) calc(var(--sky-open-top, 210px) * .62), rgba(0,0,0,.55) calc(var(--sky-open-top, 210px) * .9), #000 var(--sky-open-top, 210px), #000 100%); }
main#main .p2-ground > .p2-horizon-fx { z-index: 0; }
.p2-sky-open { order: 10; flex: none; align-self: stretch; height: calc(43.2vw + 16px); }
main#main .p2-sky-lede, main#main .p2-sky-meta, main#main .p2-sky-k { text-shadow: 0 1px 2px rgba(1,4,10,.85), 0 0 14px rgba(1,4,10,.6); }
main#main .p2-sky-note { margin: 0; align-self: center; padding: .3rem .6rem; border-radius: 999px; background: rgba(3,8,16,.88); color: var(--p2-muted); font-size: .76rem; letter-spacing: .02em; }
main#main .p2-sky-note[hidden] { display: none; }
main#main .p2-ground > .p2-sky .p2-sky-details, main#main .p2-ground > .p2-sky .p2-sky-link { background: rgba(3,8,16,.82); }
@media (max-width: 34rem) {
  main#main .p2-ground > .p2-sky { padding-bottom: 1.6rem; }
  main#main .p2-ground > .p2-horizon, main#main .p2-ground > .p2-horizon-fx { inset: 0; height: 100%; }
  .p2-sky-open { order: 2; margin-top: .5rem; height: calc(69.1vw + 16px); }
  main#main .p2-ground > .p2-sky .p2-sky-lede { font-size: 1rem; margin-top: .4rem; padding: .45rem .7rem; border-radius: 10px; background: rgba(3,8,16,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  main#main .p2-ground > .p2-sky .p2-sky-meta, main#main .p2-ground > .p2-sky .p2-sky-row { order: 3; }
  main#main .p2-ground > .p2-sky .p2-sky-meta { margin-top: 28px; padding: .5rem .7rem; border-radius: 10px; background: rgba(3,8,16,.8);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .78rem; }
  main#main .p2-ground > .p2-sky .p2-sky-row { margin-top: .55rem; gap: .5rem .6rem; }
}
/* the organizations panel: below the scene, floating on a soft teal glow with a light edge line */
main#main .p2-ground + .p2-orgs { padding-top: clamp(1rem, 3vw, 2rem); }
main#main .p2-ground + .p2-orgs .hm-orgs-inner { position: relative; background: linear-gradient(180deg, rgba(8,22,34,.92), rgba(4,12,22,.94));
  border: 1px solid rgba(94,226,214,.30); border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(47,196,192,.06), 0 0 34px -6px rgba(47,196,192,.30), 0 24px 60px -24px rgba(0,0,0,.85), inset 0 1px 0 rgba(200,255,250,.07); }
main#main .p2-ground + .p2-orgs .hm-orgs-inner::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(143,240,230,.85) 50%, transparent); box-shadow: 0 0 14px 1px rgba(47,196,192,.55); }
/* "Why Planet2Place matters" (preview, 24 Nov 2026): restrained teal on dark; external figures, each with its source, year and limit */
main#main .p2-matters { background: linear-gradient(180deg, var(--p2-ink) 0%, var(--p2-navy) 100%); border-top: 1px solid var(--p2-line); }
main#main .p2-matters h2 { max-width: 24ch; }
main#main .p2-matters .why-lede { max-width: 40rem; margin: 0 0 clamp(1.5rem, 3vw, 2.4rem); }
.p2-matters .why-stats { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.25rem); }
.p2-matters .why-stat { display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem 1.3rem 1.1rem; border-radius: var(--p2-r-m, 16px); background: rgba(255, 255, 255, .035); border: 1px solid var(--p2-line); border-top: 2px solid rgba(47, 196, 192, .55); }
main#main .p2-matters .why-num { margin: 0; font: 600 clamp(2.2rem, 4.2vw, 3rem)/1 var(--ds-serif, Georgia, serif); color: #fff; }
main#main .p2-matters .why-num small { font-size: .5em; color: var(--p2-teal-soft); }
main#main .p2-matters .why-text { margin: 0; color: var(--p2-text); font-size: 1rem; line-height: 1.5; }
main#main .p2-matters .why-src { margin: auto 0 0; padding-top: .65rem; border-top: 1px solid var(--p2-line); font-size: .8rem; line-height: 1.5; color: #a9bccb; }
main#main .p2-matters .why-src a { color: var(--p2-teal-soft); white-space: nowrap; }
.p2-matters .why-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; margin-top: clamp(1.4rem, 3vw, 2rem); }
main#main .p2-matters .why-foot p { margin: 0; max-width: 40rem; }
@media (max-width: 55.99rem) { .p2-matters .why-stats { grid-template-columns: 1fr; } }
