:root {
  --ink: #0a0a0a;
  --paper: #f2f0ec;
  --muted: rgba(242, 240, 236, .62);
  --line: rgba(242, 240, 236, .24);
  --white: #fff;
  --serif: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --sans: "Assistant", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --gutter: clamp(20px, 4.4vw, 72px);
  --h: 100vh;
}

@supports (height: 100svh) {
  :root { --h: 100svh; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 4px;
}

/* The inverted triangle is the level mark from the architect's section drawing. */
.mark-tri {
  display: inline-block;
  width: 9px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  flex: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(.9375rem, 1.15vw, 1.125rem);
  font-weight: 400;
  color: var(--muted);
}

.eyebrow--center { justify-content: center; }

/* ---------- opening ---------- */

.opening { position: relative; }

.hero {
  position: sticky;
  top: 0;
  height: var(--h);
  overflow: hidden;
  background: #000;
}

.hero__video,
.hero__fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .2) 55%, transparent);
  pointer-events: none;
}

.sound, .cue { text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }

/* During the white title card: no shading, and dark labels where they sit on the white. */
.js .hero.is-title:not(.is-blocked)::after { opacity: 0; }

@media (min-aspect-ratio: 801/1000) {
  .js .hero.is-title:not(.is-blocked) .sound,
  .js .hero.is-title:not(.is-blocked) .cue { color: var(--ink); text-shadow: none; }
  .js .hero.is-title:not(.is-blocked) .cue i { background: rgba(10, 10, 10, .2); }
  .js .hero.is-title:not(.is-blocked) .cue i::after { background: var(--ink); }
}

.hero__fallback[hidden] { display: none; }

.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}

.hero__play {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px 16px 26px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: rgba(10, 10, 10, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 1.0625rem;
  transition: background .4s var(--ease), color .4s var(--ease);
}

.hero__play svg { width: 18px; height: 18px; }

.hero__play:hover { background: var(--paper); color: var(--ink); }

.hero__loader {
  position: absolute;
  inset: 50% 50% auto auto;
  width: 96px;
  height: 1px;
  transform: translate(50%, -50%);
  background: var(--paper);
  transform-origin: center;
  opacity: .5;
  animation: loader 1.6s ease-in-out infinite;
}

.is-playing .hero__loader,
.is-blocked .hero__loader { display: none; }

@keyframes loader {
  0%, 100% { scale: .15 1; }
  50% { scale: 1 1; }
}

.sound {
  position: absolute;
  z-index: 3;
  inset-block-end: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  inset-inline-start: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 1.0625rem;
  font-weight: 400;
  opacity: 0;
  animation: rise 1.2s var(--ease) 1s forwards;
}

.sound__bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.sound__bars i {
  width: 2px;
  height: 100%;
  background: currentColor;
  transform: scaleY(.14);
  transition: transform .4s var(--ease);
}

.sound[aria-pressed="true"] .sound__bars i { animation: bar 1.1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -.35s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -.7s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -.15s; }

@keyframes bar {
  from { transform: scaleY(.25); }
  to { transform: scaleY(1); }
}

.cue {
  position: absolute;
  z-index: 3;
  inset-block-end: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0;
  animation: rise 1.2s var(--ease) 1.25s forwards;
  transition: visibility .4s;
}

.cue i {
  position: relative;
  width: 1px;
  height: 42px;
  background: var(--line);
  overflow: hidden;
}

.cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: drip 2.2s var(--ease) infinite;
}

@keyframes drip {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.is-scrolled .cue { visibility: hidden; }

/* ---------- intro ---------- */

.intro {
  position: relative;
  z-index: 1;
  height: calc(var(--h) * 2);
  background: var(--ink);
}

.intro__pin {
  position: sticky;
  top: 0;
  height: var(--h);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-inline: var(--gutter);
}

.intro__copy { max-width: 66rem; }

.intro__text {
  margin: clamp(22px, 4svh, 44px) 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.3rem, min(2.96vw, 5.12svh), 3.2rem);
  line-height: 1.34;
  text-wrap: pretty;
  min-height: 6.7em; /* room for about five lines of the final project text */
}

@media (max-aspect-ratio: 1/1) {
  .intro__text { font-size: clamp(1.3rem, 4.32vw, 2.6rem); }
}

.js .intro__text .w { opacity: .13; }

.intro__stair {
  position: absolute;
  inset-block: 4%;
  left: var(--gutter);
  height: 92%;
  width: auto;
  display: none;
}

