/* =====================================================================
   Gestopt en begonnen — stijl (v0.2.1 visual polish)

   Uitgangspunt: rust als standaard, verrassing bij interactie.
   De foto is de wereld; de interface ligt er licht bovenop.
   Elk onderdeel heeft een eigen presentatievorm:
     Home              vrije ruimte op de foto
     Ik verveel me     speelse wolk          (.cloud-card)
     Even kijken       tekst in de lucht     (.open-text)
     Wat er verandert  editorial card        (.editorial)
     Waar gaat dit over? voorwoord op sluier (.foreword)

   Indeling:
     1. Lettertypes
     2. Kleuren & maten (variabelen) + atmosferen
     3. Basis
     4. Achtergrondfoto
     5. Masthead & sluitknop
     6. Schermen & overgangen
     7. Homescreen
     8. Knoppen
     9. Ik verveel me
    10. Even kijken
    11. Wat er verandert
    12. Waar gaat dit over?
    13. Kleine schermen
    14. Minder beweging
   ===================================================================== */

/* 1. Lettertypes ------------------------------------------------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond.woff') format('woff');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond-italic.woff') format('woff');
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../assets/fonts/lora.woff') format('woff');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../assets/fonts/jost.woff') format('woff');
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

/* 2. Variabelen ------------------------------------------------------- */
:root {
  --ink: #12204c;              /* donker marineblauw: alle leestekst */
  --ink-soft: #1f3366;         /* iets zachter, maar nog steeds stevig */
  --on-sky: #fbfcfd;
  --warm-white: #fffbf4;
  --cloud-fill: rgba(255, 251, 244, .93);
  --halo: 0 0 14px rgba(255, 252, 246, .75), 0 0 3px rgba(255, 252, 246, .9);  /* lichte gloed achter tekst op de lucht */

  /* kleine accenten: zon, blad, lucht, aarde */
  --sun: #e9a51c;
  --leaf: #4f7a2b;
  --sky-ink: #2f78bd;
  --clay: #b9663f;
  --dusk: #4a5fa8;
  --plum: #8461a8;

  --font-display: 'Cormorant Garamond', Georgia, serif;   /* teller, titels */
  --font-text: 'Lora', Georgia, 'Times New Roman', serif; /* leestekst */
  --font-ui: 'Jost', 'Futura', system-ui, sans-serif;     /* labels en knoppen */

  --land-h: 26vh;              /* door app.js per foto en scherm uitgerekend */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  --ease-soft: cubic-bezier(.22, .7, .2, 1);
  --t-screen: 560ms;
  --t-swap: 260ms;
}

/* Atmosferen. Voor nu alleen 'day'. */
[data-atmosphere="day"] { --sky-fallback: #4f93dc; }

/* Contrast per achtergrondfoto (tone in content/backgrounds.js).
   Alleen de sterkte van de lichte gloed achter tekst verandert; de vormgeving blijft gelijk. */
:root,
[data-tone="light"] {
  --look-veil: .15;   /* zachte lokale sluier achter "Even kijken" */
  --nav-veil: .34;    /* zachte lokale sluier achter de drie ingangen */
}
[data-tone="golden"] {
  --halo: 0 0 16px rgba(255, 250, 240, .85), 0 0 3px rgba(255, 250, 240, .95);
  --look-veil: .22;
  --nav-veil: .55;
}
[data-tone="dusk"] {
  --halo: 0 0 18px rgba(255, 246, 236, .9), 0 0 4px rgba(255, 246, 236, 1);
  --look-veil: .30;
  --nav-veil: .6;
}

/* 3. Basis ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--sky-fallback);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}
button:focus { outline: none; }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
p, h2 { margin: 0; }
[hidden] { display: none !important; }

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.c-sun   { color: var(--sun); }
.c-leaf  { color: var(--leaf); }
.c-sky   { color: var(--sky-ink); }
.c-clay  { color: var(--clay); }
.c-dusk  { color: var(--dusk); }
.c-plum  { color: var(--plum); }
.c-ink   { color: var(--ink-soft); }

/* 4. Achtergrondfoto -------------------------------------------------- */
.backdrop {
  position: fixed; inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--sky-fallback);
}
.backdrop img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  display: block;
  opacity: 0;
  transform-origin: 50% 100%;
  transition: opacity 700ms ease, transform 1400ms var(--ease-soft), filter 1400ms ease;
}
.backdrop img.is-loaded { opacity: 1; }
body[data-screen="boredom"] .backdrop img { transform: scale(1.04); filter: saturate(1.08) brightness(1.03); }

