/* Wholesale IPTV — site styles (redesign 2026, direction "The product performs") */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Colour: EK-Media family. One ground, one ink, one accent. */
  --bg: #eef2f7;
  --surface: #ffffff;
  --field: #e2e8f0;
  --ink: #15213a;
  --muted: #46536b;
  --accent: #1c63b0;
  --accent-deep: #154d8a;
  --on-accent: #ffffff;

  /* Live status colours, used inside product fragments only */
  --live-green: #1f9d55;
  --live-orange: #d9821a;
  --live-red: #c62f3d;

  /* Type: one face, five sizes */
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --step-1: clamp(34px, 3.4vw, 60px);
  --step-2: clamp(26px, 2.6vw, 36px);
  --step-3: 22px;
  --step-body: 17px;
  --step-small: 14px;

  --margin: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(96px, 12vw, 200px);
  --radius: 4px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .15s; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: var(--step-2); }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--margin); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--margin); top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons: one shape, square corners */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 650; text-decoration: none; border-radius: var(--radius);
  transition: background-color .15s, transform .15s var(--ease-out);
}
.button:hover { background: var(--accent-deep); color: var(--on-accent); }
.button:active { transform: translateY(1px) scale(.98); }
.button--small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.button--inverse { background: var(--surface); color: var(--accent); }
.button--inverse:hover { background: var(--bg); color: var(--accent-deep); }

.arrow-link { font-weight: 650; text-decoration: none; }
.arrow-link::after { content: " \2192"; display: inline-block; transition: transform .2s var(--ease-out); }
.arrow-link:hover::after { transform: translateX(4px); }

/* Header: a plain bar */
.site-header { position: relative; z-index: 20; background: var(--bg); }
body:has(.hero) .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.site-header__logo img { width: 220px; }
.site-header__toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 550; }
.site-nav ul a:hover { color: var(--accent); }
.site-nav ul a[aria-current="page"] { color: var(--accent); }

@media (max-width: 900px) {
  .site-header__logo img { width: 180px; }
  .site-header__toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
    background: none; border: 0; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 8px var(--margin) 24px; font-size: var(--step-body);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; }
  .site-nav .button { margin-top: 12px; }
}

/* ---------- Hero: a sentence split by the reel ---------- */
.hero { position: relative; }
.js .hero { height: 280svh; }
.hero__stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.js .hero__stage { position: sticky; top: 0; height: 100svh; }

.hero__title {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--margin);
  font-size: var(--step-1); font-weight: 650; font-stretch: 100%;
}
.hero__half { max-width: calc((100vw - var(--reel-w)) / 2 - var(--margin) - 24px); }
.hero__half--end { text-align: right; }

.hero { --reel-w: 38vw; --frame-h: calc(var(--reel-w) * 9 / 16); }
.reel {
  position: absolute; top: 0; bottom: 0; left: 50%; width: var(--reel-w);
  transform: translateX(-50%); z-index: 1;
}
.reel__track {
  --reel-gap: max(24px, calc(50svh - var(--frame-h) / 2 - 60px));
  display: flex; flex-direction: column; gap: var(--reel-gap);
  padding-top: calc(50svh - var(--frame-h) / 2);
  will-change: transform;
}
.reel__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); flex: none; }
.reel__frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__foot { position: absolute; left: var(--margin); bottom: 32px; z-index: 3; max-width: 30vw; }
.hero__foot p { font-size: 18px; margin-bottom: 20px; max-width: 40ch; }

/* Live status fragment (tuner) */
.tuner { height: 100%; background: var(--ink); color: #e8edf5; padding: 18px 22px; font-size: 14px; display: flex; flex-direction: column; }
.tuner__head { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15px; padding-bottom: 12px; }
.tuner__time { margin-left: auto; color: #9fb0c8; font-weight: 400; }
.tuner__rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; flex: 1; align-content: start; }
.tuner__rows li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .1); } /* taste-skill-ignore: rows inside the data-ui fragment */
.tuner__rows li span:last-child { margin-left: auto; color: #9fb0c8; }
.tuner__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--live-red); }
.tuner__dot--green { background: var(--live-green); }
.tuner__dot--orange { background: var(--live-orange); }
.tuner__head .tuner__dot--green { box-shadow: 0 0 0 4px rgba(31, 157, 85, .25); animation: live-pulse 2.4s ease-in-out infinite; } /* taste-skill-ignore: live indicator inside data-ui */
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px rgba(31, 157, 85, 0); } } /* taste-skill-ignore: live indicator inside data-ui */

