/* Vivantiz landing, 3D holiday home.
   Reference: tinyvilla.peachworlds.com (monochrome grey studio, Inter Tight Light,
   black square buttons with a white arrow tile, fixed 3D canvas, white bands over it). */

:root {
  --sky: #cfcfcf;
  --ground: #dedede;
  --ink: #0b0b0b;
  --ink-2: #4a4a4a;
  --ink-3: #555555; /* 4.7:1 on the studio grey #cfcfcf; #666 was 3.7:1 */
  --line: rgba(0, 0, 0, .14);
  --paper: #ffffff;
  --paper-2: #f3f3f3;
  --font: "Inter Tight", system-ui, sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --h1: clamp(52px, 8.4vw, 132px);
  --h2: clamp(38px, 4.9vw, 72px);
  --lead: clamp(19px, 1.75vw, 27px);
  --small: 15px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 300 17px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 300; letter-spacing: -.035em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; }

/* ---------- 3D stage ---------- */
#stage {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, var(--sky) 0%, var(--sky) 52%, var(--ground) 100%);
}
#stage canvas {
  display: block; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.2s ease;
}
#stage.ready canvas { opacity: 1; }
#stage .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
}
.loader {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 3;
  font-size: 13px; color: var(--ink-2); letter-spacing: .01em;
  transition: opacity .6s ease;
}
#stage.ready ~ .loader { opacity: 0; pointer-events: none; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top { transition: background .3s ease, box-shadow .3s ease; }
/* over the 3D stage: a studio-grey scrim behind the header, so headings that scroll up dissolve into the
   studio instead of running under the logo (Apple-style progressive edge). Off over the white bands. */
.top::before {
  content: ""; position: absolute; inset: 0 0 -30px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--sky) 0, var(--sky) calc(100% - 30px), rgba(207, 207, 207, 0) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.top.scrolled::before { opacity: 1; }
