/* =========================================================
   HDV — Global Styles (sorted, color-tokens everywhere)
   ========================================================= */

/* -------------------------
   Design tokens & theming
   ------------------------- */
:root{
  /* Base palette */
  --hdv-yellow: #FFD858;
  --hdv-orange: #FF8A00;
  --hdv-orange-dk: #E57A00;
  --hdv-bg: #0E0E0E;
  --hdv-ink: #F5F5F5;
  --white: #FFFFFF;
  --black: #000000;

  /* Useful RGB triplets for alpha usage */
  --white-rgb: 255,255,255;
  --black-rgb: 0,0,0;

  /* UI neutrals & accents used in “chrome”/window area */
  --ui-border-dark: #111111;
  --ui-panel: #1A1A1A;
  --ui-elev: rgba(255,255,255,.06);       /* base elevated panel on dark */
  --ui-titlebar-grad-1: #3A3A3F;
  --ui-titlebar-grad-2: #2B2B2E;
  --ui-muted: #CFCFD7;
  --ui-red: #FF605C;

  /* Content accents referenced in doc */
  --light-accent: rgba(255,255,255,.06);

  /* Testimonial cloud hues (kept as variants to match originals) */
  --cloud-orange-rgb: 255,138,0;   /* #FF8A00 */
  --cloud-yellow-rgb: 255,216,88;  /* #FFD858 */
  --cloud-deep-rgb: 255,90,30;     /* #FF5A1E */
  --cloud-amber-rgb: 255,170,50;   /* #FFAA32 */

  /* Spacing, radii & shadows */
  --space: 12px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(var(--black-rgb), .2);
}

/* -------------------------
   Global element resets
   ------------------------- */
*{ box-sizing: border-box; }

body{
  margin:0;
  background:var(--hdv-bg);
  color:var(--hdv-ink);
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
}

section { margin-bottom: 15px; }
img[loading="lazy"]{ content-visibility:auto; }

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

/* =========================================================
   Layout
   ========================================================= */
.page{ padding:15px 18px 15px; max-width:1200px; margin:0 auto; }

.site-footer{ border-top:1px solid rgba(var(--white-rgb), .08); padding:18px; }
.site-footer .meta{
  display:flex; gap:16px; flex-wrap:wrap; align-items:center; justify-content:center; opacity:.8;
}

/* =========================================================
   Header & Navigation
   ========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0;
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 18px;
  background:rgba(var(--black-rgb), .5);
  backdrop-filter:saturate(120%) blur(6px);
  z-index:10;
}

.brand img{
  height:34px; display:block;
  filter:drop-shadow(0 2px 6px rgba(var(--black-rgb), .4));
}

.nav a{
  color:var(--hdv-ink); text-decoration:none;
  margin:0 10px; padding:6px 10px; border-radius:999px;
}
.nav a[aria-current]{ background:rgba(var(--white-rgb), .1); }

/* Mobile nav (hamburger) */
.nav-toggle{
  display:none;
  appearance:none;
  background:transparent;
  border:0;
  padding:8px;
  cursor:pointer;
  border-radius:10px;
}
.nav-toggle:focus-visible{ outline:3px solid var(--hdv-yellow); outline-offset:2px; }
.nav-toggle-bar{
  display:block; width:24px; height:2px; background:var(--hdv-ink);
  margin:5px 0; transition:transform .2s ease, opacity .2s ease;
}

/* Open state anim (hamburger → X) */
body.nav-open .nav-toggle-bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2){ opacity:0; }
body.nav-open .nav-toggle-bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative; height:72vh; min-height:520px;
  display:grid; place-items:center;
  margin-top:0px; overflow:hidden;
  border-bottom:1px solid rgba(var(--white-rgb), .08);
}
.hero-media{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; filter:saturate(105%) contrast(93%) brightness(63%);
}
.hero-overlay{
  position:relative; z-index:2; text-align:center; padding:0 24px;
}
.hero h1{
  font-size:clamp(26px,4vw,46px); margin:.2em 0; color:var(--hdv-yellow);
}
.hero p{ max-width:900px; margin:0 auto 14px; opacity:.9; }
.hero-overlay h1,
.hero-overlay p { text-shadow: 0 4px 8px rgba(var(--black-rgb), 0.6); }