@media (max-width: 900px) {
  .js .hero { height: auto; }
  .hero__stage, .js .hero__stage { position: relative; height: auto; min-height: 0; overflow: visible; padding: 104px 0 72px; }
  .hero__title { position: static; display: block; padding: 0; font-size: 9vw; }
  .hero__half { display: block; max-width: none; padding: 0 var(--margin); }
  .reel { position: static; transform: none; width: auto; margin: 20px 0; }
  .reel__track, .js .reel__track {
    flex-direction: row; gap: 10px; padding: 0 var(--margin); transform: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .reel__frame { width: calc(100vw - 2 * var(--margin) - 28px); aspect-ratio: 4 / 3; scroll-snap-align: start; scroll-margin-left: var(--margin); }
  .tuner__rows { grid-template-columns: 1fr; }
  .tuner__rows li:nth-child(n+7) { display: none; }
  .hero__foot { position: static; max-width: none; padding: 0 var(--margin); margin-top: 28px; }
  .hero__foot p { font-size: var(--step-body); }
}

/* ---------- Route: photographs down a diagonal ---------- */
.route { padding: var(--section) 0 calc(var(--section) * .6); }
.route__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.route__title { grid-column: 8 / 13; grid-row: 1; font-size: var(--step-1); font-weight: 600; }
.route__pic img { width: 100%; height: 100%; object-fit: cover; }
.route__pic--1 { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.route__text { font-size: var(--step-body); max-width: 36ch; margin: 0; }
.route__text strong { font-weight: 700; }
.route__text--1 { grid-column: 5 / 8; grid-row: 1; padding-top: 4px; }
.route__pic--2 { grid-column: 6 / 9; grid-row: 2; aspect-ratio: 1; margin-top: 220px; }
.route__text--2 { grid-column: 9 / 12; grid-row: 2; margin-top: 220px; }
.route__pic--3 { grid-column: 8 / 13; grid-row: 3; aspect-ratio: 16 / 10; margin-top: 140px; overflow: hidden; }
.route__pic--3 img { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1.5%); } }
.route__text--3 { grid-column: 4 / 8; grid-row: 3; margin-top: 140px; justify-self: end; text-align: left; }
.route__pic--1 { grid-row: 1 / 3; }

@media (max-width: 900px) {
  .route__grid { display: flex; flex-direction: column; }
  .route__title { font-size: 30px; margin-bottom: 28px; }
  .route__pic--1 { width: 100%; }
  .route__pic--2 { width: 62%; align-self: flex-end; margin-top: 56px; }
  .route__pic--3 { width: 78%; margin-top: 56px; }
  .route__text { margin-top: 16px; }
  .route__text--2 { align-self: flex-end; width: 62%; }
  .route__text--3 { justify-self: auto; }
}

/* ---------- Lineup: the live channel list ---------- */
.lineup { padding: calc(var(--section) * .6) 0 var(--section); }
.lineup__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.lineup__intro { grid-column: 1 / 6; position: sticky; top: 15vh; }
.lineup__intro h2 { font-size: var(--step-1); margin-bottom: 28px; }
.lineup__intro p { max-width: 42ch; }
.lineup__panel { grid-column: 7 / 13; background: var(--surface); border-radius: var(--radius); padding: 24px 28px 8px; }
.lineup__search { display: block; margin-bottom: 12px; }
.lineup__search span { display: block; font-size: var(--step-small); font-weight: 650; margin-bottom: 6px; }
.lineup__search input {
  width: 100%; min-height: 48px; padding: 0 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid #c9d2df; border-radius: var(--radius);
}
.lineup__search input:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.lineup__summary { font-size: var(--step-small); color: var(--muted); margin-bottom: 8px; }
.lineup__list { max-height: 640px; overflow-y: auto; padding-right: 6px; margin-right: -6px; scrollbar-width: thin; }
.lineup__group { margin-bottom: 24px; }
.lineup__group-name { font-size: var(--step-small); color: var(--muted); margin: 0 0 4px; }
.lineup__group ul { list-style: none; margin: 0; padding: 0; }
.lineup__group li { display: flex; align-items: center; gap: 10px; min-height: 36px; border-radius: var(--radius); padding: 0 8px; margin: 0 -8px; transition: background-color .12s; }
.lineup__group li:hover { background: var(--bg); }
.lineup__name { font-size: 16px; }
.lineup__rate { margin-left: auto; font-size: var(--step-small); color: var(--muted); }
.lineup__empty { color: var(--muted); padding: 12px 0 24px; }