/* Sluier: alleen bij "Waar gaat dit over?" een zachte lichte band over het midden. */
.backdrop__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 251, 244, 0) 6%,
    rgba(255, 251, 244, .62) 24%,
    rgba(255, 251, 244, .66) 62%,
    rgba(255, 251, 244, 0) 84%);
  opacity: 0;
  transition: opacity 700ms ease;
}
body[data-screen="about"] .backdrop__veil { opacity: 1; }

/* 5. Masthead & sluitknop -------------------------------------------- */
.app { position: fixed; inset: 0; z-index: 1; }
.masthead {
  position: absolute;
  z-index: 3;
  top: 0; left: 0; right: 0;
  padding-top: calc(var(--safe-top) + 24px);
  text-align: center;
  color: var(--on-sky);
  pointer-events: none;
}
.masthead__title {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding-left: .3em;
  text-shadow: 0 1px 6px rgba(14, 40, 86, .45), 0 0 2px rgba(14, 40, 86, .3);
}
.masthead__ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 7px;
  margin-top: 8px;
  filter: drop-shadow(0 1px 3px rgba(14, 40, 86, .35));
}
.masthead__ornament span { width: 34px; height: 1px; background: currentColor; opacity: .85; }
.masthead__ornament .icon { width: 13px; height: 13px; stroke-width: 1.6; }
/* op de secundaire schermen wijkt de titel iets terug, zodat de sluitknop de baas is */
body:not([data-screen="home"]) .masthead { opacity: .85; }

/* Eén sluitknop voor alle secundaire schermen: rechtsboven, altijd zichtbaar. */
.close-button {
  position: absolute;
  z-index: 4;
  top: calc(var(--safe-top) + 14px);
  right: max(14px, env(safe-area-inset-right, 0px));
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--ink);
  background: rgba(255, 251, 244, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(18, 32, 76, .12);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(14, 40, 86, .18);
  transition: transform 200ms var(--ease-soft), background-color 200ms ease;
}
.close-button .icon { width: 20px; height: 20px; stroke-width: 1.9; }
.close-button:active { transform: scale(.92); background: rgba(255, 251, 244, .95); }
/* groter aanraakgebied dan de zichtbare cirkel */
.close-button::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; }

/* 6. Schermen & overgangen ------------------------------------------- */
.screen {
  position: absolute; inset: 0;
  padding: calc(var(--safe-top) + 78px) var(--gutter-r) calc(var(--safe-bottom) + 16px) var(--gutter-l);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-screen) ease, visibility 0s linear var(--t-screen);
}
.screen::-webkit-scrollbar { display: none; }
.screen.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t-screen) ease, visibility 0s;
}

.swap { transition: opacity var(--t-swap) ease, transform var(--t-swap) ease, filter var(--t-swap) ease; }
.swap.is-swapping { opacity: 0; transform: translateY(5px); filter: blur(2px); }

.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-bottom: calc(var(--land-h) * .5);
}
.screen--panel .stage > * { transition: transform 700ms var(--ease-soft), opacity 600ms ease; }
.screen--panel:not(.is-active) .stage > * { transform: translateY(16px); opacity: 0; }
.screen--panel.is-active .stage > *:nth-child(2) { transition-delay: 110ms; }

/* 7. Homescreen ------------------------------------------------------- */
/* Geen liniaal: de onderdelen krijgen elk hun eigen ruimte, en de vrije ruimte
   verdeelt zich vanzelf tussen dagzin, wolk en de ingangen onderaan. */
