/* NOIR VERTICAL — dark cinematic family for high-rise projects.
   Tokens come from core.css + the per-project theme (<style id="pdx-theme">). */

.nv { background: var(--pdx-bg); overflow-x: clip; }

/* ---------- shared atoms ---------- */
.nv-no {
  display: block;
  font: 300 14px/1 var(--pdx-font-text);
  letter-spacing: .24em;
  color: var(--pdx-accent);
}
.nv-kicker {
  font: 500 12px/1.3 var(--pdx-font-text);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pdx-ink);
}
.nv-head { display: grid; gap: 14px; align-content: start; }
.nv-head::after { content: ''; width: 44px; height: 1px; background: var(--pdx-accent); order: 1; }
.nv-head .nv-no { order: 0; }
.nv-head .nv-kicker { order: 2; }
.nv-head__aside { order: 3; color: var(--pdx-muted); font-size: 14px; letter-spacing: .06em; }

.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 500 12px/1 var(--pdx-font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .35s, color .35s, border-color .35s;
}
.nv .nv-btn--accent { background: var(--pdx-accent); color: var(--pdx-accent-ink); }
.nv .nv-btn--accent:hover { background: color-mix(in srgb, var(--pdx-accent) 82%, #fff); }
.nv .nv-btn--line { background: transparent; color: var(--pdx-ink); border-color: color-mix(in srgb, var(--pdx-ink) 38%, transparent); }
.nv .nv-btn--line:hover { border-color: var(--pdx-accent); color: var(--pdx-accent); }
.nv-btn--block { width: 100%; }

.nv-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font: 500 12px/1 var(--pdx-font-text);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pdx-ink);
}
.nv-arrow-link span { color: var(--pdx-accent); transition: transform .4s var(--pdx-ease); }
.nv-arrow-link:hover span { transform: translateX(6px); }

/* ---------- rail ("elevator" progress) ---------- */
.nv-rail {
  position: fixed;
  right: clamp(14px, 1.6vw, 28px);
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .55));
}
.nv-rail ol { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.nv-rail a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: color-mix(in srgb, var(--pdx-ink) 55%, transparent);
  font: 500 10px/1 var(--pdx-font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nv-rail__tick { width: 14px; height: 1px; background: currentColor; transition: width .5s var(--pdx-ease), background-color .5s; }
.nv-rail__label {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .4s, transform .5s var(--pdx-ease);
}
.nv-rail__label em { font-style: normal; color: var(--pdx-accent); }
/* labels only appear while the rail is in use, so they never sit on top of content */
.nv-rail:hover .nv-rail__label,
.nv-rail:focus-within .nv-rail__label { opacity: 1; transform: none; }
.nv-rail:hover ol, .nv-rail:focus-within ol {
  padding: 14px 0 14px 18px;
  margin: -14px 0 -14px -18px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--pdx-bg) 88%, transparent) 30%);
}
.nv-rail a[aria-current="true"] { color: var(--pdx-ink); }
.nv-rail a[aria-current="true"] .nv-rail__tick { width: 34px; background: var(--pdx-accent); }
.nv-rail__meter { position: absolute; right: -10px; top: -26px; bottom: -26px; width: 1px; background: var(--pdx-line); }
.nv-rail__meter i { display: block; width: 100%; height: 100%; background: var(--pdx-accent); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.nv.is-hero-view .nv-rail { opacity: 0; pointer-events: none; }
.nv-rail { transition: opacity .6s; }
@media (max-width: 1099px) { .nv-rail { display: none; } }

/* ---------- hero ---------- */
.nv-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  --title-size: min(15vw, 34svh, calc(84svh / (var(--len, 12) * .46)));
}
.nv-hero__media { position: absolute; inset: -4% 0 0; z-index: -2; will-change: transform; }
.nv-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pdx-hero-focus, 50% 50%);
  transform: scale(1.08);
  animation: nv-settle 2.6s var(--pdx-ease) .1s forwards;
}
@keyframes nv-settle { to { transform: scale(1); } }
.nv-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--pdx-bg) calc(var(--pdx-hero-shade, .6) * 100%), transparent) 0%,
      color-mix(in srgb, var(--pdx-bg) calc(var(--pdx-hero-shade, .6) * 70%), transparent) 30%,
      color-mix(in srgb, var(--pdx-bg) 14%, transparent) 56%,
      transparent 74%),
    linear-gradient(0deg, var(--pdx-bg) 0%, color-mix(in srgb, var(--pdx-bg) 62%, transparent) 18%, color-mix(in srgb, var(--pdx-bg) 22%, transparent) 40%, transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 20%);
}
.nv-mullions { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: space-evenly; pointer-events: none; }
.nv-mullions i {
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pdx-ink) 10%, transparent) 30%, transparent);
  transform-origin: top;
  animation: nv-draw 2.2s var(--pdx-ease) both;
}
.nv-mullions i:nth-child(2) { animation-delay: .15s; }
.nv-mullions i:nth-child(3) { animation-delay: .3s; }
.nv-mullions i:nth-child(4) { animation-delay: .45s; }
.nv-mullions i:nth-child(5) { animation-delay: .6s; }
@keyframes nv-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.nv-hero__logo { position: absolute; top: clamp(20px, 3.6vh, 36px); left: var(--pdx-gutter); z-index: 2; display: block; width: clamp(104px, 9vw, 140px); }
.nv-hero__logo img { width: 100%; height: auto; }

