/* ==========================================================================
   &Network — pre-launch teaser (01.10.2026)
   Losstaand van de hoofdsite: donker, korrelig, minimaal.
   ========================================================================== */

:root {
  --void:   #0C0A09;
  --smoke:  rgba(255, 255, 255, .06);
  --hair:   rgba(255, 255, 255, .10);
  --paper:  #F5F1EC;
  --mute:   rgba(245, 241, 236, .46);
  --faint:  rgba(245, 241, 236, .28);
  --orange: #F0562A;
  --moss:   #7BD4A6;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;
}

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

html, body { height: 100%; }
body {
  background: var(--void);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(240, 86, 42, .4); }

/* --- Sfeerlagen ---------------------------------------------------------- */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46vw 46vw at 78% 26%, rgba(240, 86, 42, .16), transparent 62%),
    radial-gradient(40vw 40vw at 12% 88%, rgba(240, 86, 42, .07), transparent 66%);
  filter: blur(30px);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.field {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0; transform: scale(1.06); filter: blur(6px);
  transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.19, 1, .22, 1), filter 1.2s ease;
}
.field.no-intro { transition: none; }
.field.is-ready { opacity: 1; transform: none; filter: none; }
.field.is-ready[data-wide="0"] { opacity: .22; }

/* --- Raamwerk ------------------------------------------------------------ */
.shell {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: clamp(28px, 4vh, 56px);
  min-height: 100dvh; width: 100%; max-width: 1280px;
  margin-inline: auto; padding: clamp(22px, 3.4vw, 40px);
}

.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bar-redacted {
  font-family: var(--mono); font-size: 1.05rem; line-height: 1; letter-spacing: .06em;
  color: rgba(245, 241, 236, .16);
  transition: color .4s ease;
}
.bar:hover .bar-redacted { color: rgba(240, 86, 42, .32); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bar-meta { display: flex; gap: 22px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.tick { display: inline-flex; align-items: center; gap: 8px; color: var(--moss); }
.tick i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blip 2.2s ease-in-out infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.stage { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.col-mark { min-height: min(64vh, 560px); }

/* --- Kop ----------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: clamp(20px, 3vh, 32px);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.beam { display: block; width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: sweep 3.4s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { transform: scaleX(.35); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

.title { font-family: var(--display); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(2.6rem, 6.6vw, 5.4rem); }
.title-line { display: block; overflow: hidden; }
.title-line > span, .title-line { will-change: transform; }
.title-line { animation: rise .9s cubic-bezier(.19, 1, .22, 1) both; }
.title-line:nth-child(2) { animation-delay: .10s; }
.title-line:nth-child(3) { animation-delay: .20s; }
.title .accent { color: var(--orange); }
@keyframes rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }

.scramble-wrap { display: flex; align-items: baseline; gap: 12px; margin-top: clamp(18px, 2.6vh, 28px); font-family: var(--mono); font-size: clamp(.82rem, 1.1vw, .95rem); }
.scramble-tag { color: var(--faint); }
.scramble { color: var(--paper); letter-spacing: .04em; }

/* --- Klok ---------------------------------------------------------------- */
.clock {
  display: flex; align-items: flex-start; gap: clamp(6px, 1.2vw, 14px);
  margin-top: clamp(30px, 4.4vh, 54px);
  padding: clamp(16px, 2.2vw, 24px) 0;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.unit { display: flex; flex-direction: column; gap: 8px; }
.digits {
  font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: .92; letter-spacing: -0.03em;
  transition: color .25s ease, text-shadow .25s ease;
}
.digits.is-ticking { color: var(--orange); text-shadow: 0 0 26px rgba(240, 86, 42, .5); }
.unit-label { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.sep { font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.1; color: var(--faint); animation: blip 1s steps(1, end) infinite; }

/* --- Dossier ------------------------------------------------------------- */
.dossier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(26px, 3.4vh, 40px); }
.dossier {
  display: flex; flex-direction: column; gap: 7px; text-align: left; cursor: pointer;
  padding: 16px 16px 18px; border: 1px solid var(--hair); border-radius: 10px;
  background: var(--smoke); color: inherit; font: inherit;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.dossier:hover { border-color: rgba(240, 86, 42, .5); background: rgba(240, 86, 42, .07); transform: translateY(-2px); }
.dossier.is-open { border-color: rgba(240, 86, 42, .6); background: rgba(240, 86, 42, .09); }
.dossier-num { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; color: var(--orange); }
.dossier-label { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.dossier-value { font-family: var(--mono); font-size: .8rem; line-height: 1.45; color: var(--paper); word-break: break-word; }
.dossier:not(.is-open) .dossier-value { color: var(--mute); }
.dossier-hint { margin-top: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* --- Notify -------------------------------------------------------------- */
.notify { margin-top: clamp(28px, 3.8vh, 44px); max-width: 520px; }
.notify-label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.notify-row { display: flex; gap: 10px; }
.notify-row input {
  flex: 1; min-width: 0; padding: 14px 16px; border-radius: 100px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--hair); color: var(--paper);
  font-family: var(--body); font-size: .94rem;
}
.notify-row input::placeholder { color: var(--faint); }
.notify-row input:focus { outline: none; border-color: var(--orange); background: rgba(240, 86, 42, .07); }
.notify-btn {
  padding: 14px 24px; border: 0; border-radius: 100px; cursor: pointer;
  background: var(--orange); color: #fff; font-family: var(--display); font-weight: 600; font-size: .92rem;
  white-space: nowrap; transition: background .2s ease, transform .2s ease;
}
.notify-btn:hover { background: #FF6A3C; transform: translateY(-1px); }
.notify-error { display: none; margin-top: 9px; font-family: var(--mono); font-size: .72rem; color: var(--orange); }
.notify.has-error .notify-error { display: block; }
.notify.has-error .notify-row input { border-color: var(--orange); }
.notify-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .78rem; color: var(--mute); }
.notify-consent input { width: 15px; height: 15px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--orange); }
.notify-consent a { color: var(--mute); text-underline-offset: 3px; }
.notify-done { margin-top: 14px; padding: 13px 16px; border-radius: 10px; background: rgba(123, 212, 166, .1); border: 1px solid rgba(123, 212, 166, .28); color: var(--moss); font-size: .84rem; }

/* --- Voet ---------------------------------------------------------------- */
.foot { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--hair); }
.foot .mono { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--faint); }
.foot a:hover { color: var(--paper); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-height: 820px) and (min-width: 901px) {
  .shell { gap: clamp(18px, 2.4vh, 32px); }
  .clock { margin-top: clamp(20px, 3vh, 34px); padding-block: clamp(12px, 1.8vh, 18px); }
  .dossier-grid { margin-top: clamp(18px, 2.4vh, 28px); }
  .notify { margin-top: clamp(18px, 2.6vh, 30px); }
  .title { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
}

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; align-items: start; }
  .col-mark { display: none; }
  .dossier-grid { grid-template-columns: 1fr; }
  .bar-meta { flex-direction: column; gap: 4px; text-align: right; }
}
@media (max-width: 560px) {
  .clock { gap: 4px; }
  .sep { display: none; }
  .clock { display: grid; grid-template-columns: repeat(4, 1fr); }
  .notify-row { flex-direction: column; }
  .notify-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .title-line { opacity: 1; transform: none; }
  .field { opacity: 1; transform: none; filter: none; }
}
