/* Rumah Panjang. A longhouse you walk along, from Ryan's sketch.
   The house is a Blender render; behind it a real photo of sky and rainforest in Sarawak, in front that photo's river.
   Colours come from the things themselves: ironwood, dried thatch, the forest, river mist,
   and one accent, the amber of an oil lamp, kept for what you can press.
   Shapes: buttons are full pills, cards and the map are 16px, the scene has its own drawing. */

:root {
  color-scheme: light;
  /* the world, by day */
  --sky-top: #b7c7bf; --sky-mid: #d3dcd5; --sky-low: #e3e7df;
  --hero-halo: rgba(232, 240, 244, .85);
  --ground: #4d5a34;

  /* what you read and press */
  --ink: #16201b;
  --ink-2: #46544c;
  --card: #eef1ea;
  --card-shadow: 0 14px 40px rgba(22, 34, 28, .2);
  --soft: rgba(22, 32, 27, .08);
  --soft-hover: rgba(22, 32, 27, .14);
  --line: rgba(22, 32, 27, .12);
  --accent: #e2a13a;
  --accent-hover: #d3912c;
  --accent-ink: #16201b;
  --indicator: #8f5a10;        /* the amber, darkened, for focus rings and "you are here": 3:1 on card and sky */
  --view-bg: #e4e8e1;
  --backdrop: rgba(12, 20, 17, .55);
  --pencil: #2b3036;
  --paper: #f1f3f2;
  --rule: rgba(84, 116, 168, .2);

  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Gambarino's wedge-cut serifs read like a chisel stroke: titles only, Satoshi does the rest */
  --display: "Gambarino", Georgia, serif;
  --fs-display: clamp(3.4rem, 8vw, 7.5rem);
  --fs-h2: 1.75rem;
  --fs-body: 1rem;
  --fs-small: .875rem;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-colour: 1.4s ease;

  --z-stage: 1; --z-night: 2; --z-paper: 3; --z-ui: 10;
}
[data-time="night"] {
  color-scheme: dark;
  --sky-top: #0b1413; --sky-mid: #13201e; --sky-low: #1b2a27;
  --hero-halo: rgba(6, 12, 11, .8);
  --ground: #1b1913;

  --ink: #e8ebe3;
  --ink-2: #a3aea7;
  --card: #141e1b;
  --card-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --soft: rgba(232, 235, 227, .09);
  --soft-hover: rgba(232, 235, 227, .16);
  --line: rgba(232, 235, 227, .12);
  --view-bg: #0f1715;
  --backdrop: rgba(4, 8, 7, .7);
  --indicator: #e2a13a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--sky-low); scrollbar-width: none; }
html::-webkit-scrollbar { display: none; } /* the scroll is walking; the map shows where you are */
body {
  margin: 0;
  font: 400 var(--fs-body)/1.55 var(--font);
  color: var(--ink);
  background: var(--sky-low);
  -webkit-font-smoothing: antialiased;
  transition: color var(--t-colour), background-color var(--t-colour);
}
.is-locked body { overflow: hidden; }
button { font: inherit; color: inherit; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--indicator); outline-offset: 3px; }