.nv-hero__title {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pdx-gutter) - .08em);
  display: flex;
  align-items: center;
  font-size: var(--title-size);
  pointer-events: none;
}
[data-hero="tower-right"] .nv-hero__title { left: auto; right: calc(var(--pdx-gutter) + 48px); }
.nv-hero__letters {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--pdx-font-display);
  font-weight: 200;
  font-size: 1em;
  line-height: .86;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--pdx-ink);
  text-shadow: 0 0 60px rgba(0, 0, 0, .35);
}
.nv-l { display: inline-block; animation: nv-rise 1.3s var(--pdx-ease) both; animation-delay: calc(.35s + var(--i) * 55ms); }
.nv-l--space { inline-size: .3em; } /* logical size: the word runs vertically */
@keyframes nv-rise { from { opacity: 0; transform: translateY(-.55em); } to { opacity: 1; transform: none; } }

.nv-hero__panel {
  position: absolute;
  left: calc(var(--pdx-gutter) + var(--title-size) * .9 + clamp(24px, 3vw, 56px));
  bottom: clamp(64px, 11svh, 120px);
  width: min(600px, 46vw);
  display: grid;
  gap: 26px;
  animation: nv-fade-up 1.4s var(--pdx-ease) .9s both;
}
[data-hero="tower-right"] .nv-hero__panel { left: var(--pdx-gutter); }
@keyframes nv-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.nv-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nv-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font: 500 11px/1.4 var(--pdx-font-text);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--pdx-ink) 78%, transparent);
}
.nv-hero__meta li + li::before { content: ''; width: 5px; height: 5px; transform: rotate(45deg); background: var(--pdx-accent); }
.nv-hero__subtitle { font: 300 clamp(21px, 1.9vw, 31px)/1.32 var(--pdx-font-text); letter-spacing: -.005em; max-width: 30ch; text-wrap: pretty; }
.nv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.nv-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  text-decoration: none;
  font: 500 10px/1 var(--pdx-font-text);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pdx-muted);
}
.nv-hero__cue i { width: 1px; height: 46px; background: linear-gradient(var(--pdx-accent), transparent); transform-origin: top; animation: nv-cue 2.4s ease-in-out infinite; }
@keyframes nv-cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- prologue ---------- */
.nv-prologue {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding: clamp(100px, 17vh, 210px) var(--pdx-gutter) clamp(90px, 14vh, 170px);
}
.nv-prologue .nv-head { grid-column: 1 / span 3; }
.nv-prologue__text { grid-column: 4 / span 8; position: relative; z-index: 1; }
.nv-lede { font: 300 clamp(26px, 2.75vw, 46px)/1.24 var(--pdx-font-text); letter-spacing: -.012em; text-wrap: pretty; }
.nv-prologue__rest {
  margin-top: clamp(40px, 6vh, 72px);
  max-width: 920px;
  columns: 2 300px;
  column-gap: 56px;
  color: var(--pdx-muted);
  font-size: 17px;
  line-height: 1.7;
}
.nv-prologue__rest p + p { margin-top: 1em; }
.nv-prologue__rest p { break-inside: avoid; }

/* ---------- facets (features) ---------- */
.nv-facets { padding: 0 var(--pdx-gutter) clamp(100px, 15vh, 190px); }
.nv-facets .nv-head { margin-bottom: clamp(32px, 5vh, 56px); }
.nv-facets__list {
  display: flex;
  height: clamp(440px, 64vh, 660px);
  border-top: 1px solid var(--pdx-line);
  border-bottom: 1px solid var(--pdx-line);
}
.nv-facet {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px clamp(18px, 1.8vw, 30px) 30px;
  border-left: 1px solid var(--pdx-line);
  overflow: hidden;
  transition: flex-grow 1s var(--pdx-ease), background-color .6s;
}
.nv-facet:first-child { border-left: 0; }
.nv-facet::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: radial-gradient(70% 60% at 50% 100%, var(--pdx-glow), transparent 70%);
  opacity: 0;
  transition: opacity .8s;
  pointer-events: none;
}
.nv-facet__no { position: relative; font: 300 13px/1 var(--pdx-font-text); letter-spacing: .24em; color: var(--pdx-accent); }
.nv-facet__art { position: absolute; inset: 14% 4% 30%; display: grid; place-items: center; pointer-events: none; }
.nv-facet__art img { width: 100%; height: 100%; object-fit: contain; opacity: .88; transition: transform 1.2s var(--pdx-ease), opacity .8s; }
.nv-facet__copy { position: relative; }
.nv-facet__title { font: 500 clamp(17px, 1.45vw, 24px)/1.2 var(--pdx-font-title); letter-spacing: .01em; text-transform: uppercase; max-width: 17ch; }
.nv-facet__text { margin-top: 10px; max-width: 32ch; color: var(--pdx-muted); font-size: 15px; line-height: 1.5; }
@media (hover: hover) and (min-width: 900px) {
  .nv-facets__list:hover .nv-facet { flex-grow: .78; }
  .nv-facets__list .nv-facet:hover { flex-grow: 1.85; }
  .nv-facet:hover::before { opacity: 1; }
  .nv-facet:hover .nv-facet__art img { opacity: 1; transform: translateY(-10px) scale(1.06); }
}

