/* Variation D · Residency, integrated.
   Open Residency's elements are the page's structure, and each has a job:
     Eyebrow              the speed promise, in the hero where buyers ask how long it takes.
     Section heads        sections open with a head (red tick, hairline, a real fact on the right).
     Mono                 labels and data: section names, handles, follower counts, days, the VSL clock.
     Cells                the client grid.
     Numbers              the three process steps.
     Red tick             state: the eyebrow's promise and the day the playhead has reached.
     Fluted glass         a gentle refraction stays visible across the shoot photo.
     Expo-out             entrances for heads and cells. */

/* ---------------------------------------------------------------- hero: speed eyebrow */
.d-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 clamp(18px, 2.2vh, 26px); font-size: clamp(11px, 1vw, 13px); letter-spacing: 0.16em; color: var(--rs-fg-4); }
.d-eyebrow::before { content: ""; width: 3px; height: 18px; background: var(--rs-red-fill); }
.d-eyebrow .d-eb-dot { color: var(--rs-fg-5); }
.d-eyebrow b { font-weight: 500; color: var(--rs-fg-1); }
@media (max-width: 600px) { .d-eyebrow { gap: 8px; letter-spacing: 0.1em; font-size: 10.5px; } }

/* ---------------------------------------------------------------- section heads */
.d-head-wrap { display: block !important; margin-bottom: clamp(28px, 3.2vw, 44px); }
.d-head { flex-wrap: wrap; row-gap: 6px; }
.d-head .rs-mono { white-space: nowrap; }
.d-head { border-bottom: 0; background: linear-gradient(var(--rs-border), var(--rs-border)) 0 100% / 100% 1px no-repeat; text-align: left; }
@media (prefers-reduced-motion: no-preference) {
  .d-head { background-size: 0 1px; transition: background-size 1.1s var(--rs-ease-out); }
  .d-head > * { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--rs-ease-out), transform .7s var(--rs-ease-out); }
  .d-head > :last-child { transition-delay: .12s; }
  .d-head.is-in { background-size: 100% 1px; }
  .d-head.is-in > * { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- clients: one compact run of names */
.var-d .social-proof { text-align: center; }
.var-d .social-proof .d-head { justify-content: center; text-align: center; }
.var-d .social-proof .d-head .rs-mono::before,
.var-d .social-proof .d-head .rs-mono::after { width: auto; height: auto; background: none; color: var(--rs-red-fill); }
.var-d .social-proof .d-head .rs-mono::before { content: "["; }
.var-d .social-proof .d-head .rs-mono::after { content: "]"; }
.var-d .social-proof .d-head-wrap { margin-bottom: 18px; }
.var-d .social-proof-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; max-width: none; margin: 0; font-size: 15px; line-height: 1.6; }
.var-d .client-name { position: relative; display: inline-block; }
.var-d .client-trigger { color: var(--rs-fg-3); }
@media (max-width: 600px) { .var-d .social-proof-names { font-size: 14px; gap: 4px 18px; } }

/* ---------------------------------------------------------------- production */
.var-d .ds-shoot { aspect-ratio: 4 / 3; }

/* ---------------------------------------------------------------- footer: one mono line */
.footer-wrap:has(> .d-foot) { position: relative; z-index: 1; isolation: isolate; background: var(--rs-bg); transform: translateZ(0); }
.footer-wrap footer.d-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 36px var(--rs-gutter) 40px; }
.d-foot a { color: var(--rs-fg-3) !important; text-decoration: none; min-height: 0 !important; }
.d-foot a:hover { color: var(--rs-fg-1) !important; }
.d-foot .rs-mono b { color: inherit; }

/* ---------------------------------------------------------------- entrances */
@media (prefers-reduced-motion: no-preference) {
  .ds-anim .var-d .hero h1, .ds-anim .var-d .hero-subheadline, .ds-anim .var-d .ds-vsl-frame, .ds-anim .var-d .vsl .btn-primary { animation-timing-function: var(--rs-ease-out); animation-duration: .9s; }
  .var-d .social-proof-names > .client-name { opacity: 0; transition: opacity .7s var(--rs-ease-out), background .3s ease; }
  .var-d .social-proof-names.is-in > .client-name { opacity: 1; transform: none; }
}

/* hero headline: scales with width up to the same height cap, so mid-width windows don't fall to the 34px floor */
.var-d .hero h1 { font-size: clamp(34px, min(7vw, 6.6svh), 64px); }
@media (max-width: 600px) { .var-d .hero h1 { font-size: clamp(30px, 8.4vw, 42px); } }

/* hero subheadline: the scope in white with a red underline */
.var-d .hero-subheadline { max-width: none; margin-top: clamp(16px, 2.4svh, 24px); font-size: clamp(17px, 1.45vw, 21px); font-weight: 500; line-height: 1.5; letter-spacing: -0.02em; color: rgba(236, 238, 242, .55); text-wrap: balance; }
.var-d .hero-subheadline b { font-weight: 500; color: #f4f5f7; }
.var-d .hero-subheadline > span::before, .var-d .hero-subheadline > span::after { content: none; }
@media (min-width: 900px) {
  .var-d .hero-subheadline { font-size: 21px; }
  .var-d .hero-subheadline > span { display: inline-flex; align-items: center; }
  .var-d .hero-subheadline > span > span { white-space: nowrap; }
}
@media (max-width: 600px) {
  .var-d .hero-subheadline { max-width: 320px; font-size: 17px; }
  .d-eyebrow { white-space: nowrap; }
}

/* VSL: the video itself, no glass frame around it */
.var-d .ds-vsl-frame { padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.var-d .ds-vsl-frame .vsl-embed { border-radius: 14px; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px -30px rgba(0,0,0,0.9); }
.var-d .ds-vsl-frame .vsl-embed { cursor: pointer; }
/* Prepainted low/high light states breathe by opacity. The isolated face adds complementary
   premultiplied endpoints; the separate rim retains its additive light over the video. */
.var-d .ds-vsl-frame .vsl-embed .player-center-play { --b: 1.5; --h: 1; --lit: var(--b); --halo: var(--h);
  display: grid; place-items: center; top: 50%; left: 50%; width: clamp(68px, 15%, 132px); height: auto; aspect-ratio: 112 / 78; margin: 0; padding: 0; transform: translate(-50%, -50%);
  border: 1px solid var(--rs-border-glass); border-radius: 22% / 32%; color: #fff;
  /* Clear upper glass, with the red light concentrated below. */
  background: linear-gradient(180deg, rgba(18,22,30,.02), rgba(40,8,14,.04) 42%, rgba(220,16,36,calc(.38 + .08 * (var(--lit) - var(--b)))));
  /* Reduce the blur with the thumbnail size so the smaller glass stays clear. */
  -webkit-backdrop-filter: blur(clamp(.75px, .25vw, 3px)) saturate(1.18); backdrop-filter: blur(clamp(.75px, .25vw, 3px)) saturate(1.18);
  box-shadow: inset 0 1px 0 rgba(224,232,255,.42), inset 0 -2px 0 rgba(255,77,77,calc(.55 * var(--lit))), inset 0 -18px 22px -10px rgba(255,60,60,calc(.4 * var(--lit))),
    0 14px 34px -6px rgba(255,40,40,calc(.32 * var(--lit))), 0 14px 40px -10px rgba(0,0,0,.6);
  transition: transform .3s cubic-bezier(.2,1.4,.4,1), border-color .25s ease; }
.var-d .ds-vsl-frame .vsl-embed .player-center-play.d-play-ready { background: none; border-color: transparent; box-shadow: 0 14px 40px -10px rgba(0,0,0,.6); }
.var-d .player-center-play .d-play-face, .var-d .player-center-play .d-play-rim,
.var-d .player-center-play .d-play-idle, .var-d .player-center-play .d-play-hover {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; isolation: isolate; }
.var-d .player-center-play .d-play-face { inset: -1px; }
.var-d .player-center-play .d-play-rim { z-index: 1; mix-blend-mode: plus-lighter; }
.var-d .player-center-play .d-play-idle, .var-d .player-center-play .d-play-hover { mix-blend-mode: plus-lighter; transition: opacity .35s ease; }
.var-d .player-center-play .d-play-idle { --b: 1.5; opacity: 1; }
.var-d .player-center-play .d-play-hover { --b: 3; opacity: 0; }
.var-d .player-center-play .d-play-idle::before, .var-d .player-center-play .d-play-idle::after,
.var-d .player-center-play .d-play-hover::before, .var-d .player-center-play .d-play-hover::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: plus-lighter; }
.var-d .player-center-play .d-play-idle::before { --lit: 1.5; --halo: 1; }
.var-d .player-center-play .d-play-idle::after { --lit: 2.1; --halo: 1.25; }
.var-d .player-center-play .d-play-hover::before { --lit: 3; --halo: 2.3; }
.var-d .player-center-play .d-play-hover::after { --lit: 3.6; --halo: 2.875; }
.var-d .player-center-play .d-play-idle::after, .var-d .player-center-play .d-play-hover::after { opacity: 0; }
.var-d .player-center-play .d-play-face .d-play-idle::before, .var-d .player-center-play .d-play-face .d-play-idle::after,
.var-d .player-center-play .d-play-face .d-play-hover::before, .var-d .player-center-play .d-play-face .d-play-hover::after {
  box-sizing: border-box; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(18,22,30,.02), rgba(40,8,14,.04) 42%, rgba(220,16,36,calc(.38 + .08 * (var(--lit) - var(--b)))));
  box-shadow: inset 0 1px 0 rgba(224,232,255,.42), inset 0 -2px 0 rgba(255,77,77,calc(.55 * var(--lit))), inset 0 -18px 22px -10px rgba(255,60,60,calc(.4 * var(--lit))),
    0 14px 34px -6px rgba(255,40,40,calc(.32 * var(--lit))); }