/* Hero replay-knop (secundair) */
.hero-overlay #replay-intro{
  margin-left: 8px;
  background: rgba(var(--white-rgb), .08);
  color: var(--hdv-ink);
  border: 1px solid rgba(var(--white-rgb), .15);
  border-radius: 999px;
  padding: 10px 16px;
}
.hero-overlay #replay-intro:hover{ filter: contrast(1.05); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, filter .2s ease;
}
.btn.primary {
  background-color: var(--hdv-orange);
  color: var(--black);
}
.btn.primary:hover { background-color: var(--hdv-orange-dk); }
.btn.secondary {
  background-color: rgba(var(--white-rgb), .08);
  color: var(--hdv-ink);
  border: 1px solid rgba(var(--white-rgb), .15);
}
.btn.secondary:hover {
  background-color: rgba(var(--white-rgb), .15);
  filter: brightness(1.05);
}

/* =========================================================
   Logo strips
   ========================================================= */
.logo-strip{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
  gap:18px; align-items:center; opacity:.9;
  text-align: center;
  margin-bottom: 3rem;
}
.logo-strip img{
  width:100%; height:auto;
  filter:grayscale(100%) brightness(1.2); opacity:.9;
}
.logo-strip img:hover{ filter:none; opacity:1; }
.logo-strip-intro{ margin-bottom:1rem; color:var(--hdv-ink); }

.logo-row{
  display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem;
}
.logo-row img{
  height:40px; width:auto;
  filter: grayscale(100%) opacity(.8);
}

