/* ==== motion-tokens.css ==== */
/* Team motion tokens v1 (2026-11-18). Source of truth: /home/box/design/motion-and-transitions.md §3
   Durations are for travel ≤ ~300px on a phone; scale with the distance rule in §3.2. */
:root {
  /* Duration */
  --dur-instant: 80ms;    /* colour/opacity feedback, tooltips after first */
  --dur-micro: 140ms;     /* hover, press, toggle */
  --dur-short: 220ms;     /* menus, accordions, tabs, small exits */
  --dur-medium: 320ms;    /* modals, drawers, card expand on mobile */
  --dur-reveal: 600ms;    /* scroll-triggered element reveal */
  --dur-page: 450ms;      /* page / view transition (total) */
  --dur-hero: 900ms;      /* one hero sequence per page (per element; total ≤ 1400ms) */

  /* Easing (names match style-guide §7) */
  --ease-standard: cubic-bezier(.2, 0, 0, 1);       /* UI state changes (M3 standard) */
  --ease-out: cubic-bezier(.25, 1, .5, 1);          /* ease-out-quart: things entering */
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);     /* hero, masks, big moves: fast start, long settle */
  --ease-in: cubic-bezier(.5, 0, .75, 0);           /* ease-in-quart: things leaving for good */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);      /* on-screen A→B moves, page transitions */
  --ease-overshoot: cubic-bezier(.34, 1.56, .64, 1);/* max 1 element per page */
  --ease-linear: linear;                            /* ONLY scroll-scrubbed and constant loops */
  /* Springs as CSS linear() (generated from k/d; see doc §3.3). Use with the paired duration. */
  --spring-soft: linear(0, .0338, .1126, .212, .317, .4185, .5119, .5949, .6669, .7282, .7796, .8224, .8575, .8862, .9095, .9282, .9433, .9553, .9649, .9724, .9784, .9831, .9869, .9898, .9921, .9938, .9952, .9963, .9971, .9978, .9983, .9987, 1);
  --spring-soft-dur: 700ms;   /* k170 d26, no overshoot */
  --spring-bouncy: linear(0, .0659, .2233, .4203, .6187, .7937, .932, 1.0296, 1.089, 1.1164, 1.1198, 1.1073, 1.086, 1.0617, 1.0384, 1.0187, 1.0036, .9935, .9877, .9855, .9859, .9878, .9906, .9935, .9962, .9984, 1, 1.0011, 1.0016, 1.0018, 1.0016, 1.0014, 1);
  --spring-bouncy-dur: 780ms; /* k260 d18, ~12% overshoot, max 1 per page */

  /* Stagger */
  --stagger-tight: 30ms;  /* words in a headline, list items */
  --stagger: 60ms;        /* cards, nav items */
  --stagger-loose: 90ms;  /* 2–4 large blocks */
  --stagger-max: 400ms;   /* cap on (n-1) × stagger; shrink stagger, never exceed */

  /* Distance */
  --dist-xs: 4px;   /* press, nudge */
  --dist-sm: 8px;   /* small reveals on mobile, hovers */
  --dist-md: 16px;  /* default reveal travel */
  --dist-lg: 32px;  /* hero blocks on desktop only */
  --dist-mask: 105%;/* text line/word through a mask */
  --scale-press: .97;
  --scale-hover: 1.02;
  --scale-img-reveal: 1.12; /* image settles from this to 1 inside a clip */
}