.skip {
  position: fixed; z-index: 50; top: 12px; left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.skip:focus-visible { transform: none; }

/* ---------- the world ---------- */
.sky {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(var(--sky-top), var(--sky-mid) 45%, var(--sky-low) 70%);
}
.sky::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(#0b1413, #13201e 45%, #1b2a27 70%);
  opacity: 0; transition: opacity var(--t-colour);
}
[data-time="night"] .sky::after { opacity: 1; }
.stage { position: fixed; inset: 0; z-index: var(--z-stage); overflow: hidden; }
.layer {
  position: absolute; left: 0; top: 0;
  width: 4300px; height: 1750px;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}
.layer svg { display: block; overflow: visible; }
.layer--house { pointer-events: auto; }
.far__img { position: absolute; max-width: none; transition: filter var(--t-colour); }
/* the photo's sides melt into the sky colour (seen only on very wide screens); its own sky reaches the top */
.far__img {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
[data-time="night"] .far__img { filter: brightness(.2) saturate(.55); }
/* the river: the photo's water, drifting slowly downstream (a wider strip slides by one picture and repeats) */
.river { position: absolute; overflow: hidden; background: #3b4a2a; transition: filter var(--t-colour); }
.river::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: calc(100% + 1443px);
  background: url(../img/far/river.webp) 0 0 repeat-x;
  background-size: inherit;   /* the picture's size in world units, set on .river by main.js */
  animation: flow 90s linear infinite;
}
@keyframes flow { to { transform: translateX(-1443px); } }
[data-time="night"] .river { filter: brightness(.18) saturate(.6); }
.layer--house > svg { pointer-events: none; }
.track { position: relative; z-index: 0; pointer-events: none; }

/* the ground under the render, while it loads (it follows the time of day) */
.c-ground { fill: var(--ground); transition: fill var(--t-colour); }

/* the rendered house: day, night and lamp-lit sets stacked, crossfading with the time of day */
.render { position: absolute; pointer-events: none; }
.render__set { position: absolute; inset: 0; transition: opacity var(--t-colour); }
.render__set--night, .render__set--lamp { opacity: 0; }
[data-time="night"] .render__set--day { opacity: 0; }
[data-time="night"] .render__set--night { opacity: 1; }
[data-time="night"] .render__set--lamp {
  opacity: 1;
  /* only where the lamp you carry is; main.js moves the circle */
  -webkit-mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, -999px) var(--ly, -999px), #000 0, rgba(0, 0, 0, .7) 35%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, -999px) var(--ly, -999px), #000 0, rgba(0, 0, 0, .7) 35%, transparent 100%);
}
.render__lo, .render__tile { position: absolute; top: 0; height: 100%; }
.render__lo { left: 0; width: 100%; }
.render__tile { opacity: 0; transition: opacity .5s; }
.sprite { position: absolute; max-width: none; will-change: transform; }
.render__tile.is-in { opacity: 1; }

/* doors: a carved leaf on a hinge, a lamp-lit room behind it */
.door {
  position: absolute; padding: 0; border: 0; background: none;
  perspective: 700px; cursor: pointer;
}
.door.is-over-work { cursor: zoom-in; }
.door__room {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(120% 70% at 50% 14%, #f2b65c 0%, #b06a2c 26%, #4a2b19 66%, #23150d 100%);
}
.door__work {
  width: 84%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(20, 10, 4, .55));
  opacity: 0; transform: translateY(8%) scale(.9);
  transition: opacity .6s .25s, transform 1s .2s var(--ease);
}
.door.is-open .door__work { opacity: 1; transform: none; }
.door__leaf {
  position: absolute; inset: 0;
  transform-origin: left center;
  transition: transform .95s var(--ease);
  /* the carved leaf as Blender rendered it, by day or by night (set from main.js) */
  background: #4a2e1f center / 100% 100% no-repeat;
}
.door__leaf::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(16, 9, 5, .55);
  opacity: 0; transition: opacity .6s;
}
.door.is-open .door__leaf::after { opacity: 1; }
.door__ring {
  position: absolute; right: 13px; top: 52%;
  width: 15px; height: 15px; border: 3px solid #26170f; border-radius: 50%;
}
@media (hover: hover) { .door:not(.is-open):hover .door__leaf { transform: rotateY(-17deg); } }
.door:not(.is-open):active .door__leaf { transform: rotateY(-24deg); }
.door.is-open .door__leaf { transform: rotateY(-106deg); }
.door:focus-visible { outline-offset: 6px; }

/* the carved board on the wall, hanging from a nail through its hole */
.board {
  position: absolute; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 50% 2%;
  transition: transform .6s var(--ease);
}
@media (hover: hover) { .board:hover { transform: rotate(-1.5deg); } }
.board:active { transform: rotate(1deg); }
.board__img {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(2px 10px 8px rgba(20, 10, 4, .45));
  transition: filter var(--t-colour);
}
.board__nail { position: absolute; left: 50%; top: 1.6%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2a221c; }
/* lit by day; by night only the lamps reach it */
[data-time="night"] .board__img { filter: drop-shadow(2px 10px 8px rgba(0, 0, 0, .5)) brightness(.32) saturate(.7); }

