/* scaled copy of sections.css (inc/scale.php) -- edit the original */
/* sections.css
 * The section library (inc/components/section-*.php). Used by Elementor-built
 * test pages and by any PHP template that calls the dv_section_* functions.
 *
 * Image and link rules carry two classes so they win over Elementor's `.elementor img`
 * and `.elementor a`; the editor preview still loads Elementor's CSS.
 */

/* ===================================================== Elementor shell */
/* Visitors on Da Vinci-only pages get no Elementor CSS (inc/elementor/loader.php), so the
   one container rule the layout relies on lives here: flex columns keep section margins
   from collapsing, exactly as in the editor. */
.dv-elementor .e-con{display:flex;flex-direction:column;position:relative;max-width:100%}
/* Da Vinci sections bring their own spacing: zero the container around them. */
.dv-elementor .e-con:has(> .elementor-widget[class*="elementor-widget-dv-"]){
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;
  --gap:0px;--row-gap:0px;--column-gap:0px;--width:100%;--content-width:100%;
  --margin-top:0px;--margin-bottom:0px;
}
.dv-elementor .elementor-widget[class*="elementor-widget-dv-"]{margin-block-end:0;width:100%}
.dv-elementor .elementor-widget[class*="elementor-widget-dv-"] > .elementor-widget-container{margin:0;padding:0}

/* ============================================================ Section */
.dvs{position:relative;isolation:isolate;padding-block:clamp(3.5rem,calc(7 * var(--dv-vw,1vw)),6rem);background:var(--surface);color:var(--ink)}
.dvs--paper{background:var(--paper)}
.dvs--mint{background:var(--mint)}
.dvs--dark{background:var(--forest-deep);color:var(--on-dark);overflow:hidden}
.dvs--dark::before{content:"";position:absolute;inset:-30%;z-index:-1;background:radial-gradient(38% 38% at 18% 25%,rgba(13,91,59,.85),transparent 62%),radial-gradient(42% 42% at 82% 75%,rgba(139,44,121,.55),transparent 60%);filter:blur(45px);animation:mesh 22s ease-in-out infinite alternate}
.dvs--sp-tight{padding-block:clamp(2rem,calc(4 * var(--dv-vw,1vw)),3rem)}
.dvs--sp-flush-top{padding-top:0}
[id]{scroll-margin-top:calc(var(--hh,0px) + 4rem)}

.dvs-head{max-width:48rem;margin-bottom:clamp(2rem,calc(4 * var(--dv-vw,1vw)),3rem)}
.dvs-head .eyebrow b{font-family:var(--f-mono);font-weight:500;color:var(--plum);margin-right:.15rem}
.dvs-head h2{margin-top:.9rem;font-family:var(--f-display);font-weight:450;font-size:clamp(2rem,calc(4.4 * var(--dv-vw,1vw)),3.3rem);line-height:1.03;letter-spacing:-.045em}
.dvs-head h2 em{font-family:var(--f-serif);font-style:italic;letter-spacing:-.01em;color:var(--plum)}
.dvs-intro p{margin-top:1rem;font-size:var(--s-lg);line-height:1.62;color:var(--muted)}
.dvs--dark .eyebrow{color:var(--leaf)}
.dvs--dark .dvs-head h2 em{color:var(--leaf)}
.dvs--dark .dvs-intro p{color:var(--on-dark-muted)}

.dvs-prose p{line-height:1.78;color:var(--muted)}
.dvs-prose p + p{margin-top:1.1rem}
.dvs .dvs-prose a{color:var(--forest);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.dvs-prose strong{color:var(--ink)}
.dvs--dark .dvs-prose p{color:var(--on-dark-muted)}

/* ================================================================ Hero */
.dvs-hero{position:relative;isolation:isolate;overflow:hidden;color:var(--on-dark);background:var(--forest-deep);padding-block:clamp(7rem,calc(11 * var(--dv-vw,1vw)),9rem) 0}
.dvs-hero::before{content:"";position:absolute;inset:-30%;z-index:-2;background:radial-gradient(40% 40% at 78% 40%,rgba(181,211,90,.28),transparent 62%),radial-gradient(42% 42% at 12% 80%,rgba(139,44,121,.5),transparent 60%);filter:blur(50px);animation:mesh 22s ease-in-out infinite alternate}
.dvs-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:center}
@media (max-width:940px) and (max-width:1120.98px),(max-width:940px) and (min-width:1400px),(max-width:940px) and (hover:none),(max-width:940px) and (pointer:coarse),(max-width:940px) and (pointer:none){.dvs-hero-grid{grid-template-columns:1fr}}
.dvs-crumb{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin-bottom:1.4rem;font-size:var(--s-xs);color:var(--on-dark-muted);animation:rise .8s var(--ease) both}
.dvs-crumb a{color:inherit;text-decoration:none;transition:color .3s}
.dvs-crumb a:hover{color:var(--leaf)}
.dvs-crumb svg.lucide{width:13px;height:13px;opacity:.55}
.dvs-kick{display:inline-flex;align-items:center;gap:.55rem;padding:.42rem .95rem;border-radius:999px;background:rgba(181,211,90,.13);border:1px solid rgba(181,211,90,.4);font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--leaf);animation:rise .9s var(--ease) both}
.dvs-kick svg.lucide{width:14px;height:14px}
.dvs-hero h1{margin-top:1.2rem;font-family:var(--f-display);font-weight:450;font-size:clamp(2.7rem,calc(6.6 * var(--dv-vw,1vw)),5rem);line-height:.94;letter-spacing:-.055em;animation:rise 1s .08s var(--ease) both}
.dvs-hero h1 em{display:block;margin-top:.5rem;font-family:var(--f-serif);font-style:italic;font-size:.44em;letter-spacing:-.01em;color:var(--leaf)}
.dvs-lede{margin-top:1.4rem;max-width:50ch;font-size:clamp(1.02rem,calc(1.5 * var(--dv-vw,1vw)),1.16rem);line-height:1.65;color:var(--on-dark-muted);animation:rise 1s .18s var(--ease) both}
.dvs-ctas{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.9rem;animation:rise 1s .28s var(--ease) both}
.dvs-hero-art{position:relative;width:100%;max-width:30rem;margin-inline:auto;animation:rise 1.2s .15s var(--ease) both}
.dvs-hero-art > svg{display:block;width:100%;height:auto;filter:drop-shadow(0 40px 60px rgba(0,0,0,.55))}
.dvs-hero-art .orbit{position:absolute;inset:-6%;border-radius:50%;border:1px dashed rgba(242,246,240,.18);animation:spin 90s linear infinite reverse}
/* iri_svg(): the drawn iris (hero and 'iris' drawing) */

