/* ==========================================================
   MTS — Concept 5 · Ultra Minimal / Power
   Less, but better. Eén punt, één lijn.
   ========================================================== */

:root {
  --ink: #05070b;
  --white: #f1f4f8;
  --mute: rgba(233, 239, 247, 0.52);
  --electric: #01a0ff;

  --pad: clamp(22px, 4.2vw, 84px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ----------------------------------------------------------
   Het logo: gigantisch, grotendeels buiten beeld, tone-on-tone
   ---------------------------------------------------------- */
.ghost {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.ghost__drift {
  position: absolute;
  top: -10.8vw;
  left: -99vw;
  width: 190vw;
  aspect-ratio: 1672 / 690; /* snijdt de tagline van het logo weg */
  overflow: hidden;
  will-change: transform;
}
.ghost img {
  width: 100%;
  max-width: none;
  filter: url(#logo-silhouette);
}

/* ----------------------------------------------------------
   Merk
   ---------------------------------------------------------- */
.brand {
  position: fixed;
  z-index: 2;
  top: var(--pad);
  left: var(--pad);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--mute);
  opacity: 0;
}
.brand strong {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-right: 0.35em;
}

/* ----------------------------------------------------------
   Statement
   ---------------------------------------------------------- */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: var(--pad);
  padding-bottom: max(var(--pad), 11vh);
}

.statement {
  margin-right: calc(var(--pad) * -1); /* de lijn loopt door tot de rand */
  font-size: clamp(3.2rem, min(9.6vw, 17vh), 12.5rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.statement__l {
  display: block;
  opacity: 0;
  letter-spacing: 0.3em;
}
.statement__l--last {
  display: flex;
  align-items: baseline;
}
.dot {
  color: var(--electric);
  opacity: 0;
}
.rule {
  position: relative;
  top: -0.052em;
  flex: 1 1 auto;
  min-width: 0;
  height: 2px;
  margin-left: 0.14em;
  overflow: hidden;
  background: var(--electric);
  transform-origin: left center;
  transform: scaleX(0);
}
/* Een schittering die af en toe over de lijn trekt */
.rule::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14%;
  background: linear-gradient(90deg, transparent, rgba(220, 247, 255, 0.95), transparent);
  transform: translate3d(-100%, 0, 0);
}

.soon {
  justify-self: end;
  margin-top: clamp(14px, 2.4vh, 28px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mute);
  opacity: 0;
}

/* ----------------------------------------------------------
   Intro
   ---------------------------------------------------------- */
.is-ready .ghost { animation: ghost 6s ease 1.2s forwards; }
.is-ready .brand { animation: fade 1.4s ease 0.3s forwards; }

.is-ready .statement__l { animation: settle 2.2s var(--ease) forwards; }
.is-ready .statement__l:nth-child(1) { animation-delay: 0.5s; }
.is-ready .statement__l:nth-child(2) { animation-delay: 0.68s; }
.is-ready .statement__l:nth-child(3) { animation-delay: 0.86s; }

.is-ready .dot  { animation: fade 0.5s ease 2.2s forwards; }
.is-ready .rule { animation: draw 2.4s var(--ease-io) 2.5s forwards; }
.is-ready .rule::after { animation: glint 9s cubic-bezier(0.5, 0, 0.3, 1) 6s infinite; }
.is-ready .soon { animation: fade 1.4s ease 4s forwards; }

@keyframes fade   { to { opacity: 1; } }
@keyframes ghost  { to { opacity: 0.055; } }
@keyframes draw   { to { transform: scaleX(1); } }
@keyframes settle {
  from { opacity: 0; letter-spacing: 0.3em; }
  to   { opacity: 1; letter-spacing: -0.05em; }
}
@keyframes glint {
  0%   { transform: translate3d(-100%, 0, 0); }
  30%  { transform: translate3d(720%, 0, 0); }
  100% { transform: translate3d(720%, 0, 0); }
}

/* ----------------------------------------------------------
   Responsief
   ---------------------------------------------------------- */
@media (max-width: 1100px) and (min-width: 641px) and (orientation: portrait) {
  .statement { font-size: clamp(3.2rem, 13vw, 9rem); }
  .stage { padding-bottom: 16vh; }
}

@media (max-width: 640px) {
  .statement { font-size: clamp(2.8rem, 15.6vw, 5rem); }
  .statement__l--last { flex-wrap: wrap; }
  .rule {
    top: 0;
    flex-basis: 100%;
    margin: 0.32em 0 0;
  }
  .soon { justify-self: start; }
  .ghost__drift { top: 9vh; left: -150vw; width: 260vw; }
}

/* ----------------------------------------------------------
   Minder beweging
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  .rule::after { display: none; }
}