/* the tempayan by the fourth door */
.jar {
  position: absolute; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 50% 96%;
  transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.jar__img { width: 100%; height: 100%; display: block; }
@media (hover: hover) { .jar:hover { transform: rotate(-4deg); } }
.jar:active { transform: rotate(3deg) scale(.98); }

/* the ladder is a button too (it takes you to the welcome) */
.ladder { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 16px; }

/* ---------- night: a canvas of dark with holes where the lamps are ---------- */
.night {
  position: fixed; inset: 0; z-index: var(--z-night);
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
}
.night.is-on { opacity: 1; }

/* ---------- the sketch on paper, before the colour ---------- */
.paper, .sketch { display: none; }
.js:not(.no-draw) .paper {
  display: block;
  position: fixed; inset: 0; z-index: var(--z-paper);
  background:
    repeating-linear-gradient(transparent 0 33px, var(--rule) 33px 34px),
    var(--paper);
  --wipe: 0;
  /* if the script never runs, the paper still gets out of the way */
  animation: paper-safety .6s 7s forwards;
  -webkit-mask-image: linear-gradient(100deg, transparent calc(var(--wipe) * 140% - 40%), #000 calc(var(--wipe) * 140%));
  mask-image: linear-gradient(100deg, transparent calc(var(--wipe) * 140% - 40%), #000 calc(var(--wipe) * 140%));
}
@keyframes paper-safety { to { opacity: 0; visibility: hidden; } }
.js:not(.no-draw) .sketch { display: block; position: fixed; inset: 0; z-index: var(--z-paper); pointer-events: none; overflow: hidden; }
.sketch svg { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: visible; }
.sk { stroke: var(--pencil); }
.sk--thatch, .sk--stilt { stroke-opacity: .8; }
/* hidden while the pencil draws; if the script never runs, the hiding simply runs out */
.is-drawing .nav, .is-drawing .map, .is-drawing .hero { animation: wait-for-colour 7.6s step-end; }
@keyframes wait-for-colour { from, to { opacity: 0; } }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 0; border-radius: 999px;
  font: 500 var(--fs-body)/1 var(--font);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--soft); color: var(--ink);
  transition: background-color .16s, transform .12s, color var(--t-colour);
}
.pill:hover { background: var(--soft-hover); }
.pill:active { transform: scale(.97); }
.pill--main { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.pill--main:hover { background: var(--accent-hover); }
.pill .ph { font-size: 1.15em; }
.pill--icon { padding: 0 16px; }

/* ---------- top bar ---------- */
.nav {
  position: fixed; z-index: var(--z-ui); top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  pointer-events: none;
  transition: opacity .6s;
}
.nav > * { pointer-events: auto; }
.nav__name {
  border: 0; padding: 0 18px; min-height: 44px; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--ink);
  font: 400 1.25rem/1 var(--display); letter-spacing: 0;
  box-shadow: var(--card-shadow);
  transition: background-color var(--t-colour), color var(--t-colour);
}
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .pill { background: var(--card); box-shadow: var(--card-shadow); }
.nav__actions .pill:hover { background: var(--card); color: var(--ink-2); }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: var(--card-shadow); transition: background-color var(--t-colour); }
.seg__btn {
  min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px;
  background: none; color: var(--ink-2); font-weight: 700; font-size: var(--fs-small); cursor: pointer;
  transition: background-color .16s, color .16s;
}
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--card); }