.dvs-hero-photo{position:absolute;left:-8%;bottom:-2%;width:44%;margin:0;border-radius:20px;overflow:hidden;border:4px solid var(--forest-deep);box-shadow:0 26px 50px -20px rgba(0,0,0,.7);animation:float 10s ease-in-out infinite}
.dvs .dvs-hero-photo img,.dvs-hero .dvs-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:0}
.dvs-hero-photo span{position:absolute;left:0;right:0;bottom:0;padding:.5rem .7rem;font-size:.7rem;line-height:1.3;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.78))}
@media (max-width:940px) and (max-width:1120.98px),(max-width:940px) and (min-width:1400px),(max-width:940px) and (hover:none),(max-width:940px) and (pointer:coarse),(max-width:940px) and (pointer:none){.dvs-hero-art{max-width:22rem}.dvs-hero-photo{left:-4%;width:46%}}
.dvs-figs{display:grid;grid-template-columns:repeat(4,1fr);margin-top:clamp(2.6rem,calc(5 * var(--dv-vw,1vw)),3.8rem);border-top:1px solid var(--glass-line)}
.dvs-figs--3{grid-template-columns:repeat(3,1fr)}
.dvs-figs > div{padding:1.4rem 1.2rem 1.6rem;border-left:1px solid var(--glass-line)}
.dvs-figs > div:first-child{border-left:none;padding-left:0}
.dvs-figs b{display:block;font-family:var(--f-display);font-weight:500;font-size:clamp(1.6rem,calc(3 * var(--dv-vw,1vw)),2.3rem);letter-spacing:-.04em;line-height:1;color:#fff}
.dvs-figs span{display:block;margin-top:.5rem;max-width:26ch;font-size:var(--s-xs);line-height:1.45;color:var(--on-dark-muted)}
@media (max-width:760px) and (max-width:1120.98px),(max-width:760px) and (min-width:1400px),(max-width:760px) and (hover:none),(max-width:760px) and (pointer:coarse),(max-width:760px) and (pointer:none){.dvs-figs,.dvs-figs--3{grid-template-columns:1fr 1fr}.dvs-figs > div:nth-child(3){border-left:none;padding-left:0}.dvs-figs > div:nth-child(n+3){border-top:1px solid var(--glass-line)}}

/* ============================================================ Jump nav */
.dvs-jump{position:sticky;top:var(--hh,0px);z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.dvs-jump .wrap{display:flex;gap:.3rem;overflow-x:auto;scrollbar-width:none;padding-block:.6rem}
.dvs-jump .wrap::-webkit-scrollbar{display:none}
.dvs-jump a{flex:none;padding:.5rem .95rem;border-radius:999px;font-size:var(--s-sm);color:var(--muted);text-decoration:none;transition:background .3s,color .3s}
.dvs-jump a:hover{background:var(--mint);color:var(--ink)}
.dvs-jump a.on{background:var(--forest-deep);color:#fff}

/* ======================================================== Text + media */
.dvs-tm{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:center}
.dvs-tm--rev > :first-child{order:2}
.dvs-tm--solo{grid-template-columns:minmax(0,1fr);max-width:48rem}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.dvs-tm{grid-template-columns:1fr}.dvs-tm--rev > :first-child{order:0}}
.dvs-tm--lead .dvs-prose > p:first-child{font-size:clamp(1.12rem,calc(1.8 * var(--dv-vw,1vw)),1.32rem);line-height:1.62;color:var(--ink);letter-spacing:-.01em}
.dvs--dark .dvs-tm--lead .dvs-prose > p:first-child{color:var(--on-dark)}
.dvs-media{margin:0}
.dvs-media-in{position:relative;border-radius:28px;overflow:hidden;background:var(--mint)}
.dvs .dvs-media-in img{display:block;width:100%;height:auto;max-height:34rem;object-fit:cover;border-radius:0}
.dvs-media--contain .dvs-media-in{background:#fff;border:1px solid var(--line);padding:clamp(1rem,calc(3 * var(--dv-vw,1vw)),2rem);display:grid;place-items:center}
.dvs .dvs-media--contain .dvs-media-in img{width:auto;max-width:100%;max-height:22rem;object-fit:contain;margin-inline:auto}

.dvs-media figcaption{margin-top:.75rem;font-size:var(--s-xs);line-height:1.5;color:var(--soft)}
.dvs-media .ph{min-height:18rem;border-radius:28px}
.dvs-tags{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1.5rem}
.dvs-tags span{padding:.45rem .9rem;border-radius:999px;background:var(--mint);border:1px solid rgba(13,91,59,.16);font-size:var(--s-xs);color:var(--forest);transition:transform .3s var(--ease),background .3s,color .3s}
.dvs-tags span:hover{transform:translateY(-2px);background:var(--forest);color:#fff}
.dvs--mint .dvs-tags span{background:#fff}

/* ================================================================ Note */
.dvs-note{margin-top:1.6rem;padding:1.4rem 1.5rem;border-radius:22px;background:var(--lilac);border:1px solid rgba(139,44,121,.18)}
.dvs-note-h{display:flex;align-items:center;gap:.55rem;margin:0 0 .4rem!important;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--plum)!important}
.dvs-note-h svg.lucide{width:16px;height:16px}
.dvs-note p{font-size:var(--s-sm);line-height:1.72;color:var(--ink)}
.dvs-note p + p{margin-top:.8rem}
.dvs-tm > div > .dvs-note:only-child,.dvs-tm .reveal > .dvs-note{margin-top:0}

/* =============================================================== Quote */
.dvs-quote{margin:0 auto;max-width:56rem;text-align:center}
.dv-elementor .elementor-widget .dvs .dvs-quote.dvs-quote{margin:0 auto} /* beats Elementor's figure{margin:0} in the editor */
.dvs-quote blockquote{margin:0;font-family:var(--f-serif);font-style:italic;font-size:clamp(1.6rem,calc(3.6 * var(--dv-vw,1vw)),2.7rem);line-height:1.22;letter-spacing:-.02em;text-wrap:balance;color:var(--ink)}
.dvs-quote blockquote::before{content:"\201C";display:block;font-size:2.4em;line-height:.6;color:var(--leaf)}
.dvs-quote figcaption{margin-top:1.1rem;font-size:var(--s-sm);color:var(--muted)}
.dvs--dark .dvs-quote blockquote{color:var(--on-dark)}
.dvs--dark .dvs-quote figcaption{color:var(--on-dark-muted)}

/* ================================================================ Flow */
.dvs-flow ol{position:relative;display:grid;gap:1.1rem}
.dvs-flow--n2 ol{grid-template-columns:repeat(2,minmax(0,1fr))}
.dvs-flow--n3 ol{grid-template-columns:repeat(3,minmax(0,1fr))}
.dvs-flow--n4 ol{grid-template-columns:repeat(4,minmax(0,1fr))}
.dvs-flow--n5 ol{grid-template-columns:repeat(5,minmax(0,1fr))}
.dvs-flow--n6 ol{grid-template-columns:repeat(6,minmax(0,1fr))}
.dvs-flow li{position:relative}
.dvs-flow .card{position:relative;padding:1.4rem 1.3rem;border-radius:22px;background:var(--surface);border:1px solid var(--line);height:100%}
.dvs--white .dvs-flow .card{background:var(--paper)}
.dvs-flow .k{display:block;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--plum)}
.dvs-flow h3{margin-top:.4rem;font-family:var(--f-display);font-weight:500;font-size:1.14rem;letter-spacing:-.02em;line-height:1.22}
.dvs-flow .sub{margin-top:.35rem;font-size:var(--s-sm);line-height:1.5;color:var(--muted)}
.dvs-flow .card > p:not(.sub){margin-top:.8rem;font-size:var(--s-sm);line-height:1.72;color:var(--muted)}
/* timeline: dots on a line, cards beneath */
.dvs-flow--timeline ol::before{content:"";position:absolute;left:28px;right:28px;top:27px;height:2px;background:linear-gradient(90deg,var(--forest),var(--leaf),var(--plum));opacity:.4}
.dvs-flow--timeline .dot{position:relative;z-index:1;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:2px solid var(--forest);color:var(--forest)}
.dvs-flow--timeline li:last-child .dot{border-color:var(--plum);color:var(--plum)}
.dvs-flow--timeline .card{margin-top:1.1rem;height:auto}
/* chain + loop: numbered boxes joined by arrows */
.dvs-flow--chain li:not(:last-child)::after,.dvs-flow--loop li:not(:last-child)::after{content:"";position:absolute;z-index:2;right:-.95rem;top:50%;width:.8rem;height:.8rem;border-top:2px solid var(--leaf);border-right:2px solid var(--leaf);transform:translateY(-50%) rotate(45deg)}
.dvs-flow .no{position:absolute;z-index:1;top:-.7rem;left:1.1rem;min-width:30px;height:30px;padding:0 .45rem;border-radius:999px;display:grid;place-items:center;background:var(--grad-brand);color:#fff;font:500 .75rem var(--f-mono)}
.dvs-flow .no svg.lucide{width:15px;height:15px}
.dvs-flow--chain .card,.dvs-flow--loop .card{padding-top:1.6rem}
.dvs-flow--loop .ret{position:relative;margin:1.1rem 2rem 0;height:28px;border:2px solid var(--leaf);border-top:none;border-radius:0 0 22px 22px;opacity:.85}
.dvs-flow--loop .ret span{position:absolute;left:50%;bottom:-.8rem;transform:translateX(-50%);display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .8rem;border-radius:999px;background:var(--surface);font-family:var(--f-mono);font-size:var(--s-xs);color:var(--forest);white-space:nowrap}
.dvs--paper .dvs-flow--loop .ret span{background:var(--paper)}
.dvs--mint .dvs-flow--loop .ret span{background:var(--mint)}
.dvs-flow--loop .ret svg.lucide{width:14px;height:14px}
@media (max-width:980px) and (max-width:1120.98px),(max-width:980px) and (min-width:1400px),(max-width:980px) and (hover:none),(max-width:980px) and (pointer:coarse),(max-width:980px) and (pointer:none){
  .dvs-flow ol,.dvs-flow--n2 ol,.dvs-flow--n3 ol,.dvs-flow--n4 ol,.dvs-flow--n5 ol,.dvs-flow--n6 ol{grid-template-columns:1fr;gap:1.4rem}
  .dvs-flow--timeline ol::before{left:27px;right:auto;top:0;bottom:0;width:2px;height:auto}
  .dvs-flow--timeline li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:1rem}
  .dvs-flow--timeline .card{margin-top:0}
  .dvs-flow--chain li:not(:last-child)::after,.dvs-flow--loop li:not(:last-child)::after{right:auto;left:50%;top:auto;bottom:-1.05rem;transform:translateX(-50%) rotate(135deg)}
  .dvs-flow--loop .ret{display:none}
}

/* =============================================================== Steps */
.dvs-steps{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:start}
.dvs-steps--solo{grid-template-columns:minmax(0,1fr)}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.dvs-steps{grid-template-columns:1fr}}
.dvs-steps ol{display:grid;gap:1rem;counter-reset:none}
.dvs-steps li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:1.1rem;padding:1.4rem 1.4rem 1.5rem;border-radius:24px;background:var(--surface);border:1px solid var(--line);transition:box-shadow .4s var(--ease),border-color .4s}
.dvs--white .dvs-steps li{background:var(--paper)}
.dvs-steps li:hover{box-shadow:0 22px 46px -30px rgba(8,47,32,.5);border-color:transparent}
.dvs-steps .n{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--grad-brand);color:#fff;font:500 .85rem var(--f-mono)}
.dvs-steps li:nth-child(even) .n{background:var(--grad-plum)}
.dvs-steps h3{font-family:var(--f-display);font-weight:500;font-size:1.18rem;letter-spacing:-.02em;line-height:1.2;margin-bottom:.5rem}
.dvs-steps li p{font-size:var(--s-sm);line-height:1.74;color:var(--muted)}
.dvs-steps-media{position:sticky;top:calc(var(--hh,0px) + 5rem);margin:0}
.dvs .dvs-steps-media img{display:block;width:100%;height:auto;object-fit:cover;border-radius:0}
.dvs-steps-media .dvs-media-in{border-radius:28px;overflow:hidden}
.dvs-steps-media figcaption{margin-top:.75rem;font-size:var(--s-xs);color:var(--soft)}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.dvs-steps-media{position:relative;top:0}}
/* worked example */
.dvs-steps--example .dvs-steps-list{padding:clamp(1.4rem,calc(3.5 * var(--dv-vw,1vw)),2.4rem);border-radius:30px;background:var(--forest-deep);color:var(--on-dark);position:relative;overflow:hidden;isolation:isolate}
.dvs-steps--example .dvs-steps-list::before{content:"";position:absolute;inset:-40%;z-index:-1;background:radial-gradient(40% 40% at 85% 20%,rgba(181,211,90,.25),transparent 62%);filter:blur(30px)}
.dvs-ex-h{display:flex;align-items:center;gap:.6rem;margin-bottom:1.2rem;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.09em;text-transform:uppercase;color:var(--leaf)}
.dvs-ex-h svg.lucide{width:16px;height:16px}
.dvs-steps--example li{background:rgba(255,255,255,.06)!important;border-color:var(--glass-line)}
.dvs-steps--example li p{color:var(--on-dark-muted)}

/* =============================================================== Stats */
.dvs-stats{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.dvs-stats--n4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px) and (max-width:1120.98px),(max-width:1100px) and (min-width:1400px),(max-width:1100px) and (hover:none),(max-width:1100px) and (pointer:coarse),(max-width:1100px) and (pointer:none){.dvs-stats--n4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px) and (max-width:1120.98px),(max-width:620px) and (min-width:1400px),(max-width:620px) and (hover:none),(max-width:620px) and (pointer:coarse),(max-width:620px) and (pointer:none){.dvs-stats--n4{grid-template-columns:1fr}}
.dvs-stats article{position:relative;padding:1.6rem 1.5rem 1.7rem;border-radius:26px;background:var(--surface);border:1px solid var(--line);overflow:hidden;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .4s}
.dvs--white .dvs-stats article{background:var(--paper)}
.dvs-stats article:hover{transform:translateY(-5px);box-shadow:0 26px 54px -32px rgba(8,47,32,.5);border-color:transparent}
.dvs-stats article::after{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--grad-brand)}
.dvs-stats article:nth-child(even)::after{background:var(--grad-plum)}
.dvs-stats b{display:block;font-family:var(--f-display);font-weight:500;font-size:clamp(2.4rem,calc(4.4 * var(--dv-vw,1vw)),3.4rem);line-height:.95;letter-spacing:-.05em;background:var(--grad-brand);-webkit-background-clip:text;background-clip:text;color:transparent}
.dvs-stats article:nth-child(even) b{background:var(--grad-plum);-webkit-background-clip:text;background-clip:text}
.dvs-stats .lb{display:block;margin-top:.6rem;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.06em;text-transform:uppercase;color:var(--soft)}
.dvs-stats p{margin-top:.9rem;font-size:var(--s-sm);line-height:1.68;color:var(--muted)}
.dvs-stats p + p{margin-top:.6rem}
.dvs-stats--band article{background:rgba(255,255,255,.06);border-color:var(--glass-line)}
.dvs-stats--band b{background:none;color:#fff}
.dvs-stats--band p{color:var(--on-dark-muted)}

/* =============================================================== Cards */
.dvs-cards{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.dvs-cards--c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.dvs-cards--c4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px) and (max-width:1120.98px),(max-width:1100px) and (min-width:1400px),(max-width:1100px) and (hover:none),(max-width:1100px) and (pointer:coarse),(max-width:1100px) and (pointer:none){.dvs-cards--c3,.dvs-cards--c4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px) and (max-width:1120.98px),(max-width:640px) and (min-width:1400px),(max-width:640px) and (hover:none),(max-width:640px) and (pointer:coarse),(max-width:640px) and (pointer:none){.dvs-cards,.dvs-cards--c2,.dvs-cards--c3,.dvs-cards--c4{grid-template-columns:1fr}}
.dvs-cards article{position:relative;display:flex;flex-direction:column;border-radius:26px;background:var(--surface);border:1px solid var(--line);overflow:hidden;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .4s}
.dvs--white .dvs-cards article{background:var(--paper)}
.dvs-cards article:hover{transform:translateY(-6px);box-shadow:0 26px 54px -32px rgba(8,47,32,.5);border-color:transparent}
.dvs-cards .vis{display:grid;place-items:center;aspect-ratio:4/3;background:linear-gradient(135deg,var(--mint),var(--lilac));overflow:hidden}
.dvs .dvs-cards .vis img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .9s var(--ease)}
.dvs-cards article:hover .vis img{transform:scale(1.05)}