@media (max-width: 900px) {
  .lineup__grid { display: block; }
  .lineup__intro { position: static; margin-bottom: 28px; }
  .lineup__intro h2 { font-size: 30px; }
  .lineup__panel { padding: 18px 16px 4px; }
  .lineup__list { max-height: 60svh; }
  .lineup__group li { min-height: 44px; }
}

/* ---------- Compare: set as text ---------- */
.compare { padding: 0 0 var(--section); }
.compare h2 { font-size: var(--step-1); margin-bottom: 48px; }
.compare__table { display: grid; }
.compare__row { display: grid; grid-template-columns: 5fr 3.5fr 3.5fr; align-items: stretch; }
.compare__row > span { padding: 20px 24px; display: flex; align-items: center; }
.compare__row > span:first-child { font-size: var(--step-3); font-weight: 600; padding-left: 0; }
.compare__row:nth-child(even) { background: var(--field); }
.compare__row:nth-child(even) > span:first-child { padding-left: 16px; margin-left: -16px; }
.compare__row--head > span { font-weight: 700; padding-top: 12px; padding-bottom: 12px; }
.compare__ours { background: var(--accent); color: var(--on-accent); }
.compare__row--head .compare__ours { padding-top: 36px; }
.compare__row > span:not(:first-child) { min-height: 68px; }

@media (max-width: 900px) {
  .compare h2 { font-size: 30px; margin-bottom: 28px; }
  .compare__row--head { display: none; }
  .compare__row { grid-template-columns: 1fr; padding: 20px 16px; margin: 0 -16px; }
  .compare__row:nth-child(even) > span:first-child { margin-left: 0; padding-left: 0; }
  .compare__row > span { padding: 4px 0; min-height: 0 !important; display: block; }
  .compare__row > span:first-child { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
  .compare__row > span[role="cell"]::before { display: block; font-size: var(--step-small); font-weight: 650; }
  .compare__row > span.compare__ours { padding: 10px 12px; margin: 4px 0; }
  .compare__row > span.compare__ours::before { content: "Met Wholesale-IPTV"; }
  .compare__row > span[role="cell"]:last-child::before { content: "Zelf opzetten"; color: var(--muted); }
}

/* ---------- POPs: large names on tiles ---------- */
.pops { padding: 0 0 var(--section); }
.pops__board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pops__tile { background: var(--surface); border-radius: var(--radius); aspect-ratio: 3 / 2; padding: 24px; display: flex; flex-direction: column; }
.pops__tile p { font-size: var(--step-2); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 6px; }
.pops__tile span { color: var(--muted); }
.pops__tile--head { grid-column: span 2; aspect-ratio: auto; background: var(--accent); color: var(--on-accent); justify-content: space-between; }
.pops__tile--head h2 { font-size: var(--step-1); }
.pops__tile--head p { font-size: var(--step-body); font-weight: 400; letter-spacing: 0; max-width: 34ch; margin: 0; }
.pops__tile--soft { background: var(--field); }

@media (max-width: 900px) {
  .pops__board { grid-template-columns: 1fr 1fr; gap: 6px; }
  .pops__tile { padding: 16px; aspect-ratio: 4 / 3; }
  .pops__tile p { font-size: 20px; }
  .pops__tile--head { grid-column: 1 / -1; min-height: 150px; gap: 16px; }
  .pops__tile--head p { font-size: 16px; }
  .pops__tile--head h2 { font-size: 30px; }
}

/* ---------- Kit: frame run, one lifted ---------- */
.kit { padding: 0 0 var(--section); --kh: 11.5vw; }
.kit__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.kit__side { grid-column: 1 / 4; display: flex; flex-direction: column; }
.kit__side h2 { margin-bottom: 16px; }
.kit__note { margin-top: auto; font-size: 15px; color: var(--muted); max-width: 28ch; }
.kit__run { grid-column: 4 / 13; display: flex; align-items: flex-end; gap: 6px; }
.kit__frame { flex: none; }
.kit__img { height: var(--kh); overflow: hidden; background: var(--field); }
.kit__img img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.kit__frame:hover .kit__img img { transform: scale(1.03); }
.kit__frame--square .kit__img { aspect-ratio: 1; background: var(--surface); }
.kit__frame--square .kit__img img { object-fit: contain; padding: 10%; }
.kit__frame--portrait .kit__img { aspect-ratio: 4 / 5; }
.kit__frame--lift .kit__img { height: calc(var(--kh) * 2.1); aspect-ratio: 3 / 2; }
.kit__frame figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-top: 8px; }
.kit__frame figcaption span:last-child { color: var(--muted); }
.kit__frame--square figcaption, .kit__frame--portrait figcaption { flex-direction: column; gap: 0; }