/* ---------- outside the house ---------- */
.hero {
  position: fixed; z-index: var(--z-ui);
  top: calc(64px + clamp(12px, 4vh, 48px)); left: var(--gutter);
  max-width: min(680px, calc(100vw - 2 * var(--gutter)));
}
.hero.is-gone { visibility: hidden; }
.hero__title {
  margin: 0;
  font: 400 var(--fs-display)/.95 var(--display);
  letter-spacing: -.02em;
}
.hero__line { margin: 16px 0 28px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 500; color: var(--ink-2); }
/* the photo behind is busy (a tree, the forest's edge): a soft glow of sky keeps the words readable */
.hero__title { text-shadow: 0 0 18px var(--hero-halo), 0 0 6px var(--hero-halo); }
.hero__line { color: var(--ink); text-shadow: 0 0 14px var(--hero-halo), 0 0 6px var(--hero-halo), 0 0 2px var(--hero-halo); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.w > span { display: inline-block; }

/* ---------- cards over the walk ---------- */
.cap, .card {
  position: fixed; z-index: var(--z-ui);
  left: var(--gutter); bottom: var(--gutter);
  width: min(400px, calc(100vw - 2 * var(--gutter)));
  padding: 24px;
  border-radius: 16px;
  background: var(--card); color: var(--ink);
  box-shadow: var(--card-shadow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .5s var(--ease), visibility 0s .5s, background-color var(--t-colour), color var(--t-colour);
}
.cap.is-on, .card.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .5s var(--ease), visibility 0s, background-color var(--t-colour), color var(--t-colour); }
.cap__title, .card__title { margin: 0 0 8px; font: 400 var(--fs-h2)/1.1 var(--display); letter-spacing: 0; }
.cap__meta { margin: 0 0 12px; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); }
.cap__line { margin: 0 0 20px; }
.cap__actions, .card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card p { margin: 0 0 12px; }
.card__hint { color: var(--ink-2); font-size: var(--fs-small); margin-bottom: 0 !important; }
.card--about, .card--end { bottom: auto; top: 50%; transform: translateY(calc(-50% + 16px)); }
.card--about.is-on, .card--end.is-on { transform: translateY(-50%); }
.card--end .card__actions { margin: 20px 0 16px; }
/* inside: the walk along the ruai, drawn on a canvas over the outside world */
.ruai { position: fixed; inset: 0; z-index: 4; opacity: 0; visibility: hidden; pointer-events: none; background: #11140f; }
.ruai.is-on { visibility: visible; }
.ruai__view { display: block; width: 100%; height: 100%; }
.rcap__img { display: block; width: 100%; height: 170px; object-fit: contain; margin: 0 0 16px; border-radius: 10px; background: var(--soft); cursor: zoom-in; }
.card__credit { font-size: var(--fs-small); color: var(--ink-2); margin: 0 !important; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- the map of the house ---------- */
.map {
  position: fixed; z-index: var(--z-ui);
  right: var(--gutter); bottom: var(--gutter);
  width: 260px; height: 56px; padding: 10px 14px;
  border-radius: 16px; background: var(--card); box-shadow: var(--card-shadow);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s, background-color var(--t-colour);
}
.map.is-on { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s, background-color var(--t-colour); }
.map__in { position: relative; width: 100%; height: 100%; }
.map__house { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); opacity: .14; }
.map__view {
  position: absolute; left: 0; top: -3px; bottom: -3px; width: 100%;
  transform-origin: 0 0;
  border-radius: 4px; background: color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: inset 0 0 0 2px var(--indicator);
  pointer-events: none;
}
.map__stop {
  position: absolute; top: 0; bottom: 0; width: 24px;
  transform: translateX(-50%);
  border: 0; padding: 0; background: none; cursor: pointer;
}
.map__stop::before {
  content: ""; position: absolute; left: 50%; top: 52%;
  width: 6px; height: 12px; transform: translate(-50%, -50%);
  border-radius: 1.5px; background: var(--ink-2);
  transition: background-color .16s, transform .2s var(--ease);
}
.map__stop--jar::before { width: 8px; height: 9px; border-radius: 45% 45% 40% 40%; top: 62%; }
.map__stop--board::before { width: 5px; height: 12px; }
.map__stop--about::before { width: 3px; height: 16px; top: 82%; transform: translate(-50%, -50%) rotate(14deg); }
.map__stop--end::before { width: 12px; height: 3px; top: 66%; }
.map__stop:hover::before { background: var(--ink); }
.map__stop.is-here::before { background: var(--indicator); transform: translate(-50%, -50%) scale(1.25); }
.map__stop--about.is-here::before { transform: translate(-50%, -50%) rotate(14deg) scale(1.25); }

/* ---------- the viewer ---------- */
.view {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--view-bg); color: var(--ink);
  display: none; grid-template-columns: 1fr minmax(320px, 400px);
}
.view[open] { display: grid; animation: fade .35s ease-out; }
.view::backdrop { background: var(--backdrop); }
@keyframes fade { from { opacity: 0; } }
.view__fig {
  position: relative; overflow: hidden;
  height: 100dvh; padding: clamp(24px, 5vh, 56px) clamp(24px, 4vw, 56px);
  display: grid; place-items: center;
}
.view__tilt { transform-style: preserve-3d; }
.view__img {
  max-width: none;
  background-size: cover;
  box-shadow: 0 24px 50px rgba(16, 24, 20, .28);
  cursor: zoom-in;
  transition: transform .45s var(--ease);
}
.is-zoomed .view__img { transform: scale(2.4); cursor: zoom-out; box-shadow: none; }
.is-zoomed .view__fig { touch-action: none; } /* a finger moves around the zoomed picture instead of scrolling */
.view__side { align-self: center; padding: 40px 48px 40px 8px; }
.view__title { margin: 0 0 10px; font: 400 clamp(1.875rem, 2.8vw, 2.5rem)/1.08 var(--display); letter-spacing: -.01em; }
.view__meta { margin: 0 0 16px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.45; }
.view__line { margin: 0 0 12px; max-width: 34ch; }
.view__hint { margin: 0 0 24px; font-size: var(--fs-small); color: var(--ink-2); }
.view__actions { margin-bottom: 24px; }
.view__step { display: flex; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.view__close {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--soft); color: var(--ink); cursor: pointer;
  transition: background-color .16s, transform .12s;
}
.view__close:hover { background: var(--soft-hover); }
.view__close:active { transform: scale(.94); }