.home {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: max(0px, calc(var(--land-h) - var(--safe-bottom) - 12px));
}
.counter {
  margin-top: clamp(14px, 5vh, 60px);
  display: flex; flex-direction: column; align-items: center;
}
.counter__number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(66px, 19vw, 84px);
  line-height: .9;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
  text-shadow: 0 0 22px rgba(255, 252, 246, .35);
}
.counter__unit {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 8.6vw, 35px);
  line-height: 1;
  letter-spacing: .02em;
  margin-top: 2px;
  text-shadow: 0 0 16px rgba(255, 252, 246, .4);
}
.counter__since {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  margin-top: clamp(14px, 2.4vh, 22px);
  color: var(--ink-soft);
  text-shadow: var(--halo);
}
.daily-line {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 17.5px;
  line-height: 1.5;
  max-width: 15.5em;
  margin-top: clamp(22px, 4.2vh, 40px);
  margin-bottom: 26px;
  color: var(--ink);
  text-wrap: balance;
  text-shadow: var(--halo);
}

/* "Ik verveel me": de uitnodigende wolk. Staat een fractie uit het midden,
   alsof hij er toevallig hangt. */
.sky-cloud {
  position: relative;
  flex: none;
  width: 236px;
  height: 110px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 32px;
  translate: 12px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform 420ms var(--ease-soft);
}
.sky-cloud__shape {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 22px rgba(22, 52, 98, .2)) drop-shadow(0 1px 2px rgba(22, 52, 98, .1));
}
.sky-cloud__shape path { fill: var(--cloud-fill); }
.sky-cloud__label {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;              /* de enige cursief op het homescreen */
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
}
.sky-cloud__arrow { position: relative; width: 22px; height: 22px; stroke-width: 1.6; margin-top: 3px; }
.sky-cloud:active { transform: scale(.96); }
/* heel af en toe een bijna onmerkbare beweging (gestart vanuit app.js) */
.sky-cloud.is-drifting { animation: drift var(--drift-t, 3000ms) ease-in-out 1; }
@keyframes drift {
  0%, 100% { transform: none; }
  50%      { transform: translate(var(--drift-x, 2px), var(--drift-y, -3px)) rotate(var(--drift-r, 0deg)) scale(var(--drift-s, 1)); }
}
.sky-cloud:focus-visible { outline: none; }
.sky-cloud:focus-visible .sky-cloud__shape path { stroke: var(--ink); stroke-width: 1.5; }

.home-nav {
  position: relative;
  flex: none;
  display: flex;
  justify-content: space-evenly;
  gap: 0;
  width: min(calc(100% + 28px), 380px);
  margin-inline: -14px;
  margin-top: 18px;
}
/* Geen balk of paneel: een zachte, wazige lichte vlek die naar alle kanten wegloopt,
   zodat de labels ook boven bergen, bomen of tegenlicht leesbaar blijven. */
.home-nav::before {
  content: '';
  position: absolute;
  inset: -18px -4px -16px;
  background: rgba(255, 251, 244, var(--nav-veil));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* zacht uitlopend naar alle vier de kanten, zonder zichtbare rand */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.home-nav__item {
  position: relative;
  flex: 0 1 auto;
  white-space: nowrap;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  padding: 8px 7px;
  min-height: 60px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--ink);
  text-shadow: var(--halo);
  border-radius: 18px;
  transition: background-color 200ms ease;
}
.home-nav__item .icon { width: 25px; height: 25px; stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(255, 252, 246, .8)); }
.home-nav__item:active { background: rgba(255, 251, 244, .4); }