.dvs-cards .body{padding:1.4rem 1.4rem 1.6rem}
.dvs-cards .body ul{margin:.7rem 0 0;padding-left:1.15rem;list-style:disc}.dvs-cards .body li{margin:.3rem 0;padding-left:.15rem}.dvs-cards .body li::marker{color:var(--leaf-d,#5f8f2e)}
.dvs-cards h3{font-family:var(--f-display);font-weight:500;font-size:1.16rem;letter-spacing:-.02em;line-height:1.25}
.dvs-cards p{margin-top:.6rem;font-size:var(--s-sm);line-height:1.7;color:var(--muted)}
.dvs-cards .ci{display:grid;place-items:center;width:44px;height:44px;margin:1.4rem 1.4rem 0;border-radius:14px;background:var(--mint);color:var(--forest);transition:background .4s,color .4s,transform .4s var(--ease)}
.dvs-cards article:nth-child(3n+2) .ci{background:var(--lilac);color:var(--plum)}
.dvs-cards article:hover .ci{background:var(--grad-brand);color:#fff;transform:rotate(-8deg)}
.dvs-cards .ci svg.lucide{width:21px;height:21px}
/* compact: icon beside one line of text */
.dvs-cards--compact{gap:.7rem}
.dvs-cards--compact article{flex-direction:row;align-items:flex-start;gap:.9rem;padding:1.05rem 1.15rem;border-radius:18px}
.dvs-cards--compact article:hover{transform:translateY(-3px)}
.dvs-cards--compact .ci{flex:none;width:38px;height:38px;margin:0;border-radius:12px}
.dvs-cards--compact .ci svg.lucide{width:18px;height:18px}
.dvs-cards--compact .body{padding:0;align-self:center}
.dvs-cards--compact p{margin:0;font-size:var(--s-sm);line-height:1.55;color:var(--ink)}

/* =============================================================== Gauge */
.dvs-gauge{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr);gap:clamp(1.2rem,calc(3 * var(--dv-vw,1vw)),2.4rem);align-items:center;padding:clamp(1.4rem,calc(3.5 * var(--dv-vw,1vw)),2.6rem);border-radius:32px;background:var(--surface);border:1px solid var(--line)}
.dvs--white .dvs-gauge{background:var(--paper)}
.dvs-gauge .side{padding:1.2rem 1.3rem;border-radius:20px}
.dvs-gauge .lo{background:rgba(109,143,181,.1);border:1px solid rgba(109,143,181,.28)}
.dvs-gauge .hi{background:rgba(194,71,127,.08);border:1px solid rgba(194,71,127,.24);text-align:right}
.dvs-gauge .tag{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.06em;text-transform:uppercase}
.dvs-gauge .lo .tag{color:#3f6690}
.dvs-gauge .hi .tag{color:#a3325f}
.dvs-gauge .tag svg.lucide{width:15px;height:15px}
.dvs-gauge .side p{margin-top:.55rem;font-size:var(--s-sm);line-height:1.6;color:var(--ink)}
.dvs-gauge .dial{position:relative;text-align:center}
.dvs-gauge .dial svg{width:100%;max-width:17rem;height:auto;display:block;margin-inline:auto}
.dvs-gauge .tick{stroke:rgba(18,32,25,.35);stroke-width:1.5}
.dvs-gauge .needle line{stroke:var(--ink);stroke-width:3.5;stroke-linecap:round}
.dvs-gauge .needle circle{fill:var(--ink)}
.dvs-gauge .needle{transform-box:view-box;transform-origin:120px 120px;animation:dvs-needle 6s ease-in-out infinite}
.dvs-gauge .mid{display:inline-block;margin-top:.3rem;padding:.3rem .8rem;border-radius:999px;background:var(--mint);font-family:var(--f-mono);font-size:var(--s-xs);color:var(--forest)}

@media (max-width:860px) and (max-width:1120.98px),(max-width:860px) and (min-width:1400px),(max-width:860px) and (hover:none),(max-width:860px) and (pointer:coarse),(max-width:860px) and (pointer:none){.dvs-gauge{grid-template-columns:1fr}.dvs-gauge .hi{text-align:left}.dvs-gauge .dial{order:-1}}
.dvs-bar .bar{height:16px;border-radius:999px;background:linear-gradient(90deg,#f4efe2 0%,#d6c08d 30%,#8a6630 62%,#3a250e 100%);border:1px solid var(--line)}
.dvs-bar .stops{display:flex;justify-content:space-between;margin-top:.6rem;font-size:var(--s-xs);color:var(--ink)}
.dvs-bar .stops small{display:block;color:var(--soft)}
.dvs-scale-cap{max-width:48rem;margin-top:1.8rem}
.dvs-scale-cap p{line-height:1.78;color:var(--muted)}

/* =============================================================== Chart */
.dvs-chart-wrap{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:start}
.dvs-chart-wrap.solo{grid-template-columns:minmax(0,1fr);max-width:46rem}
@media (max-width:940px) and (max-width:1120.98px),(max-width:940px) and (min-width:1400px),(max-width:940px) and (hover:none),(max-width:940px) and (pointer:coarse),(max-width:940px) and (pointer:none){.dvs-chart-wrap{grid-template-columns:1fr}}
.dvs-chart{position:relative;overflow:hidden;margin:0;padding:clamp(1.4rem,calc(3 * var(--dv-vw,1vw)),2rem);border-radius:28px;background:var(--surface);border:1px solid var(--line)}
.dvs-chart h3{font-family:var(--f-display);font-weight:500;font-size:1.15rem;letter-spacing:-.02em}
.dvs-chart .sub{margin-top:.25rem;font-size:var(--s-xs);color:var(--soft)}
.dvs-chart .bars{margin-top:1.4rem;display:grid;gap:.55rem}
.dvs-chart .bar{position:relative;display:grid;grid-template-columns:10.5rem minmax(0,1fr) 3.6rem;gap:.8rem;align-items:center;padding-block:.2rem}
.dvs-chart .lb{font-size:var(--s-sm)}
.dvs-chart .tr{position:relative;height:22px;background-image:linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:25% 100%}
.dvs-chart .tr i{position:absolute;left:0;top:0;bottom:0;border-radius:0 4px 4px 0;background:var(--forest);transform-origin:left;transition:background .25s}
.dvs-chart .bar:hover .tr i{background:var(--plum)}
.dvs-chart .v{font-family:var(--f-mono);font-size:var(--s-sm);text-align:right}
.dvs-chart .tip{position:absolute;right:0;top:-2rem;z-index:3;padding:.35rem .6rem;border-radius:8px;background:var(--ink);color:#fff;font-size:var(--s-xs);white-space:nowrap;opacity:0;transition:opacity .2s;pointer-events:none}
.dvs-chart .bar:hover .tip,.dvs-chart .bar:focus-visible .tip{opacity:1}
.dvs-chart .axis{display:grid;grid-template-columns:10.5rem minmax(0,1fr) 3.6rem;gap:.8rem;margin-top:.4rem}
.dvs-chart.wide .bar{grid-template-columns:10.5rem minmax(0,1fr) 6.4rem}
.dvs-chart.wide .v{white-space:nowrap}
.dvs-chart .axis div{display:flex;justify-content:space-between;font-family:var(--f-mono);font-size:.68rem;color:var(--soft)}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.dvs-chart .bar,.dvs-chart .axis{grid-template-columns:7.2rem minmax(0,1fr) 3.2rem}.dvs-chart.wide .bar{grid-template-columns:6.4rem minmax(0,1fr) 5rem}.dvs-chart.wide .v{font-size:var(--s-xs)}.dvs-chart .lb{font-size:var(--s-xs)}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ============================================================== Videos */
.dvs-videos{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.dvs-videos--n4{grid-template-columns:repeat(4,minmax(0,1fr))}
.dvs-videos--n5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px) and (max-width:1120.98px),(max-width:1100px) and (min-width:1400px),(max-width:1100px) and (hover:none),(max-width:1100px) and (pointer:coarse),(max-width:1100px) and (pointer:none){.dvs-videos,.dvs-videos--n4,.dvs-videos--n5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px) and (max-width:1120.98px),(max-width:760px) and (min-width:1400px),(max-width:760px) and (hover:none),(max-width:760px) and (pointer:coarse),(max-width:760px) and (pointer:none){.dvs-videos,.dvs-videos--n4,.dvs-videos--n5{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:460px) and (max-width:1120.98px),(max-width:460px) and (min-width:1400px),(max-width:460px) and (hover:none),(max-width:460px) and (pointer:coarse),(max-width:460px) and (pointer:none){.dvs-videos,.dvs-videos--n4,.dvs-videos--n5{grid-template-columns:1fr}}
.dvs-videos a{display:block;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--line);text-decoration:none;color:var(--ink);transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.dvs-videos a:hover{transform:translateY(-6px);box-shadow:0 26px 54px -32px rgba(8,47,32,.55)}
.dvs-videos .th{position:relative;aspect-ratio:16/9;background:var(--forest-deep);overflow:hidden}
.dvs .dvs-videos .th img{width:100%;height:100%;object-fit:cover;opacity:.85;border-radius:0;transition:transform .8s var(--ease),opacity .4s}
.dvs-videos a:hover .th img{transform:scale(1.06);opacity:1}
.dvs-videos .pl{position:absolute;inset:0;display:grid;place-items:center}
.dvs-videos .pl span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--forest-deep);box-shadow:0 12px 30px -10px rgba(0,0,0,.6)}
.dvs-videos .pl svg.lucide{width:22px;height:22px;margin-left:3px}
.dvs-videos .tt{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;padding:.95rem 1rem;font-family:var(--f-display);font-weight:500;font-size:.95rem;line-height:1.3}
.dvs-videos .tt svg.lucide{flex:none;width:15px;height:15px;color:var(--soft)}

/* ============================================================== Person */
.dvs-person{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);gap:clamp(1.6rem,calc(4 * var(--dv-vw,1vw)),3.4rem);align-items:center;padding:clamp(1.8rem,calc(4.5 * var(--dv-vw,1vw)),3.4rem);border-radius:36px;background:var(--forest-deep);color:var(--on-dark)}
.dvs-person::before{content:"";position:absolute;inset:-30%;z-index:-1;background:radial-gradient(40% 40% at 20% 30%,rgba(181,211,90,.32),transparent 62%),radial-gradient(44% 44% at 85% 75%,rgba(139,44,121,.55),transparent 60%);filter:blur(46px);animation:mesh 21s ease-in-out infinite alternate}
@media (max-width:800px) and (max-width:1120.98px),(max-width:800px) and (min-width:1400px),(max-width:800px) and (hover:none),(max-width:800px) and (pointer:coarse),(max-width:800px) and (pointer:none){.dvs-person{grid-template-columns:1fr}}
.dvs-person figure{margin:0}
.dvs .dvs-person figure img{display:block;width:100%;max-width:18rem;margin-inline:auto;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:26px;border:1px solid var(--glass-line)}
.dvs-person .eyebrow{color:var(--leaf)}
.dvs-person h2{margin-top:.8rem;font-family:var(--f-display);font-weight:450;font-size:clamp(1.8rem,calc(3.6 * var(--dv-vw,1vw)),2.6rem);letter-spacing:-.04em;line-height:1.05}
.dvs-person p{margin-top:1rem;line-height:1.72;color:var(--on-dark-muted)}
.dvs-person .creds{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.4rem}
.dvs-person .creds span{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1rem;border-radius:999px;background:var(--glass);border:1px solid var(--glass-line);font-size:var(--s-sm)}
.dvs-person .creds svg.lucide{width:15px;height:15px;color:var(--leaf)}
.dvs-person .foot{margin-top:1.6rem;padding-top:1.3rem;border-top:1px solid var(--glass-line)}
.dvs-person .foot p{margin:0;color:var(--on-dark)}
.dvs .dvs-person .foot a{color:var(--leaf);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ========================================================= Prev / next */
.dvs-pn{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:620px) and (max-width:1120.98px),(max-width:620px) and (min-width:1400px),(max-width:620px) and (hover:none),(max-width:620px) and (pointer:coarse),(max-width:620px) and (pointer:none){.dvs-pn{grid-template-columns:1fr}}
.dvs-pn a{display:flex;align-items:center;gap:1rem;padding:1.3rem 1.4rem;border-radius:24px;background:var(--paper);border:1px solid var(--line);text-decoration:none;transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.dvs-pn a:hover{transform:translateY(-4px);box-shadow:0 20px 44px -26px rgba(8,47,32,.5)}
.dvs-pn a.nx{flex-direction:row-reverse;text-align:right}
.dvs-pn .ic{flex:none;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:var(--mint);color:var(--forest)}
.dvs-pn small{display:block;font-size:var(--s-xs);letter-spacing:.06em;text-transform:uppercase;color:var(--soft)}
.dvs-pn b{display:block;margin-top:.2rem;font-family:var(--f-display);font-weight:500;letter-spacing:-.02em;color:var(--ink)}

/* ================================================================= Art */

/* ===================================================== Refinements */
/* consecutive paragraphs always get breathing room */
.dvs-scale-cap p + p,.dvs-cards p + p,.dvs-steps li p + p,.dvs-flow .card p + p,.dvs-intro p + p{margin-top:.9rem}
/* long text under a meter reads in two columns instead of half-width */
.dvs-scale-cap{max-width:none;margin-top:2rem}
@media (min-width:900px) and (max-width:1120.98px),(min-width:900px) and (min-width:1400px),(min-width:900px) and (hover:none),(min-width:900px) and (pointer:coarse),(min-width:900px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){.dvs-scale-cap{columns:2;column-gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4rem)}.dvs-scale-cap p{break-inside:avoid-column}}
/* a drawing beside text sits in a framed panel so it never floats in empty space */

/* an odd last card spans the row instead of sitting alone */
.dvs-cards--c2 article:last-child:nth-child(2n+1),
.dvs-cards--c3 article:last-child:nth-child(3n+1),
.dvs-cards--c4 article:last-child:nth-child(4n+1){grid-column:1/-1}
@media (max-width:1100px) and (max-width:1120.98px),(max-width:1100px) and (min-width:1400px),(max-width:1100px) and (hover:none),(max-width:1100px) and (pointer:coarse),(max-width:1100px) and (pointer:none){.dvs-cards--c3 article:last-child:nth-child(3n+1){grid-column:auto}.dvs-cards--c3 article:last-child:nth-child(2n+1){grid-column:1/-1}}
@media (max-width:640px) and (max-width:1120.98px),(max-width:640px) and (min-width:1400px),(max-width:640px) and (hover:none),(max-width:640px) and (pointer:coarse),(max-width:640px) and (pointer:none){.dvs-cards article:last-child{grid-column:auto!important}}
/* phones: step number above the text so the paragraph gets the full width */
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.dvs-steps li{grid-template-columns:1fr;gap:.8rem}.dvs-steps .n{width:44px;height:44px;border-radius:14px}}

/* =========================================================== Programme */
/* (section-programme.php: acronym, explorer, wheel, booking) */

/* lists inside prose */
.dvs .dvs-prose ul{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.75rem}
.dvs .dvs-prose ul + p{margin-top:1.1rem}
.dvs .dvs-prose li{position:relative;padding-left:1.45rem;line-height:1.72;color:var(--muted)}
.dvs .dvs-prose li::before{content:"";position:absolute;left:.1rem;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--leaf);box-shadow:0 0 0 3px rgba(181,211,90,.25)}
.dvs .dvs-prose li strong,.dvs .dvs-prose p > strong:first-child{color:var(--ink);font-weight:600}
.dvs-prose--lead > p:first-child{font-size:clamp(1.12rem,calc(1.8 * var(--dv-vw,1vw)),1.32rem);line-height:1.62;color:var(--ink);letter-spacing:-.01em}

/* acronym: letters on a dark panel beside the text */
.dvs-acr{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:center}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.dvs-acr{grid-template-columns:1fr}}
.dvs-acr-fig{position:relative;isolation:isolate;overflow:hidden;margin:0;padding:clamp(1.3rem,calc(3 * var(--dv-vw,1vw)),2.2rem);border-radius:32px;background:var(--forest-deep);color:var(--on-dark)}
.dvs-acr-fig::before{content:"";position:absolute;inset:-30%;z-index:-1;background:radial-gradient(40% 40% at 82% 18%,rgba(181,211,90,.3),transparent 60%),radial-gradient(45% 45% at 10% 92%,rgba(139,44,121,.5),transparent 60%);filter:blur(30px);animation:mesh 22s ease-in-out infinite alternate}
.dvs-acr-letters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.dvs-acr-letters div{padding:1.1rem 1.2rem 1.25rem;border-radius:22px;background:rgba(255,255,255,.06);border:1px solid var(--glass-line);transition:transform .5s var(--ease),background .5s}
.dvs-acr-letters div:hover{transform:translateY(-4px);background:rgba(255,255,255,.11)}
.dvs-acr-letters b{display:block;font-family:var(--f-display);font-weight:500;font-size:clamp(3.4rem,calc(7 * var(--dv-vw,1vw)),5.2rem);line-height:.9;letter-spacing:-.06em;background:linear-gradient(135deg,#f2f6f0 10%,#b5d35a 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
.dvs-acr-letters span{display:block;margin-top:.75rem;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--leaf)}
.dvs-acr-fig figcaption{margin-top:1.3rem;font-family:var(--f-serif);font-style:italic;font-size:clamp(1.15rem,calc(1.8 * var(--dv-vw,1vw)),1.42rem);line-height:1.35;color:var(--on-dark)}

/* explorer: tab list + open item (wide), accordion (phones) */
.dvx{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:clamp(1.5rem,calc(3.5 * var(--dv-vw,1vw)),3rem);align-items:start}
.dvx-nav{position:sticky;top:calc(var(--hh,80px) + 4.5rem);display:flex;flex-direction:column;gap:.25rem;padding:.5rem;border-radius:26px;background:var(--surface);border:1px solid var(--line)}
.dvs--white .dvx-nav{background:var(--paper)}
.dvx-nav button,.dvx-acc{display:grid;grid-template-columns:1.7rem 34px minmax(0,1fr);align-items:center;gap:.6rem;width:100%;padding:.5rem .65rem;border:0;border-radius:18px;background:transparent;font:inherit;text-align:left;color:var(--muted);cursor:pointer;transition:background .3s,color .3s}
.dvx-nav button:hover{background:var(--mint);color:var(--ink)}
.dvx-nav button[aria-selected="true"]{background:var(--forest-deep);color:#fff}
.dvx .n{font-family:var(--f-mono);font-size:var(--s-xs);color:var(--plum)}
.dvx .ic{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--mint);color:var(--forest);transition:background .3s,color .3s}
.dvx .ic svg.lucide{width:17px;height:17px}
.dvx .nm{font-size:var(--s-sm);font-weight:500;line-height:1.3}
.dvx-nav [aria-selected="true"] .n,.dvx-acc[aria-expanded="true"] .n{color:var(--leaf)}
.dvx-nav [aria-selected="true"] .ic,.dvx-acc[aria-expanded="true"] .ic{background:rgba(181,211,90,.18);color:var(--leaf)}
.dvx-panels{display:grid;gap:1rem;min-width:0}
.dvx-panel{outline:0;scroll-margin-top:calc(var(--hh,80px) + 5.5rem)}
.dvx-acc{display:none}
.dvx-body{padding:clamp(1.5rem,calc(3 * var(--dv-vw,1vw)),2.6rem);border-radius:28px;background:var(--surface);border:1px solid var(--line);box-shadow:0 30px 60px -44px rgba(8,47,32,.4)}
.dvs--white .dvx-body{background:var(--paper)}
.dvx-body::after{content:"";display:table;clear:both}
.dvx-head{display:flex;align-items:baseline;gap:.9rem;margin-bottom:1.3rem}
.dvx-head .k{flex:none;font-family:var(--f-display);font-weight:500;font-size:clamp(2.4rem,calc(4 * var(--dv-vw,1vw)),3.3rem);line-height:.9;letter-spacing:-.05em;color:rgba(13,91,59,.2)}
.dvx-head h3{font-family:var(--f-display);font-weight:500;font-size:clamp(1.45rem,calc(2.5 * var(--dv-vw,1vw)),1.95rem);line-height:1.12;letter-spacing:-.03em}
.dvx-fig{float:right;width:min(42%,300px);margin:0 0 1.2rem 1.8rem;padding:.6rem;border-radius:22px;background:var(--paper);border:1px solid var(--line)}
.dvs--white .dvx-fig{background:var(--surface)}
.dvs .dvx-fig img{display:block;width:100%;height:auto;max-height:22rem;object-fit:contain;border-radius:15px}
.dvx-body .dvs-prose p{font-size:var(--s-md)}
.dvx-more{clear:both;display:inline-flex;align-items:center;gap:.5rem;margin-top:1.6rem;padding:.75rem 1.15rem;border-radius:999px;background:var(--forest-deep);color:#fff;font-size:var(--s-sm);font-weight:500;text-decoration:none;transition:transform .35s var(--ease),background .35s}
.dvx-more:hover{transform:translateX(4px);background:var(--forest)}
.dvx-more svg.lucide{width:16px;height:16px}
.dvx:not(.is-ready){grid-template-columns:1fr}
.dvx:not(.is-ready) .dvx-nav{display:none}
@media (min-width:861px) and (max-width:1120.98px),(min-width:861px) and (min-width:1400px),(min-width:861px) and (hover:none),(min-width:861px) and (pointer:coarse),(min-width:861px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){.dvx.is-ready .dvx-panel:not(.on){display:none}}
@media (prefers-reduced-motion:no-preference){.dvx.is-ready .dvx-panel.on .dvx-body{animation:dvx-in .5s var(--ease)}}
@keyframes dvx-in{from{opacity:0;transform:translateY(14px)}}
@media (max-width:860px) and (max-width:1120.98px),(max-width:860px) and (min-width:1400px),(max-width:860px) and (hover:none),(max-width:860px) and (pointer:coarse),(max-width:860px) and (pointer:none){
  .dvx{grid-template-columns:1fr}
  .dvx-nav{display:none}
  .dvx-panels{gap:.55rem}
  .dvx.is-ready .dvx-acc{display:grid;grid-template-columns:1.6rem 34px minmax(0,1fr) 18px;padding:.75rem .8rem;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink)}
  .dvs--white .dvx.is-ready .dvx-acc{background:var(--paper)}
  .dvx-acc[aria-expanded="true"]{background:var(--forest-deep)!important;color:#fff!important;border-color:transparent!important}
  .dvx-acc .chev{width:18px;height:18px;transition:transform .3s var(--ease)}
  .dvx-acc[aria-expanded="true"] .chev{transform:rotate(180deg)}
  .dvx.is-ready .dvx-panel:not(.on) .dvx-body{display:none}
  .dvx.is-ready .dvx-head{display:none}
  .dvx.is-ready .dvx-body{margin-top:.5rem}
  .dvx-body{padding:1.2rem}
  .dvx-fig{float:none;width:100%;margin:0 0 1.1rem}
}

/* wheel: factors around one goal */
.dvs-wheel-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:center}
@media (max-width:1000px) and (max-width:1120.98px),(max-width:1000px) and (min-width:1400px),(max-width:1000px) and (hover:none),(max-width:1000px) and (pointer:coarse),(max-width:1000px) and (pointer:none){.dvs-wheel-grid{grid-template-columns:1fr}}
.dvs .dvs-wheel-lead{margin-top:1.5rem;padding-left:1rem;border-left:3px solid var(--leaf);font-family:var(--f-serif);font-style:italic;font-size:clamp(1.2rem,calc(2 * var(--dv-vw,1vw)),1.45rem);line-height:1.35;color:var(--ink)}
.dvs--dark .dvs-wheel-lead{color:var(--on-dark)}
.dvs-wheel{margin:0}
.dvs-wheel .ring{position:relative;width:min(100%,34rem);aspect-ratio:1;margin-inline:auto}
.dvs-wheel .spokes{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.dvs-wheel .orbit{fill:none;stroke:rgba(181,211,90,.3);stroke-width:.4;stroke-dasharray:1.2 2.4;transform-box:view-box;transform-origin:50% 50%;animation:spin 90s linear infinite}
.dvs-wheel .orbit.o2{stroke:rgba(242,246,240,.12);animation-direction:reverse}
.dvs-wheel .spokes line{stroke:rgba(181,211,90,.45);stroke-width:.45}
.dvs--white .dvs-wheel .spokes line,.dvs--paper .dvs-wheel .spokes line{stroke:rgba(13,91,59,.3)}
.dvs-wheel .core{position:absolute;inset:32%;display:grid;place-content:center;text-align:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d9ec9c,#b5d35a 45%,#3c8a4e);color:var(--forest-deep);box-shadow:0 0 0 14px rgba(181,211,90,.12),0 0 90px rgba(181,211,90,.35);animation:breathe 7s ease-in-out infinite}
.dvs-wheel .core b{font-family:var(--f-display);font-weight:500;font-size:clamp(1.3rem,calc(2.6 * var(--dv-vw,1vw)),2rem);letter-spacing:-.03em;line-height:1}
.dvs-wheel .core span{display:block;max-width:9.5em;margin:.4rem auto 0;font-size:.74rem;line-height:1.3}
.dvs-wheel ul{list-style:none;margin:0;padding:0}
.dvs-wheel li{position:absolute;transform:translate(-50%,-50%)}
.dvs-wheel li span{display:block;padding:.45rem .85rem;border-radius:999px;white-space:nowrap;font-size:.82rem;font-weight:500;color:var(--on-dark);background:rgba(8,47,32,.75);border:1px solid var(--glass-line);backdrop-filter:blur(6px);transition:background .3s,color .3s,transform .3s var(--ease)}
.dvs-wheel li span:hover{background:var(--leaf);color:var(--forest-deep);transform:scale(1.06)}
.dvs--white .dvs-wheel li span,.dvs--paper .dvs-wheel li span{color:var(--forest-deep);background:#fff;border-color:var(--line)}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
  .dvs-wheel .spokes line{stroke-dasharray:90;stroke-dashoffset:90;animation:draw linear both;animation-timeline:view();animation-range:entry 30% cover 50%}
  .dvs-wheel li span{animation:reveal linear both;animation-timeline:view();animation-range:entry 10% cover 40%}
}
}
@media (max-width:620px) and (max-width:1120.98px),(max-width:620px) and (min-width:1400px),(max-width:620px) and (hover:none),(max-width:620px) and (pointer:coarse),(max-width:620px) and (pointer:none){
  .dvs-wheel .ring{aspect-ratio:auto;width:100%}
  .dvs-wheel .spokes{display:none}
  .dvs-wheel .core{position:relative;inset:auto;width:11rem;height:11rem;margin:0 auto 1.5rem}
  .dvs-wheel ul{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
  .dvs-wheel li{position:static;transform:none}
}

/* booking band */
.dvs-booking .cta-body a{color:var(--leaf);text-underline-offset:3px}
.dvs-booking .cta-body strong{color:var(--on-dark)}

/* IDEL drawing: tests light up as the sweep passes, data flows to the core */

/* ===================================================== Refinements 2 */
/* 5 cards in 3 columns: 3 + 2, the last two sharing the row */
@media (min-width:1101px) and (max-width:1120.98px),(min-width:1101px) and (min-width:1400px),(min-width:1101px) and (hover:none),(min-width:1101px) and (pointer:coarse),(min-width:1101px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){
  .dvs-cards--c3:has(> article:last-child:nth-child(3n+2)){grid-template-columns:repeat(6,minmax(0,1fr))}
  .dvs-cards--c3:has(> article:last-child:nth-child(3n+2)) > article{grid-column:span 2}
  .dvs-cards--c3:has(> article:last-child:nth-child(3n+2)) > article:nth-last-child(-n+2){grid-column:span 3}
}
/* two videos share the full width */
@media (min-width:461px) and (max-width:1120.98px),(min-width:461px) and (min-width:1400px),(min-width:461px) and (hover:none),(min-width:461px) and (pointer:coarse),(min-width:461px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){.dvs-videos--n2{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* acronym letters in one row when there is room */
@media (min-width:1101px) and (max-width:1120.98px),(min-width:1101px) and (min-width:1400px),(min-width:1101px) and (hover:none),(min-width:1101px) and (pointer:coarse),(min-width:1101px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){.dvs-acr-letters{grid-template-columns:repeat(4,minmax(0,1fr))}.dvs-acr-letters div{padding:1rem .85rem 1.1rem}.dvs-acr-letters span{font-size:.66rem;letter-spacing:.03em}}
/* wheel heading beside the wheel */
.dvs-wheel-grid .dvs-head{margin-bottom:0}

/* ======================================== Card drawings (explorer figures) */
/* Base styles are the finished state, so reduced motion shows a complete picture. */

/* ART: each stressor in turn sends a pulse to the nervous system */

/* metabolic typing: one plate, a different balance for each person */

/* posture: a sway-back posture lines up on the plumb line once the feet send a corrected image */

/* ======================================== Case map, compare, sources */
.dvs-pairs{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,calc(4.5 * var(--dv-vw,1vw)),4rem);align-items:start}
.dvs-pairs > .dvs-pairs-card:only-child{grid-column:1 / -1}
@media (max-width:1000px) and (max-width:1120.98px),(max-width:1000px) and (min-width:1400px),(max-width:1000px) and (hover:none),(max-width:1000px) and (pointer:coarse),(max-width:1000px) and (pointer:none){.dvs-pairs{grid-template-columns:1fr}}
.dvs-pairs-card{position:relative;overflow:hidden;isolation:isolate;padding:clamp(1.4rem,calc(3.2 * var(--dv-vw,1vw)),2.3rem);border-radius:30px;background:var(--forest-deep);color:var(--on-dark)}
.dvs-pairs-card::before{content:"";position:absolute;inset:-40%;z-index:-1;background:radial-gradient(38% 38% at 88% 12%,rgba(181,211,90,.22),transparent 62%),radial-gradient(30% 30% at 8% 96%,rgba(214,120,196,.16),transparent 60%);filter:blur(30px)}
.dvs-pairs-labels,.dvs-pairs li{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1.15fr);align-items:center;gap:.6rem}
.dvs-pairs-labels{margin-bottom:.7rem;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--on-dark-muted)}
.dvs-pairs-labels span:last-child{grid-column:3}
.dvs-pairs ol{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.dvs-pairs .l,.dvs-pairs .r{height:100%;display:flex;align-items:center;gap:.75rem;padding:.95rem 1.05rem;border-radius:18px;font-size:var(--s-sm);line-height:1.45}
.dvs-pairs .l{background:rgba(255,255,255,.07);border:1px solid var(--glass-line);color:#fff;font-weight:500}
.dvs-pairs .r{background:rgba(181,211,90,.14);border:1px solid rgba(181,211,90,.32);color:var(--on-dark)}
.dvs-pairs .ic{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(214,120,196,.2);color:#f0c6e7}
.dvs-pairs .ic svg.lucide{width:17px;height:17px}
.dvs-pairs .arr{display:grid;place-items:center;color:var(--leaf)}
.dvs-pairs .arr svg.lucide{width:20px;height:20px}
.dvs-pairs-more{margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid var(--glass-line)}
.dvs-pairs-more p{font-size:var(--s-sm);color:var(--on-dark-muted)}
.dvs-pairs-more .dvs-tags{margin-top:.7rem}
.dvs-pairs-more .dvs-tags span{background:rgba(255,255,255,.08);border-color:var(--glass-line);color:var(--on-dark)}
@media (max-width:620px) and (max-width:1120.98px),(max-width:620px) and (min-width:1400px),(max-width:620px) and (hover:none),(max-width:620px) and (pointer:coarse),(max-width:620px) and (pointer:none){
  .dvs-pairs-labels{display:none}
  .dvs-pairs li{grid-template-columns:1fr;gap:0}
  .dvs-pairs .l{border-radius:18px 18px 0 0}
  .dvs-pairs .r{border-radius:0 0 18px 18px;border-top:0}
  .dvs-pairs .arr{display:none}
}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){.dvs-pairs li{animation:reveal linear both;animation-timeline:view();animation-range:entry 0% entry calc(45% + var(--i) * 12%)}}
  .dvs-pairs .arr svg{animation:dva-nudge 2.4s ease-in-out infinite}
}
@keyframes dva-nudge{0%,100%{transform:translateX(-3px)}50%{transform:translateX(4px)}}

.dvs-cmp{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);align-items:stretch}
.dvs-cmp article{padding:clamp(1.4rem,calc(3 * var(--dv-vw,1vw)),2.2rem);border-radius:28px;border:1px solid var(--line)}
.dvs-cmp-before{background:var(--paper)}
.dvs--paper .dvs-cmp-before{background:var(--surface)}
.dvs-cmp-after{background:var(--forest-deep);border-color:transparent!important;box-shadow:0 34px 70px -40px rgba(8,47,32,.65)}
.dvs-cmp header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.1rem}
.dvs-cmp header h3{font-family:var(--f-display);font-weight:500;font-size:clamp(1.3rem,calc(2.2 * var(--dv-vw,1vw)),1.65rem);letter-spacing:-.03em}
.dvs-cmp .ic{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(139,44,121,.1);color:var(--plum)}
.dvs-cmp-after .ic{background:rgba(181,211,90,.18);color:var(--leaf)}
.dvs-cmp .ic svg.lucide{width:20px;height:20px}
.dvs-cmp-before .dvs-prose p{color:var(--muted)}
.dvs-cmp-after h3,.dvs-cmp-after .dvs-prose p{color:var(--on-dark)}
.dvs-cmp-after .dvs-prose p:first-child{color:#fff}
.dvs-cmp-arrow{align-self:center;justify-self:center;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--leaf);color:var(--forest-deep);box-shadow:0 0 0 8px rgba(181,211,90,.18)}
.dvs-cmp-arrow svg.lucide{width:20px;height:20px}
@media (max-width:860px) and (max-width:1120.98px),(max-width:860px) and (min-width:1400px),(max-width:860px) and (hover:none),(max-width:860px) and (pointer:coarse),(max-width:860px) and (pointer:none){
  .dvs-cmp{grid-template-columns:1fr;gap:.9rem}
  .dvs-cmp-arrow{transform:rotate(90deg)}
}

.dvs-src{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1rem 2.5rem;padding:clamp(1.3rem,calc(3 * var(--dv-vw,1vw)),2rem);border-radius:24px;border:1px solid var(--line);background:var(--paper)}
.dvs--paper .dvs-src{background:var(--surface)}
.dvs-src .h{display:flex;align-items:center;gap:.5rem;margin-bottom:.7rem;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--forest)}
.dvs-src .h svg.lucide{width:15px;height:15px}
.dvs-src ul{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.dvs-src li{position:relative;padding-left:1rem;font-size:var(--s-sm);line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.dvs-src li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--leaf)}
.dvs-src a{color:var(--forest);text-decoration:underline;text-underline-offset:3px}
/* ART muscle test: the arm gives way while the test vial is near */

@keyframes dva-sigon{0%,32%,86%,100%{opacity:0}38%,80%{opacity:1}}

/* a long centre word wraps inside the circle instead of spilling out */
.dvs-wheel .core b{display:block;max-width:7.5em;margin-inline:auto}
@media (max-width:620px) and (max-width:1120.98px),(max-width:620px) and (min-width:1400px),(max-width:620px) and (hover:none),(max-width:620px) and (pointer:coarse),(max-width:620px) and (pointer:none){.dvs-wheel .core b{font-size:1.15rem}}
/* hero with a photograph and no drawing: the photo is the main visual */
.dvs-hero-art.is-photo{max-width:36rem}
.dvs-hero-art.is-photo .orbit{inset:-4%;border-radius:40px}
.dvs-hero-art.is-photo .dvs-hero-photo{position:relative;left:auto;bottom:auto;width:100%;border-radius:28px;border:1px solid rgba(255,255,255,.18);animation:none}
.dvs-hero-art.is-photo .dvs-hero-photo span{padding:1.6rem 1.1rem .9rem;font-size:var(--s-xs)}
@media (max-width:940px) and (max-width:1120.98px),(max-width:940px) and (min-width:1400px),(max-width:940px) and (hover:none),(max-width:940px) and (pointer:coarse),(max-width:940px) and (pointer:none){.dvs-hero-art.is-photo{max-width:none}}
/* spine: a vertebra slips out of line, its nerve is interfered with, then it is adjusted back */

@keyframes dva-sigok{0%,34%,92%,100%{opacity:0}44%,84%{opacity:1}}

/* ratios: one stacked bar per type; each nutrient keeps its colour */
.dvs-ratios{display:grid;gap:1rem;align-items:start;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr))}
.dvs-ratios article{display:flex;flex-direction:column;gap:1.1rem;padding:clamp(1.3rem,calc(2.6 * var(--dv-vw,1vw)),1.9rem);border-radius:26px;background:var(--surface);border:1px solid var(--line)}
.dvs--white .dvs-ratios article{background:var(--paper)}
.dvs-ratios header{display:flex;align-items:center;gap:.8rem}
.dvs-ratios .ic{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--mint);color:var(--forest)}
.dvs-ratios .ic svg.lucide{width:21px;height:21px}
.dvs-ratios .k{display:block;font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.dvs-ratios h3{font-family:var(--f-display);font-weight:500;font-size:clamp(1.25rem,calc(2 * var(--dv-vw,1vw)),1.5rem);letter-spacing:-.03em}
.dvs-ratios .bar{display:flex;gap:2px;height:46px;border-radius:14px;overflow:hidden;background:var(--surface)}
.dvs-ratios .bar span{display:grid;place-items:center;min-width:0;font:600 .82rem var(--f-mono);color:#fff;transform-origin:left}
.dvs-ratios .r-protein{background:#8b2c79}
.dvs-ratios .bar .r-fat{background:#e0a83a;color:#3a2a05}
.dvs-ratios .r-carb{background:#3c8a4e}
.dvs-ratios .bar.is-open span{background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.28) 0 6px,transparent 6px 12px)}
.dvs-ratios .lg{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 1rem;font-size:var(--s-xs);color:var(--muted)}
.dvs-ratios .lg li{display:flex;align-items:center;gap:.4rem;background:none!important}
.dvs-ratios .lg li::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--c,#999)}
.dvs-ratios .lg .r-protein{--c:#8b2c79}.dvs-ratios .lg .r-fat{--c:#e0a83a}.dvs-ratios .lg .r-carb{--c:#3c8a4e}
.dvs-ratios .lg b{color:var(--ink);font-weight:600}
.dvs-ratios .dvs-prose p{font-size:var(--s-sm)}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
  .dvs-ratios .bar span{animation:dva-grow linear both;animation-timeline:view();animation-range:entry 20% cover 40%}
}
}
@keyframes dva-grow{from{transform:scaleX(0)}}

/* fuel analogy: petrol pumped into a diesel car, which stalls */

@keyframes dva-flowon{0%,48%{opacity:1}54%,100%{opacity:0}}

@keyframes dva-puffon{0%{visibility:visible}52%{visibility:hidden}}

/* dark-field: red cells drift, a white cell chases a bacterium across the field */

/* thermal: a scan passes over a heat map; one warmer area pulses */

/* figures in fours: a lone last card spans the row instead of sitting orphaned */
@media (min-width:1101px) and (max-width:1120.98px),(min-width:1101px) and (min-width:1400px),(min-width:1101px) and (hover:none),(min-width:1101px) and (pointer:coarse),(min-width:1101px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){
  .dvs-stats:has(> article:nth-child(5)){grid-template-columns:repeat(4,minmax(0,1fr))}
  .dvs-stats > article:last-child:nth-child(4n+1){grid-column:1 / -1;display:grid;grid-template-columns:minmax(9rem,auto) minmax(0,1fr);column-gap:2rem;align-items:center}
  .dvs-stats > article:last-child:nth-child(4n+1) p{margin-top:0;grid-row:1 / span 2;grid-column:2}
}
/* elements: mineral and metal tiles rise out of a hair sample */

@media (min-width:1101px) and (max-width:1120.98px),(min-width:1101px) and (min-width:1400px),(min-width:1101px) and (hover:none),(min-width:1101px) and (pointer:coarse),(min-width:1101px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){.dvs-videos--n7,.dvs-videos--n8{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* a single video sits at a comfortable width */
.dvs-videos--n1{grid-template-columns:minmax(0,38rem)}
/* NLS: headset waves, a scan line, coloured marks appear in turn */

/* ECG: the trace scrolls; the gaps between beats differ */

/* orthostatic test curve */

/* case: before / after images beside the account */
.dvs-case{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,calc(4.5 * var(--dv-vw,1vw)),4rem);align-items:center}
@media (max-width:1000px) and (max-width:1120.98px),(max-width:1000px) and (min-width:1400px),(max-width:1000px) and (hover:none),(max-width:1000px) and (pointer:coarse),(max-width:1000px) and (pointer:none){.dvs-case{grid-template-columns:1fr}}
.dvs-case-figs{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);align-items:center}
.dvs-case-figs--n1{grid-template-columns:1fr}
.dvs-case figure{position:relative;margin:0}
.dvs-case .im{padding:.6rem;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 24px 50px -36px rgba(8,47,32,.45)}
.dvs .dvs-case .im img{display:block;width:100%;height:auto;max-height:24rem;object-fit:contain;border-radius:14px}
.dvs-case figcaption{margin-top:.6rem;font-size:var(--s-xs);color:var(--soft);text-align:center}
.dvs-case .chip{position:absolute;z-index:1;top:-.7rem;left:1rem;padding:.3rem .75rem;border-radius:999px;font:600 var(--s-xs) var(--f-mono);letter-spacing:.06em;text-transform:uppercase;background:var(--plum);color:#fff}
.dvs-case .chip--1{background:var(--forest)}
.dvs-case-arrow{justify-self:center;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--leaf);color:var(--forest-deep)}
.dvs-case-arrow svg.lucide{width:18px;height:18px}
@media (max-width:620px) and (max-width:1120.98px),(max-width:620px) and (min-width:1400px),(max-width:620px) and (hover:none),(max-width:620px) and (pointer:coarse),(max-width:620px) and (pointer:none){.dvs-case-figs{grid-template-columns:1fr;gap:1.4rem}.dvs-case-arrow{transform:rotate(90deg)}}
/* aura: the photon glow around a fingertip flickers */

/* videos: on phones a long list shows 3 cards (4 in two columns) until "Show all" is ticked */
.dvs-videos-more{display:none;justify-content:center;margin-top:1.4rem}
.dvs-videos-more label{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1.3rem;border-radius:999px;background:var(--forest-deep);color:#fff;font-size:var(--s-sm);font-weight:500;cursor:pointer;transition:background .3s}
.dvs-videos-more label:hover{background:var(--forest)}
.dvs-videos-more input:focus-visible + label{outline:2px solid var(--plum);outline-offset:3px}
.dvs-videos-more svg.lucide{width:16px;height:16px;transition:transform .3s var(--ease)}
.dvs-videos-more .b,.dvs-videos-more :checked + label .a{display:none}
.dvs-videos-more :checked + label .b{display:inline}
.dvs-videos-more :checked + label svg.lucide{transform:rotate(180deg)}
@media (max-width:460px) and (max-width:1120.98px),(max-width:460px) and (min-width:1400px),(max-width:460px) and (hover:none),(max-width:460px) and (pointer:coarse),(max-width:460px) and (pointer:none){
  .dvs-videos-more{display:flex}
  .dvs-videos:has(+ .dvs-videos-more input:not(:checked)) > a:nth-child(n+4){display:none}
}
@media (min-width:461px) and (max-width:760px) and (max-width:1120.98px),(min-width:461px) and (max-width:760px) and (min-width:1400px),(min-width:461px) and (max-width:760px) and (hover:none),(min-width:461px) and (max-width:760px) and (pointer:coarse),(min-width:461px) and (max-width:760px) and (pointer:none){
  .dvs-videos--many + .dvs-videos-more{display:flex}
  .dvs-videos--many:has(+ .dvs-videos-more input:not(:checked)) > a:nth-child(n+5){display:none}
}

/* explorer: figure caption */
.dvx-fig figcaption{margin-top:.5rem;padding-inline:.3rem;font-size:var(--s-xs);line-height:1.45;color:var(--soft);text-align:center}

/* prose: sub-headings and numbered lists inside long text (explorer panels) */
.dvs .dvs-prose h4{margin:1.7rem 0 .2rem;font-family:var(--f-display);font-weight:500;font-size:var(--s-md);letter-spacing:-.01em;color:var(--ink)}
.dvs .dvs-prose ol{list-style:none;counter-reset:dvp;margin:.9rem 0 0;padding:0;display:grid;gap:.6rem}
.dvs .dvs-prose ol + p,.dvs .dvs-prose ol + h4{margin-top:1.4rem}
.dvs .dvs-prose ol li{counter-increment:dvp;padding-left:2.3rem}
.dvs .dvs-prose ol li::before{content:counter(dvp);top:.1em;left:0;width:1.6rem;height:1.6rem;display:grid;place-items:center;font:600 var(--s-xs) var(--f-mono);color:var(--forest-deep);background:var(--mint);box-shadow:none}

/* hypotheses (dv_section_hypotheses, inc/components/iris.php): numbered cards, research notes and their diagrams */
.ihy-idx{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem}
.ihy-idx a{display:inline-flex;align-items:center;gap:.55rem;padding:.5rem 1rem .5rem .5rem;border-radius:999px;background:var(--surface);border:1px solid var(--line);text-decoration:none;color:var(--ink);font-size:var(--s-sm);transition:border-color .3s,box-shadow .3s}
.ihy-idx a:hover{border-color:transparent;box-shadow:0 12px 26px -18px rgba(8,47,32,.6)}
.ihy-idx a b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--grad-brand);color:#fff;font:500 .72rem var(--f-mono)}
.ihy{display:grid;gap:1.2rem}
.ihy > article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:clamp(1.6rem,calc(4 * var(--dv-vw,1vw)),3.2rem);align-items:start;padding:clamp(1.6rem,calc(3.5 * var(--dv-vw,1vw)),2.6rem);border-radius:32px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 0 rgba(8,47,32,.03)}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.ihy > article{grid-template-columns:1fr}}
.ihy .num{display:flex;align-items:center;gap:.9rem}
.ihy .num b{font-family:var(--f-display);font-weight:600;font-size:3.4rem;line-height:.8;letter-spacing:-.06em;background:var(--grad-brand);-webkit-background-clip:text;background-clip:text;color:transparent}
.ihy > article:nth-child(even) .num b{background:var(--grad-plum);-webkit-background-clip:text;background-clip:text}
.ihy .num span{font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
.ihy h3{margin-top:1rem;font-family:var(--f-display);font-weight:500;font-size:clamp(1.35rem,calc(2.4 * var(--dv-vw,1vw)),1.75rem);letter-spacing:-.03em;line-height:1.15;color:var(--ink)}
.ihy .stmt{margin-top:1rem;padding-left:1.1rem;border-left:3px solid var(--leaf);font-size:clamp(1.02rem,calc(1.5 * var(--dv-vw,1vw)),1.12rem);line-height:1.7;color:var(--ink)}
.ihy > article:nth-child(even) .stmt{border-left-color:var(--plum)}
.ihy figure{margin:0;width:100%;max-width:300px;justify-self:end}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.ihy figure{justify-self:start}}
.ihy .ph{min-height:15rem;border-radius:22px}
.ishot{border-radius:22px;overflow:hidden;background:var(--mint)}
.ishot img{display:block;width:100%;height:auto}
.ishot:not(.ichart-img) img{aspect-ratio:1/1;object-fit:cover}
.ishot + figcaption,.ihy figcaption{margin-top:.7rem;font-size:var(--s-xs);color:var(--soft);line-height:1.5}