.var-d .player-center-play .d-play-rim .d-play-idle::before, .var-d .player-center-play .d-play-rim .d-play-idle::after,
.var-d .player-center-play .d-play-rim .d-play-hover::before, .var-d .player-center-play .d-play-rim .d-play-hover::after {
  box-shadow: 0 0 0 1px rgba(255,214,170,calc(.4 * var(--halo))), 0 0 4px 1px rgba(255,150,80,calc(.4 * var(--halo))), 0 0 12px 2px rgba(255,70,40,calc(.38 * var(--halo))),
    0 0 26px 5px rgba(230,25,25,calc(.25 * var(--halo))), 0 0 52px 10px rgba(180,10,20,calc(.13 * var(--halo))); }
.var-d .ds-vsl-frame .vsl-embed .player-center-play.d-play-ready::after { content: ""; position: absolute; inset: -1px; z-index: 0; border: 1px solid var(--rs-border-glass); border-radius: inherit; pointer-events: none; transition: border-color .25s ease; }
.var-d .ds-vsl-frame .vsl-embed .player-center-play svg { position: relative; z-index: 3; width: 34%; height: auto; margin-left: 4%;
  transition: transform .3s cubic-bezier(.2,1.4,.4,1), filter .3s ease, color .25s ease;
  filter: drop-shadow(0 0 .6px rgba(255,236,214,.9)) drop-shadow(0 0 3px rgba(255,150,80,.6)) drop-shadow(0 0 8px rgba(255,50,30,.4)); }
/* halation (CSS stand-in for the WebGL halo): additive cream rim, orange, red band, scaled by --halo */
.var-d .ds-vsl-frame .vsl-embed .player-center-play::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: plus-lighter;
  box-shadow: 0 0 0 1px rgba(255,214,170,calc(.4 * var(--halo))), 0 0 4px 1px rgba(255,150,80,calc(.4 * var(--halo))), 0 0 12px 2px rgba(255,70,40,calc(.38 * var(--halo))),
    0 0 26px 5px rgba(230,25,25,calc(.25 * var(--halo))), 0 0 52px 10px rgba(180,10,20,calc(.13 * var(--halo))); }
.var-d .ds-vsl-frame .vsl-embed .player-center-play.d-play-ready::before { display: none; }
.var-d .vsl-embed .d-ring { position: absolute; inset: -1px; z-index: 2; border-radius: inherit; pointer-events: none; border: 2px solid rgba(255,77,77,.75); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .var-d .player-center-play .d-play-idle::before, .var-d .player-center-play .d-play-hover::before { animation: d-breathe-low 2.2s ease-in-out infinite; will-change: opacity; }
  .var-d .player-center-play .d-play-idle::after, .var-d .player-center-play .d-play-hover::after { animation: d-breathe-high 2.2s ease-in-out infinite; will-change: opacity; }
  .var-d .vsl-embed:not(.has-played) .d-ring { animation: d-ping 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
  .var-d .vsl-embed:not(.has-played) .d-ring + .d-ring { animation-delay: 1.3s; }
}
@keyframes d-breathe-low { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes d-breathe-high { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes d-ping { 0% { opacity: .85; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45, 1.62); } }
/* hover (on the whole video, which plays on click too) */
.var-d .ds-vsl-frame .vsl-embed:hover .player-center-play { transform: translate(-50%, -50%) scale(1.06); }
.var-d .ds-vsl-frame .vsl-embed .player-center-play:active { transform: translate(-50%, -50%) scale(.96); }
.var-d .ds-vsl-frame .vsl-embed:hover .player-center-play { --b: 3; --h: 2.3; border-color: rgba(255,226,200,.85); }
.var-d .ds-vsl-frame .vsl-embed:hover .player-center-play.d-play-ready { border-color: transparent; }
.var-d .ds-vsl-frame .vsl-embed:hover .player-center-play.d-play-ready::after { border-color: rgba(255,226,200,.85); }
.var-d .vsl-embed:hover .player-center-play .d-play-idle { opacity: 0; }
.var-d .vsl-embed:hover .player-center-play .d-play-hover { opacity: 1; }
.var-d .ds-vsl-frame .vsl-embed:hover .player-center-play svg { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 5px rgba(255,170,100,.9)) drop-shadow(0 0 14px rgba(255,60,40,.7)); }

/* research network: no column labels */
.var-d .ds-visual-net text.ds-tag:not(.ds-tag-hot) { display: none; }
/* thumbnail test: no title or axis label */
.var-d .ds-ab > text.ds-tag[y="28"], .var-d .ds-ab > text.ds-tag[y="214"] { display: none; }
.var-d .ds-ab { transform: translateY(6%); }

/* research network: the graphic sets the visual's height, so it fills the card at every width */
.var-d .copy-method-item .ds-visual-net { height: 280px !important; width: auto; }
.var-d .copy-method-item:first-child { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 960px) { .var-d .copy-method-item .ds-visual-net { height: 230px !important; } }
@media (max-width: 640px) { .var-d .copy-method-item .ds-visual-net { height: 180px !important; } }
.var-d .ds-visual-net .ds-net-compact { width: 100%; height: 100%; }

/* Book a call: the arrow sits in its own cell behind a hairline and slides on hover */
.var-d .btn-primary { position: relative; padding-right: 0; gap: 26px; }
.var-d .btn-primary::before { content: ""; position: absolute; top: 0; bottom: 0; right: 56px; width: 1px; background: rgba(10,12,16,.14); }
.var-d .btn-primary::after { width: 56px; height: 100%; -webkit-mask-size: 20px; mask-size: 20px; transition: transform .5s var(--rs-ease-out); }
.var-d .btn-primary:hover::after { transform: translateX(5px); }

/* red underline on a heading's subject */
.var-d .d-u { text-decoration: underline 3px var(--rs-red-fill); text-underline-offset: .2em; text-decoration-skip-ink: none; }

/* testimonial thumbnail (YouTube player loads on click) */
.d-yt { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--rs-bg); cursor: pointer; }
.d-yt > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rs-ease-out), filter .4s ease; }
.d-yt:hover > img { transform: scale(1.015); filter: brightness(1.06); }
.d-yt:focus-visible { outline: 2px solid var(--rs-red-light); outline-offset: 4px; }
.d-yt { position: relative; }

/* clients on desktop: centred, two rows of 7 over 6 */
.var-d .d-br { display: none; }
@media (min-width: 1100px) {
  .var-d .social-proof .d-head { justify-content: center; background: none; }
  .var-d .social-proof .d-head-wrap { margin-bottom: 22px; }
  .var-d .social-proof-names { justify-content: center; gap: 0 clamp(22px, 2.4vw, 40px); font-size: 16px; }
  .var-d .social-proof-names > .client-name { padding: 5px 0; }
  .var-d .d-br { display: block; flex-basis: 100%; height: 0; }
}

