/* The homepage below the map: every section is a stage in one of the map's district colours.
   One family for reading (Familjen Grotesk), Archivo on its wide axis for the big moments. */
:root {
  --ink: #141414; --paper: #F4F1EA; --card: #FBF8F2; --muted: #4A463F; --soft: #6A655C; --rule: #D9D3C7;
  --mustard: #E9A23B; --blue: #2E6BE6; --green: #7FB069; --ember: #FF7A3D; --red: #E2574C; --coral: #FF4D1D;
  --pad: 32px; --gap: 16px; --r: 32px; --max: 1280px;
  --display: 'Archivo', 'Familjen Grotesk', system-ui, sans-serif;
  --body: 'Familjen Grotesk', system-ui, sans-serif;
}
@media (max-width: 719px) { :root { --pad: 16px; --gap: 12px; --r: 24px; } }

.stage { position: relative; margin: 0 var(--pad) var(--gap); border-radius: var(--r); overflow: hidden; }
.stage__in { max-width: var(--max); margin: 0 auto; padding: 88px 56px; box-sizing: border-box; }
@media (max-width: 719px) { .stage__in { padding: 48px 20px; } }
.stage--ink { background: var(--ink); color: var(--paper); }
.stage--blue { background: var(--blue); color: #fff; }
.stage--card { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px #E6E0D4; }
.stage--mustard { background: var(--mustard); color: var(--ink); }

/* the map's own label: a white pill with a district dot, so each stage says where it lives on the map */
.tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: #1B2230; font: 700 13px/1 var(--body); box-shadow: 0 2px 8px rgba(27,34,48,0.12); white-space: nowrap; }
.tag i { width: 10px; height: 10px; border-radius: 50%; flex: none; }

.big { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-variation-settings: 'wdth' 125; line-height: 0.98; letter-spacing: -0.025em; }
.big--xl { font-size: clamp(44px, 7.2vw, 112px); }
.big--l { font-size: clamp(36px, 5vw, 76px); }
.big--m { font-size: clamp(30px, 3.6vw, 52px); }
.big span.dim { opacity: 0.55; }
.lede { margin: 0; font-size: 19px; line-height: 1.5; max-width: 560px; }
@media (max-width: 719px) { .lede { font-size: 17px; } }

/* rise on scroll from a visible state; nothing ever starts invisible */
.rv { transform: translateY(28px); opacity: 0.35; transition: transform 0.9s cubic-bezier(.2,.7,.2,1), opacity 0.9s ease; }
.rv.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rv { transform: none; opacity: 1; transition: none; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.about__copy { display: flex; flex-direction: column; gap: 22px; }
.about__copy p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.about__copy p.strong { font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.polaroid { position: relative; justify-self: center; width: min(100%, 400px); padding: 16px 16px 64px; background: #fff; box-shadow: 0 30px 60px -20px rgba(20,20,20,0.35), 0 2px 6px rgba(20,20,20,0.08); transform: rotate(2.4deg); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.polaroid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.polaroid figcaption { position: absolute; left: 18px; bottom: 22px; font: 500 16px/1.2 var(--body); color: #3A3631; }
.sticker { position: absolute; right: -26px; bottom: 26px; width: 108px; height: 108px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font: 800 20px/0.95 var(--display); font-variation-settings: 'wdth' 125; transform: rotate(14deg); box-shadow: 0 10px 24px -8px rgba(226,87,76,0.6); animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(14deg); } 50% { transform: rotate(4deg) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 2px solid var(--ink); }
.stat { padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat b { font: 800 clamp(48px, 6vw, 88px)/0.9 var(--display); font-variation-settings: 'wdth' 125; letter-spacing: -0.03em; white-space: nowrap; }
.stat span { font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 22ch; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } .polaroid { width: min(86%, 360px); } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; margin-top: 40px; } .stat { flex-direction: row; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); } .stat b { width: 92px; flex: none; font-size: 52px; } .sticker { right: -12px; width: 88px; height: 88px; font-size: 16px; } }

/* ---------- projects header (cards keep their own brands) ---------- */
.phead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.pcard img.par { transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.pcard:hover img.par { transform: scale(1.04); }

/* ---------- questions ---------- */
.qs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: start; }
.qs__nav { display: flex; flex-direction: column; gap: 6px; }
.qs__btn { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border: none; border-radius: 14px; background: rgba(255,255,255,0.08); color: #fff; font: 700 15px/1.2 var(--body); text-align: left; cursor: pointer; overflow: hidden; }
.qs__btn b { font: 800 22px/1 var(--display); font-variation-settings: 'wdth' 125; }
.qs__btn[aria-selected="true"] { background: #fff; color: var(--blue); }
.qs__btn .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--mustard); }
.qs__btn[aria-selected="true"] .bar { animation: fill 7s linear forwards; }
.qs.paused .qs__btn .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .qs__btn .bar { display: none; } }
.qs__q { margin: 0; min-height: 4.2em; font: 800 clamp(30px, 4.2vw, 62px)/1.04 var(--display); font-variation-settings: 'wdth' 112; letter-spacing: -0.02em; animation: qin 0.7s cubic-bezier(.2,.7,.2,1); }
@keyframes qin { from { transform: translateY(18px); opacity: 0.2; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .qs__q { animation: none; } }
.band { margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.3); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.band p { margin: 0; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.86); }
@media (max-width: 860px) { .qs { grid-template-columns: 1fr; gap: 28px; } .qs__nav { flex-direction: row; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; } .qs__nav::-webkit-scrollbar { display: none; } .qs__btn { flex: none; } .qs__btn span { display: none; } .qs__q { min-height: 5.4em; } .band { grid-template-columns: 1fr; } }

/* ---------- timeline ---------- */
.tl__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.tl__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip2 { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(244,241,234,0.4); background: transparent; color: var(--paper); font: 700 15px/1 var(--body); cursor: pointer; white-space: nowrap; }
.chip2 i { width: 10px; height: 10px; border-radius: 50%; }
.chip2[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tl__now { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 48px; min-height: 180px; }
.tl__age { display: flex; align-items: flex-end; gap: 14px; }
.tl__age small { font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244,241,234,0.7); padding-bottom: 18px; }
.tl__num { font: 800 clamp(120px, 17vw, 240px)/0.8 var(--display); font-variation-settings: 'wdth' 125; letter-spacing: -0.04em; color: var(--mustard); text-shadow: 6px 6px 0 var(--red); }
.tl__num.word { font-size: clamp(80px, 11vw, 160px); }
.tl__nav { display: flex; gap: 8px; }
.tl__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(244,241,234,0.4); background: transparent; color: var(--paper); font: 700 20px/1 var(--body); cursor: pointer; }
.tl__nav button:hover { background: var(--paper); color: var(--ink); }
.rail { position: relative; height: 64px; margin: 28px 0 8px; touch-action: none; cursor: grab; user-select: none; }
.rail:active { cursor: grabbing; }
.rail__line { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(244,241,234,0.25); }
.rail__tick { position: absolute; top: 16px; width: 1px; height: 14px; background: rgba(244,241,234,0.35); }
.rail__yr { position: absolute; top: 40px; transform: translateX(-50%); font: 500 13px/1 var(--body); color: rgba(244,241,234,0.6); white-space: nowrap; }
.rail__dot { position: absolute; top: 16px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--ink); padding: 0; cursor: pointer; transition: transform 0.25s; }
.rail__dot.on { transform: scale(1.5); box-shadow: 0 0 0 3px rgba(244,241,234,0.9); }
.rail__head { position: absolute; top: 0; width: 3px; height: 46px; margin-left: -1.5px; background: var(--paper); border-radius: 2px; transition: left 0.35s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.rail.drag .rail__head { transition: none; }
.tl__cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 56px 8px; margin: 0 -56px; scrollbar-width: none; scroll-padding: 0 56px; }
.tl__cards::-webkit-scrollbar { display: none; }
.tcard { flex: none; width: 360px; min-height: 260px; scroll-snap-align: start; border-radius: 22px; padding: 26px; box-sizing: border-box; background: #1F1E1C; color: var(--paper); display: flex; flex-direction: column; gap: 12px; border: none; text-align: left; font-family: var(--body); cursor: pointer; transition: background 0.35s, transform 0.35s; }
.tcard:hover { transform: translateY(-3px); }
.tcard.on { cursor: default; }
.tcard__meta { display: flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--body); letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.85; }
.tcard__meta i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tcard h3 { margin: 0; font: 800 26px/1.05 var(--display); font-variation-settings: 'wdth' 110; letter-spacing: -0.015em; }
.tcard p { margin: 0; font-size: 16px; line-height: 1.5; }
.tcard p.more { font-size: 15px; opacity: 0.92; }
.tcard__acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.tcard__acts a, .tcard__acts button { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 14px/1 var(--body); text-decoration: none; cursor: pointer; }
.tcard__acts .solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 860px) { .tl__head { grid-template-columns: 1fr; } .tl__chips { justify-content: flex-start; } }
@media (max-width: 719px) { .tl__cards { padding: 16px 20px 8px; margin: 0 -20px; scroll-padding: 0 20px; } .tcard { width: calc(100vw - 72px); max-width: 360px; } .tl__now { margin-top: 32px; min-height: 120px; } .tl__nav button { width: 44px; height: 44px; } .tl__num { text-shadow: 4px 4px 0 var(--red); } }