/* research note */
.ihy .inote{grid-column:1/-1}
.inote{margin-top:1.4rem;border-radius:20px;background:var(--mint);border:1px solid var(--line);overflow:hidden}
.inote summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.7rem;padding:1rem 1.2rem;font-size:var(--s-sm);font-weight:500;color:var(--forest)}
.inote summary::-webkit-details-marker{display:none}
.inote summary svg.lucide{width:17px;height:17px}
.inote summary .ch{margin-left:auto;transition:transform .35s var(--ease)}
.inote[open] summary .ch{transform:rotate(180deg)}
.inote[open] summary{border-bottom:1px solid var(--line)}
.inote .bd{padding:1.1rem 1.2rem 1.3rem}
.inote .bd p{font-size:var(--s-sm);line-height:1.75;color:var(--muted)}
.inote .bd p + p{margin-top:.9rem}

/* Lang pathway */
.ipath{margin-top:1.6rem;grid-column:1/-1}
.ipath-h{font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--plum)}
.ipath ol{margin-top:.9rem;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;counter-reset:pw}
.ipath li{position:relative;counter-increment:pw;padding:1rem .95rem;border-radius:18px;background:var(--paper);border:1px solid var(--line);font-size:var(--s-sm);line-height:1.45;color:var(--ink)}
.ipath li::before{content:counter(pw);display:grid;place-items:center;width:24px;height:24px;margin-bottom:.55rem;border-radius:50%;background:var(--grad-brand);color:#fff;font:500 .7rem var(--f-mono)}
.ipath li small{display:block;margin-top:.35rem;font-size:var(--s-xs);color:var(--soft)}
.ipath li:not(:last-child)::after{content:"";position:absolute;right:-.62rem;top:50%;width:.62rem;height:2px;background:var(--leaf)}
@media (max-width:980px) and (max-width:1120.98px),(max-width:980px) and (min-width:1400px),(max-width:980px) and (hover:none),(max-width:980px) and (pointer:coarse),(max-width:980px) and (pointer:none){.ipath ol{grid-template-columns:1fr}.ipath li:not(:last-child)::after{right:auto;left:1.5rem;top:auto;bottom:-.62rem;width:2px;height:.62rem}}

/* fibre ratio */
.iratio{margin-top:1.2rem;padding:1.2rem 1.3rem;border-radius:20px;background:var(--mint)}
.iratio .row{display:grid;grid-template-columns:8.5rem minmax(0,1fr) 6.5rem;gap:.8rem;align-items:center}
.iratio .row + .row{margin-top:.7rem}
.iratio .lb{font-size:var(--s-sm);color:var(--ink)}
.iratio .tr{position:relative;height:12px;border-radius:999px;background:rgba(13,91,59,.1)}
.iratio .tr i{position:absolute;top:0;bottom:0;border-radius:4px;background:var(--forest)}
.iratio .row:last-of-type .tr i{background:var(--soft)}
.iratio .v{font-family:var(--f-mono);font-size:var(--s-xs);color:var(--ink);text-align:right}
.iratio p{margin-top:.9rem;font-size:var(--s-xs);color:var(--muted);line-height:1.5}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.iratio .row{grid-template-columns:1fr auto}.iratio .tr{grid-column:1/-1;grid-row:2}}

