@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/schibsted-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/schibsted-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Antonio'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/antonio-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Antonio'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/antonio-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --void: #040E1C;
  --navy: #061E38;
  --slate: #395680;
  --slate-hi: #5D7FB0;
  --teal: #11AFA1;
  --teal-hi: #3FD6C6;
  --mist: #D7E6EE;
  --mist-2: #9DB3C7;
  --mist-3: #7590AB;
  --hair: rgba(215, 230, 238, 0.14);
  --gutter: clamp(16px, 4.4vw, 64px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Antonio', 'Arial Narrow', sans-serif;
  --text: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

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

html { background: var(--void); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--mist);
  background:
    radial-gradient(120% 80% at 85% 70%, rgba(17, 175, 161, 0.05), transparent 60%),
    radial-gradient(90% 70% at 20% 10%, rgba(57, 86, 128, 0.08), transparent 65%),
    var(--void);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: var(--void); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 1.5px solid var(--teal-hi);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.defs { position: absolute; }

[hidden] { display: none !important; }

/* Field + grain sit behind every layer and never take pointer events. */
.field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.field.is-live { opacity: 1; }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.04;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* No z-index on .stage: the portrait must blend with the field canvas behind it. */
.bar, .rail { position: relative; z-index: 2; }
.stage { position: relative; }

/* ---------- Top bar ---------- */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--gutter) 0;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { width: 34px; height: 34px; }
.m-back { fill: var(--mist); }
.m-front { fill: var(--slate-hi); }
.m-teal { fill: var(--teal); }
.brand-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.bar-links { display: flex; gap: 32px; }
.bar-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-2);
  padding: 6px 0;
  background: linear-gradient(var(--teal), var(--teal)) left bottom / 0 1px no-repeat;
  transition: color .3s var(--ease-out), background-size .5s var(--ease-out);
}
.bar-links a:hover { color: var(--mist); background-size: 100% 1px; }

/* ---------- Stage ---------- */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 32px;
  padding: 0 var(--gutter);
}

.copy {
  align-self: center;
  padding: clamp(32px, 6vh, 72px) 0 clamp(24px, 4vh, 48px);
}

.pitch {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--mist);
  text-wrap: balance;
}
.pitch-visual { display: block; }
.line { display: block; }

/* The slot clips the rolling word; padding keeps Polish diacritics and descenders inside the clip. */
.slot {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  overflow: hidden;
  padding: 0.12em 0.06em 0.16em 0;
  margin: -0.12em -0.06em -0.16em 0;
}
.roll {
  display: inline-block;
  color: var(--teal-hi);
  will-change: transform, opacity;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4.5vh, 48px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 22px 0 26px;
  border: 1px solid rgba(215, 230, 238, 0.32);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(4, 14, 28, 0.35);
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover { border-color: var(--teal); color: #fff; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(17, 175, 161, 0.26), rgba(17, 175, 161, 0.12));
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.7);
}
.btn-primary:hover {
  background-color: rgba(17, 175, 161, 0.32);
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.8);
}

/* ---------- Portrait ---------- */
.portrait {
  margin: 0;
  align-self: end;
  justify-self: end;
  width: min(100%, 520px);
  position: relative;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 300px);
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.55) contrast(1.08) brightness(0.9);
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 62%, transparent 98%), linear-gradient(to right, transparent 0, #000 30%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 62%, transparent 98%), linear-gradient(to right, transparent 0, #000 30%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- Bottom rail: launch notice ---------- */
.rail {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
  padding: 24px 0 30px;
  border-top: 1px solid var(--hair);
}

.launch { margin: 0; display: grid; gap: 4px; font-weight: 400; }
.launch-state {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--mist-2);
}
.launch-state::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-hi);
}
.launch-date {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, min(5.2vw, 9vh), 84px);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--teal-hi);
  white-space: nowrap;
}

.countdown { display: flex; align-items: flex-end; gap: clamp(18px, 2.6vw, 40px); }
.cd-label {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.unit { display: grid; justify-items: start; gap: 4px; min-width: 2.6ch; }
.num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--mist);
}
.lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist-3);
}
.countdown.is-done .num { color: var(--teal-hi); }

/* ---------- Tablet / phone ---------- */
@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .portrait {
    order: -1;
    justify-self: center;
    width: min(78%, 360px);
    margin-top: 12px;
  }
  .portrait img {
    max-height: 34svh;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 55%, transparent 96%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 55%, transparent 96%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
  }
  .copy { padding: 0 0 24px; margin-top: -40px; position: relative; }
  .bar-links a:first-child { display: none; }
}

@media (max-width: 560px) {
  .bar { padding-top: 20px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 11px; letter-spacing: 0.24em; }
  .pitch { font-size: 28px; }
  .line-benefit { min-height: 2.28em; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .rail { flex-direction: column; align-items: flex-start; }
  .countdown { width: 100%; justify-content: space-between; }
  .cd-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .field { opacity: 1; }
}
