@font-face {
  font-family: "JDTH Bold Cond";
  src: local("JDTH Bold Cond"), local("JDTHBoldCond"), local("JDTH-BoldCond"),
       local("JDTH Bold Condensed"), local("JDTH-BoldCondensed"), local("JDTHBoldCond-Regular"), local("JDTH BoldCond"),
       url("/fonts/JDTH-BoldCond.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --earth-berry: #c15360;
  --earth-cyan: #40c3d7;
  --earth-forest: #406d35;
  --earth-ink: #000;
  --earth-mist: #cadedc;
  --earth-mustard: #eac01e;
  --earth-navy: #353750;
  --earth-olive: #b1bd78;
  --earth-paper: #f6f4f0;
  --earth-red: #ec1d3e;
  --earth-rose: #d49397;
  --earth-sand: #d1cabd;
  --earth-sky: #9cbbd2;
  --font-body: "Avenir", "Avenir Next", "Avenir LT Std", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-heading: "JDTH Bold Cond", "JDTHBoldCond", "Barlow Condensed", "Arial Narrow", sans-serif;
  --pad-x: 1.5rem;
  --pad-y: 4rem;
  --chapter: #fff;
}

@media (min-width: 768px) { :root { --pad-x: 3.5rem; --pad-y: 5rem; } }
@media (min-width: 1024px) { :root { --pad-x: 5rem; --pad-y: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width: 1024px) and (min-height: 640px) and (hover: hover) and (pointer: fine) { html { scroll-snap-type: y proximity; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--earth-ink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

/* ---------- typography ---------- */
.font-display, .headline, .eyebrow {
  font-family: var(--font-heading);
  font-synthesis: none;
  text-transform: uppercase;
  font-weight: 700;
}
.font-display { letter-spacing: .01em; }
.headline {
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: .95;
  letter-spacing: .01em;
}
.eyebrow + .headline { margin-top: 1rem; }
.eyebrow {
  letter-spacing: .28em;
  font-size: .875rem;
  line-height: 1.35;
}
.knockout {
  display: inline-block;
  background: #fff;
  color: var(--earth-ink);
  padding: .1em .2em .2em;
  margin: .06em -.04em;
  line-height: 1;
}
@supports (text-box: trim-both cap alphabetic) {
  .knockout { text-box: trim-both cap alphabetic; padding: .2em; }
  .trim-cap { text-box: trim-both cap alphabetic; }
}
.text-chapter { color: var(--chapter); }
.muted { color: rgba(255, 255, 255, .6); }

/* ---------- slides ---------- */
.deck-slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--earth-ink);
}
.pad { padding: var(--pad-y) var(--pad-x); }
.center-col { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; }

.split { display: grid; min-height: 100svh; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { position: relative; min-height: 50svh; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
[data-active="true"] .reveal, [data-seen="true"] .reveal { opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .reveal { transition-duration: .5s; transform: translateY(12px); transition-delay: 0s !important; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- cover ---------- */
.cover__text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; min-height: 58svh; }
@media (min-width: 1024px) { .cover__text { min-height: 100svh; } }
.cover__brand { display: flex; flex-direction: column; align-items: center; text-align: center; align-self: center; width: min(72vw, 460px); }
.cover__brand img { width: 100%; height: auto; }
.cover__title { margin-top: 1.75rem; margin-right: -.42em; font-size: clamp(1.75rem, 3.4vw, 3rem); letter-spacing: .42em; line-height: 1.3; }
@media (min-width: 640px) { .cover__title { margin-top: 2.5rem; } }
.cover .split__media { min-height: 42svh; }
@media (min-width: 1024px) { .cover .split__media { min-height: 0; } }

/* ---------- contents ---------- */
.toc { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 640px) { .toc { gap: 1rem; } }
.toc li { width: 100%; }
@media (min-width: 640px) { .toc li { width: calc((100% - 1rem) / 2); } }
@media (min-width: 1024px) { .toc li { width: calc((100% - 3rem) / 4); } }
.toc a {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-height: 8.5rem; overflow: hidden;
  border-radius: 0 1rem 1rem 0;
  background: var(--chapter); color: var(--earth-ink); text-decoration: none;
  padding: 2rem 4rem 1.25rem 2.25rem;
  transition: transform .3s, box-shadow .3s;
}
@media (min-width: 640px) { .toc a { min-height: clamp(10.5rem, 25vh, 16rem); padding: 2.5rem 1.25rem 1.25rem 2.25rem; } }
.toc a:hover, .toc a:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(255, 255, 255, .25); }
.toc a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.toc__spine { position: absolute; inset: 0 auto 0 0; width: 1rem; }
.toc__stripes { position: absolute; left: 1rem; right: 0; top: 0; display: flex; height: .5rem; }
.toc__stripes span { flex: 1; }
.toc__arrow {
  position: absolute; right: 1rem; top: 1.5rem; display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; color: var(--earth-ink);
  transition: transform .3s;
}
@media (min-width: 640px) { .toc__arrow { right: 1.25rem; width: 2.75rem; height: 2.75rem; } }
.toc a:hover .toc__arrow, .toc a:focus-visible .toc__arrow { transform: rotate(-45deg); }
.toc__arrow svg { width: 1.25rem; height: 1.25rem; }
.toc__no { display: block; font-size: .68rem; color: rgba(0, 0, 0, .75); }
.toc__title { display: block; margin-top: .75rem; font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: .95; }
.toc__title .knockout { margin-top: .25rem; background: var(--earth-ink); color: var(--chapter); }
.toc__sub { display: block; margin-top: .75rem; font-size: .6rem; line-height: 1.8; letter-spacing: .2em; color: rgba(0, 0, 0, .8); }

/* ---------- copy blocks ---------- */
.lede {
  margin-top: 2.5rem; max-width: 36rem; border-left: 4px solid var(--chapter); padding-left: 1.75rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 300; line-height: 1.65; color: rgba(255, 255, 255, .85);
}
.lede p + p { margin-top: 1.25rem; }

/* ---------- values ---------- */
.values { margin-top: 2.5rem; display: grid; gap: 3rem; }
@media (min-width: 768px) { .values { margin-top: 3.5rem; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.value { text-align: center; }
.value__num { display: inline-flex; align-items: center; justify-content: center; width: 6rem; height: 5rem; font-size: 3rem; color: var(--earth-ink); }
.value h3 { margin-top: 1.5rem; font-size: clamp(2.25rem, 3.4vw, 3.25rem); letter-spacing: .1em; line-height: 1; }
.value__bar { margin: 1.25rem auto 0; width: 2.5rem; height: 4px; }
.value p { margin: 1.25rem auto 0; max-width: 24rem; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .8); }

/* ---------- full-bleed renders ---------- */
.render > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.render__shade { pointer-events: none; position: absolute; inset: 0 0 auto 0; height: 12rem; background: linear-gradient(to bottom, rgba(0, 0, 0, .4), transparent); }
.tag {
  position: absolute; left: 1rem; top: 1.25rem; z-index: 2; max-width: calc(100% - 2rem);
  background: rgba(0, 0, 0, .85); padding: .7rem .9rem;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .5);
}
@media (min-width: 768px) {
  .tag { left: 2.5rem; top: 2.5rem; padding: .9rem 1.15rem; }
}
.tag__kicker, .tag__title { font-size: 1.15rem; line-height: 1; letter-spacing: .06em; }
.tag__title { margin-top: .3rem; }
.tag__title .knockout { margin: 0; }
@media (min-width: 768px) { .tag__kicker, .tag__title { font-size: 1.5rem; } }
.tag__sub { margin-top: .6rem; font-size: .62rem; font-weight: 700; color: var(--chapter); }
@media (min-width: 768px) { .tag__sub { font-size: .68rem; } }

.stats {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .15);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgba(0, 0, 0, .88); padding: 1rem var(--pad-x); }
@media (min-width: 768px) { .stat { padding: 1.25rem 1.5rem; } }
.stat__label { font-size: .62rem; letter-spacing: .24em; color: var(--chapter); }
.stat__value { margin-top: .35rem; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1; }
.stats.stats--inline { position: static; margin-top: 2.5rem; max-width: 36rem; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255, 255, 255, .15); }
@media (min-width: 768px) { .stats.stats--inline { grid-template-columns: repeat(2, 1fr); } }
.stats--inline .stat { background: #070707; padding: 1rem 1.25rem; }
.stats--inline .stat__value { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.stat__value small { font-size: .55em; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }

/* stacked layout on phones in portrait – show the whole render */
@media (max-width: 767px) and (orientation: portrait) {
  .render { display: flex; flex-direction: column; min-height: 0; padding: 2rem 1rem; }
  .render > img { position: static; order: 2; height: auto; aspect-ratio: auto; }
  .render--tall > img { max-height: 80svh; object-fit: cover; }
  .render__shade { display: none; }
  .tag { position: static; order: 1; background: var(--earth-ink); padding: 1rem 0 .9rem; box-shadow: none; display: flex; align-items: center; gap: 1rem; }
  .tag__sub { margin-top: 0; padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, .4); font-size: .66rem; line-height: 1.6; letter-spacing: .22em; }
  .tag__kicker, .tag__title { font-size: 1.15rem; }
  .stats { position: static; order: 3; margin-top: 1px; }
  .stat { padding: .9rem 1rem; }
}

/* pair of renders */
.pair { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; gap: 4px; background: var(--earth-ink); }
.pair figure { position: relative; margin: 0; min-height: 0; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(0, 0, 0, .88); padding: .6rem 1rem; font-size: .75rem; }
@media (min-width: 768px) { .pair figcaption { left: 2rem; bottom: 2rem; font-size: .85rem; } }

/* ---------- plans ---------- */
.plan { display: grid; min-height: 100svh; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .plan { grid-template-columns: minmax(300px, 1fr) 2.1fr; gap: 3.5rem; } }
.plan__body { position: relative; }
.plan__panel {
  position: relative; display: block; background: #fff; padding: clamp(.5rem, 1.2vw, 1.25rem);
  box-shadow: 0 30px 80px -40px rgba(255, 255, 255, .2);
  text-decoration: none;
}
.plan__panel img { width: 100%; height: auto; max-height: calc(100svh - 2 * var(--pad-y)); object-fit: contain; }
.plan__zoom {
  position: absolute; right: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--earth-ink); color: #fff; padding: .5rem .8rem; font-size: .62rem; letter-spacing: .22em;
  transition: background .2s, color .2s;
}
.plan__panel:hover .plan__zoom, .plan__panel:focus-visible .plan__zoom { background: var(--chapter); color: var(--earth-ink); }
.plan__zoom svg { width: 1rem; height: 1rem; }
.plan__ghost {
  position: absolute; right: var(--pad-x); bottom: 1.5rem; z-index: 0; pointer-events: none;
  font-size: clamp(6rem, 14vw, 14rem); line-height: .8; color: rgba(255, 255, 255, .08);
}
.plan .plan__body, .plan .plan__panel { z-index: 1; }

.facts { margin-top: 2rem; display: grid; gap: 1.5rem; }
.facts h3 { font-size: .8rem; letter-spacing: .28em; color: var(--chapter); padding-bottom: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.facts li { margin-top: .55rem; font-size: clamp(1.05rem, 1.35vw, 1.3rem); letter-spacing: .06em; line-height: 1.15; }
.facts li .sep { color: rgba(255, 255, 255, .35); padding: 0 .35em; }
.headline.headline--plan { white-space: nowrap; font-size: min(8.2vw, 2.6rem); }
@media (min-width: 1024px) { .headline.headline--plan { font-size: clamp(2rem, calc(3.3vw - 9px), 3.25rem); } }

.zones { margin-top: 2rem; width: 100%; max-width: 30rem; border-collapse: collapse; font-size: .9rem; }
.zones caption { text-align: left; font-size: .75rem; letter-spacing: .28em; color: var(--chapter); padding-bottom: .75rem; }
.zones th { text-align: left; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .2em; font-size: .65rem; font-weight: 700; color: rgba(255, 255, 255, .55); padding: .5rem .5rem; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.zones td { padding: .5rem .5rem; color: rgba(255, 255, 255, .7); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zones td:first-child { width: 2rem; font-family: var(--font-heading); font-weight: 700; color: rgba(255, 255, 255, .4); }
.zones td:last-child, .zones th:last-child { text-align: right; white-space: nowrap; }
.zones tr.is-current td { background: var(--chapter); color: var(--earth-ink); font-weight: 600; }
.zones tr.is-current td:first-child { color: var(--earth-ink); }

/* ---------- location ---------- */
.location .split__media { min-height: 0; background: #f2f0ec; }
.location .split__media img { position: static; width: 100%; height: auto; }
@media (min-width: 1024px) { .location .split__media img { position: absolute; height: 100%; object-fit: cover; object-position: 0% 50%; } }
.btn-row { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 640px) { .btn-row { gap: 1rem; } }
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  border: 1px solid rgba(255, 255, 255, .3); padding: .9rem 1.5rem;
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .12em;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:focus-visible { border-color: #fff; background: #fff; color: var(--earth-ink); }
.btn--solid { background: var(--chapter); border-color: var(--chapter); color: var(--earth-ink); }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.normal-case { text-transform: none; }

/* ---------- team ---------- */
.team-head { display: flex; flex-direction: column-reverse; gap: 1rem; }
@media (min-width: 640px) { .team-head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; } }
.team { margin-top: 2.5rem; display: grid; gap: 3rem; }
@media (min-width: 768px) { .team { margin-top: 3rem; grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.team__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(255, 255, 255, .05); }
@media (min-width: 768px) { .team__photo { aspect-ratio: 4 / 5; } }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); transition: filter .7s, transform .7s; }
.team article:hover img { filter: none; transform: scale(1.03); }
.team h3 { margin-top: 1.25rem; font-size: 1.5rem; letter-spacing: .04em; }
.team .eyebrow { margin-top: .25rem; font-size: .68rem; }
.team article > p:last-child { margin-top: .75rem; font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, .75); }

/* ---------- closing ---------- */
.closing__text { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 58svh; padding: 3.5rem 1.5rem; }
@media (min-width: 1024px) { .closing__text { min-height: 100svh; } }
.closing__text > img { width: min(70vw, 380px); height: auto; }
.closing__tag { margin-top: 1.75rem; margin-right: -.36em; font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: .36em; }
.closing .btn-row { justify-content: center; }
.closing .split__media { min-height: 42svh; }
@media (min-width: 1024px) { .closing .split__media { min-height: 0; } }

/* ---------- chrome ---------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 4px; background: rgba(255, 255, 255, .1); }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--chapter); transition: transform .5s, background-color .5s; }

.deck-nav {
  position: fixed; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 2px;
  border: 1px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .95);
  padding: 2px 2px 2px .75rem; color: #fff; box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6);
}
@media (min-width: 768px) { .deck-nav { right: 1.5rem; bottom: 1.5rem; padding: 4px 4px 4px 1rem; gap: 4px; background: rgba(0, 0, 0, .9); } }
.deck-nav__name { display: none; max-width: 16rem; padding-right: .75rem; font-size: 13px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
@media (min-width: 640px) { .deck-nav__name { display: block; } }
.deck-nav__count { padding-right: .4rem; font-size: 1rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .deck-nav__count { font-size: 1.125rem; padding-right: .5rem; } }
.deck-nav__count span { color: rgba(255, 255, 255, .35); }
.deck-nav button {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer; transition: background .2s, color .2s;
}
.deck-nav button:hover { background: #fff; color: var(--earth-ink); }
.deck-nav button:disabled { opacity: .3; cursor: default; background: transparent; color: #fff; }
.deck-nav button svg { width: 1.25rem; height: 1.25rem; }
.deck-nav .is-next { background: #fff; color: var(--earth-ink); }
.deck-nav .is-next:hover { background: var(--chapter); }
.deck-nav .is-prev { display: none; }
@media (min-width: 640px) { .deck-nav .is-prev { display: grid; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media print {
  html { scroll-snap-type: none; }
  .reveal { opacity: 1; transform: none; }
  .deck-slide { break-after: page; }
  .progress, .deck-nav { display: none; }
}

/* fixed page number on each slide, for easy feedback */
.slide-no {
  position: absolute; right: .75rem; top: 1rem; z-index: 20; pointer-events: none;
  background: rgba(0, 0, 0, .85); color: #fff; padding: .35rem .6rem;
  font-size: .8rem; letter-spacing: .12em; line-height: 1; font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { .slide-no { right: 1.5rem; top: 1.5rem; font-size: .9rem; } }
@media print { .slide-no { display: block; } }

/* ---------- social spaces overview ---------- */
.knockout--chapter { background: var(--chapter); }
.spaces-head { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 1024px) { .spaces-head { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.spaces-intro { max-width: 34rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 300; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.spaces { margin-top: 2.5rem; display: grid; gap: .75rem; }
@media (min-width: 640px) { .spaces { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spaces { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.space { background: #1c1c1c; padding: 1.4rem 1.5rem 1.6rem; }
.space h3 { font-size: 1.25rem; letter-spacing: .04em; line-height: 1.1; }
.space p { margin-top: .75rem; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, .8); }

/* ======================================================================
   Mobile refinements
   ====================================================================== */
html, body { overflow-x: clip; }
body { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
.headline, .toc__title, .tag__title, .space h3, .team h3, .value h3 { overflow-wrap: break-word; hyphens: manual; }

/* respect the notch / home indicator on iPhones */
:root {
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
.pad { padding-left: calc(var(--pad-x) + var(--safe-l)); padding-right: calc(var(--pad-x) + var(--safe-r)); }

/* hover-only effects should not "stick" after a tap on touch screens */
@media (hover: none) {
  .toc a:hover { transform: none; box-shadow: none; }
  .toc a:hover .toc__arrow { transform: none; }
  .team article:hover img { transform: none; }
  .team__photo img { filter: none; }
  .btn:hover { border-color: rgba(255, 255, 255, .3); background: transparent; color: inherit; }
  .btn--solid:hover { background: var(--chapter); border-color: var(--chapter); color: var(--earth-ink); }
  .deck-nav button:hover { background: transparent; color: inherit; }
  .deck-nav .is-next:hover { background: #fff; color: var(--earth-ink); }
}
.toc a:active { transform: scale(.98); }
.btn:active, .deck-nav button:active { opacity: .75; }

/* larger tap targets on touch screens */
@media (pointer: coarse) {
  .deck-nav button { width: 2.75rem; height: 2.75rem; }
  .deck-nav .is-prev { display: grid; }
  .btn { min-height: 3rem; }
}

@media (max-width: 767px) {
  :root { --pad-x: 1.25rem; --pad-y: 3.5rem; }

  /* leave room for the page number at the top and the floating nav at the bottom */
  .pad { padding-top: 3.75rem; padding-bottom: calc(5.5rem + var(--safe-b)); }
  .center-col, .split, .plan, .pair { min-height: 0; }
  .deck-slide { min-height: 0; }
  .split__body.pad { padding-top: 2.75rem; }
  .deck-nav { right: calc(.75rem + var(--safe-r)); bottom: calc(.75rem + var(--safe-b)); }
  .slide-no { right: calc(.75rem + var(--safe-r)); top: .9rem; font-size: .72rem; }

  /* type: same rhythm, nothing too small to read */
  .headline { font-size: clamp(2rem, 9vw, 2.6rem); }
  .eyebrow { font-size: .78rem; letter-spacing: .22em; }
  .eyebrow + .headline { margin-top: .75rem; }
  .lede { margin-top: 1.75rem; padding-left: 1.1rem; border-left-width: 3px; font-size: 1.02rem; line-height: 1.6; }
  .toc__sub { font-size: .68rem; letter-spacing: .16em; }
  .toc__no { font-size: .72rem; }
  .stat__label { font-size: .68rem; letter-spacing: .18em; }
  .zones th { font-size: .7rem; letter-spacing: .14em; }
  .zones caption { font-size: .78rem; }
  .facts h3 { font-size: .78rem; }
  .team article > p:last-child { font-size: 15px; line-height: 1.6; }
  .team .eyebrow { font-size: .74rem; }
  .space p { font-size: 15px; }
  .value p { font-size: 16px; }
  .value h3 { font-size: 2rem; }
  .values { gap: 2.5rem; }

  /* cover & closing: image first-glance stays balanced */
  .cover__text { min-height: 52svh; padding-top: 4rem; padding-bottom: 2.5rem; }
  .cover .split__media, .closing .split__media { min-height: 48svh; }
  .closing__text { min-height: 0; padding-top: 4rem; padding-bottom: 3rem; }
  .closing .split__media { margin-bottom: 0; }
  .closing .btn-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 22rem; }
  .closing .btn { justify-content: center; }

  /* contents: compact cards */
  .toc { margin-top: 1.5rem; gap: .6rem; }
  .toc a { min-height: 7rem; padding: 1.5rem 3.75rem 1.1rem 1.9rem; }
  .toc__title { font-size: 1.6rem; margin-top: .5rem; }
  .toc__sub { margin-top: .55rem; }

  /* split slides with an image */
  .split__media { min-height: 46svh; }
  .location .split__media { min-height: 0; }

  /* stats */
  .stats.stats--inline { margin-top: 1.75rem; }
  .stats--inline .stat { padding: .85rem 1rem; }
  .stat__value, .stats--inline .stat__value { font-size: 1.6rem; }

  /* location buttons full width */
  .btn-row { margin-top: 1.75rem; }
  .btn { font-size: 1rem; padding: .85rem 1.25rem; }
  .location .btn-row .btn { width: 100%; justify-content: center; }

  /* plans: drawing directly under the title, table below */
  .plan { gap: 1.5rem; }
  .plan__body { display: contents; }
  .plan__body > .eyebrow { order: 1; }
  .plan__body > .headline { order: 2; margin-top: -.75rem; }
  .plan__panel { order: 3; padding: .4rem; }
  .plan__panel img { max-height: none; }
  .plan__body > .facts, .plan__body > .zones { order: 4; margin-top: 0; }
  .plan__ghost { display: none; }
  .plan__zoom { right: .5rem; bottom: .5rem; padding: .55rem .75rem; font-size: .68rem; }
  .zones { max-width: none; font-size: .88rem; }
  .zones td { padding: .55rem .4rem; }
  .zones th { padding: .5rem .4rem; }
  .facts li { font-size: 1.1rem; }

  /* social spaces cards */
  .spaces { margin-top: 1.75rem; gap: .6rem; }
  .space { padding: 1.2rem 1.25rem 1.35rem; }

  /* team */
  .team { margin-top: 2rem; gap: 2.5rem; }
  .team-head { gap: .75rem; }
}

/* phones in portrait: full renders shown uncropped, labels above */
@media (max-width: 767px) and (orientation: portrait) {
  .render { padding: 3.25rem calc(1rem + var(--safe-r)) 2rem calc(1rem + var(--safe-l)); }
  .tag { padding: .5rem 0 .85rem; }
  .pair { gap: 4px; padding: 3.25rem calc(1rem + var(--safe-r)) 2rem calc(1rem + var(--safe-l)); align-items: start; }
  .pair figure { min-height: 0; }
  .pair img { position: static; width: 100%; height: auto; aspect-ratio: 952 / 1080; object-fit: cover; }
  .pair figcaption { position: static; display: block; background: none; padding: .6rem 0 0; font-size: .62rem; letter-spacing: .16em; }
}

/* ======================================================================
   Phones held sideways (short landscape screens)
   Every slide is sized to exactly one screen. Renders all share the same
   16:9 frame so they line up when stacked; text is sized to the short height.
   ====================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --lx-pad: 1.5rem;
    --lx-nav: 3.75rem;                                   /* room kept free for the side nav */
    --rw: min(100vw, 100svh * 16 / 9);                   /* shared render frame width */
    --rh: calc(var(--rw) * 9 / 16);                      /* shared render frame height */
  }
  /* one slide = at least one screen; text slides grow so every word is reachable by normal page scrolling */
  .deck-slide { height: auto; min-height: 100vh; min-height: 100svh; overflow: hidden; }
  .render, #public-wc { height: 100vh; height: 100svh; }
  .center-col, .split, .plan, .pair, .cover__text, .closing__text { min-height: 0; }
  .pad {
    padding: var(--lx-pad) calc(var(--lx-pad) + var(--safe-r)) var(--lx-pad) calc(var(--lx-pad) + var(--safe-l));
  }
  .slide-no { display: none; }

  /* compact type for the short screen */
  .headline { font-size: clamp(1.6rem, 8.5svh, 2.3rem); line-height: .95; }
  .eyebrow { font-size: .68rem; letter-spacing: .24em; }
  .eyebrow + .headline { margin-top: .5rem; }
  .lede { margin-top: 1rem; max-width: 34rem; padding-left: .9rem; border-left-width: 3px; font-size: .84rem; line-height: 1.5; }
  .lede p + p { margin-top: .55rem; }

  /* side nav: a slim vertical strip in the bottom-right corner */
  .deck-nav {
    right: calc(.5rem + var(--safe-r)); bottom: calc(.5rem + var(--safe-b));
    flex-direction: column; gap: 2px; padding: .4rem 2px 2px;
    background: rgba(0, 0, 0, .9);
  }
  .deck-nav__name { display: none; }
  .deck-nav__count { padding: 0 0 .25rem; font-size: .78rem; letter-spacing: .04em; text-align: center; line-height: 1.1; }
  .deck-nav__count > span:last-child { display: block; font-size: .85em; }
  .deck-nav button, .deck-nav .is-prev { display: grid; width: 2.4rem; height: 2.4rem; }
  .deck-nav button svg { width: 1.1rem; height: 1.1rem; }

  /* ---------- text + image slides ---------- */
  .split { display: flex; min-height: 100vh; min-height: 100svh; }
  .split__body { flex: 1 1 auto; min-width: 0; justify-content: flex-start; }
  /* centred when it fits; when it doesn't, the slide grows and the page scrolls normally */
  .split__body > :first-child, .plan__body > :first-child { margin-top: auto; }
  .split__body > :last-child, .plan__body > :last-child { margin-bottom: auto; }
  .split__body.pad { padding-top: var(--lx-pad); }
  /* the image column takes the image's own shape, so the photo is shown whole */
  .split__media, .cover .split__media, .closing .split__media, .location .split__media {
    position: relative; flex: none; align-self: stretch; min-height: 0; height: auto;
    width: min(100svh * var(--ar, 1), var(--media-max, 55vw));
    background: var(--earth-ink);
  }
  .split__media img, .location .split__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  #wake-up { --ar: 1.075; }
  #introducing { --ar: .667; }
  #closing { --ar: .667; --media-max: 40vw; }
  #cover { --ar: 2; --media-max: 58vw; }
  #location { --ar: 1.78; --media-max: 50vw; }
  /* wide images that can't take their full shape are fitted, not cropped */
  #cover .split__media img { object-fit: contain; object-position: center !important; }
  .location .split__media { display: flex; align-items: center; background: #f2f0ec; }
  .location .split__media a { position: absolute; inset: 0; display: block; }
  .location .split__media img { object-fit: contain; }
  /* text on the right of the image keeps clear of the nav */
  #wake-up .split__body.pad { padding-right: calc(var(--lx-nav) + var(--safe-r)); }

  .stats.stats--inline { margin-top: 1rem; max-width: 34rem; grid-template-columns: repeat(4, 1fr); }
  .stats--inline .stat { padding: .5rem .65rem; }
  .stat__label { font-size: .52rem; letter-spacing: .14em; line-height: 1.3; }
  .stats--inline .stat__value, .stat__value { margin-top: .25rem; font-size: 1.15rem; }
  .btn-row { margin-top: 1rem; }
  .btn { min-height: 0; padding: .55rem 1rem; font-size: .85rem; gap: .5rem; }
  .btn svg { width: 1rem; height: 1rem; }
  .location .btn-row .btn { width: auto; }

  /* cover & closing */
  .cover__text { flex: 1 1 auto; min-width: 0; }
  .closing__text { flex: 0 1 auto; width: min(24rem, 48vw); }
  /* closing: logo + photo sit together in the middle of the screen */
  .split.closing { justify-content: center; gap: clamp(1rem, 4vw, 2.5rem); padding: 0 calc(var(--lx-nav) + var(--safe-r)) 0 calc(var(--lx-nav) + var(--safe-l)); }
  .cover__text, .closing__text {
    min-height: 0; gap: 1rem;
    padding: 1.25rem 1.25rem 1.25rem calc(1.25rem + var(--safe-l));
  }
  .cover__brand { width: min(27vw, 46svh * 1.92, 300px); }
  .cover__title { margin-top: .9rem; font-size: clamp(.95rem, 5.5svh, 1.45rem); letter-spacing: .32em; margin-right: -.32em; }
  .closing__text > img { width: min(28vw, 34svh * 1.9, 280px); }
  .closing__tag { margin-top: .9rem; font-size: clamp(.95rem, 5svh, 1.4rem); }
  .closing .btn-row { margin-top: .9rem; gap: .45rem; flex-direction: column; align-items: stretch; width: 100%; max-width: 19rem; }
  .closing .btn { justify-content: center; }

  /* ---------- full-screen renders: one shared 16:9 frame ---------- */
  .render { display: flex; align-items: center; justify-content: center; padding: 0; background: var(--earth-ink); }
  .render > img {
    position: relative; inset: auto; order: 0;
    width: var(--rw); height: var(--rh); max-width: none; max-height: none;
    aspect-ratio: auto; object-fit: cover;
  }
  .render__shade { display: none; }
  .tag {
    position: absolute; order: 0; display: block;
    left: calc((100% - var(--rw)) / 2 + .75rem); top: calc((100% - var(--rh)) / 2 + .75rem);
    max-width: calc(var(--rw) - 1.5rem);
    background: rgba(0, 0, 0, .78); padding: .5rem .7rem; box-shadow: none;
  }
  .tag__kicker, .tag__title { font-size: .95rem; }
  .tag__title { margin-top: .25rem; }
  .tag__sub { margin-top: .4rem; padding-left: 0; border-left: 0; }

  /* the pair of WC renders fills the same frame as the single renders */
  #public-wc { display: flex; align-items: center; justify-content: center; }
  .pair {
    width: var(--rw); height: var(--rh); min-height: 0; padding: 0; gap: 4px;
    grid-template-columns: 1fr 1fr; align-items: stretch;
  }
  .pair figure { position: relative; min-height: 0; }
  .pair img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .pair figcaption { position: absolute; left: .6rem; bottom: .6rem; background: rgba(0, 0, 0, .85); padding: .45rem .7rem; font-size: .62rem; letter-spacing: .2em; }

  /* ---------- floor plan ---------- */
  .plan {
    min-height: 100vh; min-height: 100svh; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1.5rem; align-items: center;
    padding-right: calc(var(--lx-nav) + var(--safe-r));
  }
  .plan__body {
    display: flex; flex-direction: column; justify-content: center;
  }
  .plan__body > .headline { order: 0; margin-top: .5rem; }
  .headline.headline--plan { white-space: normal; font-size: clamp(1.25rem, 6.2svh, 1.75rem); }
  .facts { margin-top: .9rem; gap: .8rem; }
  .plan__body > .facts, .plan__body > .zones { order: 0; margin-top: .9rem; }
  .facts h3 { font-size: .62rem; padding-bottom: .35rem; }
  .facts li { margin-top: .3rem; font-size: .85rem; line-height: 1.15; }
  .plan__panel { order: 0; align-self: center; padding: .35rem; }
  .plan__panel img { width: 100%; height: auto; max-height: calc(100svh - 2 * var(--lx-pad) - .7rem); object-fit: contain; }
  .plan__zoom { right: .5rem; bottom: .5rem; padding: .4rem .6rem; font-size: .58rem; }
  .plan__ghost { display: none; }

  /* ---------- content-heavy slides: grow if they must, never cut off ---------- */
  .center-col { min-height: 100vh; min-height: 100svh; justify-content: center; padding-right: calc(var(--lx-nav) + var(--safe-r)); }

  /* contents: 4 x 2 grid of cards */
  .toc { margin-top: 1rem; gap: .5rem; justify-content: flex-start; }
  .toc li { width: calc((100% - 1.5rem) / 4); }
  .toc a { min-height: 0; padding: 1.1rem 2.4rem .8rem 1.4rem; border-radius: 0 .75rem .75rem 0; }
  .toc__spine { width: .6rem; }
  .toc__stripes { left: .6rem; height: .35rem; }
  .toc__arrow { right: .55rem; top: .85rem; width: 1.6rem; height: 1.6rem; }
  .toc__arrow svg { width: .9rem; height: .9rem; }
  .toc__no { font-size: .55rem; }
  .toc__title { margin-top: .35rem; font-size: 1.1rem; }
  .toc__sub { margin-top: .4rem; font-size: .5rem; letter-spacing: .12em; line-height: 1.5; }

  /* brand values: three columns */
  .values { margin-top: 1.1rem; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .value__num { width: 3.25rem; height: 2.6rem; font-size: 1.6rem; }
  .value h3, .value h3.font-display { margin-top: .7rem; font-size: 1.45rem; }
  .value__bar { margin-top: .55rem; width: 2rem; height: 3px; }
  .value p { margin-top: .6rem; font-size: .78rem; line-height: 1.5; }

  /* social spaces: heading beside the intro, 4 x 2 cards */
  .spaces-head { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .spaces-intro { font-size: .82rem; line-height: 1.5; }
  .spaces { margin-top: 1rem; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .space { padding: .75rem .85rem .85rem; }
  .space h3 { font-size: .95rem; }
  .space p { margin-top: .4rem; font-size: .72rem; line-height: 1.45; }

  /* team: three columns, smaller photos */
  .team-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1rem; }
  .team { margin-top: 1rem; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .team__photo { aspect-ratio: 1 / 1; }
  .team h3 { margin-top: .7rem; font-size: 1.1rem; }
  .team .eyebrow { font-size: .58rem; }
  .team article > p:last-child { margin-top: .45rem; font-size: .72rem; line-height: 1.5; }
}

/* very small phones (iPhone SE / mini) */
@media (max-width: 359px) {
  :root { --pad-x: 1rem; }
  .headline { font-size: 1.85rem; }
  .toc a { padding-right: 3.25rem; }
  .toc__title { font-size: 1.4rem; }
  .stat__value, .stats--inline .stat__value { font-size: 1.35rem; }
  .deck-nav__count { font-size: .9rem; }
}

/* ---------- full-screen plan viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: #000; overscroll-behavior: contain;
}
.viewer.is-open { display: block; }
.viewer__scroll {
  position: absolute; inset: 0; overflow: auto; -webkit-overflow-scrolling: touch;
  display: grid; place-items: center; padding: calc(4rem + env(safe-area-inset-top, 0px)) .75rem calc(4.5rem + var(--safe-b));
}
.viewer__scroll img {
  width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 8.5rem - env(safe-area-inset-top, 0px) - var(--safe-b));
  background: #fff; padding: .4rem; cursor: zoom-in;
}
.viewer.is-zoomed .viewer__scroll { place-items: start; }
.viewer.is-zoomed .viewer__scroll img { width: 260%; max-width: none; max-height: none; cursor: zoom-out; }
@media (min-width: 1024px) { .viewer.is-zoomed .viewer__scroll img { width: 180%; } }
.viewer__bar {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: .5rem;
  padding: calc(.75rem + env(safe-area-inset-top, 0px)) calc(.75rem + var(--safe-r)) .75rem calc(1rem + var(--safe-l));
  background: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent);
}
.viewer__title { flex: 1; min-width: 0; font-size: .95rem; letter-spacing: .14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__bar button {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; flex: none;
  border: 1px solid rgba(255, 255, 255, .25); background: #000; color: #fff; cursor: pointer;
}
.viewer__bar button svg { width: 1.25rem; height: 1.25rem; }
.viewer__hint {
  position: absolute; left: 50%; bottom: calc(1rem + var(--safe-b)); transform: translateX(-50%); z-index: 2;
  background: #000; border: 1px solid rgba(255, 255, 255, .2); padding: .55rem .9rem;
  font-size: .72rem; letter-spacing: .2em; white-space: nowrap; pointer-events: none;
}
html.viewer-open, html.viewer-open body { overflow: hidden; }
html.viewer-open .deck-nav, html.viewer-open .progress { display: none; }