/* anatomy legend */
.ianat{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}

.ianat ol{display:grid;gap:.45rem}
.ianat li{display:flex;align-items:center;gap:.7rem;font-size:var(--s-sm);color:var(--ink)}
.ianat li b{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--plum);color:var(--plum);font:600 .72rem var(--f-mono)}
.ianat li small{color:var(--soft);font-size:var(--s-xs)}

/* acute -> degenerative scale */
.iscale{margin-top:1.4rem}
.iscale .bar{height:16px;border-radius:999px;background:linear-gradient(90deg,#f4efe2 0%,#d6c08d 30%,#8a6630 62%,#3a250e 100%);border:1px solid var(--line)}
.iscale .st{display:grid;grid-template-columns:repeat(4,1fr);margin-top:.6rem}
.iscale .st span{font-size:var(--s-xs);color:var(--ink)}
.iscale .st span:nth-child(2){text-align:center;transform:translateX(-12%)}
.iscale .st span:nth-child(3){text-align:center;transform:translateX(12%)}
.iscale .st span:last-child{text-align:right}
.iscale .st small{display:block;color:var(--soft)}
.iscale-h{font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--plum)}

/* strengths / weaknesses table */
.isw{margin-top:1.3rem;border-radius:20px;border:1px solid var(--line);overflow:hidden}
.isw div{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.isw div + div{border-top:1px solid var(--line)}
.isw span{padding:.9rem 1.1rem;font-size:var(--s-sm);line-height:1.5}
.isw span:first-child{background:var(--paper);font-weight:600;color:var(--ink)}
.isw span:last-child{color:var(--muted)}
.isw .ft{display:block;padding:.75rem 1.1rem;background:var(--mint);font-size:var(--s-xs);color:var(--forest)}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.isw div{grid-template-columns:1fr}}

/* Hypothesis 2: the Jensen chart is wide and small, so show it on white at near-native size */
.ichart-img{display:block;background:#fff;border:1px solid var(--line);padding:.6rem;cursor:zoom-in}
.ichart-img img{object-fit:contain}

/* text-media mosaic: 2+ photos, the first one wide, captions over the image */
.dvs-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.dvs-mosaic figure{margin:0;border-radius:22px;overflow:hidden;position:relative;background:var(--mint)}
.dvs-mosaic figure:first-child{grid-column:span 2}
.dvs .dvs-mosaic img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;border-radius:0;transition:transform .9s var(--ease)}
.dvs .dvs-mosaic figure:first-child img{aspect-ratio:16/10;filter:grayscale(.15)}
.dvs-mosaic figure:hover img{transform:scale(1.05)}
.dvs-mosaic figcaption{position:absolute;left:0;right:0;bottom:0;padding:.7rem .9rem;font-size:.74rem;color:#fff;background:linear-gradient(transparent,rgba(4,19,13,.8))}
/* cards: a small drawing in the icon slot (iris marking glyphs) */
.dvs-cards article .ci.ci--art,.dvs-cards article:hover .ci.ci--art{width:56px;height:56px;padding:0;background:none;border-radius:0;transform:none}

/* bar chart: highlight figure under the text */
.dvs-bignum{margin-top:1.8rem;padding:1.5rem 1.6rem;border-radius:24px;background:var(--forest-deep);color:var(--on-dark)}
.dvs-bignum b{display:block;font-family:var(--f-display);font-weight:500;font-size:clamp(2.4rem,calc(5 * var(--dv-vw,1vw)),3.4rem);letter-spacing:-.05em;line-height:1}
.dvs-bignum span{display:block;margin-top:.6rem;font-size:var(--s-sm);line-height:1.5;color:var(--on-dark-muted)}

/* catalogue: filter chips (radio buttons) and a grid of links or cover cards */
.dvc-filter{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.6rem}
.dvc-filter label{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .95rem;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:var(--s-sm);color:var(--ink);cursor:pointer;transition:background .3s,color .3s,border-color .3s}
.dvc-filter label span{font:500 var(--s-xs) var(--f-mono);color:var(--soft)}
.dvc-filter label:hover{border-color:var(--forest)}
.dvc-filter input:checked + label{background:var(--forest-deep);border-color:var(--forest-deep);color:#fff}
.dvc-filter input:checked + label span{color:var(--leaf)}
.dvc-filter input:focus-visible + label{outline:2px solid var(--plum);outline-offset:2px}
.dvc-grid{list-style:none;margin:0;padding:0;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,15.5rem),1fr))}
.dvc:has(.dvc-filter input[data-k="1"]:checked) .dvc-grid > li:not([data-g="1"]){display:none}
.dvc:has(.dvc-filter input[data-k="2"]:checked) .dvc-grid > li:not([data-g="2"]){display:none}
.dvc:has(.dvc-filter input[data-k="3"]:checked) .dvc-grid > li:not([data-g="3"]){display:none}
.dvc:has(.dvc-filter input[data-k="4"]:checked) .dvc-grid > li:not([data-g="4"]){display:none}
.dvc:has(.dvc-filter input[data-k="5"]:checked) .dvc-grid > li:not([data-g="5"]){display:none}
.dvc:has(.dvc-filter input[data-k="6"]:checked) .dvc-grid > li:not([data-g="6"]){display:none}
.dvc:has(.dvc-filter input[data-k="7"]:checked) .dvc-grid > li:not([data-g="7"]){display:none}
.dvc:has(.dvc-filter input[data-k="8"]:checked) .dvc-grid > li:not([data-g="8"]){display:none}
.dvc:has(.dvc-filter input[data-k="9"]:checked) .dvc-grid > li:not([data-g="9"]){display:none}
.dvc:has(.dvc-filter input[data-k="10"]:checked) .dvc-grid > li:not([data-g="10"]){display:none}
.dvc-grid > li > a,.dvc-grid > li > div{position:relative;display:flex;align-items:center;gap:.8rem;height:100%;padding:.8rem 2.6rem .8rem .8rem;border-radius:20px;background:var(--surface);border:1px solid var(--line);color:var(--ink);text-decoration:none;transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .3s}
.dvs--white .dvc-grid > li > a,.dvs--white .dvc-grid > li > div{background:var(--paper)}
.dvc-grid > li > a:hover{transform:translateY(-3px);border-color:transparent;box-shadow:0 20px 40px -28px rgba(8,47,32,.55)}
.dvc .ic{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--mint);color:var(--forest)}
.dvc .ic svg.lucide{width:19px;height:19px}
.dvc .bd{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.dvc .k{font:500 .68rem var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--plum)}
.dvc .t{font-family:var(--f-display);font-weight:500;font-size:.98rem;line-height:1.25;letter-spacing:-.01em}
.dvc .m{margin-top:.2rem;font:500 var(--s-xs) var(--f-mono);color:var(--forest)}
.dvc .go{position:absolute;right:.9rem;top:50%;translate:0 -50%;color:var(--soft);transition:color .3s,transform .3s var(--ease)}
.dvc .go svg.lucide{width:16px;height:16px}
.dvc-grid > li > a:hover .go{color:var(--forest);transform:translate(2px,-2px)}
.dvc--covers .dvc-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,13.5rem),1fr));gap:1rem}
.dvc--covers .dvc-grid > li > a{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border-radius:24px}
.dvc--covers .cv{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--mint)}
.dvs .dvc--covers .cv img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .9s var(--ease)}
.dvc--covers a:hover .cv img{transform:scale(1.05)}
.dvc--covers .bd{padding:1rem 2.8rem 1.1rem 1.1rem;gap:.3rem}
.dvc--covers .go{top:auto;bottom:1.1rem;translate:none}
/* faq: accordion beside the heading */
@media (min-width:961px) and (max-width:1120.98px),(min-width:961px) and (min-width:1400px),(min-width:961px) and (hover:none),(min-width:961px) and (pointer:coarse),(min-width:961px) and (pointer:none),(min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){.dvs--faq > .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,calc(5 * var(--dv-vw,1vw)),4.5rem);align-items:start}.dvs--faq .dvs-head{position:sticky;top:calc(var(--hh,80px) + 2rem)}}
.dvq{display:grid;gap:.6rem}
.dvq-item{border-radius:22px;background:var(--surface);border:1px solid var(--line);transition:box-shadow .4s var(--ease)}
.dvs--white .dvq-item{background:var(--paper)}
.dvq-item[open]{box-shadow:0 24px 50px -36px rgba(8,47,32,.5)}
.dvq-item summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:2rem minmax(0,1fr) 22px;align-items:center;gap:.8rem;padding:1.1rem 1.3rem;font-family:var(--f-display);font-weight:500;font-size:1.05rem;line-height:1.3;color:var(--ink)}
.dvq-item summary::-webkit-details-marker{display:none}
.dvq-item summary .n{font:500 var(--s-xs) var(--f-mono);color:var(--plum)}
.dvq-item .pm{width:20px;height:20px;color:var(--forest);transition:transform .35s var(--ease)}
.dvq-item[open] .pm{transform:rotate(45deg)}
.dvq-item summary:focus-visible{outline:2px solid var(--plum);outline-offset:-2px;border-radius:22px}
.dvq-a{padding:0 1.3rem 1.3rem 4.1rem}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.dvq-a{padding-left:1.3rem}}
/* location: map beside the address card */
.dvl{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr);border-radius:32px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:0 30px 60px -44px rgba(8,47,32,.45)}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.dvl{grid-template-columns:1fr}}
.dvl-map{min-height:24rem;background:var(--mint)}
.dvl-map iframe{display:block;width:100%;height:100%;min-height:24rem;border:0}
.dvl-card{padding:clamp(1.6rem,calc(3 * var(--dv-vw,1vw)),2.4rem);display:flex;flex-direction:column;gap:1.1rem}
.dvl-card .pin{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:var(--grad-brand);color:#fff}
.dvl-card .addr p{font-family:var(--f-display);font-weight:500;font-size:1.15rem;line-height:1.4;letter-spacing:-.01em;color:var(--ink)}
.dvl-card .facts{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.dvl-card .facts li{display:flex;align-items:center;gap:.6rem;font-size:var(--s-sm);color:var(--muted)}
.dvl-card .facts svg.lucide{flex:none;width:16px;height:16px;color:var(--forest)}
.dvl-card .facts a{color:var(--ink);font-weight:600;text-decoration:none}
.dvl-card .hours{margin:0;border-radius:18px;background:var(--mint);padding:.4rem 1rem}
.dvl-card .hours div{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;font-size:var(--s-sm)}
.dvl-card .hours div + div{border-top:1px solid var(--line)}
.dvl-card .hours dt{color:var(--muted)}
.dvl-card .hours dd{margin:0;font:500 var(--s-xs) var(--f-mono);color:var(--ink);text-align:right}
.dvl-card .note p{font-size:var(--s-xs);color:var(--soft)}
.dvl-card .btn{align-self:flex-start}
/* prose on the dark band: bold text and links stay readable */
.dvs.dvs--dark .dvs-prose strong,.dvs.dvs--dark .dvs-prose p > strong:first-child{color:#fff}
.dvs.dvs--dark .dvs-prose a{color:var(--leaf)}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){
  .dvc--covers .dvc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
  .dvc--covers .bd{padding:.7rem .75rem .85rem}
  .dvc--covers .t{font-size:.86rem}
  .dvc--covers .go{display:none}
}
/* portrait photos in cover-cropped frames: keep the head in view (dv_media adds .is-tall) */
.dvs img.is-tall,.dvs-hero img.is-tall{object-position:50% 22%}

/* ---------------------------------------------------------------- books: cover cards and the shelf
   (dv_book_card / dv_section_bookshelf, inc/shop/books.php). A flat front cover stands as a book:
   turned slightly, with a spine shadow and a page edge; a photograph is shown whole. */
.bk-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem}
@media (max-width:1100px) and (max-width:1120.98px),(max-width:1100px) and (min-width:1400px),(max-width:1100px) and (hover:none),(max-width:1100px) and (pointer:coarse),(max-width:1100px) and (pointer:none){.bk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px) and (max-width:1120.98px),(max-width:760px) and (min-width:1400px),(max-width:760px) and (hover:none),(max-width:760px) and (pointer:coarse),(max-width:760px) and (pointer:none){.bk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}}
.bk{position:relative;display:flex;flex-direction:column;height:100%;background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .3s}
.bk:hover{transform:translateY(-4px);border-color:transparent;box-shadow:0 26px 50px -30px rgba(8,47,32,.6)}
.bk-cv{display:grid;place-items:center;aspect-ratio:1/1.02;padding:1.5rem 1.2rem 1.3rem;background:radial-gradient(70% 60% at 50% 38%,#fff 0%,rgba(255,255,255,0) 70%),linear-gradient(160deg,var(--mint),#f6f3ea)}
.bk-3d{position:relative;display:block;width:64%;transform:perspective(900px) rotateY(-16deg);transform-origin:30% 50%;transition:transform .6s var(--ease);box-shadow:16px 22px 26px -14px rgba(8,47,32,.55),2px 2px 4px rgba(8,47,32,.18);border-radius:2px 6px 6px 2px}
.bk-3d img{display:block;width:100%;height:auto;border-radius:inherit}
.bk-3d::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.28) 0,rgba(255,255,255,.22) 2.5%,rgba(0,0,0,.08) 5%,transparent 10%,transparent 92%,rgba(255,255,255,.12))}
.bk-3d::after{content:"";position:absolute;top:1.5%;bottom:1.5%;right:-6px;width:6px;border-radius:0 3px 3px 0;background:repeating-linear-gradient(180deg,#fbf8f1 0 1px,#e2dccd 1px 2px);transform:skewY(-30deg) scaleX(.9);transform-origin:left;opacity:.9}
.bk:hover .bk-3d{transform:perspective(900px) rotateY(-5deg) translateY(-3px)}
.bk-photo{display:block;width:100%;height:100%}
.bk-photo img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.bk-none{display:grid;place-items:center;width:60%;aspect-ratio:2/3;border-radius:6px;background:var(--forest);color:var(--leaf)}
.bk-none svg.lucide{width:40%;height:auto}
.bk-bd{display:flex;flex-direction:column;gap:.45rem;flex:1;padding:1.1rem 1.2rem 1.15rem}
.bk-bd .k{font:500 .68rem var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--plum)}
.bk-bd h3{font-size:1.18rem;line-height:1.15;letter-spacing:-.025em}
.bk-bd h3 a{color:var(--ink);text-decoration:none}
.bk-bd h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit} /* the whole card is the link */
.bk-bd h3 a:focus-visible{outline:none}
.bk:has(h3 a:focus-visible){outline:2px solid var(--plum);outline-offset:3px}
.bk-bd .sub{font-size:var(--s-xs);line-height:1.45;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bk-fmt{display:flex;flex-wrap:wrap;gap:.3rem;list-style:none;margin:.15rem 0 0;padding:0}
.bk-fmt li{padding:.18rem .5rem;border-radius:999px;font:500 .66rem var(--f-mono);letter-spacing:.04em;text-transform:uppercase;background:var(--mint);color:var(--forest)}
.bk-fmt li.is-p{background:var(--lilac);color:var(--plum-deep)}
.bk-ft{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:.6rem}
.bk-ft .pr{font-family:var(--f-display);font-weight:500;font-size:1.1rem;letter-spacing:-.02em;color:var(--forest-deep)}
.bk-ft .go{position:static;translate:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--forest-deep);color:#fff;transition:background .3s,transform .3s var(--ease)}
.bk-ft .go svg.lucide{width:16px;height:16px}
.bk:hover .bk-ft .go{background:var(--plum);transform:translateX(2px)}
@media (max-width:760px) and (max-width:1120.98px),(max-width:760px) and (min-width:1400px),(max-width:760px) and (hover:none),(max-width:760px) and (pointer:coarse),(max-width:760px) and (pointer:none){
  .bk-cv{padding:1rem .8rem}
  .bk-bd{padding:.85rem .85rem .9rem}
  .bk-bd h3{font-size:1rem}
  .bk-bd .sub{display:none}
}

/* ---- checklist (self-scoring, e.g. the Liver Health Checklist) ---- */
.dvk{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:2rem;align-items:start}
.dvk-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;border:0;margin:0;padding:0;min-width:0}
.dvk-item{display:flex;align-items:center;gap:.75rem;padding:.7rem .9rem;border-radius:14px;background:#fff;border:1px solid var(--line);cursor:pointer;font-size:var(--s-sm);line-height:1.35;transition:border-color .25s,background .25s}
.dvk-item:hover{border-color:rgba(13,91,59,.4)}
.dvk-item input{position:absolute;opacity:0;width:1px;height:1px}
.dvk-item .box{flex:none;width:22px;height:22px;border-radius:7px;border:1.5px solid rgba(13,91,59,.45);display:grid;place-items:center;color:transparent;background:#fff;transition:background .2s,color .2s,border-color .2s}
.dvk-item .box svg.lucide{width:14px;height:14px;stroke-width:3}
.dvk-item input:checked + .box{background:var(--forest);border-color:var(--forest);color:#fff}
.dvk-item input:focus-visible + .box{outline:2px solid var(--plum);outline-offset:2px}
.dvk-item:has(input:checked){background:var(--mint);border-color:rgba(13,91,59,.35)}
.dvk-score{position:sticky;top:7.5rem;padding:1.5rem;border-radius:22px;background:var(--forest);color:#fff}
.dvk-k{font-family:var(--f-mono);font-size:var(--s-xs);letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.dvk-n{display:flex;align-items:baseline;gap:.4rem;margin:.3rem 0 .8rem;font-family:var(--f-display)}
.dvk-n output{font-size:3.4rem;line-height:1;letter-spacing:-.03em}
.dvk-n span{font-size:1.1rem;color:rgba(255,255,255,.7)}
.dvk-bar{height:6px;border-radius:6px;background:rgba(255,255,255,.18);overflow:hidden}
.dvk-bar i{display:block;height:100%;width:0;border-radius:6px;background:var(--leaf,#9fd27a);transition:width .35s var(--ease,ease)}
.dvk-r{margin-top:1rem}
.dvk-r p{font-size:var(--s-sm);line-height:1.6;color:rgba(255,255,255,.9)}
.dvk-reset{margin-top:1rem;display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .8rem;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;font:inherit;font-size:var(--s-xs);cursor:pointer;visibility:hidden}
.dvk-reset svg.lucide{width:14px;height:14px}
.dvk.has-score .dvk-reset{visibility:visible}
@media (max-width:900px) and (max-width:1120.98px),(max-width:900px) and (min-width:1400px),(max-width:900px) and (hover:none),(max-width:900px) and (pointer:coarse),(max-width:900px) and (pointer:none){.dvk{grid-template-columns:1fr}.dvk-score{top:auto;bottom:.75rem;z-index:5;padding:1rem 1.2rem;box-shadow:0 18px 40px -20px rgba(8,47,32,.7)}.dvk-n{margin:.1rem 0 .5rem}.dvk-n output{font-size:2.4rem}}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.dvk-list{grid-template-columns:1fr}}

/* ---- flow with more than six stages: vertical at every width ---- */
.dvs-flow--long ol{grid-template-columns:1fr;gap:1.1rem;max-width:880px}
.dvs-flow--long.dvs-flow--timeline ol::before{left:27px;right:auto;top:0;bottom:0;width:2px;height:auto;background:linear-gradient(180deg,var(--forest),var(--leaf),var(--plum))}
.dvs-flow--long.dvs-flow--timeline li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:1.2rem;align-items:start}
.dvs-flow--long.dvs-flow--timeline .card{margin-top:0}

/* ---- contact: ways to reach us beside the request form (inc/contact.php) ---- */
.dvct{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(1.25rem,calc(3 * var(--dv-vw,1vw)),2.5rem);align-items:start}
.dvct-ways{display:flex;flex-direction:column;gap:.75rem}
.dvct-way{display:flex;gap:1rem;align-items:flex-start;padding:1.15rem 1.2rem;border-radius:20px;background:var(--surface);border:1px solid var(--line);color:var(--ink);text-decoration:none;transition:border-color .3s,transform .35s var(--ease),box-shadow .35s var(--ease)}
.dvs--white .dvct-way{background:var(--paper)}
a.dvct-way:hover{border-color:transparent;transform:translateY(-3px);box-shadow:0 22px 40px -28px rgba(8,47,32,.55)}
.dvct-way .ic{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--mint);color:var(--forest)}
.dvct-way:nth-child(even) .ic{background:var(--lilac);color:var(--plum)}
.dvct-way .ic svg.lucide{width:21px;height:21px}
.dvct-way>span:last-child{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.dvct-way small{font:500 .7rem var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.dvct-way b{font-family:var(--f-display);font-weight:500;font-size:1.22rem;letter-spacing:-.02em;overflow-wrap:anywhere}
.dvct-way em{font-style:normal;font-size:var(--s-sm);color:var(--muted)}
.dvct-way .addr{font-size:var(--s-sm);line-height:1.55}
.dvct-way .addr p{margin:0}
.dvct-links{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.45rem}
.dvct-links a{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:999px;border:1px solid var(--line);font-size:.8rem;font-weight:600;color:var(--forest);text-decoration:none;background:var(--surface)}
.dvct-links a:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.dvct-links svg.lucide{width:14px;height:14px}
.dvct-hours{display:grid;gap:.3rem;margin:.2rem 0 0;font-size:var(--s-sm)}
.dvct-hours div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px dashed var(--line);padding-bottom:.3rem}
.dvct-hours div:last-child{border:0;padding:0}
.dvct-hours dt{color:var(--muted)}
.dvct-hours dd{margin:0;font-weight:600;text-align:right}
.dvct-social{display:flex;gap:.4rem;margin-top:.35rem}
.dvct-social a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);color:var(--forest);background:var(--surface);transition:background .25s,color .25s,border-color .25s}
.dvct-social a:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.dvct-social svg.lucide{width:18px;height:18px}
.dvct-form{position:relative;padding:clamp(1.3rem,calc(3 * var(--dv-vw,1vw)),2.2rem);border-radius:28px;background:var(--surface);border:1px solid var(--line);box-shadow:0 40px 80px -50px rgba(8,47,32,.55);scroll-margin-top:calc(var(--hh) + 1rem)}
.dvct-form::before{content:"";position:absolute;inset:0 0 auto;height:5px;border-radius:28px 28px 0 0;background:var(--grad-brand)}
.dvct-fh{display:flex;gap:.9rem;align-items:center;margin-bottom:1.2rem}
.dvct-fh .ic{flex:none;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:var(--grad-plum);color:#fff}
.dvct-fh h3{font-size:clamp(1.5rem,calc(2.4 * var(--dv-vw,1vw)),1.9rem)}
.dvct-fh p{color:var(--muted);font-size:var(--s-sm);margin-top:.2rem}

/* the request form: a CSS-only switch shows the fields and notes of the chosen consultation */
.dvf{display:flex;flex-direction:column;gap:1rem}
.dvf-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:var(--paper);border:1px solid var(--line)}
.dvf-seg input{position:absolute;opacity:0;pointer-events:none}
.dvf-seg label{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.7rem .5rem;border-radius:999px;font-weight:600;font-size:var(--s-sm);color:var(--muted);cursor:pointer;transition:background .25s,color .25s,box-shadow .25s}
.dvf-seg label svg.lucide{width:17px;height:17px}
.dvf-seg input:checked+label{background:var(--forest);color:#fff;box-shadow:0 10px 20px -12px rgba(13,91,59,.9)}
.dvf-seg input:focus-visible+label{outline:2px solid var(--plum);outline-offset:2px}
.dvf-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}
.dvf-f{display:flex;flex-direction:column;gap:.4rem;margin:0;min-width:0}
.dvf-wide{grid-column:1/-1}
.dvf-f label{font-size:.8rem;font-weight:600;color:var(--ink)}
.dvf-f label b{color:var(--plum)}
.dvf-f label small{font-weight:400;color:var(--soft)}
.dvf input[type=text],.dvf input[type=email],.dvf input[type=tel],.dvf input[type=date],.dvf select,.dvf textarea{width:100%;min-width:0;padding:.8rem 1rem;border-radius:14px;border:1.5px solid var(--line);background:var(--paper);font:inherit;font-size:var(--s-sm);color:var(--ink);transition:border-color .25s,box-shadow .25s,background .25s}
.dvf select{appearance:none;-webkit-appearance:none;padding-right:2.4rem;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23122019' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center;cursor:pointer}
.dvf textarea{resize:vertical;min-height:110px;line-height:1.5}
.dvf input:focus,.dvf select:focus,.dvf textarea:focus{outline:0;border-color:var(--forest);background:var(--surface);box-shadow:0 0 0 4px rgba(13,91,59,.12)}
.dvf-ok{display:flex;gap:.6rem;align-items:flex-start;font-size:.85rem;color:var(--muted);cursor:pointer}
.dvf-ok input{margin-top:.2rem;width:18px;height:18px;accent-color:var(--forest);flex:none}
.dvf-go{align-self:flex-start}
.dvf-go span{display:inline-flex;align-items:center;gap:.5rem}
.dvct-book{background:var(--forest-deep)!important;border-color:var(--forest-deep)!important;color:var(--on-dark,#f2f6f0)}
.dvct-book .ic{background:rgba(181,211,90,.16)!important;color:var(--leaf)!important}
.dvct-book small{color:var(--leaf)}
.dvct-book em{color:var(--on-dark-muted,#bfd0c5)}
.dvct-book b{color:#fff}
.dvct-book .dvct-links{gap:.5rem;margin-top:.7rem}
.dvct-book .dvct-links a{padding:.5rem .95rem;font-size:.85rem;background:transparent;border-color:rgba(255,255,255,.3);color:#fff}
.dvct-book .dvct-links a:first-child{background:var(--leaf);border-color:var(--leaf);color:var(--forest-deep)}
.dvct-book .dvct-links a:hover{background:#fff;border-color:#fff;color:var(--forest-deep)}
@supports selector(:has(a)){.dvf-order{display:none}.dvf:has(option.is-order:checked) .dvf-order{display:flex}}
.dvf-note{padding:1rem 1.1rem;border-radius:16px;background:var(--mint);font-size:.88rem;line-height:1.55;color:var(--ink)}
.dvf-note p{margin:0}.dvf-note p+p{margin-top:.6rem}
.dvf-note a{color:var(--forest);font-weight:600}
.dvf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.dvf:has(input[value=online]:checked) .dvf-clinic,.dvf:has(input[value=clinic]:checked) .dvf-online{display:none}
.dvf-msg{display:flex;gap:.6rem;align-items:flex-start;padding:.9rem 1rem;border-radius:14px;font-size:var(--s-sm);font-weight:500;margin:0}
.dvf-msg svg.lucide{flex:none;width:19px;height:19px;margin-top:.1rem}
.dvf-msg.is-ok{background:var(--mint);color:var(--forest)}
.dvf-msg.is-err{background:#fbe9e9;color:#9b2c2c}
@media (max-width:960px) and (max-width:1120.98px),(max-width:960px) and (min-width:1400px),(max-width:960px) and (hover:none),(max-width:960px) and (pointer:coarse),(max-width:960px) and (pointer:none){.dvct{grid-template-columns:1fr}.dvct-ways{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}}
@media (max-width:560px) and (max-width:1120.98px),(max-width:560px) and (min-width:1400px),(max-width:560px) and (hover:none),(max-width:560px) and (pointer:coarse),(max-width:560px) and (pointer:none){.dvf-grid{grid-template-columns:1fr}.dvf-go{align-self:stretch;justify-content:center}.dvct-ways{grid-template-columns:1fr}}
@media (max-width:960px) and (max-width:1120.98px),(max-width:960px) and (min-width:1400px),(max-width:960px) and (hover:none),(max-width:960px) and (pointer:coarse),(max-width:960px) and (pointer:none){.dvct-form{order:-1}.dvct-way b{font-size:clamp(.98rem,calc(4.2 * var(--dv-vw,1vw)),1.22rem)}}

/* short or zoomed screens: the page hero fits the window (see core.css) */
.dvs-hero{padding-block:clamp(3.5rem,min(calc(9 * var(--dv-vw,1vw)),calc(12 * var(--dv-vh,1vh))),8rem) 0}
.dvs-hero h1{font-size:clamp(2.4rem,min(calc(6.6 * var(--dv-vw,1vw)),calc(10.5 * var(--dv-vh,1vh))),5rem)}
.dvs-hero-art{max-width:min(30rem,calc(64 * var(--dv-vh,1vh)))}
.dvs-hero-art.is-photo{max-width:min(36rem,calc(90 * var(--dv-vh,1vh)))}
@media (min-width:941px) and (max-height:860px) and (max-width:1120.98px),(min-width:941px) and (max-height:860px) and (min-width:1400px),(min-width:941px) and (max-height:860px) and (hover:none),(min-width:941px) and (max-height:860px) and (pointer:coarse),(min-width:941px) and (max-height:860px) and (pointer:none),(min-aspect-ratio:1400/860) and (min-width:1121px) and (max-width:1399.98px) and (hover:hover) and (pointer:fine){
  .dvs-hero .dvs-lede{font-size:1.02rem;line-height:1.55}
}
.dvct-ways>*,.dvct>*{min-width:0}