/* testimonial: channel avatar, title and channel across the top, measured from YouTube's own embed (cued state) */
.d-yt { container-type: inline-size; }
.d-yt-top { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.6), rgba(0,0,0,0)); text-align: left; }
.d-yt-top img { position: absolute; left: 30px; top: 16px; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.d-yt-title, .d-yt-ch { position: absolute; left: 78px; right: 36px; color: #fff; white-space: nowrap; overflow: hidden; letter-spacing: normal; }
.d-yt-title { top: 10px; font: 700 20px/28px Roboto, Arial, sans-serif;
  -webkit-mask-image: linear-gradient(to right, #fff 95%, transparent); mask-image: linear-gradient(to right, #fff 95%, transparent); }   /* YouTube's own title fade */
.d-yt-ch { top: 38px; font: 400 12px/13.2px Roboto, Arial, sans-serif; text-overflow: ellipsis; }
@container (max-width: 520px) { .d-yt-title { font-size: 18px; line-height: 26px; } .d-yt-ch { top: 36px; } }
@container (max-width: 400px) { .d-yt-top img { left: 16px; } .d-yt-title, .d-yt-ch { left: 64px; right: 12px; } }

/* ---------------------------------------------------------------- timeline: an editor's timeline */
@property --pp { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --tx { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --ty { syntax: '<number>'; inherits: true; initial-value: 0; }
.d-tl .ds-timeline { transform: translateY(calc(var(--kick, 0) * 5px)) rotateX(calc(18deg - var(--ty) * 4deg + var(--kick, 0) * 2.5deg)) rotateY(calc(-7deg + var(--tx) * 5deg)) rotateZ(-3.5deg); transition: transform .2s linear;
  box-shadow: var(--rs-bevel-glass), 0 60px 120px -40px rgba(0,0,0,.9), 0 24px 48px -24px rgba(0,0,0,.7); }
/* A fixed specular band on the glass; it does not track the pointer. */
.d-tl-sheen { position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; overflow: hidden; }
.d-tl-sheen::before { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.055) 47%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 53%, transparent 62%);
  transform: translateX(-6%); }
.d-tl .ds-lanes { --pp: var(--d14); }

/* ruler: a tick per day, half days between, the day labels on the major ticks */
.d-tl .ds-ruler { height: 34px; }
.d-tl .ds-ruler::after { top: 22px; height: 8px; right: 0; width: auto;
  background: linear-gradient(90deg, rgba(255,255,255,.42) 0 1px, transparent 1px) 0 0 / calc(var(--d14) / 14) 100% repeat-x,
              linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px) calc(var(--d14) / 28) 3px / calc(var(--d14) / 14) 5px repeat-x; }
.d-tl .ds-ruler .rs-mono { margin-left: 0; transform: translateX(-50%); top: 0; font-size: 10.5px; letter-spacing: .14em; color: var(--rs-fg-4); }
.d-tl .ds-ruler .r0 { transform: none; }
.d-tl .ds-ruler .r2 { transform: none; margin-left: 13px; }   /* beside the playhead cap, not under it */
.d-tl .ds-ruler .r2 { color: #fff; }

/* tracks and clips: a label bar over a body that shows the work */
.d-tl .ds-track { height: 74px; margin-top: 8px; }
.d-tl .ds-track::before { top: 30px; }
.d-tl .ds-clip { flex-direction: column; align-items: stretch; padding: 0; border-radius: 8px; font-size: 13px; letter-spacing: -.005em; }
.d-tl .ds-clip::after { display: none; }
.d-cl-h { position: relative; display: flex; align-items: center; gap: 8px; flex: none; height: 26px; padding: 0 10px; color: var(--rs-fg-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.02)); border-bottom: 1px solid rgba(255,255,255,.07); transition: color .4s ease; }
.d-cl-h::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.28); transition: background .4s ease, box-shadow .4s ease; }
.d-cl-b { position: relative; flex: 1; display: flex; gap: 3px; padding: 6px 8px 7px; min-height: 0; overflow: hidden; }

/* ideas: index cards, one picked */
.d-b-ideas i { flex: 1; border-radius: 4px; background:
  linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 6px 7px / 55% 2px no-repeat,
  linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 6px 13px / 70% 2px no-repeat,
  linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 6px 19px / 40% 2px no-repeat, rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.d-b-ideas i:nth-child(2) { box-shadow: inset 0 0 0 1px rgba(255,90,90,.55); background-color: rgba(255,70,70,.08); }
/* script: a page of lines */
.d-b-script { flex-direction: column; justify-content: center; gap: 4px; padding: 6px 12px; }
.d-b-script i { display: block; width: var(--w); height: 2px; border-radius: 1px; background: rgba(255,255,255,.2); }
.d-b-script i:first-child { height: 3px; background: rgba(255,255,255,.42); }
/* footage: shots cut together, each a drawn frame (no photos), a red cut mark on one edit */
.d-b-film { gap: 3px; }
.d-b-film i { position: relative; flex: 1; min-width: 0; border-radius: 3px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.025) 60%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.d-b-film i:nth-child(2n) { background: linear-gradient(200deg, rgba(255,255,255,.07), rgba(255,255,255,.02) 55%); flex-grow: .7; }
.d-b-film i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -4px 0 0 -2px; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent rgba(255,255,255,.3); }
.d-b-film i:nth-child(3) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), -2px 0 0 -0.5px var(--rs-red-fill); }
/* the grade: an unlabelled adjustment layer over the edit */
.d-adj { left: var(--d7); width: calc(var(--d14) - var(--d7) - 6px); top: 22px !important; bottom: 22px !important; border-radius: 6px !important; border-color: rgba(255,255,255,.1) !important;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 1px, transparent 1px 7px), linear-gradient(90deg, rgba(120,150,255,.06), rgba(255,90,90,.08)) !important; box-shadow: none !important; --d: .75s; }
/* the published video: solid red, its audience climbing */
.d-tl .ds-clip.hot { top: -2px; bottom: -2px; background: var(--rs-red-fill); border: 1px solid rgba(255,140,140,.55); box-shadow: 0 0 0 1px rgba(255,77,77,.25), 0 10px 40px -8px rgba(255,40,40,.55); }
.d-tl .ds-clip.hot .d-cl-h { height: 28px; color: #fff; background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,0)); border-bottom: 1px solid rgba(255,255,255,.14); }
.d-tl .ds-clip.hot .d-cl-h::before { display: none; }
.d-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
.d-b-live { padding: 4px 0 0; }
.d-tl .ds-clip.hot .d-b-live svg { position: static; display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; }

/* audio: dim where the playhead hasn't been, lit behind it */
.d-tl .ds-clip.wave { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.25)); }
.d-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.d-wave-on { clip-path: inset(0 calc(100% - var(--pp)) 0 0); }