/* ---------- photos filmstrip ---------- */
.strip { display: flex; flex-direction: column; gap: 14px; margin: 40px -56px 0; }
.strip__row { display: flex; gap: 14px; width: max-content; animation: drift 90s linear infinite; }
.strip__row.rev { animation-direction: reverse; animation-duration: 110s; }
.strip:hover .strip__row { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip { overflow-x: auto; } .strip__row { animation: none; } }
.strip__ph { flex: none; height: 260px; padding: 0; border: none; border-radius: 14px; overflow: hidden; background: #2A2724; cursor: zoom-in; display: block; }
.strip__ph img { display: block; height: 100%; width: auto; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.strip__ph:hover img { transform: scale(1.05); }
@media (max-width: 719px) { .strip { margin: 32px -20px 0; } .strip__ph { height: 170px; } }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }
.btn2 { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn2--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn2--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 480px) { .acts { display: grid; grid-template-columns: 1fr; } .acts > * { width: 100%; box-sizing: border-box; } }

/* ---------- say hello ---------- */
.hello__mail { display: inline-block; margin-top: 28px; font: 800 clamp(22px, 4.4vw, 60px)/1.05 var(--display); font-variation-settings: 'wdth' 112; letter-spacing: -0.025em; color: var(--ink); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; word-break: break-word; }
.hello__mail:hover { color: #fff; }
.hello__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; }
.hello__links a { min-height: 44px; display: inline-flex; align-items: center; font: 700 17px/1 var(--body); color: var(--ink); text-underline-offset: 4px; }
.footbar { max-width: var(--max); margin: 0 auto; padding: 20px calc(var(--pad) + 24px) 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--soft); box-sizing: border-box; }
.footbar span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footbar a { color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 719px) { .footbar { padding: 12px 20px 28px; } }