.intro__stair path {
  stroke: var(--paper);
  stroke-opacity: .3;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.js .intro__stair path { stroke-dashoffset: 1; }

@media (min-width: 1100px) and (min-aspect-ratio: 3/2) {
  .intro__copy { max-width: min(66rem, 66vw); }
  .intro__stair { display: block; }
}

/* ---------- stacked gallery ---------- */

.stack {
  position: relative;
  z-index: 2;
  background: var(--ink);
}

.frame {
  position: sticky;
  top: 0;
  height: var(--h);
  margin: 0 0 calc(var(--h) * .55);
  overflow: hidden;
  background: var(--white);
  display: grid;
  place-items: center;
}

/* The photo fills 80% of the screen, leaving a white mat around it. */
.frame__mat {
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform-origin: 50% 50%;
}

.count {
  position: absolute;
  z-index: 2;
  bottom: calc(5% - .5em);
  right: 10%;
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1;
}

.count b { font-weight: 400; }

/* A landscape photo cut to a tall phone screen would keep only a third of it. */
@media (max-aspect-ratio: 4/5) {
  .frame img,
  .hero__video,
  .hero__fallback img { object-fit: contain; }
}

/* ---------- closing ---------- */

.closing {
  position: relative;
  z-index: 1;
  height: 3.5cm;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
  background: var(--ink);
  text-align: center;
}

.closing__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(.9375rem, 1vw, 1rem);
  line-height: 1.3;
  text-wrap: balance;
}

.cta {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 400;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.cta svg { width: 16px; height: 16px; flex: none; }

.cta:hover,
.cta:focus-visible { background: var(--ink); color: var(--white); }

/* On narrow screens the centred button would run into the floating one. */
@media (max-width: 520px) {
  .closing { align-items: flex-start; text-align: right; }
}

/* ---------- carousel ---------- */

.gallery {
  --slide-h: min(calc(var(--h) * .8), 50vw);
  position: relative;
  z-index: 1;
  height: var(--h);
  display: grid;
  align-items: center;
  background: var(--white);
  color: var(--ink);
}

.gallery__track {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* Half of the first and last photo widths, so that both can reach the centre. */
  padding-inline: calc(50% - var(--slide-h) * .7505) calc(50% - var(--slide-h) * .7214);
  cursor: grab;
}

.gallery__track::-webkit-scrollbar { display: none; }

.gallery__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}

.gallery__track:focus-visible { outline-offset: -4px; outline-color: var(--ink); }

.slide {
  flex: none;
  margin: 0;
  scroll-snap-align: center;
  transition: opacity .6s var(--ease);
}

.js .slide:not(.is-active) { opacity: .3; cursor: pointer; }

.slide img {
  height: var(--slide-h);
  width: auto;
  max-width: none;
}

.gallery__nav {
  position: absolute;
  inset-inline: 0;
  bottom: calc(5% - 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
}

.gallery__btn {
  display: grid;
  place-items: center;
  width: 64px;
  height: 44px;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}

.gallery__btn svg { width: 34px; height: 12px; overflow: visible; }

.gallery__btn:disabled { opacity: .2; cursor: default; }

@media (hover: hover) {
  .gallery__btn[data-dir="1"]:not(:disabled):hover { transform: translateX(-5px); }
  .gallery__btn[data-dir="-1"]:not(:disabled):hover { transform: translateX(5px); }
}

.gallery__count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 68px;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1;
}

.gallery__count b { font-weight: 400; }

@media (max-aspect-ratio: 4/5) {
  .gallery { --slide-h: min(calc(var(--h) * .8), 56vw); height: calc(var(--h) * .72); }
}

/* ---------- guided tour: entry ---------- */

.tour-entry {
  position: relative;
  z-index: 1;
  height: var(--h);
  background: var(--ink);
}

.tour-entry__open {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tour-entry__open img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform 1.6s var(--ease);
}

.tour-entry__label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 32px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: rgba(10, 10, 10, .62);
  color: var(--paper);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 400;
  transition: background .4s var(--ease), color .4s var(--ease);
}

@media (hover: hover) {
  .tour-entry__open:hover img { transform: scale(1.035); }
  .tour-entry__open:hover .tour-entry__label { background: var(--paper); color: var(--ink); }
}

/* ---------- guided tour: viewer ---------- */

html.tour-open { overflow: hidden; }

.tour {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  overscroll-behavior: contain;
}

