/* Humanoid v3: shared design system for qualiabits.com (spec: docs/humanoid-v3.md).
   Part 1 = tokens + shared components (nav/HUD, index panel, locale popover, mobile menu,
   paper footer, WhatsApp button, cursor dot). Moved verbatim from the homepage CSS, in the
   original cascade order, so the homepage renders exactly as before.
   Part 2 = sub-page layer, scoped to body.hv3 (never matches the homepage). */
:root{
  /* Humanoid v3 tokens */
  --ink:#201e1f; --paper:#f4efe8; --accent:#fc4109; --pink:#ffabc8; --cobalt:#1340c8; --mustard:#c4973f;
  --cream:#f1e6cf;
  --f-display:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;
  --f-mono:"Cutive Mono",ui-monospace,Menlo,monospace;
  --f-serif:"Instrument Serif",Georgia,serif;
  --f-fat:"DM Serif Display",Georgia,serif;
  --pad:clamp(16px,2.4vw,40px);
}

/* ---- from src/film.css ---- */
.skip{position:fixed;top:-60px;left:12px;z-index:200;background:var(--paper);color:var(--ink);font-family:var(--f-mono);font-size:13px;padding:10px 14px}
.skip:focus{top:12px}
.hud{position:fixed;inset:0 0 auto 0;z-index:50;display:flex;align-items:center;gap:clamp(14px,3vw,48px);padding:18px var(--pad);color:var(--paper);transition:color .4s ease;pointer-events:none}
.hud>*{pointer-events:auto}
.hud[data-tone="dark"]{color:var(--ink)}
.hud__logo img{height:56px;width:auto;filter:drop-shadow(0 4px 6px rgba(0,0,0,.18))}
.hud__name{font-weight:600;font-size:15px;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.hud__name .dot{width:7px;height:7px}
.hud__label{font-size:14px;font-weight:600;opacity:0;transition:opacity .4s}
.hud.has-label .hud__label{opacity:1}
.hud__right{margin-left:auto;display:flex;align-items:center;gap:22px}
.hud__link{font-size:14px;font-weight:600;text-decoration:none}
.hud__link:hover{text-decoration:underline}
.pill{display:inline-flex;align-items:center;gap:10px;background:var(--pink);color:var(--ink);border:0;border-radius:999px;padding:10px 18px;font:600 14px var(--f-display);cursor:pointer;text-decoration:none}
.pill:hover{background:#ff94b9}
.burger{width:14px;height:8px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;display:inline-block}
.index{position:fixed;inset:0;z-index:60;background:rgba(32,30,31,.55);display:flex;justify-content:flex-end}
.index[hidden]{display:none}
.index__inner{width:min(460px,100%);height:100%;background:var(--pink);padding:110px 36px 36px;overflow:auto}
.index__by{font-family:var(--f-mono);font-size:13px;letter-spacing:.06em;margin-bottom:24px}
.index ol{list-style:none;counter-reset:i}
.index li{counter-increment:i;border-top:1px solid rgba(32,30,31,.25);padding:16px 0;display:grid;gap:4px}
.index li:before{content:"0" counter(i);font-family:var(--f-mono);font-size:12px}
.index li a{font-size:34px;font-weight:600;letter-spacing:-.03em;text-decoration:none}
.index li a:hover{color:var(--accent)}
.index li span{font-family:var(--f-mono);font-size:13px}
.index__jump{margin-top:28px;font-weight:600;font-size:15px}
.paper{position:relative;background:var(--paper);color:var(--ink);z-index:2}
.pill--big{font-size:17px;padding:14px 24px}
@media (max-aspect-ratio:1/1){
  .hud{gap:12px;padding:12px 14px}
  .hud__label,.hud__link{display:none}
  .hud__logo img{height:40px}
}
.tagline{font-size:clamp(20px,1.8vw,30px);font-weight:300;letter-spacing:-.02em;max-width:34ch;margin-bottom:2em}
.cols{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.cols h4{color:var(--accent);font-size:17px;margin:0 0 12px}
.cols ul{list-style:none;padding:0}
.cols li{margin-bottom:12px;display:grid}
.cols li a{font-weight:600;text-decoration:none}
.cols li a:hover{color:var(--accent)}
.cols li span{font-size:.82em;opacity:.7}
.copy{margin-top:3em;font-family:var(--f-mono);font-size:14px}
@media (max-aspect-ratio:1/1){
  .hud__link{display:none}
  .cols{grid-template-columns:1fr 1fr}
}

/* ---- from src/v4.css ---- */
.locale-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid currentColor;background:transparent;color:inherit;border-radius:999px;padding:6px 11px;font:500 13px var(--f-display);cursor:pointer;opacity:.9}
.locale-btn:hover,.locale-btn.on{background:var(--pink);color:var(--ink);border-color:var(--pink)}
.locale-btn svg{display:block}
.hud__burger{display:none;width:38px;height:38px;border-radius:50%;border:0;background:var(--pink);color:var(--ink);place-items:center;cursor:pointer;padding:0}
.loc-pop{position:fixed;top:64px;right:24px;z-index:120;width:min(360px,calc(100vw - 24px));background:var(--paper);color:var(--ink);border-radius:18px;padding:16px;box-shadow:0 24px 60px -18px rgba(20,18,19,.45);visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .18s,transform .18s;pointer-events:none}
.loc-pop.on{opacity:1;transform:none;pointer-events:auto}
.loc-lab{font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;opacity:.6;margin:4px 6px 8px}
.loc-langs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:12px}
.loc-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;max-height:300px;overflow:auto}
.loc-item{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--ink);font:400 14px var(--f-display);padding:8px 10px;border-radius:10px;cursor:pointer;text-align:left}
.loc-item:hover{background:rgba(32,30,31,.06)}
.loc-item.on{background:var(--pink)}
.loc-flag{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:11px var(--f-mono);background:rgba(32,30,31,.08);flex:none;overflow:hidden}
.loc-flag img{width:100%;height:100%;object-fit:cover}
.mobile-menu{position:fixed;inset:0;z-index:110;background:var(--paper);color:var(--ink);display:flex;flex-direction:column;transform:translateY(-102%);transition:transform .45s cubic-bezier(.7,0,.2,1);visibility:hidden}
.mobile-menu.open{transform:none;visibility:visible}
body.mm-lock{overflow:hidden}
.mm-head{display:flex;justify-content:space-between;align-items:center;padding:18px var(--pad)}
.mm-head .logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:600;letter-spacing:.04em}
.mm-head .logo-mark img{height:30px;width:auto}
.mm-close,.mm-back{width:40px;height:40px;border-radius:50%;border:0;background:var(--pink);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.mm-panels{position:relative;flex:1;overflow:hidden}
.mm-panel{position:absolute;inset:0;overflow:auto;padding:12px var(--pad) 40px;transition:transform .4s cubic-bezier(.7,0,.2,1)}
.mm-locale-panel{transform:translateX(100%)}
.mm-panels.open-locale .mm-main{transform:translateX(-100%)}
.mm-panels.open-locale .mm-locale-panel{transform:none}
.mm-links{display:flex;flex-direction:column}
.mm-link{font:400 40px/1.15 var(--f-display);letter-spacing:-.02em;text-decoration:none;padding:6px 0;border-bottom:1px solid rgba(32,30,31,.12)}
.mm-foot{display:flex;gap:10px;align-items:center;margin-top:28px;flex-wrap:wrap}
.mm-cta{background:var(--ink);color:var(--paper);border-radius:999px;padding:11px 18px;text-decoration:none;font-weight:600;font-size:14px}
.mm-locale-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.mm-locale-title{font:500 22px var(--f-display)}
.mm-locale-section{margin-bottom:22px}
.mm-locale-label{font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;opacity:.6;margin-bottom:10px}
.mm-locale-opts{display:flex;flex-wrap:wrap;gap:8px}
.mm-locale-opt{border:1px solid rgba(32,30,31,.2);background:transparent;color:var(--ink);border-radius:999px;padding:8px 14px;font:400 14px var(--f-display);cursor:pointer}
.mm-locale-opt.on{background:var(--pink);border-color:var(--pink)}
.copy{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.copy__site{opacity:.7}
.wa-fab{position:fixed;right:22px;bottom:22px;z-index:90;display:inline-flex;align-items:center;gap:9px;background:var(--ink);color:var(--paper);text-decoration:none;border-radius:999px;padding:10px 16px 10px 12px;font:500 14px var(--f-display);box-shadow:0 14px 30px -12px rgba(0,0,0,.5)}
.wa-fab svg{width:22px;height:22px;flex:none}
.wa-fab:hover{background:#25d366;color:var(--ink)}
@media (max-width:900px){
  .hud__link,.hud__loc{display:none}
  .hud__burger{display:grid}
  #indexBtn{display:none}
}
@media (max-aspect-ratio:1/1){
  .wa-fab{right:12px;bottom:12px;padding:9px 12px 9px 10px;font-size:13px}
}
.cursor-dot{position:fixed;left:0;top:0;width:12px;height:12px;border-radius:50%;background:var(--accent);z-index:9999;pointer-events:none;opacity:0;transition:opacity .25s;will-change:transform;mix-blend-mode:normal}
.cursor-dot.on{opacity:1}
.hud__logo{display:block;width:38px;height:38px;border-radius:10px;box-shadow:0 6px 14px -6px rgba(10,12,30,.45);transform:rotate(-4deg);transition:transform .25s}
.hud__logo:hover{transform:rotate(0) scale(1.06)}
.hud__logo img{width:38px;height:38px;filter:none;border-radius:10px}
.hud .logo-on-light{display:none}
.hud[data-tone="dark"] .logo-on-dark{display:none}
.hud[data-tone="dark"] .logo-on-light{display:block}
.foot-logo{display:flex;align-items:center;gap:12px}
.foot-logo img{width:40px;height:40px;border-radius:10px;transform:rotate(-4deg)}
@media (max-aspect-ratio:1/1){
  .hud__logo,.hud__logo img{width:32px;height:32px;border-radius:8px}
}

/* ---- from src/v6.css ---- */
.hud{transition:color .4s ease,background-color .3s ease,box-shadow .3s ease}
.hud.hud--solid{background:var(--hud-bg,var(--paper));box-shadow:0 1px 0 rgba(32,30,31,.08);-webkit-backdrop-filter:saturate(1.2) blur(10px);backdrop-filter:saturate(1.2) blur(10px)}
.hud.hud--solid > *{pointer-events:auto}
.paper .read--wide{padding-bottom:calc(max(10vh,72px) + 84px + env(safe-area-inset-bottom))}
.paper .foot-logo{position:static;margin:0 0 18px}
.paper .cols{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(20px,3vw,44px);row-gap:28px;align-items:start}
.paper .cols ul{margin:0}
.paper .copy{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:12px 24px;border-top:1px solid rgba(32,30,31,.12);padding-top:18px}
.paper .copy__site{justify-self:end;white-space:nowrap}
@media (max-width:760px), (pointer:coarse) and (max-width:1100px){
  .hud{padding:10px 12px}
  .hud__logo{width:44px;height:44px;display:grid;place-items:center;box-shadow:none;transform:none}
  .hud__logo img{width:36px;height:36px;border-radius:9px;box-shadow:0 6px 14px -6px rgba(10,12,30,.45);transform:rotate(-4deg)}
  .hud__name{min-height:44px}
  .hud__burger{width:44px;height:44px}
  .cols li a{display:flex;align-items:center;min-height:44px}
  .cols li{margin-bottom:6px}
  .copy a{display:inline-flex;align-items:center;min-height:44px}
  .wa-fab{right:12px;bottom:calc(14px + env(safe-area-inset-bottom));width:52px;height:52px;padding:0;justify-content:center;border-radius:50%}
  .wa-fab .wa-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .wa-fab svg{width:26px;height:26px}
  .paper .read--wide{padding-top:96px}
  .paper .cols{grid-template-columns:1fr 1fr;column-gap:20px}
  .paper .copy{grid-template-columns:1fr;font-size:12.5px}
  .paper .copy__site{justify-self:start}
}
@media (max-width:370px){
  .paper .cols{grid-template-columns:1fr}
}
.paper .cols h4{color:#c23506}
@media (max-width:760px), (pointer:coarse) and (max-width:1100px){
  .mobile-menu a,.mobile-menu button{min-height:44px;min-width:44px}
  .mobile-menu a{display:inline-flex;align-items:center}
  .mm-close,.mm-back{width:44px;height:44px}
}
:root{--hud-pt:clamp(22px,.25vw + 20px,24px);--hud-clear:calc(var(--hud-pt) + 48px)}
.hud{padding-top:var(--hud-pt);padding-bottom:12px}
.hud__name,.hud__link,.hud__label,.pill{white-space:nowrap}
.hud__name{min-height:44px;display:inline-flex;align-items:center}
@media (min-width:901px){
  .hud__link{min-height:44px;display:inline-flex;align-items:center;position:relative}
  .hud__link::after{content:"";position:absolute;inset:0 -6px}
}
.hud__right{gap:clamp(14px,1.6vw,22px)}
.hud__logo,.hud__loc,#indexBtn{position:relative;flex:none}
.hud__logo::after,.hud__loc::after,#indexBtn::after{content:"";position:absolute;inset:-4px;border-radius:inherit}
#indexBtn::after{inset:-4px -2px}
.hud__loc::after{inset:-6px -2px}
@media (max-width:1180px){
  .hud__label{display:none}
}
@media (max-width:760px), (pointer:coarse) and (max-width:1100px){
  :root{--hud-clear:calc(env(safe-area-inset-top,0px) + 62px)}
  .hud{padding:calc(env(safe-area-inset-top,0px) + 12px) max(12px,env(safe-area-inset-right,0px)) 8px max(12px,env(safe-area-inset-left,0px))}
}
.hud__burger{width:44px;height:44px}

/* =====================================================================================
   Part 2: Humanoid v3 sub-pages (body.hv3). Restyles the film-skin pages on top of their own
   CSS: paper + ink, Bricolage / Instrument Serif / Cutive Mono, illustrated stage, glass cards.
   Never matches the homepage (no .hv3 on its body).
   ===================================================================================== */
html:has(body.hv3){background:var(--paper)}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
body.hv3{
  --film-gutter:var(--pad); --line:rgba(32,30,31,.12); --card:#fbf8f3; --muted-ink:#57524d; --link:#b8350a;
  --bg:var(--paper); --text:var(--ink); --muted:var(--muted-ink); --border:var(--line);
  margin:0; background:var(--paper)!important; color:var(--ink)!important;
  font-family:var(--f-display)!important; font-variation-settings:"opsz" 24; font-weight:350;
  line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
body.hv3 ::selection{background:var(--accent);color:var(--ink)}
body.hv3 .dot{display:inline-block;width:.32em;height:.32em;border-radius:50%;background:var(--accent)}
body.hv3 .mk{opacity:.55;font-weight:500}
body.hv3 .hud a,body.hv3 .index a,body.hv3 .paper a,body.hv3 .mobile-menu a{color:inherit}
body.hv3 .hud img,body.hv3 .paper img,body.hv3 .mobile-menu img{max-width:none}
body.hv3 .hud .logo-on-light{display:none}
body.hv3 .hud[data-tone="dark"] .logo-on-dark{display:none}
body.hv3 .hud[data-tone="dark"] .logo-on-light{display:block}
body.hv3 .hud p,body.hv3 .index p,body.hv3 .index ol,body.hv3 .paper p,body.hv3 .paper ul,body.hv3 .paper h4{margin:0;padding:0}
body.hv3 .hud button,body.hv3 .loc-pop button,body.hv3 .mobile-menu button{font-family:var(--f-display)}
body.hv3 .hud__link--extra{display:none}
@media (min-width:1280px){body.hv3 .hud__link--extra{display:inline-flex}}
body.hv3 .hud__label .mk{margin-right:2px}

/* illustrated stage: the page's scene, full bleed, fading into paper */
.hv3-stage{position:relative;height:clamp(320px,64vh,760px);overflow:hidden;background:var(--paper);isolation:isolate}
.hv3-stage picture,.hv3-stage img{position:absolute;inset:0;width:100%;height:100%;display:block}
.hv3-stage img{object-fit:cover;max-width:none}
.hv3-stage::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:26%;background:linear-gradient(180deg,rgba(244,239,232,0),var(--paper));z-index:1;pointer-events:none}
.hv3-stage__label{position:absolute;left:var(--pad);bottom:clamp(18px,3vh,32px);z-index:2;margin:0;font-family:var(--f-mono);font-size:14px;letter-spacing:.04em;color:var(--ink)}
@media (max-aspect-ratio:1/1){.hv3-stage{height:clamp(300px,50vh,560px)}}

/* content column */
body.hv3 .wrap{padding-top:clamp(24px,4vh,48px)!important;padding-bottom:clamp(48px,8vh,96px)!important;z-index:2}
body.hv3 .wrap,body.hv3 .wrap p,body.hv3 .wrap li,body.hv3 .wrap td,body.hv3 .wrap th,body.hv3 .wrap dd{font-family:var(--f-display)!important}
body.hv3 .wrap :is(p,li,td,dd){font-weight:350}
body.hv3 :is(h1,h2,h3,h4,h5){font-family:var(--f-display)!important;color:var(--ink)!important;text-shadow:none!important;font-variation-settings:"opsz" 48}
body.hv3 .wrap h1,body.hv3 .film-legal h1,body.hv3 main h1{font-weight:800!important;letter-spacing:-.045em!important;line-height:.98!important;font-size:clamp(38px,5.4vw,82px)!important;font-variation-settings:"opsz" 96;text-wrap:balance}
body.hv3 .wrap h2{font-weight:700!important;letter-spacing:-.03em!important;line-height:1.08!important}
body.hv3 .wrap h3{font-weight:650!important;letter-spacing:-.015em!important;line-height:1.2!important}
body.hv3 .wrap :is(h1,h2,h3) em{font-family:var(--f-serif)!important;font-weight:400;font-style:italic;letter-spacing:-.01em}
body.hv3 .wrap :is(.lead,.hero-sub,.sub,.section-lead,.sublead){color:var(--muted-ink)!important;font-family:var(--f-display)!important;font-weight:350!important;text-shadow:none!important}
body.hv3 .wrap .lead{font-size:clamp(18px,1.35vw,21px)!important;line-height:1.5!important}
body.hv3 .wrap a:not([class]){color:var(--link);text-decoration:underline;text-decoration-color:rgba(184,53,10,.35);text-underline-offset:3px}
body.hv3 .wrap a:not([class]):hover{text-decoration-color:currentColor}

/* mono labels: kicker, badge, breadcrumb, tags, dates, metric labels (never below 12px) */
body.hv3 :is(.kicker,.badge,.crumb,.tag,.meta,.date,.section-label,.snapshot-eyebrow,.snapshot-pill,.metric-card .label,.signal-card .tag,.wrap > .nav,.film-product .nav){
  font-family:var(--f-mono)!important;font-weight:400!important;letter-spacing:.04em!important;color:#5f5a54!important;font-size:max(12px,.82rem)!important;text-shadow:none!important}
body.hv3 .wrap > .nav a,body.hv3 .film-product .nav a{color:var(--ink)!important;border-bottom:1px solid rgba(32,30,31,.3)!important}
body.hv3 .badge{background:transparent!important;padding:0!important;border-radius:0!important}
body.hv3 .tag{background:rgba(32,30,31,.06)!important;color:var(--ink)!important;border-radius:999px!important;padding:4px 10px!important}
body.hv3 .kicker{display:block}

/* buttons: ink pill (primary), outline pill (secondary), pink pill only for the HUD index */
body.hv3 .wrap :is(.cta,.cta-primary,.btn,a.btn){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px!important;border-radius:999px!important;background:var(--ink)!important;color:var(--paper)!important;border:1.5px solid var(--ink)!important;font-family:var(--f-display)!important;font-weight:600!important;font-size:15px!important;letter-spacing:0!important;text-decoration:none!important;box-shadow:none!important;transition:background .2s ease,color .2s ease,transform .2s ease}
body.hv3 .wrap :is(.cta,.cta-primary,.btn):hover{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--ink)!important;transform:translateY(-1px)}
body.hv3 .wrap :is(.cta-outline,.cta-secondary,.btn2){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px!important;border-radius:999px!important;background:transparent!important;color:var(--ink)!important;border:1.5px solid var(--ink)!important;font-family:var(--f-display)!important;font-weight:600!important;font-size:15px!important;text-decoration:none!important}
body.hv3 .wrap :is(.cta-outline,.cta-secondary,.btn2):hover{background:var(--pink)!important;border-color:var(--pink)!important}

/* glass cards on paper (same family as the homepage dashboard and story cards) */
body.hv3 :is(.card,.metric-card,.snapshot,.signal-card,.faq,.panel,.table-wrap,.plan,.resource,.shot-panel,.legal-toc,.legal-table,.contact-card){
  background:var(--card)!important;border:1px solid var(--line)!important;border-radius:20px!important;color:var(--ink)!important;
  box-shadow:0 1px 2px rgba(32,30,31,.04),0 22px 44px -30px rgba(32,30,31,.32)!important}
body.hv3 :is(.card,.metric-card,.signal-card,.faq,.plan,.resource) :is(p,.detail){color:var(--muted-ink)!important}
body.hv3 .metric-card .value,body.hv3 .snapshot .num{font-family:var(--f-display)!important;font-weight:700!important;letter-spacing:-.03em!important;color:var(--ink)!important}
body.hv3 .faq-item{border-top:1px solid var(--line)!important}
body.hv3 .wrap img.hero,body.hv3 .shot-panel img{border-radius:18px!important;border:1px solid var(--line)!important}
body.hv3 .wrap table{border-collapse:collapse;width:100%}
body.hv3 .wrap th{font-family:var(--f-mono)!important;font-weight:400!important;font-size:13px!important;letter-spacing:.03em;text-align:left;color:#5f5a54!important;background:rgba(32,30,31,.04)!important}
body.hv3 .wrap :is(th,td){border-bottom:1px solid var(--line)!important;padding:12px 14px!important;vertical-align:top}
body.hv3 .bar-fill{background:var(--accent)!important}
body.hv3 .bar-track{background:rgba(32,30,31,.08)!important}

/* journal: reading column, light motion */
body.hv3.film-blog .article{max-width:760px;margin-inline:auto;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
body.hv3.film-blog .kicker{max-width:760px;margin-inline:auto!important}
body.hv3.film-blog .article :is(p,li){font-size:clamp(17px,1.15vw,19px);line-height:1.68}
body.hv3.film-blog h1{font-size:clamp(34px,4.6vw,64px)!important;margin-bottom:22px!important}
body.hv3.film-blog .article h2{font-size:clamp(24px,2.2vw,32px)!important;margin:1.6em 0 .5em!important}
body.hv3.film-blog .article h3{font-size:clamp(19px,1.5vw,22px)!important}
body.hv3.film-blog .article img.hero{border-radius:18px!important;margin:6px 0 20px!important}
body.hv3.film-blog .article .table-wrap{background:var(--card)!important}
body.hv3.film-index h1{font-size:clamp(56px,8vw,120px)!important}
body.hv3.film-index .sub{font-size:clamp(17px,1.3vw,20px)!important;max-width:44ch!important}
body.hv3.film-index .card{overflow:hidden}
body.hv3.film-index .card .body h2{font-size:clamp(19px,1.5vw,22px)!important;font-weight:650!important;letter-spacing:-.02em!important;line-height:1.2!important}
body.hv3.film-index .card:hover{transform:translateY(-3px)}

/* paper footer on sub-pages (homepage footer markup, tighter top) */
body.hv3 .paper .read{max-width:40em;margin:0 auto;padding:clamp(56px,9vh,96px) var(--pad) 10vh;font-size:clamp(17px,1.3vw,21px);line-height:1.5}
body.hv3 .paper .read--wide{max-width:1180px}
body.hv3 .paper .by{font-family:var(--f-mono);font-size:.75em;letter-spacing:.06em;margin-bottom:1em}
body.hv3 .hv3-foot{border-top:1px solid var(--line)}
body.hv3 .hv3-foot-extra{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 4px;font-family:var(--f-mono);font-size:13px;color:#5f5a54}
body.hv3 .hv3-foot-extra a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}

/* motion: light reveal (transform + opacity only); the film-skin scroll-timeline rise is replaced */
body.hv3 :is(.article>section,.grid>.card,.faq,.cards>*){animation:none!important}
body.hv3 .hv3-pre{opacity:0;transform:translate3d(0,18px,0)}
body.hv3 .hv3-pre.hv3-in{opacity:1;transform:none;transition:opacity .6s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
body.hv3[data-hv3-motion="light"] .hv3-pre{transform:translate3d(0,10px,0)}
@media (prefers-reduced-motion:reduce){body.hv3 .hv3-pre{opacity:1!important;transform:none!important;transition:none!important}}

/* phones: 44px targets, 12px floor, no sideways scroll */
@media (max-width:760px){
  body.hv3 .wrap{width:calc(100% - 2*16px)!important}
  body.hv3 .wrap :is(.cta,.cta-primary,.btn,.cta-outline,.cta-secondary,.btn2){width:100%}
  body.hv3 .wrap :is(table){font-size:14px}
  body.hv3 .table-wrap{overflow-x:auto}
  body.hv3 .wrap > .nav a,body.hv3 .film-product .nav a{display:inline-block;padding:12px 0}
}

/* ---- legacy home-shell pages (customers, listen): the sky hero and closing band become ink panels ---- */
body.hv3 .hero-bg,
body.hv3 .final-bg,
body.hv3 canvas.film-ribbon { display: none !important; }
body.hv3 .hero.listen-hero,
body.hv3 section.final {
  position: relative;
  min-height: 0 !important;
  margin: clamp(18px, 3vw, 40px) clamp(12px, 2.4vw, 32px);
  padding: clamp(56px, 8vw, 112px) 0 !important;
  border-radius: clamp(18px, 2.4vw, 32px);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(252, 65, 9, .22), transparent 60%),
    radial-gradient(50% 70% at 10% 100%, rgba(255, 171, 200, .16), transparent 60%),
    var(--ink) !important;
}
body.hv3 .hero.listen-hero .hero-inner,
body.hv3 section.final .final-inner { padding-top: 0 !important; min-height: 0 !important; }
body.hv3 .hero.listen-hero h1,
body.hv3 section.final h2 { color: var(--paper) !important; }
body.hv3 .hero.listen-hero h1 .serif,
body.hv3 section.final h2 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--pink); }
body.hv3 .hero.listen-hero .hero-sub,
body.hv3 section.final p { color: rgba(244, 239, 232, .82) !important; }
body.hv3 .hero.listen-hero .film-tags span,
body.hv3 section.final .proof-kicker,
body.hv3 .orb-state { color: rgba(244, 239, 232, .7) !important; font-size: max(12px, 1em); }
body.hv3 .hero.listen-hero .hero-btn,
body.hv3 section.final .cta-btn { background: var(--paper) !important; color: var(--ink) !important; border-radius: 999px; }
body.hv3 .hero.listen-hero .hero-btn:hover,
body.hv3 section.final .cta-btn:hover { background: var(--accent) !important; color: #fff !important; }
body.hv3 .hero.listen-hero .hero-btn-glass { border-radius: 999px; color: var(--paper) !important; border: 1px solid rgba(244, 239, 232, .35) !important; background: rgba(244, 239, 232, .06) !important; }
@media (max-width: 760px) {
  body.hv3 .hero.listen-hero, body.hv3 section.final { margin: 12px 10px; padding: 48px 0 !important; }
}

/* ---- legal pages: the hero sat on a dark sky; on paper it is ink type ---- */
body.hv3.film-legal .legal-hero { min-height: 0 !important; padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 3vw, 44px) !important; }
body.hv3.film-legal .section-head h1 { color: var(--ink) !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; letter-spacing: -.045em; }
body.hv3.film-legal .section-head p,
body.hv3.film-legal .legal-hero .updated { color: var(--muted-ink) !important; }
body.hv3.film-legal .badge,
body.hv3.film-legal .badge span { color: var(--muted-ink) !important; font-family: 'Cutive Mono', ui-monospace, monospace; font-size: max(12px, 1em); }

/* inline links coloured with the page accent: use the AA link tone on paper */
body.hv3 main a[style*="var(--accent)"],
body.hv3 .wrap a[style*="var(--accent)"] { color: var(--link) !important; }

/* legacy page footer skins (e.g. .film-legal footer, bare footer{} rules) must not reach the shared paper footer */
body.hv3 footer.paper.hv3-foot { background: var(--paper) !important; color: var(--ink) !important; border-top: 0 !important; margin-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