/* ==== v4-base.css ==== */
/* Hero options — shared. Fonts from ../fonts. Tokens per Claude comp-v2 critique (4 surfaces). */
@font-face{font-family:"Noto Sans Thai";font-display:swap;src:url(../fonts/NotoSansThai-thai.woff2) format("woff2");font-weight:100 900;font-stretch:62.5% 100%;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC;ascent-override:100%;descent-override:30%;line-gap-override:0%}
@font-face{font-family:"Noto Sans Thai";font-display:swap;src:url(../fonts/NotoSansThai-latin.woff2) format("woff2");font-weight:100 900;font-stretch:62.5% 100%;unicode-range:U+0000-00FF,U+0E3F,U+2000-206F,U+20AC,U+2122,U+2190-21FF,U+2212;ascent-override:100%;descent-override:30%;line-gap-override:0%}
@font-face{font-family:"Noto Looped";font-display:swap;src:url(../fonts/NotoSansThaiLooped-thai.woff2) format("woff2");font-weight:400;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC;ascent-override:100%;descent-override:30%;line-gap-override:0%}
@font-face{font-family:"Noto Looped";font-display:swap;src:url(../fonts/NotoSansThaiLooped-latin.woff2) format("woff2");font-weight:400;unicode-range:U+0000-00FF,U+0E3F,U+2000-206F;ascent-override:100%;descent-override:30%;line-gap-override:0%}
@font-face{font-family:"Playpen";font-display:swap;src:url(../fonts/PlaypenSansThai-thai.woff2) format("woff2");font-weight:100 800;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Playpen";font-display:swap;src:url(../fonts/PlaypenSansThai-latin.woff2) format("woff2");font-weight:100 800;unicode-range:U+0000-00FF,U+0E3F,U+2000-206F}
:root{
  --paper:#F2F0EB; --white:#FFFFFF; --ink:#17191C; --sun:#F2A93B;
  /* text-only greys (not surfaces) */
  --mute:#5A5F66; --label:#2B3036; --hair:rgba(23,25,28,.12);
  --line-green:#06C755;
  --margin:clamp(20px,5vw,80px); --max:1280px;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Noto Sans Thai",sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper);font-size:clamp(17px,1.02rem + .19vw,18px);line-height:1.75}
img{display:block;max-width:100%}
a{color:inherit}
.nw{white-space:nowrap}
.wrap{max-width:calc(var(--max) + 2*var(--margin));margin:0 auto;padding:0 var(--margin)}
.demo{background:var(--ink);color:rgba(255,255,255,.62);font-size:14px;line-height:1.6;padding:7px 0;position:relative;z-index:6}
.demo .wrap{display:flex;justify-content:space-between;gap:16px}
.demo a{color:#fff;text-decoration:none}
.m-only{display:none}
/* header */
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;height:84px}
.mark{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:19px;line-height:1}
.mark b{font-weight:600}.mark span{opacity:.62;font-weight:400}
.nav{display:flex;gap:36px;font-size:16px;font-weight:500}
.nav a{text-decoration:none}
/* LINE glyph: bare logo, no tile */
.lg{width:1.15em;height:auto;flex:none;display:block;transform:translateY(.02em)}
.btn{display:inline-flex;align-items:center;gap:.55em;font-size:17px;font-weight:500;line-height:1.4;padding:15px 24px 15px 20px;border-radius:2px;text-decoration:none;white-space:nowrap}
.btn-ink{background:var(--ink);color:#fff}
.btn-white{background:#fff;color:var(--ink)}
.btn-sm{font-size:16px;padding:10px 18px 10px 15px}
.tlink{text-decoration:underline;text-underline-offset:.32em;text-decoration-thickness:1px;font-weight:500;font-size:17px;white-space:nowrap}
/* H1 */
.h1{font-weight:600;font-stretch:87.5%;line-height:1.35;letter-spacing:0;text-wrap:balance}
.hand{font-family:"Playpen",cursive;font-weight:600;font-size:1.0em;position:relative;display:inline-block;padding:0 .04em}
.hand svg{position:absolute;left:-2%;width:104%;bottom:-.06em;height:.26em;overflow:visible;z-index:-1}
.lead{font-family:"Noto Looped",sans-serif;font-size:clamp(18px,1.05rem + .3vw,21px);line-height:1.7;text-wrap:pretty}
/* one label style */
.label{font-size:13px;font-weight:500;line-height:1.5;color:var(--label)}
.chip{display:inline-flex;align-items:center;gap:10px;background:var(--paper);padding:6px 12px 6px 10px;border-radius:2px}
.sun{width:10px;height:10px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 3px rgba(242,169,59,.22),0 0 14px 2px rgba(242,169,59,.35);flex:none}
.facts{display:flex;gap:28px;flex-wrap:wrap;font-size:15px;line-height:1.5;color:var(--mute)}
.facts span{display:inline-flex;align-items:center;gap:8px}
.facts span::before{content:"";width:5px;height:5px;background:var(--ink);border-radius:50%;opacity:.55}
/* Playpen Sans Thai 600 (OFL, Google Fonts) — the comp only shipped the static 300 cut */
@font-face{font-family:"Playpen600";font-display:swap;src:url(../fonts/PlaypenSansThai-600-thai.woff2) format("woff2");font-weight:600;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
.hand{font-family:"Playpen600","Playpen",cursive}
/* v3: no hard rectangles */
.btn{border-radius:999px}
.btn{padding:15px 26px 15px 20px}
.btn-sm{padding:10px 20px 10px 15px}
.sec{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:17px;text-decoration:none;white-space:nowrap;padding:12px 4px;opacity:.92}
.sec:hover{opacity:1}
.sec .go{width:16px;height:16px;transform:translateY(1px)}
.sunnote{display:inline-flex;align-items:center;gap:10px;text-shadow:0 0 12px rgba(242,240,235,.9),0 0 3px rgba(242,240,235,.9)}
.sunnote b{font-weight:600}
/* v4 */
@font-face{font-family:"Trirong";font-display:swap;src:url(../fonts/Trirong-600-thai.woff2) format("woff2");font-weight:600;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Trirong";font-display:swap;src:url(../fonts/Trirong-600-latin.woff2) format("woff2");font-weight:600;unicode-range:U+0000-00FF,U+0E3F,U+2000-206F}
.serif{font-family:"Trirong",serif;font-weight:600;font-stretch:100%}
.sun{background:#E8E4DC;box-shadow:0 0 0 3px rgba(232,228,220,.18),0 0 12px 2px rgba(232,228,220,.25)}
.paper-grain{position:relative;isolation:isolate}
.paper-grain::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.04;mix-blend-mode:multiply;pointer-events:none;z-index:-1}

/* hero (b.css, scoped) */
.hero{position:relative;height:calc(100vh - 38px);min-height:720px;max-height:1000px;color:#fff;background:var(--ink);overflow:hidden;isolation:isolate}
.hero .ph,.hero .ph img{position:absolute;inset:0;width:100%;height:100%}
.hero .ph img{object-fit:cover;object-position:88% 60%}
.hero .scrim{position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(23,25,28,.78) 0%,rgba(23,25,28,.58) 28%,rgba(23,25,28,.14) 46%,rgba(23,25,28,0) 58%),
  linear-gradient(0deg,rgba(23,25,28,.55) 0%,rgba(23,25,28,0) 26%),
  linear-gradient(180deg,rgba(23,25,28,.35) 0%,rgba(23,25,28,0) 16%)}
.hero .hdr{position:relative;z-index:3}
.hero .mark,.hero .nav a{color:#fff}
.hero .mark span{opacity:.7}
.hero .copy{position:absolute;inset:84px 0 0 0;z-index:2;display:flex;flex-direction:column}
.hero .copy .wrap{height:100%;display:flex;flex-direction:column;width:100%}
.hero .block{margin:auto 0;max-width:520px;padding-bottom:16px}
.hero .chip{background:rgba(242,240,235,.94)}
.hero .chip b{font-weight:600}
.hero .h1{font-size:clamp(40px,1.6rem + 2.7vw,66px);margin-top:28px;text-shadow:0 1px 24px rgba(23,25,28,.25)}
.hero .hand svg{z-index:0}
.hero .lead{margin-top:22px;color:rgba(255,255,255,.88);max-width:24em}
.hero .cta{display:flex;align-items:center;gap:32px;margin-top:40px}
.hero .facts{color:rgba(255,255,255,.72);padding:0 0 36px}
.hero .facts span::before{background:#fff}
@media (max-width:760px){.hero .d-only{display:none}
.hero{height:auto;min-height:calc(100svh - 38px);max-height:none;display:flex;flex-direction:column}
.hero .ph{position:relative;inset:auto;height:auto}
.hero .ph img{position:relative;height:auto;aspect-ratio:375/350;object-position:30% 30%}
.hero .block .chip{display:none}
.hero .scrim{background:linear-gradient(180deg,rgba(23,25,28,.45) 0%,rgba(23,25,28,0) 18%,rgba(23,25,28,0) 30%,rgba(23,25,28,.9) 44%,var(--ink) 50%)}
.hero .hdr{position:absolute;top:0;left:0;right:0}
.hero .hdr .wrap{height:64px}
.hero .nav{display:none}
.hero .copy{position:relative;inset:auto;margin-top:-40px;padding-bottom:28px}
.hero .h1{font-size:34px;line-height:1.38;margin-top:0}
.hero .lead{margin-top:14px;font-size:18px}
.hero .cta{flex-direction:column;align-items:stretch;gap:16px;margin-top:24px}
.hero .cta .btn{justify-content:center}
.hero .cta .tlink{align-self:center}
.hero .facts{display:none}
.hero .block{padding-bottom:0}}
.hero .ph::after{content:"";position:absolute;inset:0;background:var(--grain);opacity:.14;mix-blend-mode:soft-light;pointer-events:none;z-index:1}
@media (max-width:760px){.hero .scrim{inset:0 0 auto 0;height:calc(100vw*350/375 + 2px);z-index:1;background:linear-gradient(180deg,rgba(23,25,28,.5) 0%,rgba(23,25,28,0) 20%,rgba(23,25,28,0) 55%,rgba(23,25,28,.75) 82%,var(--ink) 100%)}
.hero .copy{margin-top:-64px}
.hero .facts{display:flex;flex-direction:column;gap:6px;padding:28px 0 0;font-size:14px}}
.hero .feather{position:absolute;left:0;right:0;bottom:0;height:160px;z-index:1;background:linear-gradient(180deg,rgba(242,240,235,0) 0%,rgba(242,240,235,.55) 55%,var(--paper) 100%);pointer-events:none}
.hero .block{transform:translateY(-40px)}
.hero .facts{padding:28px 0 0}
.hero .sunnote{color:#fff;text-shadow:0 0 14px rgba(23,25,28,.7),0 0 3px rgba(23,25,28,.6)}
.hero .sunnote .label,.hero .block .sunnote{color:#fff}
.hero .sec{color:#fff}
@media (max-width:760px){.hero .block{transform:none}
.hero .feather{height:90px;background:linear-gradient(180deg,rgba(23,25,28,0),var(--paper))}
.hero .copy{padding-bottom:110px}
.hero .facts{padding-top:24px}}
.hero .ph img{object-position:62% 40%}
.hero .ph::after{display:none}
.hero .scrim{background:
  linear-gradient(90deg,rgba(17,19,22,.78) 0%,rgba(17,19,22,.35) 42%,rgba(17,19,22,0) 62%),
  linear-gradient(180deg,rgba(17,19,22,.45) 0,rgba(17,19,22,0) 120px)}
.hero .feather{height:180px;background:linear-gradient(180deg,rgba(23,25,28,0) 0%,rgba(23,25,28,.6) 60%,var(--ink) 100%)}
.hero .h1{font-size:72px;line-height:1.18;margin-top:24px;text-shadow:0 1px 20px rgba(17,19,22,.3);max-width:none}
.hero .h1 .hand{font-size:.98em}
.hero .block{max-width:600px;transform:translateY(-24px)}
.hero .sunnote{text-shadow:0 0 10px rgba(17,19,22,.6)}
.hero .facts{color:rgba(255,255,255,.78)}
@media (max-width:760px){.hero .ph img{aspect-ratio:375/360;object-position:70% 40%}
.hero .scrim{height:calc(100vw*360/375 + 2px);background:linear-gradient(180deg,rgba(17,19,22,.5) 0%,rgba(17,19,22,0) 22%,rgba(17,19,22,0) 58%,rgba(23,25,28,.8) 84%,var(--ink) 100%)}
.hero .feather{display:none}
.hero .copy{padding-bottom:40px}
.hero .h1{font-size:40px;line-height:1.18}}
.hero .ph img{object-position:100% 40%}
@media (max-width:760px){.hero .ph img{object-position:70% 40%}
.hero .cta .sec{align-self:flex-start;padding-left:0}}
.hero .ph img{object-position:100% 100%}
.hero .scrim{background:
  linear-gradient(90deg,rgba(17,19,22,.78) 0%,rgba(17,19,22,.35) 42%,rgba(17,19,22,0) 62%),
  linear-gradient(180deg,rgba(17,19,22,.45) 0,rgba(17,19,22,0) 120px),
  linear-gradient(0deg,rgba(17,19,22,.5) 0,rgba(17,19,22,0) 40%)}
@media (max-width:760px){.hero .scrim{background:linear-gradient(180deg,rgba(17,19,22,.5) 0%,rgba(17,19,22,0) 22%,rgba(17,19,22,0) 58%,rgba(23,25,28,.8) 84%,var(--ink) 100%)}}
.hero .proof{margin-top:18px;font-size:16px;line-height:1.7;color:rgba(255,255,255,.86);max-width:30em}
.hero .block{transform:translateY(-56px)}
.hero .cta{margin-top:36px}
@media (max-width:760px){.hero .block{transform:none}
.hero .proof{font-size:15px;margin-top:14px}
.hero .cta{margin-top:28px}}
@media (min-width:761px){.hero .scrim{background:
  linear-gradient(90deg,rgba(17,19,22,.84) 0%,rgba(17,19,22,.74) 26%,rgba(17,19,22,.46) 42%,rgba(17,19,22,0) 62%),
  linear-gradient(180deg,rgba(17,19,22,.45) 0,rgba(17,19,22,0) 120px),
  linear-gradient(0deg,rgba(17,19,22,.5) 0,rgba(17,19,22,0) 40%)}}
/* calc (calc4.css, scoped) */
.inst{position:relative;isolation:isolate;overflow:hidden;color:#fff;padding:112px 0 112px;
  background:radial-gradient(60% 45% at 70% 0%,rgba(242,190,120,.045),rgba(242,190,120,0) 70%),var(--ink)}
.inst::after{content:"";position:absolute;inset:0;background:var(--grain);opacity:.10;mix-blend-mode:soft-light;pointer-events:none;z-index:-1}
.inst .lab{font-size:13px;font-weight:500;line-height:1.5;color:#9AA1A8}
.inst .num{font-variant-numeric:tabular-nums lining-nums}
.inst .amber{color:var(--sun)}
.inst .grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start}
.inst .head{grid-column:1/-1;margin-bottom:64px}
.inst .h2{font-size:48px;line-height:1.3;margin-top:12px}
.inst .inputs{grid-column:1/5;position:sticky;top:96px}
.inst .bill-in{display:flex;align-items:baseline;gap:10px;background:rgba(255,255,255,.055);border-radius:20px;padding:10px 20px 12px;margin-top:10px}
.inst .bill-in .cur{font-size:28px;color:rgba(255,255,255,.55);font-weight:300}
.inst .bill-in input{all:unset;width:100%;font-size:56px;font-weight:400;font-stretch:87.5%;line-height:1.3;color:#fff}
.inst .bill-in .unit{font-size:14px;color:#9AA1A8;white-space:nowrap}
.inst .range{position:relative;height:20px;margin:22px 20px 0}
.inst .range::before{content:"";position:absolute;left:0;right:0;top:9px;height:2px;border-radius:2px;background:#5A616A}
.inst .range i{position:absolute;left:0;top:9px;height:2px;border-radius:2px;background:#C9CDD2}
.inst .range b{position:absolute;top:0;width:20px;height:20px;margin-left:-10px;border-radius:50%;background:#fff}
.inst .range-t{display:flex;justify-content:space-between;margin:6px 20px 0}
.inst .grp{margin-top:48px;margin-bottom:8px}
.inst .opts{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.inst .opts span{font-size:17px;line-height:1.5;padding:9px 14px;border-radius:999px;color:rgba(255,255,255,.62);cursor:pointer;transition:background .15s,color .15s}
.inst .opts span:hover{color:#fff}
.inst .opts span.on{background:rgba(255,255,255,.11);color:#fff;font-weight:600}
.inst .opts.row{flex-direction:row;flex-wrap:wrap;gap:4px}
.inst .out{grid-column:6/13}
.inst .bigwrap{position:relative;display:inline-block;margin-top:4px}
.inst .big{font-size:140px;font-weight:300;font-stretch:75%;line-height:1.1;letter-spacing:-.01em}
.inst .pen{position:absolute;left:52%;top:100%;margin-top:-6px;display:flex;align-items:flex-end;gap:6px;white-space:nowrap}
.inst .pen svg{width:64px;height:44px;flex:none}
.inst .pen span{font-family:"Playpen600","Playpen",cursive;font-weight:600;font-size:20px;color:#E8E4DC;line-height:1;transform:translateY(8px)}
.inst .from{margin-top:14px;font-size:17px;color:rgba(255,255,255,.72)}
.inst .from s{color:#9AA1A8}
.inst .from b{font-weight:600}
.inst .roofrow{display:flex;gap:32px;align-items:center;margin-top:56px}
.inst .roof{margin:0;flex:none}
.inst .roof img{display:block;width:320px;height:200px;object-fit:cover;object-position:50% 50%;border-radius:24px}
.inst .cnt{font-size:20px;font-weight:500;line-height:1.4}
.inst .cnt .num{font-size:48px;font-weight:400;font-stretch:87.5%;margin-right:4px}
.inst .cnt small{display:block;font-size:14px;color:#9AA1A8;font-weight:400}
.inst .opts.sm{margin-top:14px}
.inst .opts.sm span{font-size:15px;padding:7px 14px}
.inst .stats{display:flex;flex-wrap:wrap;gap:24px 48px;margin-top:64px}
.inst .stats dt{font-size:13px;color:#9AA1A8;line-height:1.5}
.inst .stats dd{font-size:32px;font-weight:500;line-height:1.3;margin-top:4px}
.inst .stats dd small{font-size:15px;font-weight:400;color:#9AA1A8}
.inst .intro{margin-top:64px;max-width:34em;font-size:15px;line-height:1.7;color:rgba(255,255,255,.72)}
.inst .chartrow{display:flex;gap:32px;align-items:flex-end;margin-top:20px}
.inst .chartwrap{flex:1;min-width:0}
.inst .ch{display:block;width:100%;height:auto;overflow:visible}
.inst .ch text{fill:#9AA1A8;font-size:12px;font-family:"Noto Sans Thai",sans-serif}
.inst .legend{flex:none;width:150px;font-size:13px;color:#9AA1A8;line-height:1.6;padding-bottom:24px}
.inst .legend p{display:flex;align-items:center;gap:8px;margin-top:6px}
.inst .legend .now{display:block;color:rgba(255,255,255,.8);margin-bottom:10px}
.inst .legend b{color:#fff;font-weight:600}
.inst .k{width:10px;height:10px;border-radius:50%;flex:none}
.inst .k.self{background:var(--sun)}
.inst .k.exp{background:rgba(255,255,255,.22)}
.inst .k.load{background:none;box-shadow:inset 0 0 0 1.6px #fff}
.inst .cta{display:flex;align-items:center;gap:24px;margin-top:48px;flex-wrap:wrap}
.inst .cta .btn{border-radius:999px}
.inst .note{font-size:13px;color:#9AA1A8}
@media (max-width:760px){.inst{padding:72px 0 80px}
.inst .grid{display:block}
.inst .head{margin-bottom:40px}
.inst .h2{font-size:32px}
.inst .inputs{position:static}
.inst .bill-in input{font-size:44px}
.inst .out{margin-top:64px}
.inst .big{font-size:96px}
.inst .pen{left:46%}
.inst .pen svg{width:52px;height:36px}
.inst .pen span{font-size:18px}
.inst .from{margin-top:30px}
.inst .roofrow{flex-direction:column;align-items:flex-start;gap:16px;margin-top:40px}
.inst .roof img{width:100%;max-width:335px;height:auto;aspect-ratio:8/5;border-radius:20px}
.inst .stats{display:grid;grid-template-columns:1fr 1fr;gap:24px 24px;margin-top:48px}
.inst .stats dd{font-size:28px}
.inst .intro{margin-top:48px}
.inst .chartrow{flex-direction:column;align-items:flex-start;gap:12px}
.inst .chartwrap{width:100%}
.inst .ch text{font-size:20px}
.inst .legend{width:auto;display:flex;flex-wrap:wrap;gap:4px 18px;padding:0}
.inst .legend .now{width:100%;margin:0 0 4px}
.inst .legend .now br{display:none}
.inst .legend p{margin:0}
.inst .cta{flex-direction:column;align-items:stretch;gap:14px}
.inst .cta .btn{justify-content:center}}
.inst .from{margin-top:72px}
@media (max-width:760px){.inst .from{margin-top:64px}
.inst .pen{left:40%}}
.inst .legend .now span{display:block}
@media (max-width:760px){.inst .pen{left:45%}
.inst .legend .now span{display:inline;margin-right:10px}}
/* ==== v4.css ==== */
/* comp v4 — remaining sections. Surfaces: paper #F2F0EB, white #FFF, ink #17191C (+ sun accent). */
:root{--gr:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20560%20700%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M26%205.5%20L534%20113.5%20Q560%20119%20560%20145%20L560%20674%20Q560%20700%20534%20700%20L26%20700%20Q0%20700%200%20674%20L0%2026%20Q0%200%2026%205.5Z%27%20fill%3D%27black%27/%3E%3C/svg%3E");--r:24px;--mute2:#5A5F66}
section{position:relative;isolation:isolate}
.band-paper{background:var(--paper)}.band-white{background:#fff}.band-ink{background:var(--ink);color:#fff}
.band-paper::before,.band-white::before{content:"";position:absolute;inset:0;background:var(--gr);opacity:.04;mix-blend-mode:multiply;pointer-events:none;z-index:-1}
.price,.process,.works,.warranty,.voices,.faq{padding:128px 0}
.lab{font-size:13px;font-weight:500;line-height:1.5;color:var(--mute2)}
.band-ink .lab{color:#9AA1A8}
.h2{font-size:48px;line-height:1.3;margin-top:12px;text-wrap:balance}
.cap{font-size:14px;line-height:1.6;color:var(--mute2)}
.band-ink .cap{color:#9AA1A8}
.num{font-variant-numeric:tabular-nums lining-nums}
ul{list-style:none}
.ghost{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:999px;background:rgba(23,25,28,.06);color:var(--ink);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap;transition:background .15s}
.ghost:hover{background:rgba(23,25,28,.11)}
/* S5 price — lined table */
.shead{max-width:760px}
.sub{margin-top:16px;color:#33383E;font-size:18px;line-height:1.7}
.ptab{width:100%;border-collapse:collapse;margin-top:64px;table-layout:fixed}
.ptab th,.ptab td{text-align:left;vertical-align:top;padding:16px 16px 16px 0;font-size:17px;line-height:1.5}
.ptab tbody tr{border-top:1px solid rgba(23,25,28,.10)}
.ptab tbody th{font-weight:500;font-size:14px;color:var(--mute2);width:18%}
.ptab thead th{padding-bottom:24px}
.pn{display:block;font-size:20px;font-weight:600;line-height:1.4}
.meter{display:flex;gap:3px;margin-top:14px}
.meter i{width:5px;height:16px;border-radius:3px;background:rgba(23,25,28,.13)}
.meter i.on{background:var(--ink)}
.pc{display:block;font-size:14px;font-weight:400;color:var(--mute2);margin-top:8px}
.ptab tr.price td{font-size:30px;font-weight:500;padding-top:20px}
.ptab tr.price th{padding-top:28px}
.ptab tr.act{border-top:0}
.ptab tr.act td{padding-top:8px}
.pmob{display:none}
.incl{display:grid;grid-template-columns:7fr 5fr;gap:64px;margin-top:80px}
.incl h3{font-size:17px;font-weight:600}
.incl ul{margin-top:12px;columns:2;column-gap:32px}
.incl .incl ul,.incl div+div ul{columns:1}
.incl li{font-size:16px;line-height:1.6;padding:6px 0;break-inside:avoid;color:#33383E}
.incl .cap{margin-top:20px}
/* S6 process — brand mask (12° roof corner) */
.pgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start}
.pmask{grid-column:1/6;margin:0;position:sticky;top:96px}
.pmask img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:60% 50%;-webkit-mask:var(--mask) center/100% 100% no-repeat;mask:var(--mask) center/100% 100% no-repeat}
.pmask figcaption{margin-top:14px;font-size:14px;color:var(--mute2)}
.ptext{grid-column:7/13;padding-top:24px}
.steps{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:48px 40px;margin-top:56px}
.day{font-size:28px;line-height:1.3;color:var(--ink)}
.steps h3{font-size:18px;font-weight:600;line-height:1.5;margin-top:8px}
.steps li>p:last-child{font-size:16px;line-height:1.7;color:#33383E;margin-top:4px}
/* S7 works — mixed ratios + one overlap cluster */
.whead{display:flex;justify-content:space-between;align-items:flex-end;gap:32px}
.wgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;margin-top:64px}
.wgrid figure{margin:0}
.wgrid img{display:block;width:100%;object-fit:cover;border-radius:var(--r)}
.wa{grid-column:1/9;grid-row:1}
.wa img{aspect-ratio:3/2}
.wta{grid-column:9/13;grid-row:1;align-self:start;padding-top:8px}
.wb{grid-column:2/6;grid-row:2;margin-top:-120px!important;position:relative;z-index:1}
.wb img{aspect-ratio:4/5;outline:10px solid var(--ink)}
.wtb{grid-column:2/6;grid-row:3;margin-top:24px}
.wc{grid-column:7/13;grid-row:2;margin-top:96px!important}
.wc img{aspect-ratio:1/1}
.wtc{grid-column:7/12;grid-row:3;margin-top:24px}
.wt h3{font-size:20px;font-weight:600;line-height:1.4}
.wt p{font-size:16px;line-height:1.7;color:rgba(255,255,255,.72);margin-top:6px}
.wt .fig{margin-top:16px;color:#fff;font-size:18px}
.wt .fig .num{font-size:40px;font-weight:400;font-stretch:87.5%;margin-right:4px}
.wt .fig small{color:#9AA1A8;font-size:14px;margin-left:6px}
.wt .bill{margin-top:4px}
.wt .bill s{color:#9AA1A8}.wt .bill b{color:#fff;font-weight:600}
/* S8 warranty + team */
.wgr{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start}
.wl{grid-column:1/6}
.eng{margin-top:20px;font-size:18px;line-height:1.7;color:#33383E;max-width:26em}
.proofs{display:flex;gap:48px;margin-top:48px}
.proofs p{display:flex;align-items:flex-end;gap:12px}
.pn2{font-size:88px;line-height:1;font-weight:600}
.pl2{font-size:15px;line-height:1.5;color:#33383E;padding-bottom:10px}
.wtab{grid-column:7/13;width:100%;border-collapse:collapse;margin-top:12px}
.wtab th,.wtab td{text-align:left;vertical-align:top;padding:18px 16px 18px 0;font-size:16px;line-height:1.5}
.wtab thead th{font-size:13px;font-weight:500;color:var(--mute2);padding-top:0}
.wtab tbody tr{border-top:1px solid rgba(23,25,28,.10)}
.wtab tbody th{font-weight:500}
.wtab .len{font-size:20px;font-weight:500;white-space:nowrap}
.wtab .len small{display:block;font-size:13px;font-weight:400;color:var(--mute2);white-space:normal}
.wtab .who{color:var(--mute2);font-size:15px}
/* S9 voices — small framed cover */
.vgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:center}
.vq{grid-column:1/8}
.qm{width:56px;height:42px;color:rgba(23,25,28,.14);margin-top:32px;display:block}
.q1{font-size:34px;line-height:1.5;margin-top:16px}
.who{margin-top:16px;font-size:15px;font-weight:600}
.who .m{font-weight:400;color:var(--mute2);margin-left:8px}
.q2{font-size:20px;line-height:1.7;margin-top:56px;max-width:26em;color:#33383E}
.vm{grid-column:9/13;margin:0}
.vm img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r)}
.vm figcaption{margin-top:12px;font-size:14px;color:var(--mute2)}
/* S10 faq */
.fgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start}
.fl{grid-column:1/5;position:sticky;top:96px}
.fl .cap{margin-top:16px;max-width:22em}
.flist{grid-column:6/13}
.flist details{border-top:1px solid rgba(23,25,28,.10)}
.flist details:last-child{border-bottom:1px solid rgba(23,25,28,.10)}
.flist summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;font-size:19px;font-weight:600;line-height:1.5;cursor:pointer}
.flist summary::-webkit-details-marker{display:none}
.pl{width:20px;height:20px;flex:none;color:var(--ink)}
.flist details p{padding:0 48px 24px 0;font-size:17px;line-height:1.75;color:#33383E;margin-top:-6px}
/* S11 final — full-bleed dusk */
.final{color:#fff;background:var(--ink);overflow:hidden;min-height:760px;display:flex;align-items:center}
.final .ph,.final .ph img{position:absolute;inset:0;width:100%;height:100%}
.final .ph img{object-fit:cover;object-position:100% 100%}
.final .scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,19,22,.84) 0%,rgba(17,19,22,.7) 28%,rgba(17,19,22,.3) 46%,rgba(17,19,22,0) 62%),linear-gradient(0deg,var(--ink) 0,rgba(23,25,28,0) 160px)}
.final .wrap{position:relative;z-index:2;width:100%}
.final .in{max-width:560px;padding:128px 0}
.final .lab{color:#C9CDD2}
.final .h2{font-size:56px}
.final .lead{margin-top:16px;color:rgba(255,255,255,.88)}
.acts{display:flex;gap:16px;margin-top:36px;flex-wrap:wrap}
.btn-soft{background:rgba(255,255,255,.12);color:#fff}
.final .cap{margin-top:20px;color:#C9CDD2}
/* footer */
.foot{background:var(--ink);color:rgba(255,255,255,.72);padding:72px 0 48px;font-size:15px;line-height:1.7}
.foot .fg{display:grid;grid-template-columns:5fr 4fr 3fr;gap:32px}
.foot .mark{color:#fff}.foot .mark span{opacity:.7}
.foot p{margin-top:12px}
.foot h3{font-size:13px;font-weight:500;color:#9AA1A8}
.foot .links{display:flex;flex-wrap:wrap;gap:4px 20px}
.foot a{color:#fff;text-decoration:none}
.foot .ai{margin-top:56px;font-size:14px;color:#C9CDD2;max-width:60em}
.foot .fonts{font-size:13px;color:#9AA1A8;margin-top:6px}
/* hero → calc seam and calc padding */
.inst{padding-top:128px!important;padding-bottom:128px!important}
/* ---------- mobile ---------- */
@media (max-width:760px){
  .price,.process,.works,.warranty,.voices,.faq{padding:72px 0}
  .inst{padding-top:72px!important;padding-bottom:72px!important}
  .h2{font-size:32px}
  .sub{font-size:17px}
  .ptab{display:none}
  .pmob{display:block;margin-top:40px}
  .pkg{padding:32px 0;border-top:1px solid rgba(23,25,28,.10)}
  .pkg .pp{font-size:30px;font-weight:500;margin-top:4px}
  .pkg dl{margin-top:16px}
  .pkg dl div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;font-size:16px}
  .pkg dt{color:var(--mute2);font-size:14px}
  .pkg dd{text-align:right}
  .pkg .ghost{margin-top:16px}
  .incl{grid-template-columns:1fr;gap:40px;margin-top:48px}
  .incl ul{columns:1}
  .pgrid,.wgr,.vgrid,.fgrid{display:block}
  .pmask{position:static}
  .ptext{padding-top:40px}
  .steps{grid-template-columns:1fr;gap:32px;margin-top:32px}
  .day{font-size:24px}
  .whead{flex-direction:column;align-items:flex-start;gap:8px}
  .wgrid{display:block;margin-top:40px}
  .wb{margin-top:-64px!important;width:62%;margin-left:auto!important}
  .wb img{outline-width:8px}
  .wc{margin-top:48px!important}
  .wta,.wtb,.wtc{margin-top:20px;padding:0}
  .wt .fig .num{font-size:34px}
  .proofs{gap:32px;margin-top:32px}
  .pn2{font-size:64px}
  .wtab{margin-top:48px}
  .wtab thead{display:none}
  .wtab tr{display:grid;grid-template-columns:1fr auto;padding:16px 0}
  .wtab th,.wtab td{padding:0}
  .wtab tbody th{grid-column:1/-1}
  .wtab .len{margin-top:4px}.wtab .who{margin-top:8px;text-align:right}
  .q1{font-size:24px}
  .q2{font-size:18px;margin-top:40px}
  .vm{margin-top:48px;width:72%}
  .fl{position:static}
  .flist{margin-top:32px}
  .flist summary{font-size:17px;padding:18px 0}
  .final{min-height:auto;display:block}
  .final .ph{position:relative;height:auto}
  .final .ph img{position:relative;height:auto;aspect-ratio:375/300;object-position:70% 50%}
  .final .scrim{inset:0 0 auto 0;height:calc(100vw*300/375 + 2px);background:linear-gradient(180deg,rgba(17,19,22,0) 50%,var(--ink) 100%)}
  .final .in{padding:8px 0 72px}
  .final .h2{font-size:34px}
  .acts{flex-direction:column;align-items:stretch}
  .acts .btn{justify-content:center}
  .foot .fg{grid-template-columns:1fr;gap:28px}
}
@media (min-width:761px){
.wc{grid-row:2/4;align-self:start}
.wtc{grid-row:4}
.wtb{grid-row:3;align-self:start}
}
@media (max-width:760px){.wb{margin-top:40px!important;width:72%;margin-left:0!important}.wb img{outline:0}}

/* ==== v5.css ==== */
/* v5: bigger type, less content. Minimums: body 18/17, labels & captions 15. */
body{font-size:18px}
.demo{font-size:15px}
.lab,.inst .lab{font-size:15px}
.cap,.band-ink .cap{font-size:15px}
.h2{font-size:54px;line-height:1.28}
/* hero */
.hero .sunnote{font-size:15px}
.hero .lead{font-size:21px}
.hero .proof{font-size:17px}
.hero .nav a{font-size:16px}
/* calculator */
.inst .bill-in .unit{font-size:15px}
.inst .from{font-size:19px}
.inst .cnt small{font-size:15px}
.inst .opts span{font-size:18px}
.inst .opts.sm span{font-size:16px}
.inst .stats{gap:24px 64px}
.inst .stats dt{font-size:15px}
.inst .stats dd{font-size:40px}
.inst .stats dd small{font-size:17px}
.inst .legend{font-size:15px;width:170px}
.inst .axis{display:flex;justify-content:space-around;padding:6px 12.5% 0;font-size:15px;color:#9AA1A8}
.inst .axis span{flex:1;text-align:center}
.inst .note{font-size:15px}
/* price */
.sub{font-size:20px}
.ptab th,.ptab td{font-size:19px;padding:20px 16px 20px 0}
.ptab tbody th{font-size:15px;width:22%}
.ptab .u{font-size:15px;color:var(--mute2)}
.pn{font-size:22px}
.meter i{width:6px;height:18px}
.ptab tr.price td{font-size:40px;padding-top:24px}
.ptab tr.price th{padding-top:36px}
.ghost{font-size:16px;padding:12px 20px}
.more{margin-top:40px;border-top:1px solid rgba(23,25,28,.10)}
.more summary{list-style:none;display:inline-flex;align-items:center;gap:12px;padding:20px 0;font-size:18px;font-weight:600;cursor:pointer}
.more summary::-webkit-details-marker{display:none}
.more .ptab{margin-top:8px}
.specm{display:none}
.incl{grid-template-columns:1fr 1fr;margin-top:56px;max-width:880px}
.incl h3{font-size:19px}
.incl ul{columns:1!important}
.incl li{font-size:18px;padding:6px 0}
.price>.wrap>.cap{margin-top:32px}
/* process */
.pmask figcaption,.vm figcaption{font-size:15px}
.steps{gap:56px 48px}
.day{font-size:34px}
.steps h3{font-size:21px;margin-top:10px}
.steps li>p:last-child{font-size:18px}
/* works */
.wt h3{font-size:22px}
.wt p{font-size:18px}
.wt .fig{font-size:20px}
.wt .fig .num{font-size:52px}
.wt .bill{font-size:19px}
/* warranty */
.wgr{align-items:end}
.eng{font-size:20px}
.proofs{grid-column:7/13;margin-top:0;justify-content:space-between;gap:32px}
.pn2{font-size:104px}
.pl2{font-size:17px}
/* voices */
.q1{font-size:40px;line-height:1.45}
.who{font-size:17px}
.qm{width:64px;height:48px}
/* faq */
.flist summary{font-size:21px;padding:26px 0}
.flist details p{font-size:18px}
/* final + footer */
.final{min-height:680px}
.final .h2{font-size:60px}
.final .lead{font-size:21px}
.btn{font-size:17px}
.foot{font-size:16px}
.foot .fg{grid-template-columns:1fr 1fr}
.foot .links{justify-content:flex-end;gap:8px 28px;margin-top:4px}
.foot .ai{font-size:15px}
@media (max-width:760px){
  body{font-size:17px}
  .h2{font-size:36px}
  .final .h2{font-size:38px}
  .hero .lead{font-size:18px}
  .hero .proof{font-size:16px}
  .inst .stats{grid-template-columns:1fr 1fr}
  .inst .stats dd{font-size:32px}
  .inst .legend{width:auto;font-size:15px}
  .inst .axis{padding:6px 8% 0}
  .sub{font-size:18px}
  .pn{font-size:21px}
  .pkg .pp{font-size:36px;margin-top:12px}
  .pkg dl div{font-size:17px}
  .pkg dt{font-size:15px}
  .more .ptab{display:none}
  .specm{display:block}
  .specm div{padding:12px 0}
  .specm dt{font-size:15px;color:var(--mute2)}
  .specm dd{font-size:17px}
  .incl{grid-template-columns:1fr 1fr;gap:24px}
  .incl li{font-size:17px}
  .day{font-size:28px}
  .steps h3{font-size:19px}
  .steps li>p:last-child{font-size:17px}
  .wt h3{font-size:20px}
  .wt p{font-size:17px}
  .wt .fig .num{font-size:44px}
  .proofs{flex-direction:column;gap:20px;margin-top:40px}
  .pn2{font-size:80px}
  .eng{font-size:18px}
  .q1{font-size:28px}
  .flist summary{font-size:18px}
  .flist details p{font-size:17px}
  .final .lead{font-size:18px}
  .foot .fg{grid-template-columns:1fr}
  .foot .links{justify-content:flex-start}
}
.proofs p{flex-direction:column;align-items:flex-start;gap:6px}
.pl2{padding:0;font-size:18px}
.inst .k{width:18px;height:6px;border-radius:3px}
.inst .k.load{box-shadow:none;background:#fff;height:2px}
@media (max-width:760px){.proofs{flex-direction:row;flex-wrap:wrap;gap:24px 32px}.pn2{font-size:72px}}
@media (max-width:760px){.incl{grid-template-columns:1fr}.proofs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pn2{font-size:60px}.pl2{font-size:16px}}
.hero .proof{font-size:18px}
@media (max-width:760px){.hero .proof{font-size:17px}}

/* ==== site.css ==== */
/* site.css — v5 build layer on top of the comp CSS (v4-base + v4 + v5, copied verbatim).
   Only: real controls under the comp's drawn ones, focus, states, and MOTION-v5.md (M1–M19).
   Motion tokens from MOTION-v5.md: ease-out cubic-bezier(.2,0,0,1), in-out cubic-bezier(.65,0,.35,1). */
:root{--m-out:cubic-bezier(.2,0,0,1);--m-inout:cubic-bezier(.65,0,.35,1);--bar-h:80px}
html{scroll-padding-top:var(--bar-h)}
img{height:auto}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:16px;top:-80px;z-index:100;background:#fff;color:var(--ink);padding:10px 20px;border-radius:999px;font-weight:600;text-decoration:none}
.skip:focus{top:8px}
.demo .by{color:#fff}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.btn:focus-visible,.ghost:focus-visible{outline-offset:4px}
.btn-white:focus-visible{outline-color:#fff}

/* ---- calculator: real inputs, comp look ---- */
.inst .bill-in{position:relative;isolation:isolate}
.inst .bill-in::before{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(255,255,255,.06);opacity:0;z-index:-1;pointer-events:none}
.inst .bill-in:focus-within::before{opacity:1}
.inst .bill-in:has(input:focus-visible){outline:2px solid rgba(255,255,255,.45);outline-offset:3px}
.inst .bill-in input{cursor:text}
.inst .err{margin-top:10px;font-size:15px;line-height:1.5;color:var(--sun)}
.inst .range input{position:absolute;inset:-12px -10px;width:calc(100% + 20px);height:calc(100% + 24px);margin:0;z-index:1;opacity:0;cursor:pointer;touch-action:none}
.inst .range{touch-action:none}
.inst .range b{transform-origin:50% 50%}
.inst .range:has(input:focus-visible) b{outline:2px solid #fff;outline-offset:3px}
.inst .opts{position:relative}
.inst .opts label{position:relative;z-index:1;display:block}
.inst .opts input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.inst .opts span{display:block}
.inst .opts input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
.inst .opts.sm label::after{content:"";position:absolute;inset:-4px 0}
.inst .opts .pill{position:absolute;inset:0;z-index:0;background:rgba(255,255,255,.11);pointer-events:none;clip-path:inset(0 100% 100% 0 round 999px)}
.js .inst .opts:has(.pill) span.on{background:transparent}
.inst .roof{position:relative;border-radius:24px}
.inst .roof .r16{position:absolute;inset:0;width:100%;height:100%;opacity:0}
.inst .roof.full .r16{opacity:1}
.inst .ch path,.inst .ch circle{transform-box:fill-box}
#c-prod,#c-self{transform-origin:50% 100%}
.inst .opts.row label[hidden]{display:none}
@media (max-width:760px){.inst .roof .r16{border-radius:20px}}

/* ---- details: ดูสเปกเต็ม + FAQ (M16) ---- */
.pl .v{transform-box:fill-box;transform-origin:50% 50%}
details[open]>summary .pl .v{transform:rotate(90deg);opacity:0}
summary{border-radius:4px}
summary:focus-visible{outline-offset:4px}

/* ---- BLUR ADDENDUM (research/blur-and-glass.md B1–B12; demo blur-demo/site/blur.css) ---- */
/* P2 floating glass pill nav, sticky (header lives outside the hero). No border (B2), -webkit- first (B7), fallbacks (B8).
   M18: the pill replaces the old "transparent → ink bar"; on mobile it hides on scroll down / shows on scroll up
   by moving the zero-height parent (.hdr), never the glass element itself (B7). */
.hdr{position:sticky;top:0;height:0;z-index:30}
.hdr .wrap{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:min(calc(var(--max) + 36px),calc(100% - 2*var(--margin) + 36px));max-width:none;height:62px;padding:0 9px 0 18px;border-radius:999px;color:#fff;
  background:rgba(23,25,28,.56);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);box-shadow:0 12px 40px rgba(17,19,22,.20)}
.hdr .mark,.hdr .nav a{color:#fff}.hdr .mark span{opacity:.7}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hdr .wrap{background:rgba(23,25,28,.92)}}
@media (max-width:760px){.hdr .nav{display:none}.hdr .wrap{top:8px;height:54px;width:calc(100% - 16px);padding:0 6px 0 12px}
  .hdr .btn-sm{padding:8px 16px 8px 13px}
  .hdr.up{transform:translateY(-80px)}}
:root{--bar-h:80px}
@media (max-width:760px){:root{--bar-h:70px}}
/* P4 sun note: one-line glass capsule on the photo (blur 14, saturate 1.4, tint .34), no text-shadow on Thai (B12) */
.hero .sunnote{display:inline-flex;align-items:center;gap:10px;padding:7px 18px 7px 13px;border-radius:999px;text-shadow:none;font-weight:500;
  background:rgba(23,25,28,.34);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hero .sunnote{background:rgba(23,25,28,.6)}}
@media (prefers-reduced-transparency:reduce){.hdr .wrap,.hero .sunnote{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(23,25,28,.94)}}
@media (prefers-contrast:more){.hdr .wrap,.hero .sunnote{-webkit-backdrop-filter:none;backdrop-filter:none;background:#17191C}}
/* P3b baked progressive blur at the hero foot: pre-blurred copy over the photo, same object-position, masked. Zero live filters (B5). */
.hero .ph.pbk{z-index:0;-webkit-mask-image:linear-gradient(to bottom,transparent 52%,#000 88%);mask-image:linear-gradient(to bottom,transparent 52%,#000 88%)}
@media (max-width:760px){
  .hero .ph.pbk{position:absolute;inset:0 0 auto 0;height:calc(100vw*360/375);-webkit-mask-image:linear-gradient(to bottom,transparent 45%,#000 85%);mask-image:linear-gradient(to bottom,transparent 45%,#000 85%)}
  .hero .ph.pbk img{position:absolute;inset:0;height:100%;aspect-ratio:auto;object-fit:cover}}
/* P1 calculator ambient: 2 KB pre-blurred warm roof photo (B4), anchored at the result, grain .16 (B10). No live filter. */
.inst::before{content:"";position:absolute;inset:0 0 auto 0;height:78%;z-index:-2;pointer-events:none;background:url(../img/amb-roof.jpg) 50% 20%/cover no-repeat;opacity:.5;
  -webkit-mask-image:radial-gradient(62% 72% at 68% 18%,#000 0%,rgba(0,0,0,.5) 50%,transparent 100%);mask-image:radial-gradient(62% 72% at 68% 18%,#000 0%,rgba(0,0,0,.5) 50%,transparent 100%)}
.inst{background:var(--ink)}
.inst::after{opacity:.16}
@media (max-width:760px){.inst::before{height:640px;background-size:100% 190%;background-position:0 0;opacity:.54;-webkit-mask-image:radial-gradient(90% 60% at 62% 22%,#000 0%,rgba(0,0,0,.5) 55%,transparent 100%);mask-image:radial-gradient(90% 60% at 62% 22%,#000 0%,rgba(0,0,0,.5) 55%,transparent 100%)}}
/* P1 contrast guard: small greys on the ambient step up to #C3C8CD */
.inst .lab,.inst .bill-in .unit,.inst .from s,.inst .cnt small,.inst .stats dt,.inst .stats dd small,.inst .legend,.inst .note,.inst .axis,.inst .range-t{color:#C3C8CD}
.inst .opts span{color:rgba(255,255,255,.8)}

/* ---- buttons (M17) ---- */
.btn-white:hover{background:#ECEAE5}
.btn-soft:hover{background:rgba(255,255,255,.18)}
.btn:active,.ghost:active{transform:scale(.97)}
.btn:hover .lg{transform:translate(2px,.02em)}

/* ---- H1 / H2 line masks (M2, M11). Padding keeps Thai marks inside the clip. ---- */
.ln{display:inline-block;padding-block:.25em;margin-block:-.25em} /* copy addendum: ≥ .25em so tone marks never clip */
.hero .h1 .ln:has(.hand){padding-block:.35em;margin-block:-.35em} /* handwriting line ("พอดี" + drawn stroke): .35em */
.lni{display:inline-block}
.h2 .ln{white-space:nowrap}

/* ====================== motion (no-preference only) ====================== */
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth} /* M19 */
  /* M1 hero photo settle: scale only, full opacity from first paint (LCP) */
  .hero .ph img{animation:m-settle 1400ms var(--m-out) both}
  /* M2 H1 lines; clip only while moving */
  .hero .h1 .ln{animation:m-clip 700ms linear backwards}
  .hero .h1 .lni{animation:m-line 700ms var(--m-out) both}
  .hero .h1 .ln:nth-of-type(1),.hero .h1 .ln:nth-of-type(1) .lni{animation-delay:120ms}
  .hero .h1 .ln:nth-of-type(2),.hero .h1 .ln:nth-of-type(2) .lni{animation-delay:210ms}
  .hero .h1 .ln:nth-of-type(3),.hero .h1 .ln:nth-of-type(3) .lni{animation-delay:300ms}
  /* M3 amber stroke draws after the last line starts settling */
  .hero .hand svg{animation:m-draw 650ms var(--m-inout) 500ms both}
  /* M4 lead + team sentence */
  .hero .lead{animation:m-rise 500ms var(--m-out) 420ms both}
  .hero .proof{animation:m-rise 500ms var(--m-out) 500ms both}
  /* M10 */
  .inst .bill-in::before{transition:opacity 160ms var(--m-out)}
  .inst .range b{transition:transform 120ms var(--m-out)}
  .inst .range.drag b{transform:scale(1.15)}
  /* M9 */
  .inst .roof .r16{transition:opacity 320ms var(--m-inout)}
  /* M16 */
  :root{interpolate-size:allow-keywords}
  details::details-content{block-size:0;overflow:clip;transition:block-size 300ms var(--m-out),content-visibility 300ms allow-discrete}
  details[open]::details-content{block-size:auto}
  details[open]>:not(summary){animation:m-fade 200ms var(--m-out) 60ms both}
  .pl .v{transition:transform 240ms var(--m-out),opacity 240ms var(--m-out)}
  /* M17 */
  .btn,.ghost{transition:background-color 160ms var(--m-out),transform 120ms var(--m-out)}
  .btn .lg{transition:transform 160ms var(--m-out)}
  /* M18 (on the pill's parent; blur radius is never animated, B6) */
  .hdr{transition:transform 260ms var(--m-out)}
  /* M12 final photo: subtle parallax, desktop only */
  @media (min-width:761px){@supports (animation-timeline:view()){
    .final .ph img{top:-24px;bottom:-24px;height:calc(100% + 48px);animation:m-par linear both;animation-timeline:view()}
  }}
}
@keyframes m-settle{from{transform:scale(1.06)}to{transform:none}}
@keyframes m-clip{from,to{clip-path:inset(0 -20% 0 -20%)}}
@keyframes m-line{from{transform:translateY(100%)}to{transform:none}}
@keyframes m-draw{from{clip-path:inset(-50% 100% -50% 0)}to{clip-path:inset(-50% 0 -50% 0)}}
@keyframes m-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes m-fade{from{opacity:0}to{opacity:1}}
@keyframes m-par{from{transform:translateY(-24px)}to{transform:translateY(24px)}}

/* reduced motion: everything visible, instant state changes, values crossfade (JS, 150 ms) */
@media (prefers-reduced-motion:reduce){
  .hdr.up{transform:none}
}

/* fixes beyond the comp (listed in DONE-v5.md) */
main{overflow-x:clip} /* M12 start scale(1.04) must not add horizontal scroll */
@media (max-width:359px){.h2{font-size:32px}.final .h2{font-size:34px}} /* "เป็นลายลักษณ์อักษร" is 322px at 36px: overflowed 320 in the comp too */
/* 44px tap targets without moving anything */
.nav a,.foot .links a,.mark{position:relative}
.nav a::after{content:"";position:absolute;inset:-8px -12px}
.foot .links a::after{content:"";position:absolute;inset:-9px -10px}
.mark::after{content:"";position:absolute;inset:-11px -6px}
/* comp CSS had bare `.15s` (default ease) on option text and ghost buttons: replace with the motion tokens */
.inst .opts span{transition:color 150ms var(--m-out)}
@media (prefers-reduced-motion:reduce){.inst .opts span,.ghost{transition:none}}
.hdr .btn-sm{position:relative}.hdr .btn-sm::after{content:"";position:absolute;inset:-4px -2px} /* mobile pill button is 40px: 48px hit area */
.inst .bill-in .unit{color:#D6DADE} /* 375: 4.35:1 on the ambient inside the field; B12 asks ~5:1 for small Thai */
/* P2 contrast over the paper/white bands: tint .65 past the hero (5.9:1 for white text), logo second word .9 (≥5:1 on white) */
.hdr.past .wrap{background:rgba(23,25,28,.65)}
.hdr .mark span{opacity:.9}
@media (prefers-reduced-motion:no-preference){.hdr .wrap{transition:background-color 240ms var(--m-out)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hdr.past .wrap{background:rgba(23,25,28,.92)}}
@media (prefers-reduced-transparency:reduce){.hdr.past .wrap{background:rgba(23,25,28,.94)}}
@media (prefers-contrast:more){.hdr.past .wrap{background:#17191C}}

/* copy addendum: balanced headings, pretty body (Thai line breaks); never justify / letter-spacing / break-all */
h1,h2,h3,.pn,summary>span{text-wrap:balance}
p,li,dd,dt,blockquote,figcaption,td,th{text-wrap:pretty}

/* tablet 761–1100 (the comp was drawn at 1440 and 375 only; at 768 its desktop grid squeezed) */
.day{white-space:nowrap}                                   /* "วัน 7–30" never splits */
@media (min-width:761px){.foot .fg{grid-template-columns:minmax(0,1fr) auto}} /* links keep one row; same look at 1440 */
@media (min-width:761px) and (max-width:1100px){
  .inst .roofrow{flex-direction:column;align-items:flex-start;gap:20px}
  .inst .roof img{width:100%;max-width:420px;height:auto;aspect-ratio:8/5}
  .steps{grid-template-columns:1fr;gap:40px}
  .pgrid .pmask{grid-column:1/6}.pgrid .ptext{grid-column:6/13}
}
/* ≤359px: the three warranty figures become rows ("30  ปี แผงโซลาร์") so "ปี" never sits alone above its word */
@media (max-width:359px){.proofs{display:block}.proofs p{flex-direction:row;align-items:baseline;gap:14px;margin-top:10px}.pl2{padding:0}}
@media (max-width:359px){.foot .links{display:grid;grid-template-columns:repeat(3,max-content);gap:12px 28px}} /* 320: 3 + 2 links, never one alone */
.inst .opts span span{display:inline;padding:0;border-radius:0;background:none;color:inherit;font:inherit;transition:none} /* nowrap glossary span inside an option pill must stay inline */