/* ---------- chapters ---------- */
.nv-chapter__label {
  font: 500 12px/1.3 var(--pdx-font-text);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pdx-accent);
  min-height: 1.3em;
}
.nv-chapter__title {
  margin: 14px 0 22px;
  font: 500 clamp(22px, 1.9vw, 34px)/1.14 var(--pdx-font-title);
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.nv-chapter__body { color: var(--pdx-muted); font-size: 16px; line-height: 1.68; }
.nv-chapter__body p + p, .nv-chapter__cols p + p { margin-top: .9em; }
.nv-chapter__roman {
  display: block;
  font: 300 clamp(84px, 9vw, 150px)/.8 var(--pdx-font-text);
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--pdx-accent) 65%, transparent);
  letter-spacing: .02em;
  pointer-events: none;
  user-select: none;
}

/* stage chapters: pinned while the renders advance with scroll */
.nv-chapter--stage { position: relative; height: calc(100vh + (var(--count, 1) - 1) * 55vh); height: calc(100svh + (var(--count, 1) - 1) * 55svh); }
.nv-chapter__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
  padding: 0 var(--pdx-gutter);
}
.nv-chapter__stage { position: relative; grid-row: 1; height: min(74svh, 760px); background: var(--pdx-surface); }
.nv-chapter__text { position: relative; grid-row: 1; align-self: center; }
[data-side="right"] .nv-chapter__text { grid-column: 1 / span 4; padding-right: clamp(0px, 2vw, 32px); }
[data-side="right"] .nv-chapter__stage { grid-column: 5 / span 8; }
[data-side="left"] .nv-chapter__text { grid-column: 9 / span 4; padding-left: clamp(0px, 2vw, 32px); }
[data-side="left"] .nv-chapter__stage { grid-column: 1 / span 8; }
/* the chapter numeral sits on the stage corner while pinned, above the text when static */
.nv-chapter--stage .nv-chapter__text .nv-chapter__roman { display: none; }
.nv-stage-roman { position: absolute; z-index: 3; top: -.52em; }
[data-side="right"] .nv-stage-roman { left: -.28em; }
[data-side="left"] .nv-stage-roman { right: -.28em; }
.nv-chapter__frames { position: absolute; inset: 0; overflow: hidden; outline: none; }
.nv-frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity 1.1s var(--pdx-ease), transform 2s var(--pdx-ease); }
.nv-frame.is-active { opacity: 1; transform: none; }
.nv-frame img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.nv-stage-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .62), transparent);
}
.nv-counter { display: inline-flex; align-items: baseline; gap: 8px; font: 300 14px/1 var(--pdx-font-text); letter-spacing: .14em; color: #fff; }
.nv-counter b { font-weight: 400; font-size: 26px; letter-spacing: .04em; }
.nv-counter span { color: rgba(255, 255, 255, .6); }
.nv-progress { flex: 1; display: flex; gap: 6px; }
.nv-progress i { flex: 1; height: 1px; background: rgba(255, 255, 255, .28); transition: background-color .5s; }
.nv-progress i.is-active { background: var(--pdx-accent); }
.nv-icon-btn, .nv-expand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s;
}
.nv-icon-btn:hover, .nv-expand:hover { border-color: var(--pdx-accent); color: var(--pdx-accent); }
.nv-expand { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 22px; font-weight: 300; }
[data-side="left"] .nv-expand { right: auto; left: 16px; } /* the numeral owns the right corner */

