/* ============================================================
   REDESIGN item 2 (owner-approved 2026-11-09) — Private Auto-Finance · HOW IT WORKS as a comic page.
   Ported from the approved prototype lab/hiwc/part-hiw.html (scoped .hwc / hw-*, ids hiw* / hwc*).
   Ink + blue + halftone drawings on paper, a guided camera driven by native scroll through a tall section
   with a sticky stage, a spotlight, a HUD and a "scroll to read" pill. Reduced motion (or a very short
   screen) turns it into a flat reading column. Driven by assets/js/rd-hiw.r702.js.
   Changes from the prototype: site font fallbacks (Bricolage / Jakarta are the site's own families),
   explicit weights so the fallback renders heavy, logical properties for Arabic (RTL), and a few
   fit multipliers (--cs --ts --fs --ns --bt --bc) that the script sets so longer translations fit, and the
   caption titles (the only blue text on paper) in the site's deeper blue #1e5eff for contrast; #3d8bff stays decorative.
   The page's own kicker and h2 (keys hiw-kicker, hiw-h2) are static text in the section. Without JS they are a plain
   heading block above the seven-step list (.hwc > ..., the site's own heading style on the dark page). Once mounted the
   script moves those very nodes into the comic: they are its title strip (.hw-band). Always real, visible text: nothing
   here hides them.
   2026-11-11 (owner: "remove the 3 (how it works line) from this section which we added later"): the three chapter headers
   (paf-a1, paf-b1, lt-b1), added 2026-11-10, are removed from the page; the comic is the title strip and its panels again.
   ============================================================ */
@font-face{font-family:"Archivo";src:url(../fonts/archivo-variable.woff2) format("woff2-variations");font-weight:100 900;font-stretch:62% 125%;font-display:swap}

.hwc{position:relative;z-index:4;--hw-flat-top:40px;--blue:#3d8bff;--blue-ink:#1e5eff;
  --f-wide:"Archivo","Bricolage","Bricolage Grotesque",system-ui,sans-serif;
  --f-body:"Jakarta","Plus Jakarta Sans","Inter",system-ui,sans-serif;
  color:#0a0a0a;font-family:var(--f-body);line-height:1.55}
.hwc .hw-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0}
.hwc .hw-cst{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;contain:layout paint;background:#e8e6e0;
  background-image:radial-gradient(rgba(5,5,5,.09) 1.1px,transparent 1.7px);background-size:10px 10px}
/* (rd4, rd-hiw.r751.js) iPhone / iPad: while the comic holds the page (body position:fixed) the stage stays fixed where it was
   pinned (sticky would follow the body, which is then a scroll container of its own) */
