/* Double You Media — stylesheet */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-900.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
  --bg: #070B12;
  --bg-2: #0C121C;
  --surface: #0F1722;
  --line: #1A2433;
  --line-2: #2A3646;
  --text: #EEF3F5;
  --text-2: #D3DDE3;
  --muted: #C3CFD7;
  --muted-2: #9FB0BC;
  --accent: #53BBA6;
  --teal: #55BAA4;
  --cyan: #1798C4;
  --blue: #1F6FB1;
  --navy: #285383;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }
a:hover { color: var(--accent); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2 { font-family: var(--display); margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { display: block; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.eyebrow-accent { color: var(--accent); }
.lead { font-size: 19px; color: var(--text-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.btn-accent { background: var(--accent); color: var(--bg); padding: 12px 20px; }
.btn-accent:hover { background: #6FCDB9; color: var(--bg); }
.btn-lg { padding: 16px 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 18, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .5; }
.hero-inner { position: relative; min-height: 640px; padding-top: 120px; padding-bottom: 72px; display: flex; flex-direction: column; justify-content: flex-end; }
.dash { width: 28px; height: 2px; background: var(--accent); }
.hero h1 { margin-top: 20px; max-width: 1050px; font-weight: 900; font-size: clamp(48px, 8.5vw, 120px); line-height: .95; letter-spacing: -.03em; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 32px; }
.hero .lead { margin: 0; max-width: 600px; font-size: 20px; }

/* Voor */
.for { border-top: 1px solid var(--line); }
.for-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-block: 22px; }
.for ul { display: flex; flex-wrap: wrap; gap: 4px 36px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--muted-2); }

/* Band */
.band { background: var(--accent); color: #06131A; }
.stripes { display: flex; height: 8px; }
.stripes span:nth-child(1) { flex: 3; background: var(--teal); }
.stripes span:nth-child(2) { flex: 2; background: var(--cyan); }
.stripes span:nth-child(3) { flex: 2; background: var(--blue); }
.stripes span:nth-child(4) { flex: 4; background: var(--navy); }
.band-text { margin: 0; padding-block: 104px 96px; max-width: 1000px; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5.6vw, 80px); line-height: 1; letter-spacing: -.025em; }

/* Werk */
.work { padding-block: 104px; }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.work h2, .about h2 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; }
.slider-nav { display: flex; gap: 12px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #3A4A5E; background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.arrow[data-dir="1"]:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.arrow:disabled { opacity: .35; cursor: default; }
.slider { overflow: hidden; margin-top: 40px; }
.track { display: flex; gap: 24px; transition: transform .45s ease; }
.card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }
.card a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--text); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card a:hover .thumb img { transform: scale(1.04); }
.tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; background: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--text); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.card a:hover .play { background: var(--accent); color: var(--bg); }
.card-title { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.25; }
.card-client { margin-top: -10px; font-size: 15px; color: var(--muted-2); }

/* Klanten */
.clients { border-top: 1px solid var(--line); padding-block: 56px; }
.marquee { margin-top: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos { display: flex; align-items: center; width: max-content; height: 64px; animation: marquee 45s linear infinite; }
.marquee:hover .logos { animation-play-state: paused; }
.logos li { flex: none; margin-right: 80px; }
.logos img { height: var(--h, 40px); width: auto; opacity: .78; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Over ons */
.about { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 96px; }
.about-img { display: block; flex: 1 1 340px; min-width: 0; }
.about-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.about-text { flex: 1.4 1 460px; min-width: 0; }
.about h2 { margin-top: 14px; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; }
.about .lead { margin: 24px 0 0; }
.steps { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; font-weight: 600; }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps span { width: 18px; height: 3px; background: var(--c); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; padding-block: 112px 96px; }
.contact-text { flex: 1 1 460px; min-width: 0; }
.contact h2 { font-weight: 900; font-size: clamp(44px, 7vw, 92px); line-height: .95; letter-spacing: -.03em; }
.contact-text p { margin: 24px 0 0; max-width: 460px; color: var(--muted); }
.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; font-size: 20px; }
.contact-details a { text-decoration: none; font-weight: 600; }
.contact-details span { margin-top: 8px; font-size: 16px; color: var(--muted-2); }
.form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 16px; border-radius: 0; }
.form input { height: 52px; padding-block: 0; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form button { align-self: flex-start; }
.form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 500; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #FF8A7A; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: 14px; color: var(--muted-2); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 22px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { color: var(--muted-2); padding: 6px 0; }
.site-footer nav a:hover { color: var(--accent); }

/* Video-popup */
.video-modal { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: #000; color: var(--text); overflow: visible; }
.video-modal::backdrop { background: rgba(3, 6, 10, .88); }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; right: 0; top: -56px; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-2); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Tablet */
@media (max-width: 1024px) {
  .card { flex-basis: calc((100% - 24px) / 2); }
}

/* Mobiel */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .brand img { height: 36px; }
  .header-inner { padding-block: 12px; }
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; padding: 16px; }

  .hero-inner { min-height: 0; padding-top: 140px; padding-bottom: 40px; }
  .hero-bg { object-position: 62% 30%; }
  .hero h1 { margin-top: 14px; font-size: 48px; }
  .hero-row { margin-top: 18px; gap: 26px; }
  .hero .lead { font-size: 17px; }
  .hero-row .btn { width: 100%; padding: 16px; }

  .for-inner { display: block; padding-block: 20px; }
  .for .eyebrow { font-size: 12px; }
  .for ul { margin-top: 6px; gap: 4px 18px; font-size: 16px; }

  .stripes { height: 6px; }
  .band-text { padding-block: 52px 56px; font-size: 38px; line-height: 1.02; }
  .band-text br { display: none; }

  .work { padding-block: 56px; }
  .work h2 { font-size: 34px; }
  .slider-nav { display: none; }
  .slider { overflow: visible; margin-top: 26px; }
  .track { flex-direction: column; gap: 30px; transform: none !important; }
  .card a { gap: 10px; }
  .tag { left: 10px; top: 10px; padding: 3px 8px; font-size: 11px; }
  .card-title { font-size: 19px; }
  .card-client { margin-top: -8px; font-size: 14px; }

  .clients { padding-block: 32px; }
  .clients .eyebrow { font-size: 12px; }
  .marquee { margin-top: 22px; -webkit-mask-image: none; mask-image: none; }
  .logos { width: auto; height: auto; animation: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; align-items: center; justify-items: center; }
  .logos li { margin: 0; }
  .logos li[aria-hidden="true"] { display: none; }
  .logos img { height: calc(var(--h, 40px) * .72); max-width: 100%; }

  .about-inner { display: block; padding-block: 56px; }
  .about-img img { aspect-ratio: 4 / 3; }
  .about-text { margin-top: 28px; }
  .about .eyebrow { font-size: 12px; }
  .about h2 { margin-top: 8px; font-size: 32px; line-height: 1.04; }
  .about .lead { margin-top: 16px; font-size: 16px; }
  .steps { flex-direction: column; gap: 8px; margin-top: 22px; font-size: 15px; }

  .contact { display: block; padding-block: 64px 48px; }
  .contact h2 { font-size: 42px; line-height: .98; }
  .contact-text p { margin-top: 16px; }
  .contact-details { margin-top: 24px; gap: 4px; font-size: 18px; }
  .contact-details a { padding: 6px 0; }
  .contact-details span { margin-top: 6px; font-size: 15px; }
  .form { margin-top: 28px; gap: 14px; }
  .form input { height: 50px; }
  .form button { align-self: stretch; padding: 16px; }

  .footer-inner { display: block; padding-block: 24px 32px; font-size: 13px; }
  .site-footer nav { margin-top: 14px; gap: 4px 20px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-brand img { margin-bottom: 14px; }

  .modal-close { top: -52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logos { animation: none; width: auto; height: auto; flex-wrap: wrap; justify-content: center; gap: 32px 0; }
  .logos li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .track, .thumb img { transition: none; }
}