/* text-only chapter */
.nv-chapter--monolith {
  position: relative;
  padding: clamp(110px, 18vh, 220px) var(--pdx-gutter);
  border-top: 1px solid var(--pdx-line);
  overflow: hidden;
}
.nv-chapter--monolith > .nv-chapter__roman {
  position: absolute;
  right: calc(var(--pdx-gutter) - .04em);
  top: clamp(40px, 8vh, 90px);
  font-size: clamp(170px, 24vw, 400px);
  opacity: .55;
}
/* line-height stays >= .98 and the title gets headroom: Cyrillic capitals carry diacritics (Ё, Й) */
.nv-chapter--monolith .nv-chapter__title { position: relative; max-width: 17ch; font-size: clamp(32px, 4.3vw, 72px); line-height: 1.06; margin: .4em 0 0; }
.nv-chapter__cols {
  position: relative;
  max-width: 1040px;
  margin: clamp(48px, 8vh, 96px) 0 0 auto;
  columns: 2 320px;
  column-gap: 56px;
  color: var(--pdx-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* static (unpinned) chapters: phones, tablets, short screens and reduced motion */
@media (max-width: 899px), (max-height: 679px), (prefers-reduced-motion: reduce) {
  .nv-chapter--stage { height: auto; padding: clamp(64px, 10vh, 110px) 0; }
  .nv-chapter__pin { position: relative; height: auto; display: flex; flex-direction: column; gap: 32px; padding: 0; }
  [data-side="left"] .nv-chapter__pin { flex-direction: column; }
  .nv-chapter__stage { width: 100%; height: auto; background: none; }
  .nv-chapter__frames {
    position: relative;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 var(--pdx-gutter);
    scroll-padding: 0 var(--pdx-gutter);
  }
  .nv-chapter__frames::-webkit-scrollbar { display: none; }
  .nv-frame { position: relative; inset: auto; flex: 0 0 min(86%, 760px); aspect-ratio: 3 / 2; opacity: 1; transform: none; scroll-snap-align: start; }
  .nv-stage-ui { position: relative; padding: 16px var(--pdx-gutter) 0; background: none; }
  .nv-counter, .nv-counter span { color: var(--pdx-muted); }
  .nv-counter b { color: var(--pdx-ink); }
  .nv-progress i { background: var(--pdx-line); }
  .nv-icon-btn { border-color: var(--pdx-line); background: none; color: var(--pdx-ink); }
  .nv-expand { right: calc(var(--pdx-gutter) + 12px); top: 12px; }
  .nv-chapter__text { padding: 0 var(--pdx-gutter); }
  .nv-stage-roman { display: none; }
  .nv-chapter--stage .nv-chapter__text .nv-chapter__roman { display: block; font-size: clamp(72px, 18vw, 120px); margin-bottom: 14px; }
}

/* ---------- location: timetable + framed map ---------- */
.nv-location {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: center;
  padding: clamp(100px, 16vh, 200px) var(--pdx-gutter);
  border-top: 1px solid var(--pdx-line);
}
.nv-location__info { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: clamp(26px, 4vh, 44px); }
.nv-location--no-map .nv-location__info { grid-column: 1 / span 8; }
.nv-location__place {
  font: 500 clamp(38px, 4.2vw, 72px)/1 var(--pdx-font-title);
  letter-spacing: .005em;
  text-transform: uppercase;
}
.nv-times { border-top: 1px solid var(--pdx-line); }
.nv-time {
  display: grid;
  grid-template-columns: minmax(1.6em, auto) 1fr;
  grid-template-rows: 1fr auto;
  column-gap: clamp(18px, 2vw, 32px);
  align-items: end;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--pdx-line);
  font-size: clamp(54px, 4.8vw, 82px);
}
.nv-time__value {
  grid-row: 1 / span 2;
  font: 300 1em/.8 var(--pdx-font-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  color: var(--pdx-ink);
  transition: color .4s;
}
.nv-time__label { align-self: end; font: 500 12px/1.45 var(--pdx-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--pdx-muted); }
.nv-time__bar { position: relative; height: 2px; margin-top: 12px; background: var(--pdx-line); }
.nv-time__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--share, 1) * 100%); background: var(--pdx-accent); transform-origin: left; }
.pdx.js-ready .nv-time__bar i { transform: scaleX(0); transition: transform 1.5s var(--pdx-ease); transition-delay: calc(.35s + var(--d, 0) * .18s); }
.pdx.js-ready .nv-times.is-in .nv-time__bar i { transform: none; }
.nv-time:hover .nv-time__value { color: var(--pdx-accent); }
.nv-location__maps { align-self: flex-start; }

.nv .nv-map {
  grid-column: 7 / span 6;
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: clamp(440px, 76svh, 780px);
  border: 1px solid var(--pdx-line);
  border-radius: 0;
  background: var(--pdx-surface);
}
.nv .nv-map::before, .nv .nv-map::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border: 0 solid var(--pdx-accent);
  pointer-events: none;
}
.nv .nv-map::before { left: -1px; bottom: -1px; border-width: 0 0 2px 2px; }
.nv .nv-map::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.nv-map__canvas { position: relative; flex: 1 1 auto; min-height: 0; }
.nv-map__caption {
  /* a title strip above the map, like the title block of a drawing (keeps Google's controls clear) */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  order: -1;
  padding: 14px 18px;
  border-bottom: 1px solid var(--pdx-line);
  font: 500 10px/1.3 var(--pdx-font-text);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pdx-ink);
  background: var(--pdx-bg);
}
.nv-map__caption span + span { color: var(--pdx-accent); white-space: pre; }

@media (max-width: 899px) {
  .nv-location { row-gap: 40px; }
  .nv-location__info, .nv-location--no-map .nv-location__info, .nv .nv-map { grid-column: 1 / -1; }
  .nv .nv-map { height: clamp(380px, 64svh, 560px); }
  .nv-time { font-size: clamp(48px, 15vw, 72px); }
}

/* ---------- contact ---------- */
.nv-contact { position: relative; padding: clamp(120px, 20vh, 240px) var(--pdx-gutter) clamp(90px, 14vh, 170px); overflow: hidden; }
.nv-contact__mark {
  position: absolute;
  left: 50%;
  top: clamp(20px, 4vh, 56px);
  transform: translateX(-50%);
  white-space: nowrap;
  font: 500 clamp(64px, 11.5vw, 210px)/.8 var(--pdx-font-title);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--pdx-ink) 16%, transparent);
  pointer-events: none;
  user-select: none;
}
.nv-contact__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; align-items: end; }
.nv-contact__intro { grid-column: 1 / span 5; display: grid; gap: 20px; align-content: end; }
.nv-contact__title { font: 500 clamp(30px, 3.2vw, 52px)/1.06 var(--pdx-font-title); text-transform: uppercase; letter-spacing: .005em; }
.nv-contact__text { color: var(--pdx-muted); font-size: 18px; max-width: 34ch; }
.nv-contact__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 8px; }