.tour[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.tour::backdrop { background: var(--ink); }

.tour__stage {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.tour__stage.is-dragging { cursor: grabbing; }

.tour__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  perspective-origin: 50% 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.tour__scene.is-fading { transition: opacity .8s var(--ease); }

.tour__scene img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  backface-visibility: hidden;
  will-change: transform;
}

.tour__loader {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 1px;
  margin-left: -48px;
  background: var(--paper);
  opacity: .5;
  animation: loader 1.6s ease-in-out infinite;
}

.tour__loader[hidden] { display: none; }

.tour__pins {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity .3s var(--ease);
}

.is-walking .tour__pins { opacity: 0; }
.is-walking .pin { pointer-events: none; }

/* The pin is the level mark from the section drawing, standing on the point it names. */
.pin {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: auto;
  transition: opacity .3s var(--ease), visibility .3s;
}

.pin.is-off { opacity: 0; visibility: hidden; }

.pin__label {
  position: absolute;
  bottom: 18px;
  left: 0;
  translate: -50% 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(242, 240, 236, .42);
  border-radius: 999px;
  background: rgba(10, 10, 10, .74);
  color: var(--paper);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}

.pin__mark {
  position: absolute;
  bottom: 0;
  left: -8px;
  width: 16px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.pin__mark::after {
  content: "";
  position: absolute;
  inset: 2px 3px 3px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@media (hover: hover) {
  .pin:hover .pin__label { background: var(--paper); color: var(--ink); }
}

.pin:focus-visible { outline: 0; }
.pin:focus-visible .pin__label { outline: 1px solid var(--paper); outline-offset: 3px; }

.tour__hint {
  position: absolute;
  z-index: 4;
  top: max(24px, env(safe-area-inset-top));
  right: var(--gutter);
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(10, 10, 10, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1rem;
  font-weight: 400;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

.tour__hint.is-gone { opacity: 0; }

.tour__close {
  position: absolute;
  z-index: 5;
  top: max(24px, env(safe-area-inset-top));
  left: var(--gutter);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 10, 10, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease), color .3s var(--ease);
}

.tour__close svg { width: 16px; height: 16px; }

@media (hover: hover) {
  .tour__close:hover { background: var(--paper); color: var(--ink); }
}

.tour__panel {
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
}

.tour__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour__rail button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 14px 10px 0;
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid transparent;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.2;
  text-align: right;
  transition: color .3s var(--ease);
}

.tour__rail i {
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: 100% 50%;
}

.tour__rail span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tour__rail [aria-current] { color: var(--paper); }

@media (hover: hover) {
  .tour__rail button:hover { color: var(--paper); }
}

.tour__rail button:focus-visible { outline-offset: -3px; }

.tour__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 48px);
  min-height: 88px;
  padding: 10px var(--gutter) 18px;
}

.tour__caption {
  min-width: 0;
}

.tour__caption[hidden] { display: none; }

.tour__caption.is-in > * { animation: rise .9s var(--ease) both; }
.tour__caption.is-in > p { animation-delay: .08s; }

.tour__caption h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.1vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
}

.tour__caption p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.35;
  text-wrap: pretty;
}

.tour__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  min-width: 0;
}

.tour__end[hidden] { display: none; }

.tour__end p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.4vw, 1.375rem);
  font-weight: 300;
  line-height: 1.25;
}

.tour__end .tour__again {
  min-height: 40px;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 400;
}

.tour__controls {
  display: flex;
  align-items: center;
  flex: none;
  gap: 4px;
}

.tour__btn {
  display: grid;
  place-items: center;
  width: 64px;
  height: 44px;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}

.tour__btn svg { width: 34px; height: 12px; overflow: visible; }
.tour__btn:disabled { opacity: .25; cursor: default; }

@media (hover: hover) {
  .tour__btn[data-tour="next"]:hover { transform: translateX(-5px); }
  .tour__btn[data-tour="prev"]:not(:disabled):hover { transform: translateX(5px); }
}

.tour__count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 68px;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1;
}

.tour__count b { font-weight: 400; }

.tour__play {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-inline-end: 14px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}

@media (hover: hover) {
  .tour__play:hover { background: var(--paper); color: var(--ink); }
}

@media (max-width: 760px) {
  .tour__rail button { min-height: 28px; padding: 0; }
  .tour__rail span { display: none; }
  .tour__rail button { border-inline-start-color: var(--ink); }

  .tour__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 2px;
    padding-bottom: 12px;
  }

  .tour__caption { min-height: 76px; }
  .tour__controls { justify-content: space-between; }
  .tour__play { margin-inline-end: 0; order: 3; }
  .tour__btn { width: 54px; }
  .tour__end .cta { min-height: 44px; }

  .tour-entry__label { padding: 0 24px; }
}

/* ---------- floating whatsapp ---------- */

.wa {
  position: fixed;
  z-index: 50;
  inset-block-end: max(24px, calc(env(safe-area-inset-bottom) + 14px));
  inset-inline-end: clamp(18px, 3vw, 40px);
  display: flex;
  align-items: center;
  height: 62px;
  min-width: 62px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(10, 10, 10, .12);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .18);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease);
}

.wa:hover,
.wa:focus-visible,
.wa:active {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.wa svg { width: 30px; height: 30px; flex: none; }

.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(128, 128, 128, .8);
  animation: halo 5s var(--ease) infinite;
  pointer-events: none;
}

@keyframes halo {
  0%, 62% { opacity: 0; transform: scale(1); }
  66% { opacity: .85; }
  100% { opacity: 0; transform: scale(1.5); }
}

.wa__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.0625rem;
  font-weight: 400;
  opacity: 0;
  transition: max-width .5s var(--ease), opacity .35s var(--ease), margin .5s var(--ease);
}

@media (hover: hover) {
  .wa:hover { transform: translateY(-2px); }
  .wa:hover .wa__label { max-width: 110px; margin-inline-start: 10px; opacity: 1; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero { position: relative; }
  .intro { height: auto; }
  .intro__pin { position: relative; height: auto; min-height: var(--h); }
  .js .intro__text .w { opacity: 1; }
  .js .intro__stair path { stroke-dashoffset: 0; }
  .frame { position: relative; margin-bottom: 2px; }
  .wa::before { display: none; }
}