/* 8. Knoppen ---------------------------------------------------------- */
/* Zachte knop (Ik verveel me): klein, licht doorschijnend */
.soft-button,
.ghost-button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: .01em;
  color: var(--ink);
  border-radius: 999px;
  transition: transform 220ms var(--ease-soft), background-color 200ms ease;
}
.soft-button {
  background: rgba(255, 251, 244, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(22, 52, 98, .12);
}
/* Spookknop (Even kijken): bijna niets, alleen een dunne rand */
.ghost-button {
  background: rgba(255, 251, 244, .18);
  border: 1px solid rgba(18, 32, 76, .28);
  text-shadow: var(--halo);
}
.soft-button .icon, .ghost-button .icon, .text-button .icon { width: 19px; height: 19px; stroke-width: 1.6; transition: transform 500ms var(--ease-soft); }
.soft-button:active, .ghost-button:active { transform: scale(.96); }
.is-turning .icon { transform: rotate(180deg); }

/* 9. Ik verveel me: de speelse wolk ---------------------------------- */
.cloud-card {
  position: relative;
  width: min(100%, 326px);
  padding: 82px 34px 44px;
  text-align: center;
  color: var(--ink);
  transition: transform 700ms var(--ease-soft), opacity 600ms ease;
}
.cloud-card__shape {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  filter: drop-shadow(0 16px 30px rgba(22, 52, 98, .18)) drop-shadow(0 2px 4px rgba(22, 52, 98, .08));
}
.cloud-card__shape path { fill: var(--cloud-fill); }
.cloud-card__shape.is-flipped { transform: scaleX(-1); }
.cloud-card__inner { position: relative; }
.screen--panel:not(.is-active) .cloud-card { transform: translateY(24px) scale(.9) rotate(-2.5deg); }
.cloud-card.is-puff { animation: puff 560ms var(--ease-soft); }
@keyframes puff {
  0%   { transform: scale(1); }
  35%  { transform: scale(.965) rotate(-.6deg); }
  70%  { transform: scale(1.012) rotate(.4deg); }
  100% { transform: scale(1); }
}

.card__icon { width: 30px; height: 30px; stroke-width: 1.6; display: block; margin: 0 auto 12px; }
.cloud-card .card__icon { animation: icon-hello 700ms var(--ease-soft) 1; }
@keyframes icon-hello { from { transform: rotate(-14deg) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.cloud-card .card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 31px;
  line-height: 1.08;
  text-wrap: balance;
}
.cloud-card .card__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.cloud-card .card__title + .card__text { margin-top: 12px; }
.cloud-card.is-title-only { padding-top: 92px; padding-bottom: 56px; }
.cloud-card.is-note .card__title { font-family: var(--font-text); font-size: 19px; line-height: 1.45; font-weight: 500; }
.cloud-card.has-visual { padding: 78px 26px 30px; }
.card__visual { margin: 18px -4px 0; }
.card__visual img { width: 100%; max-height: 32vh; object-fit: cover; border-radius: 26px 32px 28px 34px; display: block; }

/* Heel af en toe: een klein lijnmotiefje bij de wolk (vogeltje, sterretje, zonnetje) */
.cloud-card__surprise {
  position: absolute;
  top: 22px; right: 14px;
  width: 26px; height: 26px;
  opacity: 0;
  pointer-events: none;
}
.cloud-card__surprise .icon { width: 100%; height: 100%; stroke-width: 1.6; }
.cloud-card__surprise.is-shown { animation: surprise 900ms var(--ease-soft) 300ms forwards; }
@keyframes surprise {
  from { opacity: 0; transform: translate(-8px, 8px) scale(.6) rotate(-12deg); }
  to   { opacity: 1; transform: none; }
}

/* 10. Even kijken: tekst rechtstreeks in de lucht --------------------- */
.open-text {
  position: relative;
  isolation: isolate;
  width: min(100%, 330px);
  text-align: center;
  padding: 12px 6px;
}
/* Geen paneel: alleen een heel zachte, lokale lichte sluier die naar alle kanten uitloopt. */
.open-text::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -50px -60px;
  background: radial-gradient(closest-side,
    rgba(255, 250, 240, var(--look-veil)) 0%,
    rgba(255, 250, 240, calc(var(--look-veil) * .75)) 55%,
    rgba(255, 250, 240, 0) 100%);
  pointer-events: none;
}
.open-text__icon { width: 28px; height: 28px; stroke-width: 1.5; color: var(--leaf); display: block; margin: 0 auto 10px; filter: drop-shadow(0 0 6px rgba(255, 252, 246, .8)); }
.open-text__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  text-shadow: var(--halo);
}
.open-text__body p {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  margin-top: 20px;
  text-wrap: pretty;
  text-shadow: var(--halo), 0 0 26px rgba(255, 252, 246, .55);
}
.open-text__body p + p { margin-top: 14px; color: var(--ink-soft); }