.nv .pd-form-box.nv-form {
  display: block; /* projects-detail.css hides .pd-form-box under 768px (classic has its own mobile form) */
  grid-column: 7 / span 6;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--pdx-ink);
  text-align: left;
  backdrop-filter: none;
}
.nv .nv-form form { display: grid; gap: 28px; }
.nv .nv-form .nv-field { display: grid; gap: 6px; margin: 0; }
.nv .nv-form .nv-field__label { font: 500 11px/1 var(--pdx-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--pdx-muted); }
.nv .nv-form .nv-field__row { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--pdx-line); transition: border-color .3s; }
.nv .nv-form input {
  width: 100%;
  margin: 0;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--pdx-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--pdx-ink);
  font: 300 clamp(19px, 1.5vw, 23px)/1.2 var(--pdx-font-text);
  transition: border-color .3s;
}
.nv .nv-form .nv-field__row input { border-bottom: 0; }
.nv .nv-form input::placeholder { color: color-mix(in srgb, var(--pdx-ink) 34%, transparent); }
.nv .nv-form input:focus { outline: none; border-bottom-color: var(--pdx-accent); }
.nv .nv-form .nv-field__row:focus-within { border-bottom-color: var(--pdx-accent); }
.nv .nv-form .pd-phone-prefix { position: static; padding: 0; margin: 0; color: var(--pdx-accent); font: 300 clamp(19px, 1.5vw, 23px)/1.2 var(--pdx-font-text); transform: none; }
.nv .nv-form button[type="submit"] { margin-top: 8px; min-height: 60px; font: 500 12px/1 var(--pdx-font-text); letter-spacing: .2em; border-radius: 0; }
.nv .nv-form .nv-form__consent { margin: 0; color: var(--pdx-muted); font-size: 12px; line-height: 1.5; }

/* ---------- mobile dock ---------- */
.nv-dock { display: none; }

/* ---------- tablet & phone ---------- */
@media (max-width: 899px) {
  .pdx { font-size: 16px; }
  .nv-hero { min-height: 560px; --title-size: min(22vw, 30svh, calc(80svh / (var(--len, 12) * .46))); }
  .nv-hero__shade {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--pdx-bg) 72%, transparent) 0%, transparent 55%),
      linear-gradient(0deg, var(--pdx-bg) 4%, color-mix(in srgb, var(--pdx-bg) 70%, transparent) 34%, transparent 62%),
      linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 22%);
  }
  .nv-hero__panel { left: calc(var(--pdx-gutter) + var(--title-size) * .86 + 16px); right: var(--pdx-gutter); width: auto; bottom: calc(88px + env(safe-area-inset-bottom)); gap: 18px; }
  .nv-hero__subtitle { font-size: clamp(18px, 4.8vw, 22px); }
  .nv-hero__meta { gap: 4px 12px; }
  .nv-hero__meta li { font-size: 10px; letter-spacing: .14em; gap: 12px; }
  .nv-hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nv-hero__actions .nv-btn { width: 100%; padding: 0 18px; }
  .nv-hero__actions .nv-arrow-link { justify-content: center; }
  .nv-hero__cue { display: none; }
  .nv-mullions i:nth-child(n + 4) { display: none; }

  .nv-prologue { display: block; }
  .nv-prologue .nv-head { margin-bottom: 36px; }
  .nv-prologue__rest { columns: 1; }

  .nv-facets__list { flex-wrap: wrap; height: auto; border-bottom: 0; }
  .nv-facet { flex: 1 1 50%; min-height: 300px; border-left: 0; border-bottom: 1px solid var(--pdx-line); }
  .nv-facet:nth-child(even) { border-left: 1px solid var(--pdx-line); }
  .nv-facet__art { inset: 16% 10% 34%; }

  .nv-contact__intro, .nv .pd-form-box.nv-form { grid-column: 1 / -1; }
  .nv-contact { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

  .nv-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: color-mix(in srgb, var(--pdx-bg) 90%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--pdx-line);
    transform: translateY(calc(100% + 24px));
    transition: transform .55s var(--pdx-ease);
  }
  .nv-dock.is-visible { transform: none; }
  .nv-dock .nv-btn { min-height: 48px; padding: 0 12px; letter-spacing: .14em; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .nv-hero__actions { flex-direction: row; align-items: center; }
  .nv-hero__actions .nv-btn { width: auto; padding: 0 24px; }
}
@media (max-width: 559px) {
  .nv-facet { flex-basis: 100%; min-height: 0; display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; padding: 22px 0; }
  .nv-facet:nth-child(even) { border-left: 0; }
  .nv-facet__no { grid-column: 2; }
  .nv-facet__art { position: relative; inset: auto; grid-column: 1; grid-row: 1 / span 2; height: 84px; }
  .nv-facet__copy { grid-column: 2; align-self: end; margin-top: 10px; }
  .nv-chapter--monolith > .nv-chapter__roman { font-size: 46vw; top: 40px; }
  .nv-chapter__cols { columns: 1; }
}

/* =====================================================================
   Composition variants (profiles pick them; Brilliant City uses the defaults above)
   ===================================================================== */

