/* PROFI website v2 — one stylesheet for every page.
   Hero (Direktur Utama, 3 Nov 2026): a short centred headline, one line, one button, and one door drawn in SVG
   (scene.js) on a charcoal wall, so the green door is the only colour. Then a calm white page, one idea per section.
   Palette + Lato / Arimo / IBM Plex Mono only. No stripe texture. Motion: the door opens as you scroll; on /agen the
   hero stays pinned while you walk through the door (native scrolling, nothing hijacked). Nothing else moves.
   No inline styles anywhere: the CSP in _headers allows only this stylesheet (scene.js sets CSSOM properties only). */

/* ---------- Fonts (self-hosted, latin subset, SIL OFL 1.1; see assets/fonts/LICENSE.md) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/arimo-700-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

/* ---------- Tokens: profi-design palette; the only derived values are charcoal / white at an opacity ---------- */
:root {
  --charcoal: #231F20; --deep-a: #0B322A; --deep-b: #15493E; --tosca: #5DC2AA;
  --g1: #174F42; --g2: #1F6E5B; --g3: #2F8E77; --mint: #A8E0D0; --tl: #E9F7F3; --white: #FFFFFF;
  --ink-2: rgba(35, 31, 32, .74);           /* secondary text on white: ~7:1 */
  --line: rgba(35, 31, 32, .12);            /* hairlines on white */
  --on-dark-2: rgba(255, 255, 255, .84);    /* body text on deep green: >9:1 */
  --on-dark-3: rgba(255, 255, 255, .7);     /* small print on deep green: >6:1 */
  --err: #9B2C2C;                           /* functional: form error text only (7.6:1 on white) */
  --body: "Lato", Carlito, Calibri, "Segoe UI", Roboto, Arial, sans-serif;
  --label: "Arimo", Arial, "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: 20px; --maxw: 1160px; --sec: 72px;
}
@media (min-width: 720px) { :root { --gutter: 40px; --sec: 104px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; --sec: 128px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html { background: var(--charcoal); }          /* the ground behind the dark hero and footer: phone browser bars and overscroll take it */
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--charcoal); background: var(--charcoal); -webkit-font-smoothing: antialiased; }
main { background: var(--white); }
@media (max-width: 719px) { body { font-size: 17px; } }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--g2); text-underline-offset: 3px; }
a:hover { color: var(--g1); }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--g2); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--mint); }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--charcoal); padding: 10px 14px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.tint { background: var(--tl); }

/* ---------- Type ---------- */
.kicker { font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--g2); }
.on-dark .kicker { color: var(--mint); }
.h1 { font-weight: 700; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.16; letter-spacing: -0.005em; margin-top: 18px; }
.h1 .soft { display: block; margin-top: .08em; }
.h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.22; max-width: 18em; margin-top: 14px; }
.h1, .h2 { text-wrap: balance; }
.h3 { font-weight: 700; font-size: 21px; line-height: 1.3; }
.soft { color: var(--g3); }                  /* two-tone continuation on white: large text only (3.9:1) */
.on-dark .soft { color: var(--mint); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin-top: 18px; }
.on-dark .lead { color: var(--on-dark-2); }
.small { font-size: 15px; color: var(--ink-2); }
.on-dark .small { color: var(--on-dark-3); }
.fine { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.on-dark .fine { color: var(--on-dark-3); }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 8px;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center; text-decoration: none; background: var(--g1); color: var(--white);
  transition: background-color 150ms ease, transform 150ms ease; }
.btn:hover { background: var(--deep-a); color: var(--white); }
.btn:active { transform: translateY(1px); }
.on-dark .btn { background: var(--tosca); color: var(--charcoal); }
.on-dark .btn:hover { background: var(--mint); color: var(--charcoal); }
.on-dark .btn.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.on-dark .btn.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.wa-num { font-weight: 700; font-size: 15px; margin-top: 14px; }
.wa-num a { color: inherit; text-decoration: none; }