/* writing list: latest first, the rest on request */
.more-btn { margin-top: 16px; }
.about .big .dim { display: block; }
.band p.big { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.04; color: #fff; }
.tcard.on .tcard__meta i { background: currentColor !important; }
@media (max-width: 480px) { .phead .acts { width: 100%; } }
@media (max-width: 719px) { .rail__yr.minor { display: none; } }
@media (max-width: 560px) { .sticker { top: -22px; bottom: auto; right: -14px; } }
@media (max-width: 719px) { .tl__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; } .tl__chips::-webkit-scrollbar { display: none; } .tl__chips .chip2 { flex: none; } }
@media (max-width: 440px) { .tl__now { gap: 12px; } .tl__num { font-size: clamp(88px, 27vw, 120px); } .tl__num.word { font-size: clamp(56px, 17vw, 80px); } .tl__age small { display: none; } }
.sticker { top: -26px; bottom: auto; }

/* ---------- the terrace band: the four brands over the Thames at dusk, straight under the map ---------- */
.band4 { position: relative; margin: var(--gap) var(--pad) 0; border-radius: var(--r); overflow: hidden; background: #1a2440; color: #fff; }
.band4__pic { position: relative; aspect-ratio: 4 / 1; overflow: hidden; }
.band4__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.band4.in .band4__pic img { transform: scale(1); }
.band4__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,30,0) 55%, rgba(10,14,30,0.55) 100%); pointer-events: none; }
.band4__hot { position: absolute; top: 7%; height: 20%; border: none; padding: 0; background: transparent; border-radius: 12px; cursor: pointer; transition: background 0.25s, box-shadow 0.25s; }
.band4__hot:hover, .band4__hot:focus-visible { background: rgba(255,255,255,0.08); box-shadow: 0 0 0 2px rgba(255,255,255,0.55); }
.band4__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 28px 22px; pointer-events: none; }
.band4__cap p { margin: 0; font: 700 clamp(15px, 1.4vw, 19px)/1.3 var(--body); color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.5); max-width: 46ch; }
.band4__cap span { font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-shadow: 0 1px 8px rgba(0,0,0,0.5); white-space: nowrap; }
.band4__chips { display: none; }
@media (prefers-reduced-motion: reduce) { .band4__pic img { transform: none; transition: none; } }
@media (max-width: 719px) {
  .band4__pic { aspect-ratio: auto; height: 300px; }
  .band4__pic img { object-position: 84% 60%; }
  .band4__hot { display: none; }
  .band4__cap { padding: 0 20px 18px; } .band4__cap span { display: none; }
  .band4__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: #141a2e; }
  .band4__chips button { min-height: 48px; border-radius: 14px; border: none; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; cursor: pointer; }
}
@media (max-width: 719px) { .band4__pic img { position: absolute; left: 0; bottom: 0; height: 430px; } }