/* ---------- hero: skyline — the name stands along the foot of the render ---------- */
.nv-hero[data-hero="skyline"] {
  --title-size: min(34svh, calc((100vw - 2 * var(--pdx-gutter)) / (var(--len, 12) * .56)));
}
.nv-hero[data-hero="skyline"] .nv-hero__shade {
  background:
    linear-gradient(0deg, var(--pdx-bg) 0%, color-mix(in srgb, var(--pdx-bg) 55%, transparent) 26%, transparent 52%),
    linear-gradient(270deg, color-mix(in srgb, var(--pdx-bg) calc(var(--pdx-hero-shade, .6) * 100%), transparent) 0%, transparent 48%),
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 22%);
}
.nv-hero[data-hero="skyline"] .nv-hero__title {
  top: auto;
  left: var(--pdx-gutter);
  right: var(--pdx-gutter);
  bottom: calc(var(--title-size) * -.06);
  display: block;
  overflow: hidden;
  padding-top: .1em;
}
.nv-hero[data-hero="skyline"] .nv-hero__letters {
  writing-mode: horizontal-tb;
  transform: none;
  line-height: .8;
  letter-spacing: .02em;
}
.nv-hero[data-hero="skyline"] .nv-l { animation-name: nv-skyline; animation-duration: 1.5s; }
.nv-hero[data-hero="skyline"] .nv-l:nth-child(3n + 1) { animation-delay: calc(.3s + var(--i) * 40ms); }
.nv-hero[data-hero="skyline"] .nv-l:nth-child(3n + 2) { animation-delay: calc(.55s + var(--i) * 40ms); }
.nv-hero[data-hero="skyline"] .nv-l:nth-child(3n) { animation-delay: calc(.42s + var(--i) * 40ms); }
@keyframes nv-skyline { from { transform: translateY(105%); } to { transform: none; } }
.nv-hero[data-hero="skyline"] .nv-l--space { inline-size: auto; width: .28em; }
.nv-hero[data-hero="skyline"] .nv-hero__panel {
  left: auto;
  right: var(--pdx-gutter);
  top: clamp(96px, 17svh, 170px);
  bottom: auto;
  width: min(520px, 40vw);
}
.nv-hero[data-hero="skyline"] .nv-hero__cue { display: none; }

/* ---------- hero: column — the render cropped to one lit tower ---------- */
.nv-hero[data-hero="column"] .nv-hero__media {
  inset: 0 auto 0 auto;
  left: auto;
  right: clamp(64px, 8vw, 150px);
  width: min(36vw, 620px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pdx-accent) 40%, transparent), 0 0 160px -20px var(--pdx-glow);
}
.nv-hero[data-hero="column"] .nv-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--pdx-bg) 0%, transparent 34%);
}
.nv-hero[data-hero="column"] .nv-hero__img { animation-name: nv-column-open; animation-duration: 2.2s; }
@keyframes nv-column-open { from { transform: scale(1.12); clip-path: inset(48% 0 48% 0); } 45% { clip-path: inset(0); } to { transform: scale(1); clip-path: inset(0); } }
.nv-hero[data-hero="column"] .nv-hero__shade { background: radial-gradient(50% 70% at 76% 40%, var(--pdx-glow), transparent 70%); }
.nv-hero[data-hero="column"] .nv-hero__panel { width: auto; right: calc(clamp(64px, 8vw, 150px) + min(36vw, 620px) + clamp(28px, 3.4vw, 64px)); }

/* ---------- hero: letterbox — a cinema band between two dark bars ---------- */
.nv-hero[data-hero="letterbox"] {
  --title-size: min(15svh, calc((100vw - 2 * var(--pdx-gutter)) * .56 / (var(--len, 12) * .47)));
}
.nv-hero[data-hero="letterbox"] .nv-hero__media {
  inset: clamp(76px, 12svh, 128px) 0 clamp(200px, 32svh, 320px);
  overflow: hidden;
}
.nv-hero[data-hero="letterbox"] .nv-hero__media::before,
.nv-hero[data-hero="letterbox"] .nv-hero__media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 1px;
  background: color-mix(in srgb, var(--pdx-accent) 55%, transparent);
  transform-origin: left;
  animation: nv-draw-x 1.6s var(--pdx-ease) .5s both;
}
.nv-hero[data-hero="letterbox"] .nv-hero__media::before { top: 0; }
.nv-hero[data-hero="letterbox"] .nv-hero__media::after { bottom: 0; transform-origin: right; }
@keyframes nv-draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nv-hero[data-hero="letterbox"] .nv-hero__img { animation-name: nv-band-open; animation-duration: 2.4s; }
@keyframes nv-band-open { from { clip-path: inset(50% 0 50% 0); transform: scale(1.08); } 50% { clip-path: inset(0); } to { clip-path: inset(0); transform: scale(1); } }
.nv-hero[data-hero="letterbox"] .nv-hero__shade,
.nv-hero[data-hero="letterbox"] .nv-mullions { display: none; }
.nv-hero[data-hero="letterbox"] .nv-hero__title {
  top: auto;
  bottom: clamp(36px, 6svh, 72px);
  left: var(--pdx-gutter);
  display: block;
  overflow: hidden;
}
.nv-hero[data-hero="letterbox"] .nv-hero__letters { writing-mode: horizontal-tb; transform: none; line-height: .82; }
.nv-hero[data-hero="letterbox"] .nv-l { animation-name: nv-skyline; }
.nv-hero[data-hero="letterbox"] .nv-l--space { inline-size: auto; width: .28em; }
.nv-hero[data-hero="letterbox"] .nv-hero__panel {
  left: auto;
  right: var(--pdx-gutter);
  bottom: clamp(36px, 6svh, 72px);
  width: min(500px, 38vw);
  gap: 18px;
}
.nv-hero[data-hero="letterbox"] .nv-hero__subtitle { font-size: clamp(18px, 1.5vw, 24px); }
.nv-hero[data-hero="letterbox"] .nv-hero__cue { display: none; }