/* ---------- Framed hero ---------- */
/* the hero runs to the screen edges on every screen (Direktur Utama, 12 Nov 2026; it was an inset rounded panel before) */
.frame { overflow: hidden; background: linear-gradient(180deg, var(--deep-a), var(--deep-b)); color: var(--white); }
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter); }
.topnav .brand img { height: 26px; width: auto; }
.topnav ul { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 16px; }
.topnav ul a { color: var(--white); text-decoration: none; display: inline-block; padding: 10px 0; border-bottom: 2px solid transparent; transition: border-color 150ms ease; }
.topnav ul a:hover, .topnav ul a[aria-current] { border-color: var(--tosca); }
.topnav .s { display: none; }
@media (max-width: 719px) {
  .topnav .brand img { height: 22px; }
  .topnav ul { gap: 18px; font-size: 15px; }
  .topnav .l, .topnav .btn { display: none; }
  .topnav .s { display: inline; }
}
/* centred hero: kicker, short headline, one line, one button */
.hero-c { text-align: center; padding: 32px var(--gutter) 0; max-width: 980px; margin: 0 auto; }
.hero-c .h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -0.01em; margin-top: 20px; }
.hero-c .h1 .soft { display: inline; }
.hero-c .lead { margin: 22px auto 0; font-size: clamp(18px, 1.7vw, 22px); max-width: 30em; text-wrap: balance; }
.hero-c .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-c .after { margin-top: 16px; font-size: 15px; }
.hero-c .after a { color: var(--on-dark-2); }
.hero-c.short { padding-bottom: 72px; }
.hero-c.short .lead { max-width: 34em; }
.hero-c .fine { margin-top: 12px; }
@media (max-width: 719px) { .hero-c .acts .btn { width: 100%; } }

/* ---------- The door hero (scene.js) ---------- */
.frame.f11 { background: var(--charcoal); }
.door-hero { position: relative; min-height: 100vh; min-height: 100svh; }   /* svh: the phone address bar */
.door-hero .scene { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.door-hero .scene svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
/* home: the corridor door is drawn on one canvas (door.js); .fill is the light we walk into */
.door-hero .scene[data-door="corridor"] { background: var(--charcoal); isolation: isolate; }
.door-hero .scene canvas.cv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1200ms ease; }
.door-on .door-hero .scene canvas.cv { opacity: 1; }   /* door.js sets html.door-on once the first picture is drawn: the door fades in with the text, it never pops */
/* home: the same unhurried rise for the text as on /agen and /take-over (no script needed) */
.door-hero .hero-c > * { animation: hero-up 950ms cubic-bezier(.22, .61, .36, 1) both; }
.door-hero .hero-c > .kicker { animation-delay: 200ms; }
.door-hero .hero-c > .h1 { animation-delay: 360ms; }
.door-hero .hero-c > .lead { animation-delay: 580ms; }
.door-hero .hero-c > .acts { animation-delay: 800ms; }
.door-hero .scene .fill { position: absolute; inset: 0; z-index: 5; background: var(--tl); opacity: 0; pointer-events: none; }
.door-hero .topnav, .door-hero .hero-c { position: relative; z-index: 1; }

/* walk-through (home): only when door.js runs (html.walking). Without it, or with reduced motion, a normal page. */
.walk { position: relative; }
.walking .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--white); }
.walking .walk.virtual .stage { position: relative; }
.walking .stage .door-hero { position: absolute; left: 0; right: 0; top: 0; bottom: 0; min-height: 0; }
.walk + main { position: relative; z-index: 2; }
.after-door { background: var(--tl); }
/* the next heading appears in the light as you cross the doorway; the real heading stays in the page for screen readers */
.arrive { display: none; }
.walking .arrive { display: block; position: absolute; left: 0; right: 0; top: 30vh; z-index: 2; text-align: center; padding: 0 var(--gutter); color: var(--charcoal); opacity: 0; visibility: hidden; }
.walking .arrive .kicker { color: var(--g2); }
.walking .arrive .h2 { margin-left: auto; margin-right: auto; }
.walking .arrive .soft { color: var(--g3); }
@media (max-width: 719px) { .walking .arrive { top: 26vh; } }
.walking .first-facts { padding-top: 0; }
.walking .first-facts > .wrap > .kicker, .walking .first-facts > .wrap > .h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.walking .first-facts .facts, .walking .first-facts > .wrap > .lead { margin-top: 0; }

