/* VAG book Part 1 · Chapter 3 theme ("Darkroom", Nov 10 2026). /how-to/how-ai-makes-pictures-voices-video/
   Same family as ch1 halftone / ch2 woven, new palette and texture: darkroom + projector light, solid colors only.
   Bands: indigo #2E2A7A, vermilion #C93A28, mint #7FD8B6, amber #E89A2C, lavender #A99BE0; navy #12132E for structure and text.
   Text on bands meets WCAG AA: white on indigo 12.6:1, white on vermilion 5.1:1, navy on mint 10.3:1, navy on amber 7.4:1, navy on lavender 6.9:1.
   Texture: a projector beam (flat translucent wedges) fanning into each header band, film sprocket holes along the step nav. */
.dkv--ch3{--in:#2E2A7A;--int:#E7E6F5;--ind:#2E2A7A;--ve:#C93A28;--vet:#FBE7E3;--ved:#8E2416;--mi:#7FD8B6;--mit:#E3F6EF;--mid:#14614A;
  --am:#E89A2C;--amt:#FDF0DC;--amd:#7A4B05;--la:#A99BE0;--lat:#F0EDFA;--lad:#4B3C94;--hn:#12132E;
  --bw:url(/images/how-to/how-ai-makes-pictures-voices-video/am-beam-w.svg);--bn:url(/images/how-to/how-ai-makes-pictures-voices-video/am-beam-n.svg);
  --spr:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='8'%3E%3Crect x='6' y='1' width='10' height='6' rx='2' fill='%23fff' fill-opacity='.2'/%3E%3C/svg%3E");
  background:#fff;overflow-x:clip}
.dkv--ch3 #step-1,.dkv--ch3 .dkv-nav li:nth-child(1){--sc:var(--in);--st:var(--int);--sd:var(--ind);--so:#fff;--dots:var(--bw)}
.dkv--ch3 #step-2,.dkv--ch3 .dkv-nav li:nth-child(2){--sc:var(--ve);--st:var(--vet);--sd:var(--ved);--so:#fff;--dots:var(--bw)}
.dkv--ch3 #step-3,.dkv--ch3 .dkv-nav li:nth-child(3){--sc:var(--mi);--st:var(--mit);--sd:var(--mid);--so:var(--hn);--dots:var(--bn)}
.dkv--ch3 #step-4,.dkv--ch3 .dkv-nav li:nth-child(4){--sc:var(--am);--st:var(--amt);--sd:var(--amd);--so:var(--hn);--dots:var(--bn)}
.dkv--ch3 .dkv-end,.dkv--ch3 .dkv-open{--sc:var(--hn);--st:#F4F4F7;--sd:var(--hn);--so:#fff;--dots:var(--bw)}
.dkv--ch3 .dkv-sec--myths{--sc:var(--la);--sd:var(--lad);--so:var(--hn);--dots:var(--bn)}
/* full-bleed tinted step blocks (solid tint) */
.dkv--ch3 .dkv-step{position:relative;isolation:isolate}
.dkv--ch3 .dkv-step::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--st)}
.dkv--ch3 .dkv-steps{padding-top:0;padding-bottom:0}
.dkv--ch3 .dkv-step,.dkv--ch3 .dkv-step+.dkv-step{border-top:0;padding:56px 0 64px}
.dkv--ch3 .dkv-step a{color:var(--sd)}
/* section header = solid hue band + projector beam fanning in from the right + the number in one big round lens */
.dkv--ch3 .dkv-head{position:relative;overflow:visible;background:var(--dots) right center/auto 100% no-repeat,var(--sc);color:var(--so);border-radius:999px 18px 18px 999px;padding:20px 28px 22px 112px;min-height:112px;display:flex;flex-direction:column;justify-content:center}
.dkv--ch3 .dkv-kicker{margin:0 0 4px}
.dkv--ch3 .dkv-num{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:84px;height:84px;border-radius:50%;border:0;padding:0;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--hn);font:800 32px/1 Sora,Inter,sans-serif;box-shadow:0 0 0 5px var(--sc),0 0 0 8px rgba(255,255,255,.35)}
.dkv--ch3 .dkv-label{color:var(--so);font-size:14px;letter-spacing:.16em}
.dkv--ch3 .dkv-head h2{color:var(--so);font-size:30px;font-weight:800;margin:0}
@media (max-width:640px){
  .dkv--ch3 .dkv-head{border-radius:60px 14px 14px 60px;padding:16px 18px 18px 84px;min-height:96px}
  .dkv--ch3 .dkv-num{width:62px;height:62px;left:8px;font-size:24px}
  .dkv--ch3 .dkv-head h2{font-size:23px}
}
/* figures: a hue rim, like a printed plate */
.dkv--ch3 .dkv-vis .hw-fig img,.dkv--ch3 .dkv-ifig .hw-fig img,.dkv--ch3 .dkv-sec .hw-fig img{border-radius:12px;box-shadow:0 0 0 4px var(--sc),0 12px 0 4px rgba(18,19,46,.07)}
.dkv--ch3 .dkv-ifig .hw-fig img{box-shadow:0 0 0 4px var(--in),0 12px 0 4px rgba(18,19,46,.07)}
.dkv--ch3 .hw-fig figcaption{color:var(--hn);font-weight:600}
.dkv--ch3 .dkv-body{color:var(--hn)}
.dkv--ch3 .hc-eq{display:block;margin:0 0 10px;font:italic 700 17px/1.45 Inter,sans-serif;color:var(--sd);white-space:normal}
/* callouts: white card, hue rim, beam-screened header bar */
.dkv--ch3 .dkv-fact,.dkv--ch3 .dkv-step .hw-call{position:relative;z-index:1;background:#fff;border:3px solid var(--sc);border-radius:14px;padding:0 16px 14px;overflow:hidden}
.dkv--ch3 .dkv-fact b,.dkv--ch3 .dkv-step .hw-call b{display:flex;align-items:center;gap:8px;margin:0 -16px 10px;padding:9px 16px;background:var(--dots) right center/auto 100% no-repeat,var(--sc);color:var(--so);font:700 13px/1.45 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.dkv--ch3 .dkv-dot{display:none}
.dkv--ch3 .dkv-fact p,.dkv--ch3 .dkv-step .hw-call p{color:var(--hn);font-style:normal}
/* step nav: navy band with film sprocket holes along both edges; numbered dots in each step hue */
.dkv--ch3 .dkv-nav{background:var(--spr) 0 3px repeat-x,var(--spr) 0 calc(100% - 3px) repeat-x,var(--hn);border-bottom:0;box-shadow:none}
.dkv--ch3 .dkv-nav a{color:#fff}
.dkv--ch3 .dkv-nav a:hover{color:#fff;text-decoration:underline}
.dkv--ch3 .dkv-nav-n{background:var(--sc);border:2px solid var(--sc);color:var(--so);border-radius:50%}
.dkv--ch3 .dkv-nav a[aria-current]{color:var(--hn);background:#fff}
.dkv--ch3 .dkv-nav a:focus-visible{outline-color:var(--am)}
.dkv--ch3 .dkv-prog i{background:linear-gradient(90deg,var(--in) 0 25%,var(--ve) 25% 50%,var(--mi) 50% 75%,var(--am) 75%)}
@media (min-width:1101px){.dkv--ch3 .dkv-nav ol{justify-content:center;gap:28px}}
/* intro + end section titles sit on a short bar in the five chapter colours */
.dkv--ch3 .dkv-sec>h2,.dkv--ch3 .dkv-wrap>h2,.dkv--ch3 .dkv-need h2{position:relative;padding-bottom:12px}
.dkv--ch3 .dkv-sec>h2::after,.dkv--ch3 .dkv-wrap>h2::after,.dkv--ch3 .dkv-need h2::after{content:"";position:absolute;left:0;bottom:0;width:120px;height:8px;border-radius:4px;background:linear-gradient(90deg,var(--in) 0 20%,var(--ve) 20% 40%,var(--mi) 40% 60%,var(--am) 60% 80%,var(--la) 80%)}
.dkv--ch3 .dkv-sec .dkv-kicker .dkv-label{color:var(--ind)}
.dkv--ch3 .dkv-hook{color:var(--hn)}
.dkv--ch3 .dkv-myth span{color:#D23A2E}.dkv--ch3 .dkv-fact2 span{color:var(--mid)}
.dkv--ch3 .dkv-sec-list li{border-left-color:var(--mi)}
.dkv--ch3 .dkv-myths li{border-left:6px solid var(--la)}
.dkv--ch3 .hc-big{max-width:960px;margin:40px auto 0;padding:32px 0 8px;text-align:left;border-top:1px solid var(--line)}
.dkv--ch3 .dkv-need a{color:var(--ind);font-weight:600}
/* hero: projection booth, the VAG robot checking a film strip beside a projector. Full-brightness subject in the clear right side,
   eased navy overlay on the left only (hero-full-brightness-gradient). */
.hc-banner{--band:#12132E;background:var(--band);position:relative;overflow:hidden;padding:0}
.hc-banner::after{display:none}
.hc-banner .wrap{position:relative;z-index:3}
.hc-win{display:none}
.am-heroai{position:absolute;z-index:4;right:14px;bottom:10px;font:700 11px/1 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:rgba(18,19,46,.72);padding:5px 8px;border-radius:4px}
@media (min-width:1200px){
  .hc-banner{min-height:clamp(540px,47vw,900px);display:flex;align-items:center;background:#12132E url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-2048.jpg) no-repeat right 22%/cover;background-image:image-set(url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-2048.webp) type("image/webp"),url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-2048.jpg) type("image/jpeg"))}
  .hc-banner .wrap{width:100%;padding-top:48px;padding-bottom:48px}
  .hc-banner .wrap>*{max-width:min(38vw,540px)}
  .hc-banner .h1-sub,.hc-banner .hw-byline{text-shadow:0 1px 12px rgba(18,19,46,.6)}
  .hc-banner::after{display:block;content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(18,19,46,.94) 0%,rgba(18,19,46,.82) 22%,rgba(18,19,46,.55) 40%,rgba(18,19,46,.22) 56%,rgba(18,19,46,0) 70%)}
}
@media (max-width:1199px){
  .hc-banner{--s:clamp(250px,56vw,520px);padding-top:var(--s)}
  .hc-win{display:block;position:absolute;left:0;right:0;top:0;height:var(--s);z-index:0;pointer-events:none;background:#12132E url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-m-1280.jpg) no-repeat 82% 12%/cover;background-image:image-set(url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-m-1280.webp) type("image/webp"),url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-m-1280.jpg) type("image/jpeg"));-webkit-mask-image:linear-gradient(180deg,#000 88%,transparent);mask-image:linear-gradient(180deg,#000 88%,transparent)}
  .hc-banner .wrap{padding-top:4px;padding-bottom:32px}
  .am-heroai{top:calc(var(--s) - 30px);bottom:auto}
}
@media (max-width:767px){
  .hc-banner{--s:clamp(250px,74vw,330px)}
  .hc-win{background-position:82% 12%;background-image:url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-m-800.jpg);background-image:image-set(url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-m-800.webp) type("image/webp"),url(/images/how-to/how-ai-makes-pictures-voices-video/am-hero-m-800.jpg) type("image/jpeg"))}
  .hc-h1-br{display:none}
}
/* Easter egg: the robot with a film strip and a reel peeks up from behind the top edge of the Step 3 tip card (right side).
   The card sits above it, so the robot's flat cut is hidden by the card's top rim. The wrapper's top margin reserves the robot's height. */
.hc-eggwrap{position:relative;margin-top:58px}
.hc-egg{position:absolute;right:22px;bottom:calc(100% - 5px);z-index:0;line-height:0}
.hc-egg-b{display:block;padding:0;margin:0;border:0;background:none;cursor:pointer;line-height:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.hc-egg-b img{display:block;width:78px;height:63px}
.hc-egg-b:focus-visible{outline:3px solid #E89A2C;outline-offset:2px;border-radius:6px}
.hc-egg-tip{position:absolute;right:-6px;bottom:calc(100% + 8px);display:none;width:220px;text-align:center;background:#12132E;color:#fff;font:600 13px/1.35 Inter,sans-serif;padding:7px 10px;border-radius:8px;box-shadow:0 4px 14px rgba(18,19,46,.25);z-index:5}
.hc-egg:hover .hc-egg-tip,.hc-egg-b:focus-visible+.hc-egg-tip,.hc-egg-b[aria-expanded="true"]+.hc-egg-tip{display:block}
.hc-eggwrap .hw-call{margin:0 0 16px}
/* section-title pills + Need to know box in chapter colours */
.dkv--ch3 .dkv-sec h2{background:var(--hn);color:#fff}
.dkv--ch3 .dkv-sec--myths h2{background:var(--la);color:var(--hn)}
.dkv--ch3 .dkv-sec--text:not(.hc-big) h2{background:var(--in)}
.dkv--ch3 .dkv-ntk{border-color:var(--hn)}
.dkv--ch3 .dkv-ntk h2{background:var(--bw) right center/auto 100% no-repeat,var(--hn)}