.logo-strip-highlight {
  background: linear-gradient(135deg, rgba(var(--cloud-orange-rgb),0.9) 0%, rgba(var(--cloud-yellow-rgb),0.85) 100%);
  padding: 2rem 0;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(var(--black-rgb),0.15);
  margin: 3rem auto;
}
.logo-strip-highlight .logo-strip-intro {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--hdv-bg);
  margin-bottom: 1.5rem;
  margin-top: 0;
}
.logo-strip-highlight .logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
}
.logo-strip-highlight .logo-item {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 3px rgba(var(--black-rgb),0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-strip-highlight .logo-item img {
  max-height: 50px; width: auto;
  filter:grayscale(100%) brightness(1.2); opacity:.9;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-strip-highlight .logo-item img:hover {
  filter:grayscale(0%) brightness(1.2); opacity:.9;
}
.logo-strip-highlight .logo-item:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(var(--black-rgb),0.35));
}

/* =========================================================
   Components (cards, grids, lists)
   ========================================================= */

/* Specs & badges */
.specs{ display:flex; flex-wrap:wrap; gap:10px; margin:12px 0; }
.badge{
  background:rgba(var(--white-rgb), .08);
  border:1px solid rgba(var(--white-rgb), .12);
  padding:6px 10px; border-radius:999px;
}

/* Reviews */
.reviews{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px; margin-top:14px;
}
.review{
  background:rgba(var(--white-rgb), .06);
  border:1px solid rgba(var(--white-rgb), .12);
  padding:14px; border-radius:var(--radius); box-shadow:var(--shadow);
}
.review b{ color:var(--hdv-yellow); }

/* Tiles (homepage) */
.grid-tiles{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px; margin-top:24px;
}
.tile{
  background:rgba(var(--white-rgb), .05);
  padding:16px; border-radius:var(--radius);
  border:1px solid rgba(var(--white-rgb), .08);
}

/* Icon cards */
.icon-cards{
  display:grid; gap:1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.icon-card{
  background: rgba(var(--white-rgb), .05);
  border:1px solid rgba(var(--white-rgb), .08);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.icon-card .icon{ font-size: 28px; line-height:1; margin-bottom:.25rem; }
.icon-card h3{ color: var(--hdv-yellow); margin:.25rem 0 .4rem; }

/* Steps */
.steps{
  counter-reset: step; list-style:none; padding:0; margin:1rem 0 0;
  display:grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.steps li{
  background: rgba(var(--white-rgb), .05);
  border:1px solid rgba(var(--white-rgb), .08);
  border-radius: var(--radius);
  padding: 1rem;
  position:relative;
}
.steps li::before{
  counter-increment: step;
  content: counter(step);
  position:absolute; top:10px; right:12px;
  font-weight:700; opacity:.25;
}

/* CTA inline */
.cta-inline{ text-align:center; padding: 2.5rem 1rem 3rem; }
.cta-inline h2{ margin: 0 0 .75rem; }

/* Chips & notes */
.chip-list{ display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:.5rem 0 0; }
.chip{
  background: rgba(var(--white-rgb), .06);
  border:1px solid rgba(var(--white-rgb), .12);
  border-radius:999px; padding:.45rem .7rem; font-size:.92rem;
}
.note{ opacity:.7; margin-top:.5rem; }

/* Mini specs / kicker labels */
.kicker-row{ display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin-top:.5rem; }
.kicker{
  font-size:.85rem; letter-spacing:.02em; text-transform:uppercase;
  background: rgba(var(--white-rgb), .08); border:1px solid rgba(var(--white-rgb), .15);
  border-radius:999px; padding:.35rem .6rem;
}

/* Media rows / thumbs */
.media-row{
  display:grid; gap:.1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.media-thumb img{
  width:100%; height:auto; display:block; border-radius: var(--radius);
  border:1px solid rgba(var(--white-rgb), .08);
}

/* =========================================================
   Story blocks
   ========================================================= */
.story-blocks { display:flex; flex-direction:column; gap:3rem; }
.story {
  display:flex; flex-wrap:wrap; gap:2rem; align-items:center;
}
.story.reverse { flex-direction: row-reverse; }
.story-media img {
  max-width: 500px; border-radius: var(--radius);
  width: 100%;
}
.story-text { flex:1; }
.story-text h2 { color: var(--hdv-yellow); margin-bottom:.5rem; }

/* =========================================================
   Testimonial cloud
   ========================================================= */
.testimonial-cloud{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  padding: 1em 1em  /* maintain original vertical rhythm */;
}
.testimonial-cloud .cloud-bg{
  position: absolute;
  inset: -10%;
  z-index: 0;
  filter: blur(48px);
  opacity: .9;
  background:
    radial-gradient(55% 45% at 20% 30%, rgba(var(--cloud-orange-rgb),.55) 0%, rgba(var(--cloud-orange-rgb),0) 60%),
    radial-gradient(60% 60% at 80% 20%, rgba(var(--cloud-yellow-rgb),.45) 0%, rgba(var(--cloud-yellow-rgb),0) 65%),
    radial-gradient(50% 50% at 70% 75%, rgba(var(--cloud-deep-rgb),.45) 0%, rgba(var(--cloud-deep-rgb),0) 60%),
    radial-gradient(45% 40% at 30% 80%, rgba(var(--cloud-amber-rgb),.35) 0%, rgba(var(--cloud-amber-rgb),0) 60%),
    radial-gradient(80% 70% at 50% 50%, rgba(var(--cloud-orange-rgb),.3) 0%, rgba(var(--cloud-orange-rgb),0) 70%);
}
@keyframes cloud-drift {
  0%   { transform: translate3d(0,0,0) scale(1.05); }
  50%  { transform: translate3d(1.5%, -1.5%, 0) scale(1.06); }
  100% { transform: translate3d(0,0,0) scale(1.05); }
}
.testimonial-cloud .cloud-bg{ animation: cloud-drift 24s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){
  .testimonial-cloud .cloud-bg{ animation: none; }
}
.testimonial-cloud .container{ position: relative; z-index: 1; }
.testimonial-cloud h2{
  text-align: center;
  color: var(--hdv-ink);
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 4px rgba(var(--black-rgb),.6);
}
.review-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.quote{
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(var(--black-rgb),.25);
  border: 1px solid rgba(var(--white-rgb),.15);
  box-shadow: var(--shadow);
}
.quote p{ margin: 0; }
.quote footer{
  margin-top: .8rem;
  color: var(--hdv-yellow);
}

/* =========================================================
   Intro overlay & logo (home)
   ========================================================= */
/* Full-page animated background canvas (achter ALLES) */
#bg-canvas{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
}

/* Zwarte overlay voor de intro */
.intro-black{
  position:fixed; inset:0; background:var(--black); z-index:9;
  transition: opacity .6s ease;
}
.intro-black.hidden{ opacity:0; pointer-events:none; }

/* Logo centreren + animaties */
.logo-center{
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  display:grid; place-items:center; z-index:9;
}
.logo-dvd{
  max-width:min(40vw, 460px);
  height:auto;
  opacity:0; transform:scale(0.6);
  transition:opacity 1s ease, transform 8s ease;
}
.logo-dvd.is-visible{ opacity:1; }
.logo-dvd.is-zoomed{  transform:scale(1.0); }
.logo-dvd.is-hidden{  opacity:0; transition:opacity .6s ease; }

/* Tijdens intro: verberg home content */
body.intro-active .page.home{
  opacity:0; filter:blur(2px); pointer-events:none;
  transition:opacity .6s ease, filter .6s ease;
}
body.intro-done .page.home{ opacity:1; filter:none; }

/* Intro video overlay (home) */
.intro-video-overlay{
  position: fixed; inset: 0; background: var(--black); z-index: 11;
  display: none;
  opacity: 0;
  transition: opacity .6s ease;
}
.intro-video-overlay.visible{ display:block; opacity:1; }
.intro-video-overlay.hidden{ opacity:0; pointer-events:none; }
.intro-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover;
}

/* Skip-knop onderin beeld */
.skip-intro{
  position:absolute; left:50%; bottom:24px; transform:translateX(-50%);
  padding:8px 14px; border-radius:999px; border:1px solid rgba(var(--white-rgb),.3);
  background:rgba(var(--black-rgb),.45); color:var(--white); cursor:pointer;
  backdrop-filter: blur(6px);
}
.skip-intro:hover{ background:rgba(var(--black-rgb),.6); }

/* Wanneer overlay actief is: blokkeer scroll/klik op content */
body.intro-active .page.home{ filter: blur(2px); pointer-events:none; }

/* =========================================================
   Page: Podcasts
   ========================================================= */
.pod-intro { text-align:center; padding-top: 2rem; }
.pod-intro h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 .4rem; color: var(--hdv-yellow); }
.pod-intro .subhead { max-width: 760px; margin: 0 auto 1rem; opacity: .9; }
.pod-intro .cta-row { display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; }

.pod-feature{
  display:grid; gap:1.5rem; align-items:center;
  grid-template-columns: 1fr;
}
.pod-feature-media img{
  width:100%; max-width: 420px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pod-feature-text h2{ color: var(--hdv-yellow); margin:.25rem 0 .5rem; }
.pod-feature .bullets{ padding-left: 1rem; margin: .5rem 0 1rem; }
.pod-feature .bullets li{ margin:.25rem 0; }

/* =========================================================
   Page: Roles / Services
   ========================================================= */
.role-grid{
  display:grid; gap:1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.role-card{
  background: rgba(var(--white-rgb), .05);
  border:1px solid rgba(var(--white-rgb), .08);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.role-media img{ width:100%; height:auto; display:block; }
.role-text{ padding: 1rem; }
.role-text h2{ color: var(--hdv-yellow); margin: .25rem 0 .5rem; }
.role-text .bullets{ margin:.25rem 0 0; padding-left: 1rem; }
.role-text .bullets li{ margin:.2rem 0; }

/* =========================================================
   Page: Contact
   ========================================================= */
.contact-actions{ display:flex; gap:.6rem; flex-wrap:wrap; align-items:center; margin: .6rem 0 1.2rem; }

.contact-form h2{ margin-bottom:.6rem; }
.contact-form form{ margin-top:.4rem; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; } /* honeypot */

.form-grid{
  display:grid; gap: .9rem;
  grid-template-columns: 1fr;
}
.field{ display:flex; flex-direction:column; gap:.35rem; }
.field--full{ grid-column: 1 / -1; }

.field label{ font-weight:600; }
.field input,
.field select,
.field textarea{
  background: rgba(var(--black-rgb), .35);
  color: var(--hdv-ink);
  border: 1px solid rgba(var(--white-rgb), .15);
  border-radius: var(--radius);
  padding: .7rem .8rem;
  font: inherit;
}
.field input::placeholder,
.field textarea::placeholder{ opacity:.7; }

.field--agree .check{ display:flex; align-items:flex-start; gap:.5rem; }
.field--agree input{ margin-top:.25rem; }

.actions{
  display:flex; gap:.6rem; flex-wrap:wrap; align-items:center; margin-top:.4rem;
}

/* =========================================================
   Page: About me
   ========================================================= */
.about-me { margin-bottom: 2rem; }

.about-me-inner {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start;
  margin-bottom: 2rem;
}
.about-me-photo img {
  max-width: 220px; border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(var(--black-rgb),0.3);
}
.about-me-text h1 { color: var(--hdv-yellow); margin-bottom: 0.5rem; }
.about-me-text p { margin-bottom: 0.8rem; line-height: 1.6; }

.about-row{
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: center; margin-bottom: 1.75rem;
}
.about-row.reverse { /* inverted at larger breakpoints */ }

.about-text h1{ color: var(--hdv-yellow); margin: 0 0 .5rem; }
.about-text p{ margin: 0 0 .9rem; line-height: 1.65; }

/* Media frame: 4:3, cover-styling */
.media-frame{
  position: relative; width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(var(--white-rgb),.04);
  border: 1px solid rgba(var(--white-rgb),.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(var(--black-rgb),0.3);
  overflow: hidden;
}
@supports not (aspect-ratio: 4 / 3){
  .media-frame::before{ content:""; display:block; padding-top: 75%; }
}
.media-frame > img,
.media-frame > video{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: inherit;
}
.media-video{ filter: saturate(105%) contrast(103%); }

/* Intro-block headings harmonisatie */
.intro-block h1{ color: var(--hdv-yellow); margin:0 0 .3rem; }
.intro-block .subhead{ max-width: 760px; margin: 0 auto; text-align:center; opacity:.9; }

/* =========================================================
   Sets (3-up cards, mini-specs, etc.)
   ========================================================= */
.set-grid{
  display:grid; gap:1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.set-card{
  background: rgba(var(--white-rgb), .05);
  border:1px solid rgba(var(--white-rgb), .08);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.set-card-head{
  display:flex; align-items:center; gap:.6rem; margin-bottom:.25rem;
}
.set-card-head .label{
  font-size:.8rem; padding:.2rem .5rem; border-radius:999px;
  background: rgba(var(--white-rgb), .08); border:1px solid rgba(var(--white-rgb), .15);
}
.set-card h2{ color: var(--hdv-yellow); margin:0; }
.mini-specs{ display:flex; flex-wrap:wrap; gap:.5rem; margin:.7rem 0 1rem; padding:0; list-style:none; }
.included h4{ margin:.2rem 0 .4rem; }

/* =========================================================
   Chrome-style overlay (modal/frame)
   ========================================================= */
.chrome-overlay{
  position: fixed; inset: 0; z-index: 999;
  background: rgba(var(--black-rgb),.45);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  font: 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; user-select: none; overflow: hidden;
}
.chrome-overlay.is-open{ opacity: 1; pointer-events: auto; }
body.modal-open{ overflow: hidden; }

.window{
  position: fixed; inset: 18px; border:1px solid var(--ui-border-dark);
  background:var(--ui-elev);
  box-shadow:0 10px 30px rgba(var(--black-rgb),.45), inset 0 1px 0 rgba(var(--white-rgb),.04);
}
.titlebar{
  height:26px; display:flex; align-items:center; padding:0 10px;
  background:linear-gradient(var(--ui-titlebar-grad-1), var(--ui-titlebar-grad-2));
  border-bottom:1px solid var(--ui-border-dark);
  color:var(--ui-muted); gap:8px;
}
.titlebar .dot{
  width:10px; height:10px; border-radius:50%;
  background:var(--ui-red); margin-right:6px;
  box-shadow:0 0 0 1px rgba(var(--black-rgb),.5) inset; cursor:pointer;
}
.titlebar .dot:focus-visible{ outline:2px solid var(--white); outline-offset:2px; }

.window iframe{
  display:block; width:100%; height:calc(100% - 26px); border:0;
  background:var(--ui-panel);
}

/* Frame container & iframe fill */
#chrome-frame { width:100%; height:calc(100% - 26px); overflow:hidden; }
#chrome-frame iframe { display:block; width:100%; height:100%; border:0; background: var(--ui-panel); }

/* =========================================================
   Utilities
   ========================================================= */
img[loading="lazy"]{ content-visibility:auto; }

/* =========================================================
   Media Queries (order: component → page → layout)
   ========================================================= */

/* Navigation & hero interactions on small screens */
@media (max-width: 900px){
  .nav-toggle{ display:block; }
  .site-header{ padding-right:10px; }
  .site-header .nav{
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(var(--black-rgb),.92);
    backdrop-filter: blur(8px) saturate(120%);
    border-bottom: 1px solid rgba(var(--white-rgb),.08);
    padding: 12px;
    z-index: 9;
  }
  body.nav-open .site-header .nav{ display: flex; }
  .site-header .nav a{
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(var(--white-rgb),.04);
  }
  .site-header .nav a[aria-current]{ background: rgba(var(--white-rgb),.12); }

  /* voorkom overlappen met hero-content wanneer menu open is */
  body.nav-open .hero{ margin-top: 60px; }
}

/* Forms: split columns on wider screens */
@media (min-width: 860px){
  .form-grid{ grid-template-columns: repeat(2, 1fr); }
  .field--agree{ grid-column: 1 / -1; }
}

/* Podcast feature two-column at 880px+ */
@media (min-width: 880px){
  .pod-feature{ grid-template-columns: 420px 1fr; }
}

/* About-me layout breakpoints */
@media (min-width: 800px) {
  .about-me-inner {
    flex-direction: row; align-items: center;
  }
  .about-me-photo { flex-shrink: 0; }
}
@media (min-width: 900px){
  .about-row{
    grid-template-columns: minmax(280px, 460px) 1fr;
  }
  .about-row.reverse{
    grid-template-columns: 1fr minmax(280px, 460px);
  }
}

/* Chrome window sizing */
@media (min-width: 701px){
  .window{
    inset: auto;
    width: 90vw; height: 90vh;
    position: fixed; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 700px){
  .window{
    inset: auto;
    width: 95vw; height: 90vh;
    position: fixed; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
}