/* 11. Wat er verandert: editorial card -------------------------------- */
.editorial {
  width: min(100%, 336px);
  padding: 24px 24px 6px;
  background: rgba(253, 250, 243, .94);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(22, 52, 98, .12);
  color: var(--ink);
  transition: transform 700ms var(--ease-soft), opacity 600ms ease;
}
.editorial__kicker {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(18, 32, 76, .12);
}
.editorial .card__icon { margin: 0 0 12px; width: 28px; height: 28px; }
.editorial .card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.editorial .card__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.62;
  text-wrap: pretty;
}
.editorial__foot {
  margin-top: 16px;
  border-top: 1px solid rgba(18, 32, 76, .1);
  display: flex;
  justify-content: flex-end;
}
.editorial__foot:has(.text-button[hidden]) { display: none; }
.text-button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px;
  padding: 0 2px 0 10px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.text-button.is-turning .icon { transform: none; }
.text-button:active .icon { transform: translateX(4px); }

/* 12. Waar gaat dit over?: voorwoord ---------------------------------- */
.foreword {
  width: min(100%, 330px);
  text-align: center;
  color: var(--ink);
}
.foreword .card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.foreword .card__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.6;
  text-wrap: pretty;
}
.foreword .card__text + .card__text { margin-top: 12px; }
.foreword .about-closing { margin-top: 18px; display: flex; justify-content: center; }
.foreword .about-closing .icon { width: 30px; height: 30px; stroke-width: 1.5; }

/* 13. Kleine schermen (bv. iPhone in Safari met balken) ----------------- */
/* Hier worden alleen afstanden kleiner, niet de letters. */
@media (max-height: 700px) {
  .masthead { padding-top: calc(var(--safe-top) + 14px); }
  .masthead__ornament { margin-top: 6px; }
  .close-button { top: calc(var(--safe-top) + 8px); }
  .screen { padding-top: calc(var(--safe-top) + 58px); }
  .counter { margin-top: 4px; }
  .counter__number { font-size: 60px; }
  .counter__unit { font-size: 29px; }
  .counter__since { margin-top: 10px; }
  .daily-line { margin-top: 16px; margin-bottom: 18px; }
  .sky-cloud { width: 216px; height: 100px; padding-top: 28px; }
  .sky-cloud__label { font-size: 28px; }
  .home-nav { margin-top: 10px; }
  .home-nav__item { min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
  .stage { gap: 18px; padding-bottom: calc(var(--land-h) * .3); }
  .cloud-card { padding-top: 72px; padding-bottom: 36px; }
}
@media (max-width: 374px) {
  .masthead__title { font-size: 11.5px; letter-spacing: .24em; padding-left: .24em; }
}
@media (max-width: 345px) {
  .home-nav__item { white-space: normal; flex: 1; font-size: 13px; }
}

/* 14. Minder beweging --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  :root { --t-screen: 200ms; --t-swap: 150ms; }
  .backdrop img { transition: opacity 200ms ease; }
  body[data-screen="boredom"] .backdrop img { transform: none; filter: none; }
  .screen--panel:not(.is-active) .stage > *,
  .screen--panel:not(.is-active) .cloud-card { transform: none; }
  .cloud-card.is-puff, .cloud-card .card__icon, .sky-cloud.is-drifting { animation: none; }
  .cloud-card__surprise.is-shown { animation: none; opacity: 1; }
  .swap.is-swapping { transform: none; filter: none; }
  .is-turning .icon, .text-button:active .icon { transform: none; }
}