/* playhead: a white hairline with a cap, which carries the waveform's light with it */
.ds-moment.d-tl .ds-playhead { left: var(--pp) !important; width: 1.5px; margin-left: -.75px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.55), 0 0 2px #fff; }
.ds-moment.d-tl .ds-playhead::before { top: -6px; left: -6px; width: 13px; height: 16px; border-radius: 3px 3px 2px 2px; background: #fff; clip-path: polygon(0 0,100% 0,100% 62%,50% 100%,0 62%); }

/* play once (design-var-d.js drives it): hidden until the playhead lays each clip down; .is-done is the resting state */
@media (prefers-reduced-motion: no-preference) {
  .ds-moment.d-tl[data-play]:not(.is-done) .ds-lanes { --pp: 0%; }
  .ds-moment.d-tl[data-play]:not(.is-done) .ds-clip:not(.wave) { clip-path: inset(0 100% 0 0); }
  .ds-moment.d-tl[data-play] .ds-clip { transition: none; }
  .ds-moment.d-tl[data-play] .ds-clip.wave, .ds-moment.d-tl.is-done .ds-clip { clip-path: none; }
  .ds-moment.d-tl[data-play] .ds-playhead, .ds-moment.d-tl.is-playing .ds-playhead { transition: opacity .12s !important; }
  .ds-moment.d-tl.is-done .d-live { animation: d-blink 1.6s ease-in-out .6s infinite; }
}
.d-tl .d-cl-h { color: var(--rs-fg-2); }
@keyframes d-blink { 50% { opacity: .25; } }

@media (max-width: 640px) {
  .d-tl .ds-timeline { transform: translateY(calc(var(--kick, 0) * 4px)) rotateX(calc(10deg + var(--kick, 0) * 2.5deg)) rotateZ(-2deg); }
  .d-tl .ds-track { height: 54px; }
  .d-tl .d-cl-b, .d-adj, .d-live { display: none; }
  .d-cl-h { flex: 1; height: auto; padding: 0 6px; white-space: normal; line-height: 1.2; font-size: 11px; background: none; border: 0; }
  .d-cl-h::before { display: none; }
  .d-tl .ds-clip.hot .d-cl-h { height: auto; padding: 0 8px; }
  .d-tl .ds-ruler .rs-mono { font-size: 9.5px; letter-spacing: .1em; }
}
@media (min-width: 641px) and (max-width: 960px) { .d-tl .d-cl-h { font-size: 12px; } .d-b-ideas i:nth-child(3) { display: none; } }

/* player bar, measured from YouTube's current embed (paused, controls shown); only the pieces we keep:
   time pill, fullscreen, chaptered progress bar with the playhead dot. YouTube puts its
   share / Watch on YouTube row below the line; that row is gone, so the bar drops to the bottom edge */
.d-yt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; text-align: left; font-family: Roboto, Arial, sans-serif; pointer-events: none; }
.d-yt-row { position: absolute; left: 28px; right: 36px; bottom: 49.5px; height: 24px; display: flex; align-items: center; }
.d-yt-time { display: inline-flex; align-items: center; height: 24px; box-sizing: border-box; padding: 4px 6px; border-radius: 16px; background: rgba(0,0,0,.3);
  font: 500 14px/16px Roboto, Arial, sans-serif; color: #fff; text-shadow: 0 0 2px #000; white-space: nowrap; }
.d-yt-time i { font-style: normal; margin: 0 4px; opacity: .7; }
.d-yt-time em { font-style: normal; opacity: .7; }
.d-yt-fs { flex: none; width: 24px; height: 24px; margin-left: auto; }
.d-yt-prog { position: absolute; left: 30px; right: 30px; bottom: 30px; height: 3px; display: flex; gap: 2px; }
.d-yt-prog i { flex-basis: 0; min-width: 0; background: rgba(255,255,255,.35); }
.d-yt-prog b { position: absolute; left: 0; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #ff0033; }
@container (max-width: 400px) {
  .d-yt-row { left: 16px; right: 12px; bottom: 35.5px; }
    .d-yt-prog { left: 12px; right: 12px; bottom: 16px; }
}

/* ---------------------------------------------------------------- mobile rhythm: more room between and inside sections */
@media (max-width: 640px) {
  .var-d .hero-subheadline { margin-top: 24px; }
  .var-d .vsl { padding-top: 32px; }
  .var-d .vsl .btn-primary { margin-top: 28px; }
  .var-d .social-proof { padding-top: 88px; }
  .var-d .social-proof .d-head-wrap { margin-bottom: 24px; }
  .var-d .copy-proof, .var-d .copy-method, .var-d .copy-practical { padding-top: 112px; }
  .var-d .d-head-wrap { margin-bottom: 32px; }
  .var-d .copy-proof h2 + * { margin-top: 36px; }
  .var-d .copy-method-grid { margin-top: 40px; }
  .var-d .copy-practical .container > p:nth-of-type(1) { margin-top: 24px; }
  .var-d .ds-shoot { margin-top: 40px; }
  .var-d .copy-practical .container > p:nth-of-type(2) { margin-top: 104px; }
  .var-d .ds-moment { margin-top: 16px; padding-top: 56px; padding-bottom: 88px; }
  .var-d .copy-final-cta { margin-top: 96px; padding-top: 96px; padding-bottom: 96px; }
  .var-d .copy-final-cta .btn-primary { margin-top: 44px; }
}

/* Clip at the page edge, preserving halo spill beyond the timeline section. */
@media (max-width: 960px) { .var-d { overflow-x: clip; overflow-y: visible; } }

/* October feedback: readable risk reversal, natural photo grade and precise timing. */
.var-d .d-guarantee-highlight { color: #fff; text-decoration: underline 3px var(--rs-red-fill); text-underline-offset: .2em; text-decoration-skip-ink: none; }
.var-d .ds-shoot img { filter: brightness(1.12) contrast(1.02) saturate(1.05); }
.var-d .ds-shoot::after { background: linear-gradient(180deg, transparent 65%, rgba(4,5,7,.25)); }
/* Timeline line: heading scale with the delivery time in red. */
.var-d .copy-practical .container > .d-timing { font-size: var(--rs-h2-size); font-weight: 720; line-height: 1.1; letter-spacing: -.035em; color: #fff; }
/* Keep the text above the following light band's upward spill, just like its halo. */
.var-d .d-timing { position: relative; z-index: 1; }
.var-d .d-timing > span { display: block; }
.var-d .d-timing strong { font-weight: inherit; color: var(--rs-red); }
.var-d .d-timing-divider { grid-column: 1 / -1; grid-row: 3; margin-top: clamp(72px,8vw,112px); }
.var-d .copy-practical .container > p.d-timing { grid-row: 4; margin-top: 36px; }
.var-d .copy-practical .d-closing-band { grid-row: 5; }
@media (max-width:760px) {
  .var-d .d-timing-divider { grid-row: 4; margin-top: 72px; }
  .var-d .copy-practical .container > p.d-timing { grid-row: 5; margin-top: 32px; }
  .var-d .copy-practical .d-closing-band { grid-row: 6; }
}
.var-d .d-closing-band {
  grid-column: 1 / -1; position: relative; isolation: isolate;
  margin: 8px calc(50% - 50vw) 0;
  --d-closing-fade: linear-gradient(transparent, rgba(0,0,0,.08) 5%, rgba(0,0,0,.35) 12%, #000 24%, #000 84%, transparent);
  --d-closing-gutter: max(var(--rs-gutter), calc((100vw - var(--rs-max-w)) / 2 + var(--rs-gutter)));
}
.var-d .d-closing-band::before {
  content: ""; position: absolute; inset: -100px 0 0; z-index: -1; pointer-events: none;
  background: url('/img/ds/light-moment.jpg') center / cover no-repeat;
  -webkit-mask: var(--d-closing-fade);
  mask: var(--d-closing-fade);
}
.var-d .d-closing-band > .ds-sec-light {
  top: -100px;
  -webkit-mask: var(--d-closing-fade);
  mask: var(--d-closing-fade);
}
.var-d .d-closing-band .ds-moment { margin: 0; padding: 48px var(--d-closing-gutter) 24px; }
.var-d .d-closing-band .ds-moment::before,
.var-d .d-closing-band .copy-final-cta::before { content: none; }
.var-d #final-call { padding-top: 0; }
.var-d .d-closing-band .copy-final-cta { margin: 0; padding: 96px var(--d-closing-gutter) 80px; }
@media (max-width: 960px) {
  .var-d .d-closing-band .ds-moment { padding-top: 32px; padding-bottom: 16px; }
  .var-d .d-closing-band .copy-final-cta { padding-top: 64px; padding-bottom: 64px; }
  .var-d .copy-final-cta h2 { max-width: min(100%, 18ch); }
  .var-d .copy-final-cta .btn-primary { margin-top: 32px; }
}

.var-d .d-screenshots-divider { margin-top: 64px; }
.var-d .d-screenshots-divider + .copy-screenshot-wall { margin-top: 28px; }

/* Process: three cards in a row, each led by its method graphic (attention net, thumbnail calendar, thumbnail test). */
.var-d .d-process h2 { max-width: 760px; }
.var-d .d-process-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.var-d .d-process-steps li { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--rs-radius-lg); background: var(--rs-card-calm); box-shadow: var(--rs-edge-calm); }
.var-d .d-process-art { height: 196px; padding: 18px 20px; box-sizing: border-box; }
.var-d .d-process-art .ds-ab { transform: none; }   /* its frame is cropped to the drawing, so no offset */
.var-d .d-process-art.ds-visual-net .ds-net-compact { display: block; width: 100%; height: 100%; }
.var-d .d-process-steps h3 { margin: 22px 24px 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: var(--rs-fg-1); }
.var-d .d-process-steps p { margin: 8px 24px 24px; font-size: 15.5px; line-height: 1.6; color: var(--rs-fg-4); }
/* The winning thumbnail breathes: a soft red glow swells and fades behind it, its edge warming at the peak. */
.var-d .d-process-art .ds-ab { overflow: visible; }
.var-d .d-process-art .ds-ab-glow { opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .var-d .d-process-art .ds-ab-glow { animation: d-ab-breath 3.6s ease-in-out infinite; }
  .var-d .d-process-art .ds-ab-win { animation: d-ab-edge 3.6s ease-in-out infinite; }
}
@keyframes d-ab-breath { 0%, 100% { opacity: .15; } 50% { opacity: .95; } }
@keyframes d-ab-edge { 0%, 100% { stroke: #fff; } 50% { stroke: #ffd2cc; } }
@media (prefers-reduced-motion: no-preference) {
  .var-d .d-process-steps li { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--rs-ease-out), transform .7s var(--rs-ease-out); }
  .var-d .d-process-steps li:nth-child(2) { transition-delay: .12s; }
  .var-d .d-process-steps li:nth-child(3) { transition-delay: .24s; }
  .var-d .d-process-steps.is-in li { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .var-d .d-process-steps { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .var-d .d-process-steps h3 { margin: 20px 22px 0; }
  .var-d .d-process-steps p { margin: 6px 22px 22px; font-size: 15px; }
}
/* Tablet: each card becomes a row, graphic left and text right, so the width is used and the stack stays short. */
@media (min-width: 641px) and (max-width: 960px) {
  .var-d .d-process-steps li { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
  .var-d .d-process-art { height: 196px; padding: 16px 18px; border-bottom: 0; border-right: 1px solid var(--rs-border); }
  .var-d .d-process-steps h3 { margin: 0 28px; }
  .var-d .d-process-steps p { margin: 8px 28px 0; }
  .var-d .d-process-steps li { grid-template-rows: 1fr auto auto 1fr; }
  .var-d .d-process-art { grid-row: 1 / -1; }
  .var-d .d-process-steps h3 { grid-row: 2; }
  .var-d .d-process-steps p { grid-row: 3; padding-bottom: 4px; }
}
@media (max-width: 640px) {
  .var-d .d-process-art { height: 164px; padding: 14px 16px; }
}

/* Mobile YouTube channel previews use observed channel identity and totals. */
.var-d .client-trigger { min-height: 44px; }
.var-d .client-name-static { display: inline-flex; align-items: center; min-height: 44px; color: var(--rs-fg-3); }
.var-d .yt-profile { width: 360px; padding: 4px 16px 16px; background: #0f0f0f; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,.6); font-family: system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; color: #f1f1f1; letter-spacing: normal; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-y: auto; }
.var-d .yt-profile-top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.var-d .yt-wordmark { display: inline-flex; align-items: center; line-height: 0; }
.var-d .yt-wordmark svg { display: block; width: 90px; height: 20px; }
.var-d .yt-profile-header { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.var-d .yt-profile-header img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: #272727; }
.var-d .yt-profile-meta { flex: 1; min-width: 0; }
.var-d .yt-profile-header h3 { margin: 0 0 4px; font: 700 24px/28px system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; letter-spacing: normal; color: #f1f1f1; overflow-wrap: anywhere; }
.var-d .yt-profile-handle, .var-d .yt-profile-stats { margin: 0; font: 400 12px/20px system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; letter-spacing: normal; color: #aaa; overflow-wrap: anywhere; }
.var-d .yt-profile-handle { color: #f1f1f1; font-weight: 500; }
.var-d .yt-profile-stats span { display: inline-block; white-space: nowrap; }
/* Native channel descriptions and link rows expand locally inside the preview. */
.var-d .yt-description { position: relative; margin: 12px 0 0; font: 400 12px/18px system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; color: #aaa; }
.var-d .yt-description-preview { overflow-wrap: anywhere; }
.var-d .yt-description-more { color: #f1f1f1; font-weight: 500; white-space: nowrap; }
.var-d .yt-description.is-truncated .yt-description-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.var-d .yt-description.is-truncated .yt-description-more { position: absolute; right: 0; bottom: 0; padding-left: 6px; background: #0f0f0f; box-shadow: -6px 0 6px #0f0f0f; }
.var-d .yt-links { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font: 500 12px/18px system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; color: #f1f1f1; }
.var-d .yt-links svg { flex: none; }
.var-d .yt-links span { min-width: 0; overflow-wrap: anywhere; }
.var-d .yt-profile:has(.yt-description) .yt-sub { margin-top: 8px; }
.var-d .yt-sub:focus-visible { outline: 2px solid #3ea6ff; outline-offset: 2px; }
.var-d .yt-sub { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; margin: 16px 0 0; padding: 0 16px; border: 0; border-radius: 20px; background: #f1f1f1; color: #0f0f0f; font: 500 14px/40px system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; letter-spacing: normal; cursor: pointer; transition: background .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent; }
.var-d .yt-sub:not(:disabled):hover { background: #d9d9d9; }
.var-d .yt-sub:disabled { opacity: 1; cursor: default; }
.var-d .yt-sub-on { display: none; align-items: center; gap: 6px; }
.var-d .yt-sub-on svg { width: 24px; height: 24px; flex: none; }
.var-d .yt-sub-on svg:last-child { margin-right: -6px; }
.var-d .yt-sub[aria-pressed="true"] { background: rgba(255,255,255,.1); color: #f1f1f1; }
.var-d .yt-sub[aria-pressed="true"]:not(:disabled):hover { background: rgba(255,255,255,.2); }
.var-d .yt-sub[aria-pressed="true"] .yt-sub-off { display: none; }
.var-d .yt-sub[aria-pressed="true"] .yt-sub-on { display: inline-flex; }

/* Proof assets are held; hover and explicit pause affect one column only. */
.var-d .copy-screenshot-column { position: relative; min-width: 0; }
.var-d .copy-screenshot-wall:hover .copy-screenshot-track { animation-play-state: running; }
@media (hover:hover) { .var-d .copy-screenshot-column:hover .copy-screenshot-track { animation-play-state: paused; } }
@media (max-width:640px) { .var-d .d-process { padding-top: 112px; } }

/* Local form comparison: one question at a time or the existing Cal UI. */
.var-d .d-booking-proposal[hidden], .var-d .d-form-variant[hidden], .var-d .d-question[hidden], .var-d .d-question-error[hidden] { display:none; }
.var-d .d-preview-controls { display:flex; flex-wrap:wrap; gap:28px; margin-bottom:36px; padding-bottom:24px; border-bottom:1px solid var(--rs-border); }
.var-d .d-preview-controls fieldset { border:0; padding:0; margin:0; }
.var-d .d-preview-controls legend { font-size:12px; color:var(--rs-fg-4); margin-bottom:10px; }
.var-d .d-preview-controls button { min-height:44px; padding:10px 16px; margin:0 4px 8px 0; border:1px solid var(--rs-border); border-radius:12px; background:var(--rs-card-calm); color:var(--rs-fg-2); cursor:pointer; font:inherit; font-size:13px; }
.var-d .d-preview-controls [aria-pressed=true] { border-color:var(--rs-red); color:white; background:rgba(255,77,77,.08); }
.var-d .d-proposal-heading { max-width:800px; }
.var-d .d-proposal-body { margin:22px 0 32px; max-width:720px; color:var(--rs-fg-3); font-size:18px; line-height:1.6; }
.var-d .d-proposal-cta { margin-top:24px; }
.var-d .d-conversation { max-width:920px; margin:0 auto; border:1px solid var(--rs-border); border-radius:var(--rs-radius-xl); background:#0f1114; overflow:hidden; }
.var-d .d-conversation { padding:clamp(24px,5vw,56px); min-height:480px; }
.var-d .d-form-progress { display:flex; flex-direction:column; gap:14px; margin-bottom:42px; }
.var-d .d-step-count { font:12px var(--rs-font-mono); color:var(--rs-fg-4); }
.var-d .d-form-progress progress { width:100%; height:3px; border:0; appearance:none; background:#2a2d33; accent-color:var(--rs-red); }
.var-d .d-form-progress progress::-webkit-progress-bar { background:#2a2d33; }
.var-d .d-form-progress progress::-webkit-progress-value { background:var(--rs-red); }
.var-d .d-form-progress progress::-moz-progress-bar { background:var(--rs-red); }
.var-d .d-question { padding:0; margin:0; border:0; min-width:0; }
.var-d .d-question legend { display:block; width:100%; padding:0; margin-bottom:28px; font-size:clamp(23px,2.4vw,30px); color:var(--rs-fg-1); line-height:1.4; letter-spacing:-.02em; }
.var-d .d-question-index { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; margin-right:12px; width:24px; height:24px; border-radius:6px; background:var(--rs-red-fill); color:white; font:12px var(--rs-font-mono); }
.var-d .d-answer-options { display:grid; gap:10px; max-width:640px; }
.var-d .d-answer-options label { position:relative; cursor:pointer; }
.var-d .d-answer-options input { position:absolute; opacity:0; }
.var-d .d-answer-options span { display:flex; gap:14px; align-items:center; padding:14px 18px; min-height:56px; border:1px solid var(--rs-border); border-radius:10px; color:var(--rs-fg-2); background:rgba(255,255,255,.025); font-size:17px; line-height:1.45; }
.var-d .d-answer-options b { display:flex; align-items:center; justify-content:center; flex:none; width:24px; height:24px; border:1px solid #50535a; border-radius:4px; font:12px var(--rs-font-mono); }
.var-d .d-answer-options input:checked + span { border-color:var(--rs-red); background:rgba(255,77,77,.1); color:white; }
.var-d .d-question > input, .var-d .d-question > textarea { box-sizing:border-box; width:100%; border:0; border-bottom:1px solid #50535a; border-radius:0; background:none; color:white; font:inherit; font-size:clamp(20px,2vw,26px); line-height:1.5; padding:12px 0; resize:vertical; }
.var-d .d-question > input::placeholder, .var-d .d-question > textarea::placeholder { color:#777c85; }
.var-d .d-question-nav { display:flex; align-items:center; gap:12px; margin-top:32px; }
.var-d .d-question-nav button { min-height:48px; border-radius:10px; border:1px solid var(--rs-border); padding:12px 20px; font:inherit; cursor:pointer; }
.var-d .d-question-back { background:transparent; color:var(--rs-fg-3); }
.var-d .d-question-back:disabled { opacity:.3; cursor:default; }
.var-d .d-question-next { background:var(--rs-red-fill); color:white; }
.var-d .d-question-error { margin:20px 0 0; color:#ff8b91; font-size:14px; }

.var-d .d-question > input:focus-visible, .var-d .d-question > textarea:focus-visible, .var-d .d-answer-options input:focus-visible + span, .var-d .d-preview-controls button:focus-visible, .var-d .d-question-nav button:focus-visible { outline:2px solid var(--rs-red); outline-offset:4px; }
@media(max-width:600px) { .var-d .d-conversation { min-height:460px; padding:24px 20px; } .var-d .d-form-progress { margin-bottom:30px; } .var-d .d-answer-options span { font-size:16px; padding:12px; } }


.var-d .d-proposal-cta[hidden] { display: none; }


.var-d .d-bottom-body { max-width:min(760px, 68vw); margin:28px auto 0; color:var(--rs-fg-3); font-size:clamp(18px,2vw,24px); line-height:1.6; text-wrap:balance; }   /* narrows with the window, so tablets get a readable measure */
@media (max-width:600px) { .var-d .d-bottom-body { max-width:none; } }

/* ===== Application form ("Our form"): composed like the page's other light moments (final CTA, timeline).
   A live light band (ds-light.js), a centred display headline and grey lead, and the form centred beneath
   as the object, the way the VSL sits in the hero: one solid panel, one hairline ring, flat inside.
   All steps share one grid cell, so switching questions never changes the page height. ===== */
.var-d .d-booking-proposal:has([data-form-variant="own"]:not([hidden])) { position:relative; isolation:isolate; overflow-x:clip; padding-bottom:clamp(48px,5vw,72px); }
/* Keep the form-to-testimonial transition compact without changing other section spacing. */
.var-d .d-booking-proposal + .copy-proof { padding-top:clamp(48px,5vw,72px); }
.var-d .d-booking-proposal:has([data-form-variant="own"]:not([hidden]))::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:url('/img/ds/light-booking.jpg') center / var(--booking-flute-fallback-width, max(100%, 1920px)) 100% no-repeat;
  -webkit-mask:linear-gradient(transparent, #000 22%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite:source-in;
          mask:linear-gradient(transparent, #000 22%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-composite:intersect;
}
/* the band frames the form: kept short enough that cover-scaling leaves both light sources on screen (as in the final CTA) */
.var-d .d-booking-proposal:has([data-form-variant="own"]:not([hidden])) > .ds-sec-light, .var-d .d-booking-proposal:has([data-form-variant="own"]:not([hidden]))::before { top:auto; height:min(100%, 820px); bottom:0; }
.var-d .d-booking-proposal .container:has([data-form-variant="own"]:not([hidden])) { display:block; text-align:center; }
.var-d .d-booking-proposal .container:has([data-form-variant="own"]:not([hidden])) > .d-proposal-heading { max-width:900px; margin:0 auto; font-size:clamp(40px,6vw,84px); font-weight:760; line-height:.98; letter-spacing:-.04em; color:var(--rs-fg-1); text-wrap:balance; }
.var-d .d-booking-proposal .container:has([data-form-variant="own"]:not([hidden])) > .d-proposal-body { max-width:none; margin:clamp(18px,2.4vw,26px) auto 0; font-size:clamp(17px,1.45vw,21px); font-weight:500; line-height:1.5; letter-spacing:-.02em; color:rgba(236,238,242,.55); text-wrap:balance; }
.var-d .d-booking-proposal .container:has([data-form-variant="own"]:not([hidden])) > [data-form-variant="own"] { max-width:780px; margin:clamp(40px,5vw,60px) auto 0; text-align:left; }

/* The panel: solid, one hairline ring, the VSL's shadow */
.var-d [data-form-variant="own"] .d-conversation {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "q" "err" "nav";
  max-width:none; min-height:0; margin:0; overflow:visible; padding:clamp(26px,3.4vw,44px);
  border:0; border-radius:16px; background:#08090B;
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -30px rgba(0,0,0,.9);
}

/* Head: red tick + mono count over the progress hairline */
.var-d [data-form-variant="own"] .d-form-progress { grid-area:head; gap:16px; margin-bottom:clamp(30px,3.4vw,40px); }
.var-d [data-form-variant="own"] .d-step-count { display:inline-flex; align-items:center; gap:12px; font:400 11px/1 var(--rs-font-mono); letter-spacing:var(--rs-mono-ls); text-transform:uppercase; color:var(--rs-fg-2); }
.var-d [data-form-variant="own"] .d-step-count::before { content:""; width:3px; height:18px; background:var(--rs-red-fill); }
.var-d [data-form-variant="own"] .d-form-progress progress { display:block; width:100%; height:2px; border:0; border-radius:0; background:rgba(255,255,255,.08); }
.var-d [data-form-variant="own"] .d-form-progress progress::-webkit-progress-bar { background:rgba(255,255,255,.08); }
.var-d [data-form-variant="own"] .d-form-progress progress::-webkit-progress-value { background:var(--rs-red-fill); transition:width .5s var(--rs-ease-out); }
.var-d [data-form-variant="own"] .d-form-progress progress::-moz-progress-bar { background:var(--rs-red-fill); }

/* Steps: stacked in one cell; only the current one is visible */
.var-d [data-form-variant="own"] .d-question { grid-area:q; min-width:0; }
.var-d [data-form-variant="own"] .d-question[hidden] { display:block; visibility:hidden; pointer-events:none; }
.var-d [data-form-variant="own"] .d-question:not([hidden]) { animation:d-form-in .5s var(--rs-ease-out) both; }
@keyframes d-form-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.var-d [data-form-variant="own"] .d-question legend { display:flex; align-items:baseline; gap:14px; margin-bottom:28px; font-size:clamp(25px,2.4vw,34px); font-weight:720; line-height:1.12; letter-spacing:-.035em; color:var(--rs-fg-1); text-wrap:pretty; }
.var-d [data-form-variant="own"] .d-question legend:focus { outline:0; }
.var-d [data-form-variant="own"] .d-question-index { display:inline; flex:none; width:auto; height:auto; margin:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; font:500 13px/1 var(--rs-font-mono); letter-spacing:.06em; color:var(--rs-red); transform:translateY(-.45em); }

/* Answers: filled rounded rows; the chosen row sinks dark inside a red edge */
.var-d [data-form-variant="own"] .d-answer-options { grid-template-columns:minmax(0,1fr); gap:8px; max-width:none; }
.var-d [data-form-variant="own"] .d-answer-options span {
  gap:16px; height:100%; min-height:64px; padding:10px 18px; border:0; border-radius:12px; background:rgba(255,255,255,.045); box-shadow:none;
  color:var(--rs-fg-2); font-size:clamp(16px,1.3vw,17px); font-weight:550; line-height:1.35; letter-spacing:-.015em; font-variant-numeric:tabular-nums;
  transition:background var(--rs-dur-fast), color var(--rs-dur-fast), box-shadow var(--rs-dur-fast);
}
.var-d [data-form-variant="own"] .d-answer-options b { width:12px; height:auto; border:0; border-radius:0; background:none; box-shadow:none; font:500 11px/1 var(--rs-font-mono); color:var(--rs-fg-5); transition:color var(--rs-dur-fast); }
.var-d [data-form-variant="own"] .d-answer-options span::after {
  content:""; flex:none; width:18px; height:18px; margin-left:auto; background:currentColor; opacity:0; transform:translateX(-6px);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition:opacity var(--rs-dur-fast), transform .4s var(--rs-ease-out);
}
@media (hover:hover) {
  .var-d [data-form-variant="own"] .d-answer-options label:hover span { background:rgba(255,255,255,.08); color:#fff; }
  .var-d [data-form-variant="own"] .d-answer-options label:hover b { color:var(--rs-red); }
  .var-d [data-form-variant="own"] .d-answer-options label:hover span::after { opacity:.6; transform:none; }
}
.var-d [data-form-variant="own"] .d-answer-options input:checked + span { background:#030304; color:#fff; box-shadow:inset 0 0 0 1px var(--rs-red); }
.var-d [data-form-variant="own"] .d-answer-options input:checked + span b { color:var(--rs-red); }
.var-d [data-form-variant="own"] .d-answer-options input:checked + span::after { opacity:1; transform:none; color:var(--rs-red); }
.var-d [data-form-variant="own"] .d-answer-options input:focus-visible + span { outline:2px solid var(--rs-red); outline-offset:2px; }

/* Typed answers: the same filled field; it sinks dark inside the red edge while typing */
.var-d [data-form-variant="own"] .d-question > input, .var-d [data-form-variant="own"] .d-question > textarea {
  display:block; width:100%; min-height:64px; padding:18px 20px; border:0; border-radius:12px; background:rgba(255,255,255,.045); box-shadow:none;
  color:var(--rs-fg-1); font-size:clamp(18px,1.6vw,21px); font-weight:500; line-height:1.5; letter-spacing:-.015em; caret-color:var(--rs-red);
  transition:background var(--rs-dur-fast), box-shadow var(--rs-dur-fast);
}
.var-d [data-form-variant="own"] .d-question > textarea { min-height:160px; resize:none; }
.var-d [data-form-variant="own"] .d-question > input::placeholder, .var-d [data-form-variant="own"] .d-question > textarea::placeholder { color:var(--rs-fg-5); opacity:1; }
.var-d [data-form-variant="own"] .d-question > input:focus, .var-d [data-form-variant="own"] .d-question > textarea:focus { outline:0; background:#030304; box-shadow:inset 0 0 0 1px var(--rs-red); }

/* Calendar step: adds no height of its own; it fills the shared cell and scrolls inside it */
/* Booking step: left out of the shared height while hidden, so questions 1-6 keep theirs; shown, the calendar takes
   its natural height and the card grows to fit it (animated in design-var-d.js). The min-height holds about Cal's size while it loads, so the card opens once. */
.var-d [data-form-variant="own"] .d-question[data-step="7"][hidden] { display:none; }
.var-d [data-form-variant="own"] .d-question[data-step="7"] { container-type:inline-size; }
.var-d [data-form-variant="own"] .d-own-calendar { min-height:calc(84cqi + 90px); border-radius:12px; }   /* Cal's month view height at this width (measured: 672px at 693px wide, 351px at 318px) */
.var-d [data-form-variant="own"] .d-conversation.is-resizing { overflow:clip; }

/* WhatsApp step (budget "No"): says what will happen before anything opens. Left out of the shared height while hidden, like the booking step. */
.var-d [data-form-variant="own"] .d-handoff[hidden] { display:none; }
.var-d [data-form-variant="own"] .d-handoff-body { margin:0 0 28px; max-width:56ch; font-size:clamp(16px,1.3vw,17px); line-height:1.6; color:var(--rs-fg-3); }
.var-d [data-form-variant="own"] .d-handoff-steps { list-style:none; counter-reset:h; display:grid; gap:8px; margin:0; padding:0; }
.var-d [data-form-variant="own"] .d-handoff-steps li { counter-increment:h; display:flex; align-items:center; gap:16px; min-height:60px; padding:10px 18px; border-radius:12px; background:rgba(255,255,255,.045); color:var(--rs-fg-2); font-size:clamp(15px,1.3vw,17px); font-weight:550; line-height:1.4; letter-spacing:-.015em; }
.var-d [data-form-variant="own"] .d-handoff-steps li::before { content:counter(h); flex:none; width:12px; font:500 11px/1 var(--rs-font-mono); color:var(--rs-red); }
.var-d [data-form-variant="own"] .d-question-nav .d-whatsapp-open { border-radius:var(--rs-radius-md); text-decoration:none; transition:background var(--rs-dur-fast); }
.var-d [data-form-variant="own"] .d-question-nav .d-whatsapp-open:focus-visible { outline:2px solid #fff; outline-offset:4px; }
@media (max-width:600px) { .var-d [data-form-variant="own"] .d-question-nav .d-whatsapp-open { flex:1; min-width:0; } }

/* Reserved line for the error, so showing it never moves anything */
.var-d [data-form-variant="own"] .d-conversation > .d-question-error { display:none; }
/* inside a step: right under the field, as a red mono line with the section heads' tick; a negative bottom margin so it adds no height */
.var-d [data-form-variant="own"] .d-question-error { display:flex; align-items:center; gap:12px; min-height:22px; margin:14px 0 -36px; padding:0; border-radius:0; background:none; box-shadow:none;
  color:var(--rs-red); font:500 11px/22px var(--rs-font-mono); letter-spacing:var(--rs-mono-ls); text-transform:uppercase; }
.var-d [data-form-variant="own"] .d-question-error::before { content:""; flex:none; width:3px; height:14px; background:var(--rs-red-fill); }
.var-d [data-form-variant="own"] .d-question .d-question-error[hidden] { display:flex; visibility:hidden; }
.var-d [data-form-variant="own"] .d-question-error:not([hidden]) { animation:d-err-in .35s var(--rs-ease-out) both; }
@keyframes d-err-in { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.var-d [data-form-variant="own"] .d-question.is-invalid .d-answer-options span { box-shadow:inset 0 0 0 1px rgba(232,0,28,.55); }
.var-d [data-form-variant="own"] .d-question.is-invalid .d-answer-options b { color:var(--rs-red); }
.var-d [data-form-variant="own"] .d-question.is-invalid > input, .var-d [data-form-variant="own"] .d-question.is-invalid > textarea { background:#030304; box-shadow:inset 0 0 0 1px var(--rs-red); }
.var-d [data-form-variant="own"] .d-question.is-invalid .d-answer-options, .var-d [data-form-variant="own"] .d-question.is-invalid > input, .var-d [data-form-variant="own"] .d-question.is-invalid > textarea { animation:d-nudge .42s var(--rs-ease-smooth); }
@keyframes d-nudge { 0%, 100% { transform:none; } 20% { transform:translateX(-7px); } 45% { transform:translateX(6px); } 70% { transform:translateX(-3px); } 85% { transform:translateX(2px); } }
/* Actions */
.var-d [data-form-variant="own"] .d-question-nav { grid-area:nav; gap:12px; margin-top:64px; padding:0; border:0; }
.var-d [data-form-variant="own"] .d-question-nav button { min-height:56px; padding:0; border-radius:var(--rs-radius-md); font-family:var(--rs-font-sans); transition:transform var(--rs-dur-med) var(--rs-ease-smooth), box-shadow var(--rs-dur-med) var(--rs-ease-smooth), background var(--rs-dur-fast), color var(--rs-dur-fast), opacity var(--rs-dur-fast); }
.var-d [data-form-variant="own"] .d-question-back { width:56px; flex:none; font-size:18px; color:var(--rs-fg-3); border:0; background:rgba(255,255,255,.045); }
.var-d [data-form-variant="own"] .d-question-back:not(:disabled):hover { color:#fff; background:rgba(255,255,255,.08); }
.var-d [data-form-variant="own"] .d-question-back:disabled { opacity:.35; cursor:default; }
.var-d [data-form-variant="own"] .d-question-nav .d-question-next {
  position:relative; display:inline-flex; align-items:stretch; justify-content:space-between; gap:26px; min-width:196px; height:56px; padding:0 0 0 24px;
  border:0; background:rgba(255,255,255,.08); color:#fff; box-shadow:none;
  font:var(--rs-button-weight) var(--rs-button-size)/56px var(--rs-font-sans); letter-spacing:var(--rs-button-ls); white-space:nowrap;
}
.var-d [data-form-variant="own"] .d-question-next span {
  flex:none; width:56px; font-size:0; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition:transform .5s var(--rs-ease-out);
}
.var-d [data-form-variant="own"] .d-question-next::before { content:""; position:absolute; top:0; bottom:0; right:56px; width:1px; background:rgba(255,255,255,.12); }
.var-d [data-form-variant="own"] .d-question-nav .d-question-next:hover { background:rgba(255,255,255,.12); }
.var-d [data-form-variant="own"] .d-question-next:hover span { transform:translateX(5px); }
.var-d [data-form-variant="own"] .d-question-nav .d-question-next:active { background:rgba(255,255,255,.06); }
.var-d [data-form-variant="own"] .d-question-nav button:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.var-d [data-form-variant="own"] .d-question-nav .d-question-next[hidden] { display:none; }
.var-d [data-form-variant="own"] .d-question-nav[hidden] { display:none; }

/* Desktop: the step cell has a floor that gives the calendar room */
@media (min-width:701px) {
  .var-d [data-form-variant="own"] .d-question { min-height:440px; }
}

@media (max-width:600px) {
  .var-d .d-booking-proposal:has([data-form-variant="own"]:not([hidden]))::before { background-size:100% 100%; }
  .var-d [data-form-variant="own"] .d-conversation { padding:22px 16px 18px; border-radius:14px; }
  .var-d [data-form-variant="own"] .d-question legend { gap:12px; font-size:24px; }
  .var-d [data-form-variant="own"] .d-answer-options span { gap:12px; min-height:54px; padding:8px 16px; font-size:15px; }
  .var-d [data-form-variant="own"] .d-answer-options span::after { display:none; }
  .var-d [data-form-variant="own"] .d-question-nav .d-question-next { flex:1; min-width:0; }
}
@media (prefers-reduced-motion:reduce) { .var-d [data-form-variant="own"] .d-question:not([hidden]), .var-d [data-form-variant="own"] .d-question-error:not([hidden]), .var-d [data-form-variant="own"] .d-question.is-invalid * { animation:none !important; } .var-d [data-form-variant="own"] * { transition:none !important; } }

/* Approved Clear form treatment, applied without preview controls. */
.var-d [data-form-variant="own"] { position:relative; isolation:isolate; }
.var-d [data-form-variant="own"] .d-conversation { -webkit-backdrop-filter:blur(var(--gl-blur)) saturate(1.2); backdrop-filter:blur(var(--gl-blur)) saturate(1.2); background:var(--gl-bg); box-shadow:0 0 0 1px var(--gl-ring), inset 0 1px 0 rgba(255,255,255,.14), 0 30px 80px -30px rgba(0,0,0,.8); }
.var-d [data-form-variant="own"] .d-answer-options span, .var-d [data-form-variant="own"] .d-question > input, .var-d [data-form-variant="own"] .d-question > textarea, .var-d [data-form-variant="own"] .d-handoff-steps li, .var-d [data-form-variant="own"] .d-question-back { background:var(--gl-row); }
@media (hover:hover) { .var-d [data-form-variant="own"] .d-answer-options label:hover span { background:var(--gl-row-hover); } }
.var-d [data-form-variant="own"] .d-answer-options input:checked + span, .var-d [data-form-variant="own"] .d-question > input:focus, .var-d [data-form-variant="own"] .d-question > textarea:focus, .var-d [data-form-variant="own"] .d-question.is-invalid > input, .var-d [data-form-variant="own"] .d-question.is-invalid > textarea { background:var(--gl-sunk); }
.var-d [data-form-variant="own"] .d-question-nav .d-question-next { background:var(--gl-row-hover); }
.var-d [data-form-variant="own"] { --gl-blur:12px; --gl-bg:rgba(8,9,11,.30); --gl-ring:rgba(255,255,255,.13); --gl-row:rgba(255,255,255,.07); --gl-row-hover:rgba(255,255,255,.12); --gl-sunk:rgba(0,0,0,.42); }

/* Approved Clear YouTube channel cards. */
.var-d .yt-profile { -webkit-backdrop-filter:blur(var(--yg-blur)) saturate(1.3); backdrop-filter:blur(var(--yg-blur)) saturate(1.3); background:var(--yg-bg); border-color:var(--yg-ring); box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 16px 48px rgba(0,0,0,.55); }
.var-d .yt-description.is-truncated .yt-description-more { background:none; box-shadow:none; }
/* no patch over the glass: the last line fades out under "...more" instead */
.var-d .yt-description.is-truncated .yt-description-preview {
  -webkit-mask:linear-gradient(#000,#000) top / 100% calc(100% - 18px) no-repeat, linear-gradient(90deg,#000 calc(100% - 84px), transparent calc(100% - 52px)) bottom / 100% 18px no-repeat;
          mask:linear-gradient(#000,#000) top / 100% calc(100% - 18px) no-repeat, linear-gradient(90deg,#000 calc(100% - 84px), transparent calc(100% - 52px)) bottom / 100% 18px no-repeat;
}
.var-d .yt-profile { --yg-blur:16px; --yg-bg:rgba(12,12,13,.46); --yg-ring:rgba(255,255,255,.14); }


/* Real Studio screenshots, retaining thumbnails and source context. */
.var-d .d-proof-wall { max-width: var(--rs-max-w); height: clamp(520px,48vw,700px); margin-top: 22px; -webkit-mask: linear-gradient(transparent,#000 7%,#000 90%,transparent); mask: linear-gradient(transparent,#000 7%,#000 90%,transparent); }
.var-d .d-proof-wall .copy-screenshot-columns { gap: 12px; padding-inline: var(--rs-gutter); }
.var-d .d-proof-wall .copy-screenshot-track { gap: 12px; animation: d-proof-scroll 70s linear infinite; animation-play-state: paused; }
.var-d .d-proof-wall.is-visible .copy-screenshot-track { animation-play-state: running; }
@media (hover:hover) { .var-d .d-proof-wall.is-visible .copy-screenshot-column:hover .copy-screenshot-track { animation-play-state: paused; } }
@keyframes d-proof-scroll { to { transform: translateY(calc(-50% - 6px)); } }
.d-proof-group { display: flex; flex-direction: column; gap: 12px; padding: 0; }
.var-d .d-proof-card { display: block; flex: none; border-radius: 6px; overflow: hidden; background: transparent; border: 0; }
.d-proof-card img { display: block; width: 100%; height: auto; }
/* Reflow unchanged screenshot regions so this very wide result stays readable. */
.var-d .d-proof-compact { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; background: #0f0f0f; }
.var-d .d-proof-wall[data-background="original"] .d-proof-compact { background: #282828; }
.d-proof-compact .d-proof-slice { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--slice-w) / var(--slice-h); }
.d-proof-compact .d-proof-slice img { position: absolute; max-width: none; width: calc(100% * 1064 / var(--slice-w)); left: calc(-100% * var(--slice-x) / var(--slice-w)); top: calc(-100% * var(--slice-y) / var(--slice-h)); }
.d-proof-compact .d-proof-slice-heading { --slice-x: 389; --slice-y: 44; --slice-w: 290; --slice-h: 30; width: 90%; }
.d-proof-compact .d-proof-slice-video { --slice-x: 74; --slice-y: 158; --slice-w: 452; --slice-h: 90; }
.d-proof-compact .d-proof-slice-labels { --slice-x: 776; --slice-y: 103; --slice-w: 249; --slice-h: 40; width: 84%; margin-top: 4px; }
.d-proof-compact .d-proof-slice-metrics { --slice-x: 776; --slice-y: 188; --slice-w: 249; --slice-h: 30; width: 84%; }
/* Frame the three wide analytics captures around their result panels, in both themes. */
.var-d .d-proof-card[data-proof-index="11"] {
  --proof-crop-x: 205; --proof-crop-y: 124; --proof-crop-w: 592; --proof-crop-h: 364;
}
.var-d .d-proof-card[data-proof-index="13"] {
  --proof-crop-x: 200; --proof-crop-y: 146; --proof-crop-w: 840; --proof-crop-h: 302;
}
.var-d .d-proof-card[data-proof-index="21"] {
  --proof-crop-x: 252; --proof-crop-y: 148; --proof-crop-w: 784; --proof-crop-h: 460;
}
.var-d .d-proof-card:is([data-proof-index="11"], [data-proof-index="13"], [data-proof-index="21"]) {
  position: relative; aspect-ratio: var(--proof-crop-w) / var(--proof-crop-h);
}
.var-d .d-proof-card:is([data-proof-index="11"], [data-proof-index="13"], [data-proof-index="21"]) img {
  position: absolute; max-width: none;
  width: calc(100% * 1064 / var(--proof-crop-w));
  left: calc(-100% * var(--proof-crop-x) / var(--proof-crop-w));
  top: calc(-100% * var(--proof-crop-y) / var(--proof-crop-h));
}
@media (max-width:1024px) { .var-d .d-proof-wall .copy-screenshot-columns { grid-template-columns: repeat(2,minmax(0,1fr)); } .var-d .d-proof-wall .copy-screenshot-column:nth-child(n+3) { display:none; } .var-d .d-proof-wall { height:620px; } .var-d .d-proof-wall .copy-screenshot-track { animation-duration:130s; } }
@media (max-width:600px) { .var-d .d-proof-wall .copy-screenshot-columns { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline:var(--rs-gutter); } .var-d .d-proof-wall { height:580px; } .var-d .d-proof-wall .copy-screenshot-track { animation-duration:240s; } }
@media (prefers-reduced-motion:reduce) { .var-d .d-proof-wall .copy-screenshot-track { animation:none; transform:none; } }

/* Application persistence status stays secondary to the form's existing controls. */
.d-question-nav { flex-wrap: wrap; }
.d-autosave { flex: 1 1 100%; display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.5; color: #858a95; }
.d-autosave-retry { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: #bbc0ca; text-decoration: underline; cursor: pointer; }
.d-autosave-retry[hidden] { display: none; }
.d-calendar-fallback { display: block; margin-top: 12px; color: #bbc0ca; font-size: 12px; }

.d-autosave[hidden], .d-autosave-status[hidden] { display: none; }

@media (max-width:640px) {
  .var-d .d-booking-proposal:has([data-form-variant="own"]:not([hidden]))::before { background-size:100% 100%; }
}