/* questions: a tighter stage */
.stage--tight .stage__in { padding-top: 56px; padding-bottom: 56px; }
.stage--tight .qs { margin-top: 28px; gap: 40px; }
.stage--tight .qs__nav { gap: 4px; }
.stage--tight .qs__btn { min-height: 44px; }
.stage--tight .qs__q { min-height: 0; font-size: clamp(26px, 3.1vw, 46px); }
@media (max-width: 719px) { .stage--tight .stage__in { padding-top: 40px; padding-bottom: 40px; } }
@media (max-width: 860px) { .stage--tight .qs { gap: 20px; } .stage--tight .qs__q { font-size: 24px; min-height: 9.4em; } }

/* hero copy: sits straight on the map, with a soft wash in the corner so it reads without hiding the town */
.hero-scrim { position: absolute; top: 0; left: 0; width: min(1080px, 80%); height: 520px; pointer-events: none; background: radial-gradient(ellipse 100% 100% at 0% 0%, rgba(247,244,237,0.95) 0%, rgba(247,244,237,0.9) 40%, rgba(247,244,237,0.55) 62%, rgba(247,244,237,0) 85%); transition: opacity 300ms ease-out; }
.hero-card { display: flex; flex-direction: column; gap: 12px; max-width: 640px; padding: 8px 0 0; transition: opacity 300ms ease-out; animation: heroIn 0.9s cubic-bezier(.2,.7,.2,1) backwards 0.15s; }
.hero-card__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #3E4A5C; }
.hero-card__kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FF4D1D; }
.hero-card__h { margin: 0; font-size: clamp(36px, 4.4vw, 62px); font-weight: 700; line-height: 0.96; letter-spacing: -0.035em; color: #141414; text-shadow: 0 1px 18px rgba(247,244,237,0.9); }
.hero-card__h span { color: #2E6BE6; }
.hero-card__p { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.45; color: #1F2733; font-weight: 500; text-shadow: 0 0 12px rgba(247,244,237,0.95); }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }
@media (max-width: 719px) { .hero-scrim { width: 100%; height: 330px; background: linear-gradient(180deg, rgba(247,244,237,0.92) 0%, rgba(247,244,237,0.75) 55%, rgba(247,244,237,0) 100%); } .hero-card { gap: 10px; padding: 0; } .hero-card__h { font-size: 32px; } .hero-card__kicker { font-size: 11px; } .hero-card__p { font-size: 15px; } }
@media (max-width: 719px) { .hero-dial { display: none; } }

/* ===== phones: a slim header, a map you can scroll past, and a full-screen explore mode ===== */
.topnav__menu, .hero-explore, .hero-done { display: none; }
@media (max-width: 719px) {
  .topnav { flex-wrap: nowrap !important; padding: 8px 16px !important; gap: 12px !important; }
  .topnav__tag { display: none; }
  .topnav__brand span { font-size: 17px !important; }
  .topnav__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #141414; background: transparent; color: #141414; font: 700 15px/1 var(--body, 'Familjen Grotesk', system-ui, sans-serif); cursor: pointer; flex: none; }
  .topnav__burger { position: relative; width: 14px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .topnav.is-open .topnav__burger { background: transparent; box-shadow: none; }
  .topnav.is-open .topnav__burger::before, .topnav.is-open .topnav__burger::after { content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }
  .topnav.is-open .topnav__burger::after { transform: rotate(-45deg); }
  .topnav__links { display: none !important; }
  .topnav.is-open .topnav__links { display: flex !important; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch !important; gap: 0 !important; padding: 4px 16px 18px; background: #F4F1EA; border-bottom: 1px solid #E2DDD3; box-shadow: 0 18px 30px -18px rgba(20,20,20,0.3); }
  .topnav.is-open .topnav__links a { min-height: 52px !important; font-size: 19px; border-bottom: 1px solid #E8E3D9; }
  .topnav.is-open .topnav__links a:last-child { border-bottom: none; justify-content: center; margin-top: 14px; min-height: 52px !important; }

  /* the map fills the screen under the slim header */
  .hero { height: calc(100svh - 61px) !important; min-height: 520px !important; }
  .hero-ctrls { display: none !important; }
  .hero-card__kicker { display: none; }
  .hero-bottom { left: 12px !important; right: 12px !important; bottom: 12px !important; gap: 10px !important; }
  .hero-projects__label { display: none; }
  .hero-projects > div { margin: 0 -12px; padding: 2px 12px 4px !important; scrollbar-width: none; }
  .hero-projects > div::-webkit-scrollbar { display: none; }
  .hero-projects button { min-height: 44px !important; padding: 0 14px !important; font-size: 15px !important; }
  .hero-projects button img { height: 20px !important; }
  /* the white intro card repeats the headline: on a phone it only appears once you've picked a place, as a bottom sheet */
  .hero:not(.has-sel) .hero-sheet { display: none !important; }
  .hero.has-sel .hero-projects { display: none !important; }
  .hero.has-sel .hero-sheet { flex: 1 1 100% !important; width: 100% !important; max-width: none !important; max-height: none !important; overflow: visible !important; padding: 18px 20px 20px !important; gap: 10px !important; border-radius: 20px !important; }
  .hero.has-sel .hero-sheet h2 { font-size: 24px !important; line-height: 1.08 !important; }
  .hero.has-sel .hero-sheet p { font-size: 15px !important; line-height: 1.45 !important; }
  .hero.has-sel .hero-sheet ul li { padding: 8px 0 !important; font-size: 14px !important; }
  .hero.has-sel .hero-sheet > button:first-child { min-height: 40px !important; }
  /* the way in */
  .hero-explore { display: inline-flex; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); min-height: 50px; padding: 0 22px; border: none; border-radius: 999px; background: #141414; color: #FFFFFF; font: 700 16px/1 var(--body, 'Familjen Grotesk', system-ui, sans-serif); box-shadow: 0 10px 30px -8px rgba(20,20,20,0.5); white-space: nowrap; z-index: 3; cursor: pointer; }
  .hero-explore::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #FF4D1D; box-shadow: 0 0 0 4px rgba(255,77,29,0.25); }
  .hero.has-sel .hero-explore, .hero.is-explore .hero-explore { display: none; }
  /* explore: the map takes the whole screen, one finger drags, two fingers zoom */
  .hero.is-explore { position: fixed !important; top: 0; left: 0; right: 0; bottom: 0; height: 100svh !important; min-height: 0 !important; z-index: 60; }
  .hero.is-explore .hero-card, .hero.is-explore .hero-scrim { display: none !important; }
  .hero.is-explore .hero-done { display: inline-flex; align-items: center; position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; min-height: 44px; padding: 0 18px; border: none; border-radius: 999px; background: #141414; color: #FFFFFF; font: 700 15px/1 var(--body, 'Familjen Grotesk', system-ui, sans-serif); z-index: 4; box-shadow: 0 8px 22px -8px rgba(20,20,20,0.5); cursor: pointer; }
  .hero.is-explore.has-sel .hero-done { display: none; }
  .hero.is-explore .hero-bottom { bottom: max(12px, env(safe-area-inset-bottom)) !important; }
  .tl__now { margin-top: 20px; min-height: 0; }
}
html.exploring, html.exploring body { overflow: hidden; }

/* after dark the wash turns to night sky and the type to paper */
.hero.is-night .hero-scrim { background: radial-gradient(ellipse 100% 100% at 0% 0%, rgba(14,20,34,0.9) 0%, rgba(14,20,34,0.78) 40%, rgba(14,20,34,0.4) 62%, rgba(14,20,34,0) 85%); }
.hero.is-night .hero-card__h { color: #F4F1EA; text-shadow: 0 1px 18px rgba(14,20,34,0.9); }
.hero.is-night .hero-card__h span { color: #8FB4FF; }
.hero.is-night .hero-card__p { color: #D9DEE8; text-shadow: 0 0 12px rgba(14,20,34,0.95); }
.hero.is-night .hero-card__kicker { color: #B9C2D3; }
@media (max-width: 719px) { .hero.is-night .hero-scrim { background: linear-gradient(180deg, rgba(14,20,34,0.9) 0%, rgba(14,20,34,0.7) 55%, rgba(14,20,34,0) 100%); } }

/* questions on a phone: all six tabs in one even row, the question gets the space it needs and no more */
@media (max-width: 719px) {
  .stage--tight .stage__in { padding-top: 36px; padding-bottom: 36px; }
  .stage--tight .qs { margin-top: 22px; gap: 22px; }
  .stage--tight .qs__nav { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
  .stage--tight .qs__btn { justify-content: center; min-height: 46px; padding: 0 !important; border-radius: 12px; }
  .stage--tight .qs__btn b { font-size: 17px; }
  .stage--tight .qs__q { font-size: 23px !important; line-height: 1.12 !important; min-height: 7.9em !important; }
}

/* the banner on a phone: a portrait take of the same terrace, with the four marks on the sky just as on desktop */
.band4__marks { display: none; }
.band4__pic picture { display: block; width: 100%; height: 100%; }
@media (max-width: 719px) {
  .band4__pic { height: auto !important; aspect-ratio: 4 / 5 !important; }
  .band4__pic picture img { position: static !important; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 100% !important; }
  .band4__marks img { position: static !important; display: block; width: auto !important; max-width: 100%; max-height: 30px; object-fit: contain; transform: none !important; }
  .band4__pic::after { background: linear-gradient(180deg, rgba(10,14,30,0.35) 0%, rgba(10,14,30,0) 38%, rgba(10,14,30,0) 70%, rgba(10,14,30,0.35) 100%); }
  .band4__chips { display: none !important; }
  .band4__marks { display: grid; grid-template-columns: 1fr 1fr; position: absolute; top: 0; left: 0; right: 0; padding: 26px 18px 0; z-index: 2; }
  .band4__marks button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 76px; padding: 8px; border: none; background: transparent; color: #fff; cursor: pointer; border-radius: 14px; }
  .band4__marks button:nth-child(odd)::after { content: ''; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,0.32); }
  .band4__marks button:nth-child(-n+2)::before { content: ''; position: absolute; left: 18%; right: 18%; bottom: 0; height: 1px; background: rgba(255,255,255,0.22); }
  .band4__marks button:active { background: rgba(255,255,255,0.08); }
  .band4__tp2 { font: 500 26px/1 'IBM Plex Mono', ui-monospace, monospace; color: #FFB347; letter-spacing: 0.02em; }
  .band4__tp2 i { font-style: normal; }
  .band4__marks small { font: 600 8px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: 0.06em; white-space: nowrap; text-transform: uppercase; color: #FFB347; opacity: 0.9; }
}

/* ===== Why is it done like this? — object + question. One spacing scale: 8 / 16 / 24 / 40 / 56 ===== */
.qx { --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 56px; }
.qx .stage__in { padding: var(--s5); }
.qx__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s5); align-items: stretch; }
.qx__pic { position: relative; min-height: 520px; border-radius: 24px; overflow: hidden; background: #1d3fa8; }
.qx__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transform: scale(1.04); transition: opacity 0.7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.qx__pic img.on { opacity: 1; transform: none; }
.qx__n { position: absolute; left: var(--s3); top: var(--s3); font: 800 64px/0.9 var(--display); font-variation-settings: 'wdth' 125; color: #fff; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(10,20,60,0.35); animation: qin 0.6s cubic-bezier(.2,.7,.2,1); }
.qx__body { display: flex; flex-direction: column; min-width: 0; }
.qx__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.qx__head .big { font-size: clamp(40px, 4.6vw, 68px); }
.qx__bars { display: none; }
.qx__q { margin: var(--s4) 0 0; min-height: 5.5em; font: 700 clamp(24px, 2.3vw, 32px)/1.18 var(--body); letter-spacing: -0.015em; color: #fff; animation: qin 0.6s cubic-bezier(.2,.7,.2,1); }
.qx__q span { color: rgba(255,255,255,0.66); }
.qx__list { margin-top: auto; padding-top: var(--s4); display: flex; flex-direction: column; }
.qx__row { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 10px; align-items: center; min-height: 50px; padding: 0; border: none; border-top: 1px solid rgba(255,255,255,0.24); background: transparent; color: rgba(255,255,255,0.68); font: 700 16px/1.2 var(--body); text-align: left; cursor: pointer; transition: color 0.2s; }
.qx__row:last-child { border-bottom: 1px solid rgba(255,255,255,0.24); }
.qx__row b { font: 800 14px/1 var(--display); font-variation-settings: 'wdth' 125; }
.qx__row:hover { color: #fff; }
.qx__row[aria-pressed="true"] { color: #fff; }
.qx__row[aria-pressed="true"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mustard); }
.qx__prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: #fff; }
.qx__row[aria-pressed="true"] .qx__prog { animation: fill 7s linear forwards; }
.qx__grid.paused .qx__prog, .qx__grid.paused .qx__bar i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .qx__pic img, .qx__q, .qx__n { transition: none; animation: none; } .qx__prog { display: none; } }
@media (max-width: 1023px) and (min-width: 720px) { .qx .stage__in { padding: var(--s4); } .qx__grid { column-gap: var(--s4); } .qx__pic { min-height: 460px; } }
@media (max-width: 719px) {
  .qx .stage__in { padding: 20px; }
  .qx__grid { grid-template-columns: 1fr; row-gap: var(--s3); }
  .qx__pic { min-height: 0; aspect-ratio: 4 / 3.3; border-radius: 16px; }
  .qx__n { left: var(--s2); top: var(--s2); font-size: 40px; }
  .qx__head { gap: 12px; }
  .qx__head .big { font-size: 34px; }
  .qx__bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 10px; margin-bottom: -6px; }
  .qx__bar { position: relative; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer; }
  .qx__bar::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,0.3); }
  .qx__bar i { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 2px; background: #fff; }
  .qx__bar[aria-selected="true"] i { animation: fill 7s linear forwards; }
  .qx__q { margin-top: var(--s2); font-size: 22px; line-height: 1.2; min-height: 7.3em; }
  .qx__list { display: none; }
}
@media (max-width: 370px) {
  .qx__q { font-size: 20px; min-height: 8.4em; }
  .qx__head .big { font-size: 30px; }
  .qx__list { display: none; }
}
@media (max-width: 719px) and (prefers-reduced-motion: reduce) { .qx__bar[aria-selected="true"] i { animation: none; width: 100%; } }
@media (max-width: 719px) { .qx__bar.done i { width: 100%; } }
