/* Upwindr · teaser. Eén scherm: de bewegende tekening, de naam, "coming soon" en contact. Verder niets. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrumentserif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root { --ink: #f3fafb; --bg-top: #0a141d; --bg-bot: #0f2c39; --e-out: cubic-bezier(.16,1,.3,1); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-top); color: var(--ink); font: 400 17px/1.5 "Archivo", system-ui, sans-serif; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
#stage.ready { opacity: 1; }

.wrap { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(40px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
.copy { max-width: 560px; color: var(--ink); transition: color .4s ease; }
@media (min-width: 1000px) { .wrap { padding-left: max(6vw, env(safe-area-inset-left)); } }

.mark { display: block; width: 72px; height: 72px; margin: 0 0 18px -6px; }
/* Het beeldmerk hier zonder de stippen op de gewrichten, net als de tekening. */
.mark circle[r=".95"] { display: none; }
/* Op een lichte grond: het skelet in inkt, zoals in de bovenbalk van de site. */
:root[data-tone="light"] .mark { --lg-bone: currentColor; --lg-joint: #f4f1ea; --lg-trunk: #d63b32; --lg-kite: #0d6b72; --lg-u: #0d6b72; }

h1 { font-weight: 300; font-stretch: 96%; letter-spacing: -.025em; line-height: 1; margin: 0 0 30px; font-size: clamp(52px, 7.4vw, 108px); }
h1 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: .78em; display: block; margin-top: .06em; }
.cta { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16.5px; transition: background .25s ease; }
.btn:hover { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Woorden komen het laatst, zoals op de site. */
.copy > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--e-out); }
.on .copy > * { opacity: 1; transform: none; }
.on .copy > :nth-child(1) { transition-delay: .3s; }
.on .copy > :nth-child(2) { transition-delay: .45s; }
.on .copy > :nth-child(3) { transition-delay: .65s; }

/* Telefoon en smal venster: tekening boven, woorden onder op een zachte grond. */
@media (max-width: 999px) {
  .wrap { align-items: flex-end; padding-bottom: calc(44px + env(safe-area-inset-bottom)); }
  .wrap::before { content: ""; position: absolute; inset: 52% 0 0 0; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg-bot) 90%, transparent) 40%); pointer-events: none; }
  .copy { position: relative; }
  .mark { width: 60px; height: 60px; margin-bottom: 14px; }
  h1 { font-size: clamp(48px, 15vw, 72px); margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  #stage, .copy > *, .copy { transition: none !important; }
  .copy > * { opacity: 1; transform: none; }
}
/* Stilstaand beeld via ?still of ?t= (testen): ook zonder overgangen. */
.still #stage, .still .copy > *, .still .copy { transition: none !important; }