.top.on-paper::before, .top.open::before { opacity: 0; }
.top.open { background: var(--paper); }
.top.on-paper { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo span { font-weight: 400; font-size: 21px; letter-spacing: -.02em; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 400; }
.top nav a { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* phone menu: a text button and a paper sheet under the header */
.menu-btn {
  display: none; align-items: center; gap: 10px; height: 36px; padding: 0 2px 0 4px;
  background: none; border: 0; color: var(--ink); font: 400 15px/1 var(--font); cursor: pointer;
}
.menu-btn i { position: relative; width: 18px; height: 10px; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), top .3s cubic-bezier(.2, .7, .2, 1);
}
.menu-btn i::before { top: 0; }
.menu-btn i::after { top: 8.5px; }
.menu-btn[aria-expanded="true"] i::before { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 4.25px; transform: rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sheet {
  position: fixed; inset: 0; z-index: 19; background: var(--paper);
  padding: 84px 16px 32px; overflow-y: auto;
}
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sheet a {
  display: block; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; text-decoration: none;
  opacity: 0; transform: translateY(10px);
  animation: sheet-in .5s cubic-bezier(.2, .7, .2, 1) forwards;
}
.sheet a:nth-child(2) { animation-delay: 40ms; }
.sheet a:nth-child(3) { animation-delay: 80ms; }
.sheet a:nth-child(4) { animation-delay: 120ms; }
.sheet a:nth-child(5) { animation-delay: 160ms; }
@keyframes sheet-in { to { opacity: 1; transform: none; } }
.sheet .sheet__cta { display: inline-flex; line-height: 1; margin-top: 28px; font-size: 17px; padding: 8px 8px 8px 18px; letter-spacing: 0; border: 0; animation-delay: 200ms; }

/* the tinyvilla button: black block, light label, white tile with an arrow */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 300 17px/1 var(--font);
  padding: 7px 7px 7px 16px; border: 0; cursor: pointer;
  transition: background .2s ease;
}
.btn i {
  display: grid; place-items: center; width: 30px; height: 30px; background: #fff; color: var(--ink);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.btn i svg { width: 14px; height: 14px; }
.btn:hover { background: #262626; }
.btn:hover i { transform: translate(2px, -2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light i { background: var(--ink); color: #fff; }
.btn--light:hover { background: #ececec; }

/* ---------- content over the stage ---------- */
main { position: relative; z-index: 2; }
.beat {
  position: relative; min-height: 120vh;
  padding: 0 var(--gutter);
}
.beat--hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.beat--hero h1 {
  /* smaller than --h1: "boekingssystemen" has to fit one line on a phone */
  font-size: clamp(38px, 6vw, 96px); line-height: .94; max-width: 9em; text-wrap: balance;
  margin-top: 6vh;
}
.beat--hero .lead {
  font-size: var(--lead); line-height: 1.4; color: var(--ink-2);
  max-width: 28em; margin-top: 26px; text-wrap: pretty;
}
.beat--hero .btn { margin-top: 34px; align-self: flex-start; }
.scrollhint {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-size: 13px; color: var(--ink-2);
  transition: opacity .15s ease-out;
}
/* gone on the first scroll (Loïc, 13 nov: "mag heel snel verdwijnen") */
.beat--hero .scrollhint.rise.is-weg { opacity: 0; transition: opacity .15s ease-out; transition-delay: 0s; }
/* the platform beat holds longer than the others before the brand takes over (Loïc, 13 nov) */
.beat[data-cam="grid"] { min-height: 170vh; }
.beat[data-cam="grid"] .copy { position: sticky; top: 0; }

.copy { max-width: 34rem; padding-top: 18vh; }
.copy h2 { font-size: var(--h2); line-height: .98; }
.copy p { margin-top: 22px; font-size: var(--lead); line-height: 1.4; color: var(--ink); }
.copy--right { margin-left: auto; }
.copy small { display: block; margin-top: 18px; font-size: var(--small); color: var(--ink-2); }

/* the comparison: two short labels that sit with the text */
.label {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; font-weight: 400; letter-spacing: .02em;
  border: 1px solid var(--ink); padding: 5px 9px;
}
.label--fill { background: var(--ink); color: #fff; }

/* ---------- owner dashboard (sticky) ---------- */
.dash { position: relative; height: 380vh; }
.dash__sticky {
  position: sticky; top: 0; height: 100vh;
  overflow-x: clip; /* a card in flight (rotated, overshooting) must not widen the page: on a phone that lets it slide sideways */
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center; gap: 4vw;
  padding: 90px var(--gutter) 40px;
}
.dash__text { align-self: end; max-width: 30rem; padding-bottom: 4vh; }
.dash__text h2 { font-size: var(--h2); line-height: .98; }
.dash__text > p { margin-top: 18px; font-size: var(--lead); line-height: 1.4; }
.steps-mini { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps-mini li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; line-height: 1.3; color: var(--ink-3);
  transition: color .4s ease;
}
.steps-mini li b { font-weight: 400; font-variant-numeric: tabular-nums; }
.dash[data-step="1"] .steps-mini li:nth-child(1),
.dash[data-step="2"] .steps-mini li:nth-child(-n+2),
.dash[data-step="3"] .steps-mini li { color: var(--ink); }

/* ---------- the owner environment: three cards that spring out of the house (pop.js) ----------
   Rebuilt in Anar's owner style (Geist, white card, hairline, channel colours, see
   vivantiz-site/src/app/globals.css --adm-*). pop.js sets per card:
   --t emergence 0..1 (a spring, may overshoot), --dx/--dy from the card's rest centre to its window,
   --d stack depth. Once a card has landed it is plain, working UI: no tilt, no float. */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
.oc {
  --ink: #1c1c1b; --muted: #6f6e69; --line: #eaeaea; --linesoft: #f0f0ee; --sunken: #f3f3f1; --tint: #ebebe7;
  --direct: #2f9e5f; --direct-night: rgba(213, 240, 221, .55); --airbnb-night: rgba(255, 227, 228, .55);
  --blue: #2453e0; --ok: #1f6e43; --ok-soft: #d5f0dd; --warn: #b93c0a; --warn-soft: #ffe4c4;
  position: relative; justify-self: end; align-self: stretch;
  width: min(100%, 540px);
  display: grid; gap: 14px; align-content: center;
  font: 400 13px/1.35 "Geist", var(--font); color: var(--ink);
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
.oc__card {
  position: relative; margin: 0; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 24px 50px -24px rgba(20, 20, 18, .35);
}
.oc__face { padding: 16px 18px 18px; display: grid; gap: 14px; }
.oc__note { margin: 0; font: 400 12px/1.4 var(--font); color: var(--ink-3); }

/* JS on: the cards stack in 3D and fly out of their windows */
.oc.on { display: block; perspective: 1500px; perspective-origin: 30% 40%; pointer-events: none; }
.oc.on .oc__card {
  position: absolute; left: 0; right: 0; bottom: 14%;
  pointer-events: auto; transform-style: preserve-3d; will-change: transform;
  visibility: hidden; opacity: var(--o, 0);
  transform:
    translate3d(calc(var(--dx, 0) * (1 - var(--t, 0)) * 1px),
                calc(var(--dy, 0) * (1 - var(--t, 0)) * 1px + var(--d, 0) * -54px),
                calc(var(--d, 0) * -150px))
    rotateY(calc((1 - var(--t, 0)) * -38deg)) rotateX(calc((1 - var(--t, 0)) * 10deg))
    scale(calc(max(.04, var(--t, 0)) * (1 - var(--d, 0) * .05)));
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 26px 54px -22px rgba(20, 20, 18, .34);
}
.oc.on .oc__card.vis { visibility: visible; }
.oc.rm .oc__card { transition: opacity .45s ease, transform .5s ease; }
.oc.on .oc__note { position: absolute; left: 0; bottom: calc(14% - 34px); opacity: var(--no, 0); }
/* cards further back fade into the studio grey instead of turning see-through */
.oc.on .oc__card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: #dcdcdc; opacity: calc(min(var(--d, 0), 2) * .32);
}
/* shared bits: Anar's owner style (Geist for the UI, Newsreader for page titles, soft channel fills) */
:where(.oc) button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
.oc button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.oc small { display: block; color: var(--muted); font-size: 12px; }
.oc b { font-weight: 600; }
.oc p { margin: 0; max-width: none; }
.oc__serif { font: 500 26px/1.1 "Newsreader", Georgia, serif; letter-spacing: -.02em; color: var(--ink); }
.oc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.oc__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.oc__label em, .oc__tag em { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 12px; }

/* card 1: the overview, as on /owner: greeting, today's moves, the calendar with coloured nights */
.oc__hello small { margin-top: 2px; font-size: 13px; }
.oc__today { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.oc__today li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.oc__today small { font-size: 11px; }
.oc__ic { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--sunken); color: var(--ink); flex: none; }
.oc__ic svg { width: 13px; height: 13px; }
.oc__ic--ok { background: var(--ok-soft); color: var(--ok); }
.oc__month { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.oc__month .dow { padding: 6px 6px; color: var(--muted); font-size: 11px; font-weight: 500; border-bottom: 1px solid var(--linesoft); }
.oc__month .d { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 5px 4px 6px; text-align: left; border-left: 1px solid var(--linesoft); border-bottom: 1px solid var(--linesoft); min-width: 0; }
.oc__month .d:nth-of-type(7n + 1) { border-left: 0; }
.oc__month .d:nth-last-of-type(-n + 7) { border-bottom: 0; }
.oc__month .d::before { content: ""; position: absolute; inset: 2px; border-radius: 6px; pointer-events: none; transition: box-shadow .15s ease; }
.oc__month .nt--direct::before { background: var(--direct-night); }
.oc__month .nt--airbnb::before { background: var(--airbnb-night); }
.oc__month .past::before { opacity: .5; }
@media (hover: hover) { .oc__month .d:hover::before { box-shadow: inset 0 0 0 1px #deded9; } }
.oc__month .d[aria-pressed="true"]::before { box-shadow: inset 0 0 0 1.5px var(--ink); }
.oc__month .d:focus-visible { outline-offset: -2px; }
.oc__month .d i { position: relative; font-style: normal; font-size: 12px; margin-left: 2px; }
.oc__month .d i.today { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 0; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; }
.oc__month .mv { position: relative; font-size: 10.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc__month .mv.out { color: var(--muted); }
.oc__pick { font-size: 13px; line-height: 22px; color: var(--ink); }
.oc__tag { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 6px; background: var(--tint); font-size: 12px; }

/* card 2: a request, as in the app: name, dates, amount, two round buttons */
.oc__pill { position: relative; display: grid; font-size: 12px; font-weight: 500; }
.oc__pill > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; justify-self: end; white-space: nowrap; transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.oc__pill svg { width: 13px; height: 13px; }
.oc__pill .pend { color: var(--warn); }
.oc__pill .ok { padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.oc__pill .no { padding: 3px 9px; border-radius: 999px; background: var(--sunken); color: var(--muted); }
.oc__pill .ok, .oc__pill .no { opacity: 0; transform: scale(.7); }
.oc__card.is-done .oc__pill .pend, .oc__card.is-no .oc__pill .pend { opacity: 0; transform: scale(.7); }
.oc__card.is-done .oc__pill .ok, .oc__card.is-no .oc__pill .no { opacity: 1; transform: none; }
.oc__req { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.oc__who b { font-size: 15px; }
.oc__amt { font-size: 17px; letter-spacing: -.01em; }
.oc__strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.oc__strip .d { position: relative; padding: 6px 0 8px; text-align: center; border-radius: 8px; }
.oc__strip .d small { font-size: 11px; }
.oc__strip .d i { position: relative; font-style: normal; font-size: 13px; }
.oc__strip .n { position: absolute; inset: 0; border-radius: 8px; text-decoration: none; background: var(--warn-soft); opacity: .7; transition: background-color .3s ease, opacity .3s ease; }
.oc__card.is-done .oc__strip .n { background: var(--direct-night); opacity: 1; }
.oc__card.is-no .oc__strip .n { opacity: 0; }
.oc__strip .d small, .oc__strip .d i { position: relative; }
.oc__actions { display: flex; gap: 8px; }
.oc__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--sunken); color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .15s ease, transform .1s ease; }
.oc__btn--primary { background: #fff; border: 1px solid #deded9; font-weight: 600; }
@media (hover: hover) { .oc__btn:hover { background: var(--tint); } .oc__btn--primary:hover { background: var(--sunken); } }
.oc__btn:active { transform: scale(.97); }
.oc__undo { display: none; }
.oc__card.is-done .oc__btn, .oc__card.is-no .oc__btn { display: none; }
.oc__card.is-done .oc__undo, .oc__card.is-no .oc__undo { display: inline-flex; }

/* card 3: Statistieken, as on /owner: period switch, four figures with the chosen one underlined, the visitors chart */
.oc__seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--sunken); font-size: 12px; font-weight: 500; }
.oc__seg button { padding: 5px 10px; border-radius: 8px; color: var(--muted); transition: background-color .15s ease, color .15s ease; }
.oc__seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.oc__stat { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.oc__kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.oc__kpis > span { position: relative; padding: 10px 12px 12px; }
.oc__kpis > span + span { border-left: 1px solid var(--line); }
.oc__kpis > span.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.oc__kpis small { color: var(--ink); font-weight: 500; }
.oc__kpis b { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -.02em; }
.oc__chart { padding: 10px 12px 12px; }
.oc__chart small { color: var(--ink); font-size: 11px; font-weight: 500; margin-bottom: 8px; }
.oc__chart svg { display: block; width: 100%; height: 76px; overflow: visible; }
.oc__chart .area { fill: url(#ocfill); opacity: 0; transition: opacity .6s ease .5s; }
.oc__chart .line { fill: none; stroke: var(--blue); stroke-width: 1.75; vector-effect: non-scaling-stroke; }
.oc__chart svg { clip-path: inset(-4px 100% -4px -4px); transition: clip-path 1.3s cubic-bezier(.4, .1, .2, 1) .15s; }
.oc__card.is-live .oc__chart svg, .oc:not(.on) .oc__chart svg { clip-path: inset(-4px -4px -4px -4px); }
.oc__card.is-live .oc__chart .area, .oc:not(.on) .oc__chart .area { opacity: 1; }

/* ---------- what happens by itself: the automatic mails as a stack of white notes ---------- */
.beat--auto { min-height: auto; padding-top: 52vh; padding-bottom: 20vh;
  /* the studio floor rises behind the content: the house stays visible on top, the rows sit on calm ground */
  background: linear-gradient(to bottom, rgba(238, 239, 241, 0) 30vh, #eeeff1 60vh); }
.auto { max-width: 1440px; margin: 0 auto; }
.auto__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.auto h2 { font-size: var(--h2); line-height: .98; }
.auto__intro { font-size: var(--lead); line-height: 1.4; max-width: 30em; }
.auto__sub { margin-top: 88px; font-weight: 400; font-size: 15px; color: var(--ink-2); letter-spacing: 0; }
.auto__sub--big { margin-top: 0; font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }

/* the mails: a timeline left to right, a dot per moment on one line, the mail as a toast below it */
.tl { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tl__item { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.tl__when { position: relative; margin: 0; padding: 0 0 0 18px; font-size: 14px; color: var(--ink); max-width: none; }
.tl__when::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tl__item::before { content: ""; position: absolute; left: 4px; right: -16px; top: calc(.45em + 4px); height: 1px; background: var(--line); }
.tl__item:last-child::before { right: 0; }
.tl__item--rev .tl__when::before { background: #b93c0a; box-shadow: 0 0 0 4px #ffe4c4; }
/* each mail as a toast in Anar's owner style: white, 14px corners, hairline, soft lift, Geist */
.toast {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center;
  padding: 14px 16px 14px 14px; border-radius: 14px;
  background: #fff; border: 1px solid #eaeaea;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -22px rgba(20, 20, 18, .3);
  font-family: "Geist", var(--font); color: #1c1c1b; -webkit-font-smoothing: antialiased;
}
.tl__item--rev .toast { border-color: #f3c9a6; }
.toast__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f3f3f1; }
.toast__ic svg { display: block; width: 17px; height: 17px; }
.toast__ic--info { color: #2453e0; }
.toast__ic--ok { color: #1f6e43; }
.toast__ic--neutral { color: #6f6e69; }
.toast__ic--warn { color: #b93c0a; }
.toast h3 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.toast p { margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #6f6e69; }

/* the review funnel: one row of four steps, each a product moment with its explanation, looping back */
.fn { margin-top: 128px; }
.fn__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.fn__lead { font-size: var(--lead); line-height: 1.35; color: var(--ink); max-width: 20em; }
.fn__steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(260px, auto) auto; gap: 18px 16px; }
.fn__step { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.fn__step .fv, .fn__step .fv__card { min-height: 0; }
.fn__step h4 { display: flex; align-items: baseline; gap: 10px; }
.fn__step h4 span { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.fn__step:not(:last-child)::after { content: "\2192"; position: absolute; right: -13px; top: 140px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid #eaeaea; font-size: 13px; color: var(--ink-2); transform: translateY(-50%); }
.fn__step h4 { margin: 0; font-weight: 300; font-size: clamp(22px, 1.7vw, 28px); letter-spacing: -.025em; line-height: 1.05; }
.fn__fine { margin-top: 32px; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 52em; }
/* the visuals: real product moments in Anar's owner style (Geist, hairline, 16px corners, soft lift) */
.fv { --ink: #1c1c1b; --muted: #6f6e69; --line: #eaeaea; --sunken: #f3f3f1; --ok: #1f6e43; --ok-soft: #d5f0dd; --warn: #b93c0a; --warn-soft: #ffe4c4; --blue: #2453e0; --gold: #e3a008;
  font: 400 13px/1.45 "Geist", var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.fv p { margin: 0; max-width: none; }
.fv b { font-weight: 500; }
.fv small { display: block; color: var(--muted); font-size: 12.5px; }
.fv__card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 24px 56px -28px rgba(20, 20, 18, .35); }
.fv svg { width: 14px; height: 14px; flex: none; }
/* 1. the mail */
.fv__mail { display: grid; gap: 12px; align-content: start; }
.fv__mailhead { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fv__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sunken); font-weight: 600; }
.fv__date { margin-left: auto; white-space: nowrap; }
.fv__subj { font-size: 15px !important; font-weight: 500; letter-spacing: -.01em; padding-top: 2px; }
.fv__cta { padding: 4px 0; }
.fv__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; }
.fv__btn svg { color: var(--gold); }
.fv__alt { color: var(--muted); }
.fv__alt u { color: var(--ink); text-underline-offset: 3px; }
/* 2. the reviews */
.fv__rev { display: grid; gap: 14px; align-content: space-between; }
.fv__score b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.fv__stars { display: flex; gap: 2px; margin: 8px 0 6px; color: var(--gold); }
.fv__bars p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.fv__bars div { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; align-items: end; height: 72px; }
.fv__bars span { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; text-align: center; }
.fv__bars i { align-self: end; height: calc(var(--h) / 7 * 100%); border-radius: 6px 6px 3px 3px; background: var(--sunken); }
.fv__bars span:last-child i { background: var(--ok-soft); box-shadow: inset 0 2px 0 var(--ok); }
/* 3. the local results */
.fv__serp { display: grid; gap: 14px; }
.fv__q { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); }
.fv__q svg { color: var(--muted); }
.fv__res { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fv__res li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.fv__res li.is-you { background: var(--ok-soft); }
.fv__res small { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.fv__res small em { font-style: normal; color: var(--ink); }
.fv__res small svg { width: 12px; height: 12px; color: var(--gold); }
.fv__pin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sunken); font-size: 12.5px; font-weight: 600; }
.fv__res li.is-you .fv__pin { background: var(--ok); color: #fff; }
.fv__up { font-size: 12.5px; font-weight: 500; color: var(--ok); }
.fv__sk { display: grid; gap: 7px; }
.fv__sk i { display: block; height: 10px; width: 56%; border-radius: 5px; background: var(--sunken); }
.fv__sk i + i { width: 38%; height: 8px; }
/* 4. the requests */
.fv__req { display: grid; gap: 0; padding-bottom: 10px; }
.fv__reqhead { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; }
.fv__reqhead b { font-weight: 600; }
.fv__reqhead em { font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 12.5px; }
.fv__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.fv__row > b { font-size: 15px; white-space: nowrap; }

@media (max-width: 1200px) and (min-width: 861px) {
  .fn__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(240px, auto) auto); row-gap: 18px; }
  .fn__step:nth-child(2)::after { display: none; }
  .fn__step:nth-child(3), .fn__step:nth-child(4) { margin-top: 28px; }
}
/* ---------- white bands that slide over the stage ---------- */
.band { position: relative; z-index: 3; background: var(--paper); padding: 120px var(--gutter); }
.band h2 { font-size: var(--h2); line-height: .98; max-width: 14em; }
.band .intro { margin-top: 20px; font-size: var(--lead); line-height: 1.4; max-width: 30em; }
.band + .band { padding-top: 0; }

/* client work: Instrument "stack" (Mobbin) - big desktop card + narrow phone card, meta row below */
.work-list { margin-top: 72px; display: grid; gap: 40px; }
.work__cards { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 14px; }
.work--flip .work__cards { grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); }
.work--flip .work__phone { order: -1; }
.work__big {
  display: block; border-radius: 18px; overflow: hidden; background: #ececec;
  aspect-ratio: 1600 / 1012; position: relative;
}
.work__big img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.work__big:hover img { transform: scale(1.025); }
.work__big::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09); pointer-events: none; }
.work__phone {
  border-radius: 18px; background: var(--paper-2);
  display: grid; place-items: center; padding: 28px 0; overflow: hidden;
}
.phone {
  width: min(62%, 230px); aspect-ratio: 746 / 1520; border-radius: 30px; padding: 7px;
  background: var(--ink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .45);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }

/* the clickable office: a 16:10 screen (poster, then the real demo in an iframe) beside the app on a phone */
.demo { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 14px; }
.demo__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #ececec;
}
.demo__screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09); pointer-events: none; }
.demo__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.demo__open { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.demo__screen iframe {
  position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0;
  transform-origin: 0 0; transform: scale(var(--demo-scale, 1)); background: #fff;
}
.demo__side {
  border-radius: 18px; background: var(--paper-2);
  display: grid; place-items: center; align-content: center; gap: 18px; padding: 28px 0;
}
.demo__side .phone { display: block; width: min(62%, 210px); aspect-ratio: 780 / 1688; }
.demo__link { font-size: 15px; color: var(--ink); text-underline-offset: 4px; }
.demo__more { margin-top: 16px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; padding: 0; }
.three li { list-style: none; display: flex; flex-direction: column; padding: 16px 16px 32px; border-radius: 18px; background: var(--paper-2); }
.three ol { margin: 0; padding: 0; }
.three .three__meta { display: flex; align-items: baseline; gap: 0; margin: 28px 16px 0; font-size: 14px; color: var(--ink-2); max-width: none; }
.three .n { font-variant-numeric: tabular-nums; }
.three .t { color: var(--ink); }
.three .t::before { content: "·"; margin: 0 10px; color: var(--ink-3); }
.three h3 { margin: 14px 16px 0; font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1; }
.three li > p:last-child { margin: 12px 16px 0; font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 24em; }
/* step visuals: small, static pieces of the real product UI (same Geist + tokens as the window cards) */
.sv { --ink: #1c1c1b; --muted: #6f6e69; --line: #eaeaea; --sunken: #f3f3f1; --tint: #ebebe7; --ok: #1f6e43; --ok-soft: #d5f0dd; --blue: #2453e0;
  display: grid; align-items: center; height: 196px; padding: 0 8px; font: 400 13px/1.35 "Geist", var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.sv__panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.sv p { margin: 0; max-width: none; font-size: 13px; color: inherit; line-height: 1.35; }
.sv b { font-weight: 500; }
.sv small { display: block; color: var(--muted); font-size: 12px; }
.sv__cap { color: var(--muted) !important; margin-bottom: 6px !important; }
.sv__row { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; min-height: 30px; }
.sv__time { color: var(--muted); font-size: 12px; }
.sv__slot { height: 100%; min-height: 30px; border-top: 1px solid var(--line); }
.sv__slot--on { min-height: 0; margin: 2px 0; padding: 7px 10px; border: 0; border-radius: 8px; background: rgba(36, 83, 224, .08); box-shadow: inset 2px 0 0 var(--blue); }
.sv__list { display: grid; gap: 10px; }
.sv__item { display: flex; align-items: center; gap: 10px; color: var(--muted) !important; }
.sv__item em { margin-left: auto; font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--sunken); color: var(--muted); }
.sv__ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.sv__ic svg { width: 12px; height: 12px; }
.sv__item.is-done, .sv__item.is-busy { color: var(--ink) !important; }
.sv__item.is-done .sv__ic { border-color: transparent; background: var(--ok-soft); color: var(--ok); }
.sv__item.is-busy .sv__ic { border-color: var(--ink); }
.sv__item.is-busy .sv__ic i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.sv__live { display: grid; gap: 12px; }
.sv__url { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--sunken); }
.sv__url svg { width: 14px; height: 14px; color: var(--muted); }
.sv__on { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }
.sv__on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2f9e5f; }
.sv__req { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sv__btn { padding: 7px 14px; border-radius: 999px; border: 1px solid #deded9; font-weight: 500; white-space: nowrap; }
.ww-prijs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: baseline; margin-top: 72px; border-top: 1px solid var(--ink); padding-top: 22px; }
.ww-prijs__bedrag { font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1; }
.ww-prijs__voorwaarden { grid-column: 2 / span 2; font-size: 17px; color: var(--ink-2); }

.faq { margin: 56px auto 0; max-width: 980px; }
/* Vragen in het midden (Loïc, 13 nov): de kop boven de lijst, de lijst als één gecentreerd blok. */
#vragen h2 { text-align: center; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .25s ease; }
.faq summary i svg { width: 12px; height: 12px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq p { padding: 0 0 24px; font-size: 18px; color: var(--ink-2); max-width: 40em; }

/* ---------- closing, back over the stage ---------- */
.beat--close { min-height: 110vh; display: flex; flex-direction: column; justify-content: center; }
.beat--close h2 { font-size: var(--h1); line-height: 1; /* .88 let the g of "gesprek" hit "minuten" */ max-width: 7.4em; text-wrap: balance; }
.beat--close p { margin-top: 24px; font-size: var(--lead); max-width: 26em; line-height: 1.4; }
.beat--close .btn { margin-top: 30px; align-self: flex-start; }

footer {
  /* 96px at the bottom: the chat bell (56px, 20px from the edge) sits over the last line otherwise, and that
     line now carries the legally required trade name and number. */
  position: relative; z-index: 3; background: var(--paper); padding: 56px var(--gutter) 96px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px 24px; font-size: 15px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 400; }
footer nav a { text-decoration: none; }
footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer .mail { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; text-decoration: none; }
footer .fine { grid-column: 1 / -1; font-size: 12px; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 20px; }
/* Under 720px the links and the address stack: next to the address, "Verwerkersovereenkomst" is wider than its
   column and pushed the page 67px sideways at 375px. */
@media (max-width: 720px) { footer { grid-template-columns: 1fr; } }

/* ---------- the sales chat (a frame from the Next site, /chat) ---------- */
/* Closed: just big enough for the bubble and the "Chat met ons" label (both sit 20px from the frame's corner).
   Open: the frame is the panel; on a phone it fills the screen, as the chat does on the other pages. */
.chatframe {
  position: fixed; right: 0; bottom: 0; z-index: 30;
  width: 300px; height: 110px; border: 0; background: transparent; color-scheme: normal;
  opacity: 0; transition: opacity .4s ease;
}
.chatframe.ready { opacity: 1; }
.chatframe.open {
  right: 20px; bottom: 20px; width: 400px; height: min(672px, calc(100dvh - 40px));
  border: 1px solid #dcdcdc; background: #fff; box-shadow: 0 30px 70px -30px rgba(23, 25, 30, .55);
}
@media (max-width: 640px) {
  .chatframe.open { inset: 0; width: 100%; height: 100%; border: 0; box-shadow: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .top nav a:not(.btn) { display: none; }
  .top { gap: 12px; }
  .menu-btn { display: inline-flex; }
  .top nav { display: none; } /* the only thing left in it is the button, which moves into the sheet */
  .btn { font-size: 15px; }
  .beat--hero h1 { margin-top: 0; }
  .beat--hero { justify-content: flex-start; padding-top: 22vh; }
  .copy { padding-top: 10vh; }
  .copy--right { margin-left: 0; }
  .dash { height: 420vh; }
  .dash__sticky { height: 100svh; grid-template-columns: 1fr; align-content: end; gap: 18px; padding: 78px 16px 18px; } /* svh: the step text stays above the browser bar */
  .dash__text { order: 2; align-self: auto; padding-bottom: 0; }
  .dash__text h2 { font-size: 34px; }
  .dash__text > p { display: none; }
  /* one step at a time, all three stacked in one cell: the block keeps the height of the longest,
     so the card above does not jump when the step changes */
  .steps-mini { margin-top: 12px; display: grid; }
  .steps-mini li { grid-area: 1 / 1; padding: 7px 0; font-size: 14px; color: var(--ink-3); }
  .dash[data-step="1"] .steps-mini li:not(:nth-child(1)),
  .dash[data-step="2"] .steps-mini li:not(:nth-child(2)),
  .dash[data-step="3"] .steps-mini li:not(:nth-child(3)) { visibility: hidden; }
  .dash:not([data-step]) .steps-mini li:not(:first-child) { visibility: hidden; }
  .oc { justify-self: stretch; width: 100%; font-size: 12px; }
  .oc.on { height: 46vh; margin-bottom: 30px; }
  .oc.on .oc__card { bottom: 0; }
  .oc.on .oc__note { bottom: -22px; }
  .oc__face { padding: 14px 14px 14px; gap: 10px; }
  .oc__serif { font-size: 21px; }
  .oc__today li:nth-child(2) { display: none; } /* two moves fit on a phone */
  .oc__month .d { min-height: 36px; padding: 4px 3px; }
  .oc__month .dow { padding: 5px; }
  .oc__pick { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .oc__month .mv { display: none; }
  .oc__kpis > span { padding: 8px 8px 10px; }
  .oc__kpis b { font-size: 16px; }
  .oc__kpis small { font-size: 11px; }
  .oc__chart svg { height: 50px; }
  .oc__btn { min-height: 40px; font-size: 14px; }
  .top { padding: 14px 16px; }
  .top .btn { padding: 5px 5px 5px 12px; gap: 10px; }
  .top .btn i { width: 26px; height: 26px; }
  /* the house sits small on top; both rows become sideways swipe rows (one card and a bit of the next) */
  .beat--auto { padding: 38vh 16px 14vh; background: linear-gradient(to bottom, rgba(238, 239, 241, 0) 22vh, #eeeff1 44vh); }
  .auto__head, .fn__head { grid-template-columns: 1fr; gap: 14px; }
  .auto h2 { font-size: 40px; }
  .auto__intro { font-size: 18px; }
  .auto__sub--big { margin-top: 0; font-size: 34px; }
  .fn__lead { font-size: 18px; }
  .tl, .fn__steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px;
    margin-left: -16px; margin-right: -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    overscroll-behavior-x: contain; scrollbar-width: none; }
  .tl::-webkit-scrollbar, .fn__steps::-webkit-scrollbar { display: none; }
  .tl__item, .fn__step { scroll-snap-align: start; }
  .tl__item::before { right: -12px; }
  .fn { margin-top: 72px; }
  .fn__steps { margin-top: 28px; }
  .fn__step:not(:last-child)::after { display: none; }
  .fv__date { display: none; }
  .fn__fine { font-size: 13px; }
  .three { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .three li { padding: 12px 12px 28px; }
  .three .three__meta { margin-top: 22px; }
  .sv { height: auto; padding: 0; }
  .ww-prijs { grid-template-columns: 1fr; gap: 12px; margin-top: 56px; }
  .ww-prijs__voorwaarden { grid-column: auto; }
  /* on a phone the desktop screen would be unreadable: only the app, which opens full screen */
  .demo { grid-template-columns: 1fr; margin-top: 36px; }
  .demo__screen, .demo__more { display: none; }
  .demo__side { padding: 32px 0; }
  .work-list { gap: 28px; margin-top: 48px; }
  .work__cards, .work--flip .work__cards { grid-template-columns: 1fr; }
  .work--flip .work__phone { order: 0; }
  .work__phone { padding: 22px 0; }
  .phone { width: 46%; }
}

/* ---------- text pop (Apple-style letter pop from blur; exit after tinyvilla) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pop .w { display: inline-block; white-space: nowrap; }
.pop .c {
  display: inline-block;
  opacity: 0; transform: translateY(.3em) scale(.85); filter: blur(10px);
  transition: opacity .45s ease-out, filter .45s ease-out, transform .7s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--b, 0ms) + min(var(--i), 45) * var(--s, 20ms));
}
.pop-block.in .pop .c { opacity: 1; transform: none; filter: none; }
.pop-block.out .pop .c {
  opacity: 0; transform: translateY(-.2em); filter: blur(6px);
  transition-duration: .3s; transition-timing-function: ease-in;
  transition-delay: calc(min(var(--i), 45) * 8ms);
}
.rise {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1), background .2s ease;
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
}
.pop-block.in .rise { opacity: 1; transform: none; }
.pop-block.out .rise { opacity: 0; transform: translateY(-12px); transition-duration: .3s; transition-delay: 0ms; }

/* list cards: wait for their own turn on screen (text.js), and arrive a little slower */
.rise--self { transition-duration: .8s, 1s, .2s; }
.pop-block.in .rise.rise--self:not(.in) { opacity: 0; transform: translateY(24px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  #stage canvas, .btn i, .faq summary i { transition: none; }
  .sheet a { animation: none; opacity: 1; transform: none; }
}