/* ---------- hero: doors — elevator doors part to reveal the render ---------- */
.nv-doors { position: absolute; inset: 0; z-index: 0; display: flex; pointer-events: none; }
.nv-doors i {
  flex: 1 1 50%;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, color-mix(in srgb, var(--pdx-ink) 5%, transparent) 46px 47px),
    linear-gradient(180deg, var(--pdx-surface), var(--pdx-bg));
  animation: nv-door-left 1.9s cubic-bezier(.7, 0, .2, 1) .45s forwards;
}
.nv-doors i:first-child { box-shadow: inset -1px 0 0 color-mix(in srgb, var(--pdx-accent) 70%, transparent); }
.nv-doors i:last-child { animation-name: nv-door-right; box-shadow: inset 1px 0 0 color-mix(in srgb, var(--pdx-accent) 70%, transparent); }
@keyframes nv-door-left { to { transform: translateX(-101%); } }
@keyframes nv-door-right { to { transform: translateX(101%); } }
.nv-hero[data-hero="doors"] {
  --title-size: min(24svh, calc((100vw - 2 * var(--pdx-gutter)) / (var(--len, 12) * .5)));
}
.nv-hero[data-hero="doors"] .nv-hero__shade {
  background:
    radial-gradient(70% 46% at 50% 50%, color-mix(in srgb, var(--pdx-bg) calc(var(--pdx-hero-shade, .6) * 80%), transparent), transparent 75%),
    linear-gradient(0deg, var(--pdx-bg) 0%, color-mix(in srgb, var(--pdx-bg) 50%, transparent) 22%, transparent 46%),
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 22%);
}
.nv-hero[data-hero="doors"] .nv-mullions { display: none; }
.nv-hero[data-hero="doors"] .nv-hero__title {
  left: 0;
  right: 0;
  justify-content: center;
  padding-bottom: 10svh;
}
.nv-hero[data-hero="doors"] .nv-hero__letters { writing-mode: horizontal-tb; transform: none; line-height: .86; letter-spacing: .06em; }
.nv-hero[data-hero="doors"] .nv-l { animation: nv-door-letter 1.6s var(--pdx-ease) both; animation-delay: calc(1.2s + var(--i) * 45ms); }
@keyframes nv-door-letter { from { opacity: 0; letter-spacing: -.2em; filter: blur(8px); } to { opacity: 1; filter: none; } }
.nv-hero[data-hero="doors"] .nv-l--space { inline-size: auto; width: .3em; }
.nv-hero[data-hero="doors"] .nv-hero__panel {
  left: 50%;
  bottom: clamp(60px, 10svh, 110px);
  width: min(720px, 80vw);
  justify-items: center;
  text-align: center;
  transform: translateX(-50%);
  animation-name: nv-fade-up-c;
  animation-delay: 1.7s;
}
@keyframes nv-fade-up-c { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translateX(-50%); } }
.nv-hero[data-hero="doors"] .nv-hero__meta { justify-content: center; }
.nv-hero[data-hero="doors"] .nv-hero__subtitle { max-width: 36ch; }
.nv-hero[data-hero="doors"] .nv-hero__actions { justify-content: center; }
.nv-hero[data-hero="doors"] .nv-hero__cue { display: none; }

/* ---------- features: glyphs — drawn icons in the facet accordion ---------- */
.nv-facet__art--glyph { inset: 16% 18% 38%; color: var(--pdx-ink); }
.nv-glyph { width: min(100%, 132px); height: auto; stroke-width: 1.05; transition: transform 1.1s var(--pdx-ease); }
.nv-facet:hover .nv-glyph { transform: translateY(-8px) scale(1.08); }
.pdx.js-ready .nv-facets__list--glyphs .nv-facet { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--pdx-ease), transform 1.1s var(--pdx-ease), flex-grow 1s var(--pdx-ease), background-color .6s; transition-delay: calc(var(--d) * 110ms), calc(var(--d) * 110ms), 0s, 0s; }
.pdx.js-ready .nv-facets__list--glyphs.is-in .nv-facet { opacity: 1; transform: none; }

/* ---------- features: ledger — numbered rows with a drawn icon ---------- */
.nv-ledger { border-top: 1px solid var(--pdx-line); }
.nv-ledger__row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(76px, 9vw, 150px) minmax(0, 1fr) clamp(70px, 7vw, 112px);
  align-items: center;
  column-gap: clamp(20px, 3vw, 56px);
  padding: clamp(26px, 4.4vh, 48px) 0;
  border-bottom: 1px solid var(--pdx-line);
  isolation: isolate;
}
.nv-ledger__row::before {
  content: '';
  position: absolute;
  inset: 0 calc(-1 * var(--pdx-gutter));
  z-index: -1;
  background: linear-gradient(90deg, var(--pdx-glow), transparent 75%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--pdx-ease);
}
.nv-ledger__row:hover::before { transform: none; }
.nv-ledger__no {
  font: 300 clamp(48px, 5.6vw, 96px)/.8 var(--pdx-font-text);
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--pdx-accent) 80%, transparent);
  transition: color .5s;
}
.nv-ledger__row:hover .nv-ledger__no { color: var(--pdx-accent); }
.nv-ledger__title { font: 500 clamp(21px, 2.3vw, 38px)/1.1 var(--pdx-font-title); letter-spacing: .005em; text-transform: uppercase; max-width: 26ch; }
.nv-ledger__text { margin-top: 10px; max-width: 62ch; color: var(--pdx-muted); font-size: 16px; }
.nv-ledger__glyph { justify-self: end; width: 100%; color: var(--pdx-ink); }
.nv-ledger__glyph .pdx-icon { width: 100%; height: auto; stroke-width: 1.15; transition: transform 1s var(--pdx-ease); }
.nv-ledger__row:hover .nv-ledger__glyph .pdx-icon { transform: rotate(-4deg) scale(1.08); }
.pdx.js-ready .nv-ledger__row { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--pdx-ease), transform 1.1s var(--pdx-ease); transition-delay: calc(var(--d) * 120ms); }
.pdx.js-ready .nv-ledger.is-in .nv-ledger__row { opacity: 1; transform: none; }