/* ---------- Sections ---------- */
.statement { font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; max-width: 24em; text-wrap: pretty; }
.three { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 860px) { .three { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.three > div { border-top: 2px solid var(--line); padding-top: 24px; }
.three > div:first-child { border-top-color: var(--g2); }
.three p { color: var(--ink-2); margin-top: 8px; }
.foot { margin-top: 40px; font-size: 14px; color: var(--ink-2); }

/* centred sections (/agen): kicker and heading centred, content below */
.c-sec .kicker, .c-sec .h2, .c-sec .lead { text-align: center; margin-left: auto; margin-right: auto; }
.c-sec .faq { margin-left: auto; margin-right: auto; }
.c-sec .foot { text-align: center; margin-top: 32px; }
.facts { display: grid; gap: 32px; margin-top: 56px; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.facts > div { border-top: 2px solid var(--line); padding-top: 22px; }
.facts > div:first-child { border-top-color: var(--g2); }
.facts h3 { font-size: 22px; line-height: 1.3; }
.facts p { color: var(--ink-2); margin-top: 6px; }

/* steps: a real sequence, so numbered; align-content: start keeps every title on one line across columns */
.steps { display: grid; margin-top: 56px; }
.steps li { display: grid; align-content: start; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--mono); font-weight: 500; font-size: 17px; color: var(--g2); padding-top: 3px; }
.steps p { grid-column: 2; color: var(--ink-2); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; padding: 24px 0 0; border-top: 2px solid var(--line); }
  .steps li:first-child { border-top-color: var(--g2); }
  .steps li:last-child { border-bottom: 0; }
  .steps .n { margin-bottom: 16px; }
  .steps p { grid-column: 1; }
}

.list2 { display: grid; margin-top: 48px; }
.list2 li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; align-content: start; gap: 4px; }
@media (min-width: 860px) { .list2 { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.list2 p { color: var(--ink-2); }

.faq { margin-top: 40px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 2px solid var(--g2); border-bottom: 2px solid var(--g2); transform: rotate(45deg) translateY(-4px); transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* partner logo strip: hidden until partners.json has signed-PKS financiers (DL-2026-022) */
.partner-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.c-sec .partner-list { justify-content: center; }
.partner-list li { display: flex; align-items: center; justify-content: center; width: 140px; height: 64px; padding: 10px 14px; background: var(--white); border-radius: 4px; border: 1px solid var(--line); }
.partner-list img { max-height: 40px; width: auto; }
.logo-placeholder { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }

/* closing band + footer */
.band { background: linear-gradient(180deg, var(--deep-a), var(--deep-b)); color: var(--white); text-align: center; }
.band .h2, .band .lead { margin-left: auto; margin-right: auto; }
.band .lead { margin-top: 16px; }
.band .btn { margin-top: 32px; }
.site-foot { background: var(--charcoal); color: var(--on-dark-2); font-size: 15px; padding: 56px 0 40px; }
.site-foot .row { display: grid; gap: 28px; }
@media (min-width: 860px) { .site-foot .row { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
.site-foot img { height: 26px; width: auto; margin-bottom: 18px; }
.site-foot a { color: var(--white); }
.site-foot .links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-foot .links a { display: inline-block; padding: 4px 0; }
.site-foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--on-dark-3); }

/* ---------- Simulator (markup matches simulator.js; maths unchanged from v1) ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 48px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--white); }
@media (min-width: 960px) { .sim { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.sim .sim-form { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.field label { display: block; font-weight: 700; font-size: 16px; }
.field .hint { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.inp { display: flex; align-items: stretch; margin-top: 8px; border: 1.5px solid rgba(35, 31, 32, .3); border-radius: 8px; overflow: hidden; background: var(--white); }
.inp:focus-within { border-color: var(--g2); box-shadow: 0 0 0 3px rgba(93, 194, 170, .35); }
.inp input { flex: 1; min-width: 0; width: 100%; border: 0; font: 500 19px var(--mono); padding: 12px 14px; color: var(--charcoal); background: transparent; outline: none; }
.inp span { display: flex; align-items: center; padding: 0 14px; font: 500 15px var(--mono); color: var(--ink-2); background: var(--tl); white-space: nowrap; }
.field[data-invalid="true"] .inp { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; margin-top: 4px; }
.err:empty { display: none; }
.reset { background: none; border: 0; padding: 8px 0; font: inherit; font-size: 15px; color: var(--g2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }
.sim .res { background: linear-gradient(180deg, var(--deep-a), var(--deep-b)); color: var(--white); padding: 28px; display: grid; align-content: start; gap: 18px; }
.res .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(168, 224, 208, .2); }
.res .row span { color: var(--on-dark-2); font-size: 16px; }
.res .row b { font-family: var(--mono); font-weight: 500; font-size: 20px; }
.res .diff { font-family: var(--mono); font-weight: 500; font-size: clamp(38px, 4vw, 52px); line-height: 1.05; color: var(--tosca); }
.res .word { font-weight: 700; margin-top: 4px; }
.res .disc { font-size: 12.5px; line-height: 1.45; color: var(--on-dark-3); margin-top: -4px; }   /* one quiet line under the button */
.res .btn { margin-top: 4px; }
@media (max-width: 719px) { .sim .sim-form, .sim .res { padding: 20px; } .res .row b { font-size: 18px; } .res .btn { width: 100%; } }

/* ---------- Privacy notice ---------- */
.doc { max-width: 44rem; }
.doc h2 { font-size: 22px; line-height: 1.3; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h2.doc-first { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h2 .mono { color: var(--g2); margin-right: 10px; font-size: 18px; }
.doc h3 { font-size: 17px; margin-top: 20px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 1.2em; list-style: disc; }
.doc li + li { margin-top: 6px; }
.toc { margin-top: 24px; }
@media (min-width: 720px) { .toc { columns: 2; column-gap: 32px; } }
.toc li { break-inside: avoid; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
.mt-s { margin-top: 12px; }

/* ---------- Sticky WhatsApp bar (phones, after the hero button scrolls away; site.js) ---------- */
.wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform 250ms ease; }
.wa-bar.is-on { transform: none; }
.wa-bar .btn { width: 100%; }
@media (min-width: 720px) { .wa-bar { display: none; } }
@media (max-width: 719px) { body.has-wa-bar .site-foot { padding-bottom: 110px; } }

/* ---------- /agen hero: text, proof row, one photo band, one notification (hero.js) ----------
   The photo runs edge to edge and fades into the charcoal, so photo and page are one ground. The notification is
   anchored to the phone in the photo (image %), so it stays on the phone at every width and while the photo drifts.
   One entrance on load, then still; nothing loops. Other hero visuals for the same markup: _stock/agen-hero/. */
.viz-hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.viz-hero .topnav { position: relative; z-index: 2; }
.viz-hero .hero-c { position: relative; z-index: 1; }
.viz-hero .h1 .soft { display: block; }                    /* the payoff on its own line */
@media (max-width: 719px) { .viz-hero .h1 { font-size: min(34px, 8.5vw); } }   /* two lines from 320 px up */
.proof { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 30px auto 0;
  font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.proof li { display: flex; align-items: center; }
.proof li + li::before { content: ""; width: 1px; height: 12px; background: rgba(255, 255, 255, .28); margin: 0 14px; }
@media (max-width: 719px) { .proof { letter-spacing: .08em; } .proof li + li::before { margin: 0 9px; } }

/* the photo band. --w photo width, --h band height, (--zx, --zy) the subject in the photo, --sy where it lands in the band,
   --top how far the top edge fades, --k the photo's height / width.
   The band starts a little behind the proof row, and the text above is set tight on short screens, so the whole
   notification lands in the first screen: about 640 px on a phone, about 650 px on a common laptop. */
.shot { position: relative; z-index: 0; flex: 1; margin-top: -14px; }
.shot-in { --w: 760px; --h: 390px; --zx: .5; --zy: .48; --sy: .454; --top: 14%; --k: .5619;
  position: relative; width: 100%; height: var(--h); overflow: hidden; container-type: inline-size; }
.shot-ph { position: absolute; width: var(--w); aspect-ratio: 1680 / 944;
  /* clamped so the photo always covers the band: no gap, so no hard edge */
  left: clamp(calc(100% - var(--w)), calc(50% - var(--w) * var(--zx)), 0px);
  top: clamp(calc(var(--h) - var(--w) * var(--k)), calc(var(--h) * var(--sy) - var(--w) * var(--k) * var(--zy)), 0px); }
.shot-ph picture { display: contents; }
.shot-ph img { width: 100%; height: 100%; max-width: none; filter: saturate(.9); }
.shot-fade { position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 var(--top), #000 80%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 var(--top), #000 80%, transparent 100%); }
/* the photo's blacks are darker than the charcoal; lift them to exactly the charcoal so the edges disappear */
.shot-fade::after { content: ""; position: absolute; inset: 0; background: var(--charcoal); mix-blend-mode: lighten; }
@media (min-width: 720px) {
  /* the phone's top edge stays a fixed distance under the text however wide the screen is */
  .shot { margin-top: -40px; }
  .shot-in { --w: max(100cqw, 1000px); --h: 560px; --zy: .2; --sy: .1; --top: 16%; }
  .shot-fade {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 var(--top), #000 80%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(180deg, transparent 0%, #000 var(--top), #000 80%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
            mask-composite: intersect; }
}
@media (min-width: 1100px) and (min-height: 821px) { .shot-in { --h: 620px; } }
/* tighter hero text where the first screen is short: phones, and wide screens up to 820 px tall (most laptops) */
@media (max-width: 719px) {
  .viz-hero .hero-c, .door-hero .hero-c { padding-top: 16px; }
  .viz-hero .hero-c .acts, .door-hero .hero-c .acts { margin-top: 26px; }
  .viz-hero .proof { margin-top: 22px; }
}
@media (max-width: 389px) { .proof { font-size: 11px; letter-spacing: .05em; } .proof li + li::before { margin: 0 7px; } }   /* one line from 340 px up */
@media (max-width: 389px) { .door-hero .lead { font-size: 16px; } }   /* the sub stays on two lines, which leaves room for the door */
@media (min-width: 720px) and (max-height: 820px) {
  .viz-hero .hero-c, .door-hero .hero-c { padding-top: 16px; }
  .viz-hero .h1, .door-hero .h1 { font-size: clamp(40px, 4.2vw, 54px); margin-top: 14px; }
  .viz-hero .lead, .door-hero .lead { margin-top: 14px; }
  .viz-hero .hero-c .acts, .door-hero .hero-c .acts { margin-top: 24px; }
  .viz-hero .proof { margin-top: 22px; }
}

/* M: the phone on the closing table. Its screen in the photo: x .434 to .566, y .218 to .744 */
.shot-lit { position: absolute; left: 43.4%; top: 21.8%; width: 13.2%; height: 52.6%; border-radius: 9% / 4%;
  background: radial-gradient(120% 80% at 50% 30%, rgba(168, 224, 208, .55), rgba(93, 194, 170, .18) 60%, rgba(23, 79, 66, .1)); mix-blend-mode: screen; }
.lock { position: absolute; left: 43.4%; top: 28.5%; width: 13.2%; text-align: center;
  font: 500 calc(var(--w) * .03) / 1 var(--mono); letter-spacing: .02em; color: rgba(255, 255, 255, .86); }

/* the notification: a zero-size anchor on the phone (image %), the card hangs from it, on top of the phone and a little
   wider than it, so it reads as the thing that just arrived. An example, not a link. */
.nt-a { position: absolute; left: var(--ax, 50%); top: var(--ay, 36.5%); width: 0; height: 0; }
.nt { --cw: 212px; position: absolute; display: block; width: var(--cw); padding: 9px 12px 10px; border-radius: 13px; background: var(--g1); color: rgba(255, 255, 255, .74);
  font-size: 13.5px; line-height: 1.36; text-align: left; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.nt b { color: var(--white); }
.nt-h { display: block; margin-bottom: 5px; font: 700 9px/1 var(--label); letter-spacing: .09em; text-transform: uppercase; color: var(--mint); white-space: nowrap; }
.nt-b { display: block; }
.nt.on { left: calc(var(--cw) / -2); top: 0; transform-origin: 50% 40%; }      /* centred on the screen, under the clock */
@media (min-width: 720px) { .nt { --cw: 236px; font-size: 14.5px; } }
/* very wide screens: the card grows with the photo, so it keeps the same size against the phone */
@media (min-width: 1500px) {
  .nt { --cw: calc(var(--w) * .164); font-size: calc(var(--w) * .01007); padding: .62em .83em .69em; border-radius: .9em; }
  .nt-h { font-size: .62em; margin-bottom: .34em; }
}
/* short wide screens: clock and card sit a little higher on the screen, so the card clears the fold */
@media (min-width: 720px) and (max-height: 820px) { .lock { top: 24.5%; } .nt-a { --ay: 31%; } }

/* entrance (html.go, set by hero.js): the text rises line by line, the photo settles, the screen lights at --t0, the card springs out */
.viz-hero { --t0: 1900ms; }
/* the text rises unhurried, one line after the other (18 Nov 2026: the first timing read as rushed on a phone) */
.go .viz-hero .hero-c > * { animation: hero-up 950ms cubic-bezier(.22, .61, .36, 1) both; }
.go .viz-hero .hero-c > .kicker { animation-delay: 80ms; }
.go .viz-hero .hero-c > .h1 { animation-delay: 240ms; }
.go .viz-hero .hero-c > .lead { animation-delay: 460ms; }
.go .viz-hero .hero-c > .acts { animation-delay: 680ms; }
.go .viz-hero .hero-c > .after, .go .viz-hero .hero-c > .proof { animation-delay: 880ms; }
.go .shot-ph img { animation: hero-settle 2400ms cubic-bezier(.2, .7, .2, 1) 300ms both; }
.go .shot-lit, .go .lock { animation: hero-in 500ms ease-out calc(var(--t0) - 60ms) both; }
.go .nt { animation: hero-pop 640ms cubic-bezier(.2, .8, .3, 1) calc(var(--t0) + 130ms) both; }
@keyframes hero-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-settle { from { opacity: 0; transform: scale(1.07); } }
@keyframes hero-in { from { opacity: 0; } }
@keyframes hero-pop { 0% { opacity: 0; transform: scale(.2); } 42% { opacity: 1; transform: scale(1.06); } 60% { transform: scale(.985) rotate(-1.2deg); }
  75% { transform: scale(1) rotate(.9deg); } 89% { transform: rotate(-.35deg); } 100% { opacity: 1; transform: none; } }
/* before the entrance the pieces wait out of sight, so the first paint never flashes the end state.
   If hero.js never runs they show after 3 s; with scripting off, at once. */
html:not(.go):not(.still) .viz-hero .hero-c > *, html:not(.go):not(.still) .shot-ph img, html:not(.go):not(.still) .shot-lit,
html:not(.go):not(.still) .lock, html:not(.go):not(.still) .nt { opacity: 0; animation: hero-safe 1ms linear 3000ms forwards; }
@keyframes hero-safe { to { opacity: 1; } }
@media (scripting: none) {
  html:not(.go):not(.still) .viz-hero .hero-c > *, html:not(.go):not(.still) .shot-ph img, html:not(.go):not(.still) .shot-lit,
  html:not(.go):not(.still) .lock, html:not(.go):not(.still) .nt { opacity: 1; animation: none; }
}

/* scroll (html.sc, hero.js): the hero text lifts and softens; the photo and what sits on it drift slower than the page */
.sc .viz-hero .hero-c { transform: translate3d(0, calc(var(--hp, 0) * -40px), 0); opacity: calc(1 - var(--hp, 0) * .6); }
.sc .shot-in > * { transform: translate3d(0, calc(var(--hp, 0) * 120px), 0) scale(calc(1 + var(--hp, 0) * .06)); transform-origin: 50% 35%; }
/* the sections below rise in once as they arrive */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 680ms cubic-bezier(.2, .7, .2, 1), transform 680ms cubic-bezier(.2, .7, .2, 1); }
.rv.on { opacity: 1; transform: none; }

/* /take-over hero: two weights, heavier to lighter (17 Nov 2026, the Direktur Utama's pick: "B1 but darker heavier weight a bit more":
   the heavier weight stands a step back, slightly soft and darker; the lighter one, in tosca, is in front, sharp and lit).
   One built picture (_directions/r25/row2.js; credits in _directions/r25/ph/CREDITS.md) whose edges already fade into the
   charcoal. --pw its width on screen, --cx which point of it sits on the centre line, --pt its top in the band under the link. */
@media (min-width: 720px) { .to-hero .h1 .soft { display: inline; } }   /* the line break comes from the <br>: same spacing as the approved mock-up */
@media (min-width: 720px) { .to-hero .hero-c .lead { max-width: none; } }   /* the three benefits on one line, so the weights keep their room */
.beban { position: relative; z-index: 0; flex: 1; min-height: 230px; margin-top: 12px; overflow: hidden; }
.beban-in { position: absolute; inset: 0; --pw: 580px; --cx: .49; --pt: 4px; }
.beban picture { display: contents; }
.beban img { position: absolute; max-width: none; width: var(--pw); height: auto; left: calc(50% - var(--pw) * var(--cx)); top: var(--pt); }
@media (max-width: 719px) and (max-height: 640px) { .beban { margin-top: 0; } .beban-in { --pw: 285px; --pt: -2px; } }   /* small, short phones: both weights above the fold */
@media (min-width: 720px) { .beban { margin-top: 0; } .beban-in { --pw: 830px; --pt: 7px; } }
@media (min-width: 720px) and (max-height: 820px) { .beban-in { --pw: 480px; --pt: 6px; } }
.go .beban img { animation: hero-settle 2400ms cubic-bezier(.2, .7, .2, 1) 300ms both; }
.sc .beban-in { transform: translate3d(0, calc(var(--hp, 0) * 90px), 0); }
html:not(.go):not(.still) .beban img { opacity: 0; animation: hero-safe 1ms linear 3000ms forwards; }
@media (scripting: none) { html:not(.go):not(.still) .beban img { opacity: 1; animation: none; } }

/* /take-over, cost note (17 Nov 2026): one statement, the five items as a quiet row, one line each of context and of who is paid */
.cost .h2 { max-width: 18em; }
.cost-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; max-width: 46em; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--g2); }
.cost-row li { display: flex; align-items: center; }
.cost-row li + li::before { content: ""; width: 1px; height: 12px; background: var(--line); margin: 0 14px; }
.cost .lead { margin-top: 22px; max-width: none; }
.cost .fine { margin-top: 8px; }
@media (max-width: 719px) { .cost-row { letter-spacing: .08em; gap: 10px 22px; } .cost-row li + li::before { display: none; } }   /* phones: the row wraps, so space separates the items, not rules */

/* scroll cue (17 Nov 2026, the Direktur Utama's idea and his reference: two chevrons). The heroes fill the first screen, so two
   small chevrons at its bottom edge say there is more below. They fade in as the hero text lands (as the button lands, about 1,3 s; 1,5 s on /agen), flow downward three times (the
   upper one first), then rest; they go as soon as the page scrolls (html.scrolled, site.js). No mouse icon: most visitors are
   on a phone. Decorative: hidden from screen readers, never in the way of a tap. */
.cue { position: absolute; left: 50%; top: calc(100vh - 44px); top: calc(100svh - 44px); z-index: 3; width: 14px; height: 24px; margin-left: -7px;
  pointer-events: none; opacity: 0; filter: drop-shadow(0 0 2px rgba(35, 31, 32, .95)) drop-shadow(0 0 7px rgba(35, 31, 32, .85)); animation: cue-in 300ms ease var(--cue-t, 1300ms) forwards; }   /* --cue-t: when the cue appears; with the hero's button */
.cue::before, .cue::after { content: ""; position: absolute; left: 1px; width: 12px; height: 12px; box-sizing: border-box;
  border-right: 2px solid rgba(255, 255, 255, .82); border-bottom: 2px solid rgba(255, 255, 255, .82); transform: rotate(45deg);
  animation: cue-flow 1500ms ease-in-out calc(var(--cue-t, 1300ms) + 300ms) 3; }
.cue::before { top: -3px; }
.cue::after { top: 6px; animation-delay: calc(var(--cue-t, 1300ms) + 520ms); }
.viz-hero:not(.to-hero) { --cue-t: 1500ms; }   /* /agen: a moment later, so it does not land with the hero text all at once */
.still .cue { animation: none; opacity: 1; }
.still .cue::before, .still .cue::after { animation: none; }
.scrolled .cue { animation: none; opacity: 0; transition: opacity 250ms ease; }
@keyframes cue-in { to { opacity: 1; } }
@keyframes cue-flow { 45% { opacity: .25; transform: translateY(4px) rotate(45deg); } }

/* /agen sections */
h2.kicker { margin: 0; }                                   /* a section whose label is its heading */
.first-facts h2.kicker + .facts { margin-top: 36px; }
.first-facts .h2 { margin-top: 14px; }
.first-facts .h2 + .facts { margin-top: 44px; }
@media (max-width: 719px) { .first-facts .h2 + .facts { margin-top: 32px; } }
.first-facts .foot { margin-top: 64px; }                    /* the footnote sits well clear of the three reasons */
@media (max-width: 719px) { .first-facts h2.kicker + .facts { margin-top: 28px; } .first-facts .foot { margin-top: 48px; } }
.to-link { margin-top: 36px; text-align: center; font-weight: 700; }
.to-link a { color: var(--g2); text-decoration: underline; text-underline-offset: 4px; }
.to-link a::after { content: " \2192"; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition: none !important; }
}