@media (max-width: 900px) {
  .kit { --kh: 44vw; }
  .kit__grid { display: block; }
  .kit__side { margin-bottom: 24px; }
  .kit__note { margin-top: 12px; }
  .kit__run { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 4px; margin: 0 calc(-1 * var(--margin)); padding: 0 var(--margin) 8px; align-items: flex-start; }
  .kit__frame { scroll-snap-align: start; scroll-margin-left: var(--margin); }
  .kit__frame--lift .kit__img { height: auto; width: calc(100vw - 2 * var(--margin)); }
}

/* ---------- Pricing: plans as a large table ---------- */
.pricing { padding: 0 0 var(--section); }
.pricing__table { display: grid; }
.pricing__row { display: grid; grid-template-columns: 4fr 4fr 4fr; }
.pricing__row > span { padding: 20px 24px; font-size: var(--step-3); line-height: 1.3; }
.pricing__row > span:first-child { padding-left: 0; }
.pricing__row:nth-child(even) { background: var(--field); }
.pricing__row:nth-child(even) > span:first-child { padding-left: 16px; margin-left: -16px; }
.pricing__row--head > span { padding-top: 0; padding-bottom: 32px; }
.pricing__row--head h2 { font-size: var(--step-2); }
.pricing__plan { display: block; font-size: var(--step-1); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.pricing__price { display: block; font-weight: 400; }
.pricing__period { display: block; font-size: 16px; margin-top: 8px; }
.pricing__row--head .pricing__ours { padding-top: 28px; }
.pricing__ours { background: var(--accent); color: var(--on-accent); }
.pricing__row--foot > span { padding-top: 28px; padding-bottom: 28px; }
.pricing__note { display: block; font-size: var(--step-small); color: var(--muted); max-width: 40ch; }

@media (max-width: 900px) {
  .pricing__row { grid-template-columns: 1fr 1fr; }
  .pricing__row > span { padding: 14px 12px; font-size: 16px; }
  .pricing__row > span:first-child { grid-column: 1 / -1; padding: 16px 0 0; font-weight: 650; }
  .pricing__row:nth-child(even) > span:first-child { padding-left: 0; margin-left: 0; }
  .pricing__row:nth-child(even) { background: transparent; }
  .pricing__row--head > span:first-child { padding-bottom: 16px; }
  .pricing__plan { font-size: 8vw; }
  .pricing__row--head > span:not(:first-child) { padding: 16px 12px 20px; }
  .pricing__row--foot > span:first-child { order: 3; }
  .pricing__row--foot .button { width: 100%; padding: 0 8px; }
}

/* ---------- Closing: sentence, picture, two links ---------- */
.closing { padding: calc(var(--section) * .8) 0 64px; }
.closing__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.closing__line { grid-column: 1 / 7; font-size: var(--step-2); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.closing__pic { grid-column: 8 / 10; width: 160px; aspect-ratio: 1; overflow: hidden; }
.closing__pic img { width: 100%; height: 100%; object-fit: cover; }
.closing__links { grid-column: 10 / 13; display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.closing__q { font-weight: 650; margin-bottom: 14px; }
.closing__links a { color: var(--ink); text-decoration: underline; }
.closing__links a:hover { color: var(--accent); }
.closing__meta { font-size: var(--step-small); color: var(--muted); margin-top: 14px; }

@media (max-width: 900px) {
  .closing__row { grid-template-columns: 96px 1fr; column-gap: 16px; row-gap: 28px; }
  .closing__line { grid-column: 1 / -1; font-size: 24px; }
  .closing__pic { grid-column: 1; width: 96px; }
  .closing__links { grid-column: 2; font-size: 16px; }
  .closing__q { margin-bottom: 4px; }
}

/* ---------- Footer: a single quiet line ---------- */
.site-footer { padding: 72px 0 30px; font-size: 15px; }
.site-footer__line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: baseline; }
.site-footer__line p { margin: 0; color: var(--muted); }
.site-footer__line p:last-child { text-align: right; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 1100px) {
  .site-footer { padding-top: 56px; font-size: 14px; }
  .site-footer__line { grid-template-columns: 1fr; gap: 8px; }
  .site-footer nav { justify-content: flex-start; gap: 8px 20px; }
  .site-footer__line p:last-child { text-align: left; }
}

/* ---------- Entrances ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .hero { height: auto; }
  .js .hero__stage { position: relative; height: 100svh; }
  .reel__track { transform: none !important; }
  .route__pic--3 img, .tuner__head .tuner__dot--green { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .button, .arrow-link::after, .kit__img img { transition: none; }
}