/* ---------- chapters: reel — a film strip slides past while the chapter is pinned ---------- */
@media (min-width: 900px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .nv-chapter--reel .nv-chapter__stage { background: none; }
  .nv-chapter--reel[data-side="right"] .nv-chapter__stage { margin-right: calc(-1 * var(--pdx-gutter)); }
  .nv-chapter--reel[data-side="left"] .nv-chapter__stage { margin-left: calc(-1 * var(--pdx-gutter)); }
  .nv-chapter--reel .nv-frame {
    left: calc(var(--k, 0) * 74%);
    right: auto;
    width: 74%;
    padding-right: 16px;
    opacity: .36;
    transform: translate3d(calc(var(--p, 0) * (1.3514 - var(--count, 1)) * 100%), 0, 0);
    transition: opacity .9s var(--pdx-ease);
  }
  .nv-chapter--reel .nv-frame.is-active { opacity: 1; }
  .nv-chapter--reel .nv-stage-ui { right: 16px; }
  .nv-chapter--reel .nv-chapter__stage::after {
    content: '';
    position: absolute;
    left: 0;
    right: 16px;
    bottom: -22px;
    height: 1px;
    background: linear-gradient(var(--pdx-accent), var(--pdx-accent)) 0 0 / calc(var(--p, 0) * 100%) 100% no-repeat, var(--pdx-line);
  }
}

/* ---------- location without travel times: the coordinates become the figure ---------- */
.nv-location__coords {
  display: grid;
  gap: 6px;
  font: 200 clamp(40px, 4.6vw, 80px)/1 var(--pdx-font-display);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--pdx-ink);
}
.nv-location__coords span:last-child { color: var(--pdx-accent); }

/* ---------- variants on tablets and phones ---------- */
@media (max-width: 899px) {
  .nv-hero[data-hero="skyline"] { --title-size: min(26svh, calc((100vw - 2 * var(--pdx-gutter)) / (var(--len, 12) * .56))); }
  .nv-hero[data-hero="skyline"] .nv-hero__panel { left: var(--pdx-gutter); right: var(--pdx-gutter); width: auto; top: auto; bottom: calc(var(--title-size) * .86 + 34px); }
  .nv-hero[data-hero="skyline"] .nv-hero__shade { background: linear-gradient(0deg, var(--pdx-bg) 0%, color-mix(in srgb, var(--pdx-bg) 72%, transparent) 46%, transparent 78%), linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 22%); }

  .nv-hero[data-hero="column"] .nv-hero__media { left: 44%; right: 0; width: auto; }
  .nv-hero[data-hero="column"] .nv-hero__panel { right: var(--pdx-gutter); }
  .nv-hero[data-hero="tower-right"] .nv-hero__title { right: calc(var(--pdx-gutter) - .08em); }
  .nv-hero[data-hero="tower-right"] .nv-hero__panel { left: var(--pdx-gutter); right: calc(var(--pdx-gutter) + var(--title-size) * .86 + 16px); }
  .nv-hero[data-hero="column"] .nv-hero__shade { background: linear-gradient(0deg, var(--pdx-bg) 6%, color-mix(in srgb, var(--pdx-bg) 76%, transparent) 40%, transparent 66%); z-index: 0; }
  .nv-hero[data-hero="column"] .nv-hero__panel { z-index: 1; }

  .nv-hero[data-hero="letterbox"] { --title-size: min(13svh, calc((100vw - 2 * var(--pdx-gutter)) / (var(--len, 12) * .56))); }
  .nv-hero[data-hero="letterbox"] .nv-hero__media { inset: 74px 0 50svh; }
  .nv-hero[data-hero="letterbox"] .nv-hero__title { top: calc(50svh - 74px + 98px); bottom: auto; }
  .nv-hero[data-hero="letterbox"] .nv-hero__panel { left: var(--pdx-gutter); right: var(--pdx-gutter); width: auto; bottom: calc(88px + env(safe-area-inset-bottom)); }

  .nv-hero[data-hero="doors"] .nv-hero__title { padding-bottom: 22svh; }
  .nv-hero[data-hero="doors"] .nv-hero__panel { left: var(--pdx-gutter); right: var(--pdx-gutter); width: auto; transform: none; animation-name: nv-fade-up; bottom: calc(88px + env(safe-area-inset-bottom)); }

  .nv-ledger__row { grid-template-columns: 50px minmax(0, 1fr) 40px; column-gap: 14px; align-items: start; }
  .nv-ledger__no { font-size: 40px; }
  .nv-ledger__title { font-size: clamp(16px, 4.4vw, 22px); overflow-wrap: break-word; hyphens: auto; }
  .nv-ledger__text { font-size: 15px; }
}

/* ---------- motion preferences ---------- */
.nv[data-motion="none"] *, .nv[data-motion="none"] *::before, .nv[data-motion="none"] *::after { animation: none !important; transition: none !important; }
.nv[data-motion="none"] .nv-doors { display: none; }
.nv[data-motion="calm"] .nv-l { animation-duration: .8s; animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .nv-hero__img { transform: none; }
  .nv-hero__media { will-change: auto; }
}