.hwc.hw-lk .hw-cst{position:fixed;top:0;left:0;right:0}
.hwc .hw-defs{position:absolute;width:0;height:0;overflow:hidden}
.hwc .hw-pg{position:absolute;left:0;top:0;transform-origin:0 0;background:#fbfaf6;box-shadow:0 0 0 calc(var(--u)*.4) #0a0a0a,calc(var(--u)*1.4) calc(var(--u)*1.4) 0 calc(var(--u)*.4) #0a0a0a}
.hwc .hw-band{position:absolute;box-sizing:border-box;display:grid;grid-template-columns:auto auto;grid-template-areas:"k k" "h c";justify-content:space-between;align-content:center;align-items:end;
  column-gap:calc(var(--u)*2);row-gap:calc(var(--u)*1.1*var(--bs,1));background:#0a0a0a;padding:calc(var(--u)*2.3*var(--bs,1)) calc(var(--u)*3)}
/* the page's own kicker and h2 (moved in by the script), drawn as the comic's title. The h2 keeps its own letter case, as
   on the live site (Chrome passes text-transform case to screen readers); the kicker is uppercase there too */
.hwc .hw-band .hw-kick{grid-area:k;justify-self:start;display:flex;align-items:center;gap:calc(var(--u)*1.2*var(--bs,1));margin:0;font-family:var(--f-wide);font-weight:700;
  font-size:calc(var(--u)*2.3*var(--bs,1)*var(--bk,1));line-height:1.1;letter-spacing:.14em;text-transform:uppercase;font-variation-settings:"wdth" 125,"wght" 700;color:#f3f2ee;white-space:nowrap}
.hwc .hw-band .hw-kick::before{content:"";width:calc(var(--u)*1.5*var(--bs,1));height:calc(var(--u)*1.5*var(--bs,1));border-radius:50%;background:var(--blue);flex:none}
.hwc .hw-band .hw-h2{grid-area:h;justify-self:start;width:auto;margin:0;padding:0;font-family:var(--f-wide);font-weight:900;font-size:calc(var(--u)*6.6*var(--bs,1)*var(--bt,1));line-height:.95;
  letter-spacing:0;color:#f3f2ee;font-variation-settings:"wdth" 62,"wght" 900;white-space:nowrap}
.hwc .hw-band .hw-h2 em.ac{font-style:normal;background:none;-webkit-text-fill-color:currentColor;color:var(--blue)}
.hwc .hw-band .hw-chip{grid-area:c;justify-self:end;font-style:normal;font-family:var(--f-wide);font-weight:700;font-size:calc(var(--u)*2.4*var(--bs,1)*var(--bc,1));line-height:1.2;color:#0a0a0a;background:var(--blue);
  padding:calc(var(--u)*.7*var(--bs,1)) calc(var(--u)*1.5*var(--bs,1));border-radius:999px;text-transform:uppercase;letter-spacing:.06em;font-variation-settings:"wdth" 110,"wght" 700;white-space:nowrap}
.hwc .hw-band::before{content:"";position:absolute;inset:0;background:radial-gradient(rgba(61,139,255,.6) calc(var(--u)*.16),transparent calc(var(--u)*.24)) 0 0/calc(var(--u)*1.1) calc(var(--u)*1.1);
  -webkit-mask-image:linear-gradient(90deg,transparent 45%,#000);mask-image:linear-gradient(90deg,transparent 45%,#000);opacity:.55}
.hwc .hw-band>*{position:relative}
.hwc .hw-band.stk{grid-template-columns:auto;grid-template-areas:"k" "h" "c";justify-content:start;align-items:start;row-gap:calc(var(--u)*1.5);padding-block:calc(var(--u)*2.8)}
.hwc .hw-band.stk .hw-chip{justify-self:start}
.hwc .hw-pn{position:absolute;container-type:inline-size;border:calc(var(--u)*.5) solid #0a0a0a;background:#fff;overflow:hidden}
.hwc .hw-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:block;direction:ltr}
/* compositing (smooth scroll). The camera only ever changes ONE transform, on the page layer, promoted for good: no
   will-change toggling, so no re-raster at every stop. Each panel is three fixed layers: the still drawing (an SVG image,
   painted into the page layer), its moving parts (.hw-live: arrows, papers, keys, coins, stamp, signature, stopwatch, X strokes),
   and what sits over the art (.hw-ov: caption, tags, burst, photos). Animating the moving parts re-rasterises only their own
   small layer, never the drawing under them. Promotion is permanent: toggling it per panel cost a 50-120 ms frame each time. */
.hwc:not(.flat) .hw-pg{will-change:transform}
.hwc:not(.flat) .hw-live{will-change:transform}
.hwc .hw-ov{position:absolute;inset:0}
.hwc:not(.flat) .hw-ov{will-change:opacity}
.hwc .hw-dim,.hwc .hw-hint{will-change:opacity}
/* (rd3, smooth scroll) OPTION, off by default (rd-hiw.r705.js sets .hw-col only with ?hwcol=1 in the address): the
   Delivered panel's colour copies on a layer of their own, so the growing circle of the reveal no longer redraws the whole
   overlay (halftone filters and blend layers) on every frame. Not the default: a photo on its own layer is turned by the
   compositor instead of being drawn turned, which softens its edges by a hair (about 1% of the panel's pixels differ
   by more than 24 levels in a screenshot, invisible side by side). */
.hwc.hw-col:not(.flat) .hw-fig .col{will-change:transform}
.hwc .hw-cap{position:absolute;inset-inline:3cqi;top:3cqi;z-index:1;background:#fbfaf6;border:.6cqi solid #0a0a0a;box-shadow:1.1cqi 1.1cqi 0 #0a0a0a;padding:2.2cqi 3cqi 2.5cqi;color:#0a0a0a}
.hwc .hw-cap b{display:block;font-family:var(--f-wide);font-weight:800;font-size:calc(5.4cqi*var(--cs,1));line-height:1;letter-spacing:.01em;text-transform:uppercase;color:var(--blue-ink);margin-bottom:1.2cqi;padding-inline-end:7cqi;text-wrap:balance;font-variation-settings:"wdth" 75,"wght" 880}
.hwc .hw-cap b i{font-style:normal}.hwc .hw-cap b .hw-sr{text-transform:none}
.hwc .hw-cap span{display:block;font-size:calc(4.3cqi*var(--cs,1));line-height:1.36;font-weight:600}
.hwc .hw-cap .hw-no{position:absolute;inset-inline-end:-2.2cqi;top:-2.2cqi;width:8.4cqi;height:8.4cqi;border-radius:50%;display:grid;place-items:center;background:#0a0a0a;color:#fff;border:.6cqi solid #0a0a0a;
  box-shadow:.9cqi .9cqi 0 var(--blue);font-style:normal;font-family:var(--f-wide);font-weight:800;font-size:4.6cqi;line-height:1;font-variation-settings:"wdth" 75,"wght" 880}
.hwc .hw-cap .hw-cnote{position:absolute;inset-inline-start:2.4cqi;top:100%;margin-top:3.2cqi;transform:rotate(-2.5deg);transform-origin:0 0;font-style:normal;font-family:var(--f-wide);font-weight:700;font-size:calc(4.2cqi*var(--ns,1));line-height:1.1;letter-spacing:.04em;
  font-variation-settings:"wdth" 110,"wght" 700;background:#0a0a0a;color:#fff;border:.55cqi solid #0a0a0a;border-radius:1.6cqi;padding:1.3cqi 2.4cqi;white-space:nowrap;box-shadow:.9cqi .9cqi 0 var(--blue)}
.hwc .hw-cap.lone{inset-inline-end:auto;padding:2.2cqi 3.4cqi 1.8cqi;background:var(--blue);transform:rotate(-1.5deg)}
.hwc .hw-cap.lone b{font-size:calc(7.4cqi*var(--cs,1));color:#0a0a0a;margin:0;padding:0}
.hwc .hw-tag{position:absolute;z-index:2;font-size:calc(4.2cqi*var(--ts,1));line-height:1.1;font-weight:800;background:#fff;color:#0a0a0a;border:.55cqi solid #0a0a0a;border-radius:1.6cqi;padding-block:1.3cqi;padding-inline:4.6cqi 2.4cqi;
  transform:rotate(var(--r,0deg));white-space:nowrap;box-shadow:.9cqi .9cqi 0 #0a0a0a}
.hwc .hw-tag::before{content:"";position:absolute;inset-inline-start:1.6cqi;top:50%;width:1.6cqi;height:1.6cqi;margin-top:-.8cqi;border-radius:50%;border:.45cqi solid #0a0a0a;background:var(--blue)}
.hwc .hw-tag.ex{background:#0a0a0a;color:#fff;padding-inline-start:2.4cqi;font-family:var(--f-wide);font-weight:700;letter-spacing:.04em;font-variation-settings:"wdth" 110,"wght" 700}
.hwc .hw-tag.ex::before{display:none}
.hwc .hw-sfx{position:absolute;width:var(--w,38cqi);aspect-ratio:200/130;display:grid;place-items:center;z-index:3;pointer-events:none;
  transform:rotate(var(--r,-8deg)) scale(.2);opacity:0;transition:transform .55s cubic-bezier(.3,1.8,.5,1),opacity .2s}
.hwc .hw-sfx svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hwc .hw-sfx span{position:relative;font-family:var(--f-wide);font-weight:800;font-size:calc(var(--w,38cqi)*.19*var(--fs,1)*var(--ff,1));line-height:1;letter-spacing:.01em;color:#fff;padding-top:.1em;text-transform:uppercase;font-variation-settings:"wdth" 62,"wght" 900;white-space:nowrap;
  text-shadow:-.05em -.05em 0 #0a0a0a,.05em -.05em 0 #0a0a0a,-.05em .05em 0 #0a0a0a,.05em .05em 0 #0a0a0a,.09em .09em 0 #0a0a0a}
.hwc .hw-pn.on .hw-sfx{transform:rotate(var(--r,-8deg)) scale(1);opacity:1}
.hwc .hw-ph4{position:absolute;left:4cqi;right:4cqi;top:19cqi;bottom:4cqi;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3.2cqi}
.hwc .hw-fig{position:relative;margin:0;overflow:hidden;background:#fff;border:.7cqi solid #0a0a0a;box-shadow:1.1cqi 1.1cqi 0 #0a0a0a;isolation:isolate}
.hwc .hw-fig:nth-child(1){transform:rotate(-1.4deg)}.hwc .hw-fig:nth-child(2){transform:rotate(1.2deg)}.hwc .hw-fig:nth-child(3){transform:rotate(.9deg)}.hwc .hw-fig:nth-child(4){transform:rotate(-1.1deg)}
.hwc .hw-fig .htf{position:absolute;inset:0;filter:contrast(14);background:#fff}
.hwc .hw-fig .htf img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;filter:grayscale(1) brightness(1.2) contrast(.9)}
.hwc .hw-fig .htf i{position:absolute;inset:0;opacity:.5;background:radial-gradient(circle,#000 0,#fff 100%) 0 0/5px 5px}
.hwc .hw-fig::before{content:"";position:absolute;inset:0;z-index:1;background:#1f55c4;mix-blend-mode:screen;pointer-events:none}
.hwc .hw-fig::after{content:"";position:absolute;inset:0;z-index:1;background:#f3f2ee;mix-blend-mode:multiply;pointer-events:none}
.hwc .hw-fig .col{position:absolute;inset:0;z-index:2;width:100%;height:100%;max-width:none;object-fit:cover;clip-path:circle(var(--rv,0%) at 50% 45%)}
.hwc .hw-fig figcaption{position:absolute;inset-inline-start:1.6cqi;bottom:1.6cqi;z-index:3;font-family:var(--f-wide);font-weight:800;font-size:4cqi;line-height:1;text-transform:uppercase;letter-spacing:.04em;font-variation-settings:"wdth" 100,"wght" 800;
  background:#0a0a0a;color:#fff;padding:1.1cqi 1.6cqi 1cqi;border-radius:.8cqi;white-space:nowrap}
.hwc .hw-dim{position:absolute;inset:0;pointer-events:none;z-index:4}
.hwc .hw-dim i{position:absolute;left:0;top:0;width:100%;height:100%;transform-origin:0 0;background:rgba(232,230,224,.86);will-change:transform}
.hwc .hw-hud{position:absolute;left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + var(--hw-hud-top,72px));z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.hwc .hw-hud .hl{display:flex;align-items:center;gap:9px;min-width:0;background:#0a0a0a;color:#f3f2ee;border-radius:999px;padding:8px 14px;font-family:var(--f-wide);font-weight:700;font-size:15px;letter-spacing:.06em;text-transform:uppercase;font-variation-settings:"wdth" 110,"wght" 700;white-space:nowrap;overflow:hidden}
.hwc .hw-hud .hl b{font-weight:inherit;color:var(--blue);flex:none}
.hwc .hw-hud .hl i{font-style:normal;color:#8d8c87;flex:none}
.hwc .hw-hud .hl em{font-style:normal;overflow:hidden;text-overflow:ellipsis}
.hwc .hw-hud .pips{display:flex;gap:3px;flex:none}
.hwc .hw-hud .pips i{width:9px;height:9px;border-radius:50%;border:2px solid #0a0a0a;background:#fff;transition:background .3s}
.hwc .hw-hud .pips i.on{background:var(--blue)}
.hwc .hw-hint{position:absolute;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 22px);z-index:5;transform:translateX(-50%);font-family:var(--f-wide);font-weight:700;font-size:15px;letter-spacing:.08em;text-transform:uppercase;
  font-variation-settings:"wdth" 110,"wght" 700;background:#0a0a0a;color:#f3f2ee;padding:9px 16px;border-radius:999px;white-space:nowrap;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;pointer-events:none}
@media (max-width:420px){.hwc .hw-hud .hl{letter-spacing:.035em;gap:7px;padding:8px 12px}}
.hwc .hw-hud .hl.tight{letter-spacing:0;font-size:13px;gap:6px;padding-inline:11px}
/* still too long (Tagalog/French at 360px, Tagalog at 320px): smaller step pips first, then smaller type; the script steps through these */
.hwc .hw-hud.np .pips{gap:2px}
.hwc .hw-hud.np .pips i{width:7px;height:7px;border-width:1.5px}
.hwc .hw-hud .hl.tighter{font-size:12px;gap:5px;padding-inline:9px}
.hwc .hw-hud .hl.tightest{font-size:11px;padding-inline:8px}
@media (min-width:700px){.hwc .hw-hud{left:24px;right:24px}.hwc .hw-hud .pips{gap:4px}}

/* the site's reduced-motion rule gives every element a .01ms 'all' transition, which would make the script's text-fit
   measurements read the previous size: the measured text boxes never transition */
.hwc :is(.hw-band,.hw-band .hw-kick,.hw-band .hw-h2,.hw-band .hw-chip,.hw-cap,.hw-cap b,.hw-cap span,.hw-cnote,.hw-tag,.hw-sfx span,.hw-hud .hl,.hw-hud .hl em){transition-property:none}

/* Arabic is RTL: the script mirrors the panel order, the art itself stays as drawn. Letter-spacing would break
   joined Arabic / Gurmukhi script, and uppercase tracking means nothing in Chinese, so tracking is reset there. */
.hwc[dir="rtl"] .hw-cap .hw-cnote{transform-origin:100% 0;transform:rotate(2.5deg)}
.hwc[data-hwl="ar"] :is(.hw-band .hw-kick,.hw-band .hw-h2,.hw-band .hw-chip,.hw-cap b,.hw-cap span,.hw-cnote,.hw-tag,.hw-sfx span,.hw-hud .hl,.hw-hint,figcaption),
.hwc[data-hwl="pa"] :is(.hw-band .hw-kick,.hw-band .hw-h2,.hw-band .hw-chip,.hw-cap b,.hw-cap span,.hw-cnote,.hw-tag,.hw-sfx span,.hw-hud .hl,.hw-hint,figcaption),
.hwc[data-hwl="zh"] :is(.hw-band .hw-kick,.hw-band .hw-h2,.hw-band .hw-chip,.hw-cap b,.hw-cap span,.hw-cnote,.hw-tag,.hw-sfx span,.hw-hud .hl,.hw-hint,figcaption){letter-spacing:0}
.hwc[data-hwl="ar"] .hw-cap b,.hwc[data-hwl="pa"] .hw-cap b{line-height:1.3}
.hwc[data-hwl="ar"] :is(.hw-band .hw-h2,.hw-band .hw-kick),.hwc[data-hwl="pa"] :is(.hw-band .hw-h2,.hw-band .hw-kick){line-height:1.25}
/* Punjabi and Arabic title without Archivo: it is Latin only, yet it would still supply the space between words, and its
   condensed space (.11em at wdth 62) runs the device font's wide words together. Bricolage's space (.22em) is the word gap
   of the site's headings. Chinese has no spaces between words. */
.hwc[data-hwl="ar"] .hw-band .hw-h2,.hwc[data-hwl="pa"] .hw-band .hw-h2{font-family:"Bricolage","Bricolage Grotesque",system-ui,sans-serif}

/* flat (reduced motion / very short screens): the comic page becomes a normal reading column on paper */
.hwc.flat{height:auto!important;padding:var(--hw-flat-top) 18px 34px;background:#e8e6e0;background-image:radial-gradient(rgba(5,5,5,.09) 1.1px,transparent 1.7px);background-size:10px 10px}
.hwc.flat .hw-cst{position:relative;height:auto;overflow:visible;contain:none;background:none}
.hwc.flat .hw-pg{position:relative;width:auto;height:auto;transform:none!important;display:grid;gap:22px;--u:6.5px;background:none;box-shadow:none;max-width:1200px;margin:0 auto}
.hwc.flat .hw-pn,.hwc.flat .hw-band{position:relative;left:auto!important;top:auto!important;width:auto!important;height:auto!important;aspect-ratio:var(--ar)}
.hwc.flat .hw-band{aspect-ratio:auto;padding:18px;border-radius:14px;grid-template-columns:auto;grid-template-areas:"k" "h" "c";justify-content:start;align-items:start;row-gap:12px}
.hwc.flat .hw-band .hw-chip{justify-self:start;font-size:calc(13px*var(--bc,1))}
.hwc.flat .hw-dim,.hwc.flat .hw-hud,.hwc.flat .hw-hint{display:none}
@media (min-width:760px){.hwc.flat .hw-pg{grid-template-columns:1fr 1fr}.hwc.flat .hw-band{grid-column:1/-1}.hwc.flat .hw-band .hw-chip{font-size:calc(15.6px*var(--bc,1))}}

/* without JS (or if mounting failed): the page's own kicker and h2 as the live site shows them, a plain heading on the dark
   page above the seven-step list, in the site's own kicker / heading style */
.hwc>.hw-kick{width:min(1200px,92vw);margin:0 auto 1.1em;padding-top:clamp(40px,6vh,70px);font:600 .78rem/1 var(--fb,system-ui,sans-serif);letter-spacing:.22em;text-transform:uppercase;color:var(--eblue,#3d8bff)}
.hwc>.hw-h2{width:min(1200px,92vw);margin:0 auto .45em;font-family:var(--fd,system-ui,sans-serif);font-weight:700;
  font-size:clamp(2.1rem,3.7vw,3.2rem);line-height:1.1;letter-spacing:-.022em;color:var(--ink,#f4f6fa)}
.hwc>.hw-h2+.hw-fb{padding-top:22px}
/* paper under the whole section once the comic is mounted, so no dark line can show through at the comic's edges
   (the no-JS list stays on the page's dark background) */
.hwc[data-hw]{background-color:#e8e6e0}

/* no-JS / script-failed fallback: the seven steps as a plain list (replaced by the comic when the script runs) */
.hwc .hw-fb{width:min(1200px,92vw);margin-inline:auto;padding:clamp(40px,6vh,70px) 0;color:var(--ink2,#c3cad6);font-family:var(--fb,system-ui,sans-serif)}
.hwc .hw-fb ol{display:grid;gap:14px;padding-inline-start:1.4em}
.hwc .hw-fb b{display:block;color:var(--ink,#f4f6fa)}
.hwc .hw-fb i{font-style:normal;color:var(--ink,#f4f6fa)}