/* ---------- the list ---------- */
.index {
  width: min(440px, 100vw); height: 100dvh; max-height: none;
  margin: 0 0 0 auto; padding: 0; border: 0;
  background: var(--card); color: var(--ink);
}
.index[open] { animation: slide .45s var(--ease); }
.index::backdrop { background: var(--backdrop); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.index__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 8px 24px; background: var(--card); }
.index__title { margin: 0; font: 400 var(--fs-h2)/1.1 var(--display); }
.index__note { margin: 0; padding: 0 24px 32px; font-size: var(--fs-small); color: var(--ink-2); }
.index__close { position: static; }
.index__list { list-style: none; margin: 0; padding: 8px 12px 24px; }
.index__item {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer;
  transition: background-color .16s;
}
.index__item:hover { background: var(--soft); }
.index__item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background-size: cover; flex: none; }
.index__name { display: block; font-weight: 700; }
.index__meta { display: block; font-size: var(--fs-small); color: var(--ink-2); }

.noscript { position: fixed; z-index: 60; inset: auto 16px 16px; padding: 16px; border-radius: 16px; background: var(--card); }

/* ---------- phones ---------- */
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .nav { padding: 10px 12px; }
  .nav__name { padding: 0 14px; font-size: 1rem; }
  .nav__list span, [data-time-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pill--icon { padding: 0 13px; }
  .cap, .card, .card--about, .card--end {
    left: 12px; right: 12px; width: auto;
    top: auto; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 20px;
    transform: translateY(16px);
  }
  .card--about.is-on, .card--end.is-on { transform: none; }
  .cap__title, .card__title { font-size: 1.5rem; }
  .rcap__img { height: 96px; margin-bottom: 12px; }
  .map { left: 12px; right: 12px; top: 66px; bottom: auto; width: auto; height: 44px; padding: 8px 12px; }
  .view { grid-template-columns: 1fr; grid-template-rows: 50dvh auto; overflow-y: auto; }
  .view__fig { height: 50dvh; padding: 64px 16px 12px; }
  .view__side { padding: 4px 20px 24px; align-self: start; }
  .view__meta { margin-bottom: 10px; }
  .view__hint { margin-bottom: 16px; }
  .view__actions { margin-bottom: 12px; }
  .view__step { padding-top: 12px; }
  .view__step .pill { flex: 1; }
  .is-zoomed .view__side { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
