/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-i400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-i400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/PlusJakartaSans-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/Unbounded-300-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/Unbounded-300-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* metric-matched fallbacks so the swap does not shift the layout */
@font-face { font-family: 'Unbounded Fallback'; src: local('Arial Black'), local('Arial'); size-adjust: 104%; ascent-override: 92%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'); size-adjust: 103%; ascent-override: 98%; descent-override: 21%; line-gap-override: 0%; }

:root {
  --sun: #FFC53D;
  --sun-2: #FFD56E;
  --paper: #FFF7E0;
  --ink: #101C2D;
  --ink-2: #47505E;
  --ink-3: rgba(16, 28, 45, .62);
  --line: rgba(16, 28, 45, .16);
  --hot: #FF5A2C;
  --hot-2: #F24A1C;
  --f-d: 'Unbounded', 'Unbounded Fallback', 'Arial Black', sans-serif;
  --f-b: 'Plus Jakarta Sans', 'Jakarta Fallback', Arial, sans-serif;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 220ms;
  --t-mid: 700ms;
  --t-slow: 1200ms;
  --r: 4px;
  --pad: clamp(20px, 4.2vw, 64px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f-b); font-feature-settings: 'tnum' 0; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.pre-id body { animation: reveal 0s 1.2s forwards; visibility: hidden; }
@keyframes reveal { to { visibility: visible; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r); font: 600 16px/1 var(--f-b); text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out); }
.btn-hot { background: var(--hot); color: var(--ink); }
.btn-hot:hover { background: var(--hot-2); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.round { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color var(--t-fast); }
.round:hover { background: rgba(16, 28, 45, .06); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: var(--pad); transition: background-color var(--t-mid) var(--e-out), box-shadow var(--t-mid); }
.nav.solid { background: rgba(255, 247, 224, .92); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav.on-dark { color: var(--paper); }
.nav.on-dark.solid { background: rgba(16, 28, 45, .9); box-shadow: 0 1px 0 rgba(255, 247, 224, .14); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--f-d); letter-spacing: -.04em; }
.logo svg { width: 38px; height: 27px; }
.logo-sun { fill: var(--hot); }
.logo-panel { fill: currentColor; }
.logo-grid { stroke: var(--sun); stroke-width: 1; fill: none; opacity: .55; }
.nav.on-dark .logo-grid { stroke: var(--ink); }
.nav-links { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast) var(--e-out); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn-sm { display: none; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: var(--r); overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 7px 10px; font: 600 12px/1 var(--f-b); letter-spacing: .04em; cursor: pointer; min-width: 40px; min-height: 34px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.nav.on-dark .lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.drawer { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px; }
.drawer nav { display: grid; }
.drawer a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 22px/1.1 var(--f-d); letter-spacing: -.03em; }

/* ---------- hero: the field ---------- */
.hero { position: relative; height: 230vh; background: var(--sun); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--sun); }
.hero-kicker { position: absolute; left: var(--pad); top: calc(var(--nav-h) + 18px); font-size: 13px; font-weight: 600; max-width: 30ch; line-height: 1.35; z-index: 3; }
.hero-h { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--nav-h) + 62px); z-index: 1; font: 600 13.2vw/.9 var(--f-d); letter-spacing: -.055em; color: var(--ink); }
.hero-h .hl { display: block; }
.lang-id .hero-h { font-size: 11.6vw; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity 900ms var(--e-out); touch-action: pan-y; }
.gl-on .field { opacity: 1; }
.field-fallback { display: none; position: absolute; inset: 38% 0 0 0; z-index: 2; background:
  linear-gradient(90deg, transparent 0 6px, var(--sun) 6px 8px) 0 0 / 64px 100%,
  linear-gradient(180deg, transparent 0 8px, var(--sun) 8px 12px) 0 0 / 100% 46px,
  linear-gradient(180deg, #1B2A47, #101C2D); transform: perspective(600px) rotateX(48deg); transform-origin: 50% 0; }
.no-gl .field-fallback { display: block; }
.no-gl .field { display: none; }
.sun-disc { position: absolute; left: 0; top: 0; z-index: 4; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 10px rgba(255, 90, 44, .18), 0 0 0 26px rgba(255, 90, 44, .08); opacity: 0; pointer-events: none; transition: opacity 400ms var(--e-out); will-change: transform; }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 3; display: grid; gap: 12px; align-items: end; }
.hero-lede { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); top: calc(var(--nav-h) + 22px + 13.2vw * 2.75 + 14px); font-size: 15px; line-height: 1.45; font-weight: 500; max-width: 36ch; }
.lang-id .hero-lede { top: calc(var(--nav-h) + 22px + 11.6vw * 2.75 + 14px); }
.meter { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 14px 16px 12px; position: relative; overflow: hidden; }
.meter-label, .meter-sub { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 1.2; color: rgba(255, 247, 224, .72); }
.meter-label b, .meter-sub b { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.meter-read { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 8px; position: relative; z-index: 1; }
.meter-read b { font: 600 clamp(38px, 10vw, 54px)/1 var(--f-d); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--sun); min-width: 4.1ch; }
.meter-read span { font: 600 16px/1 var(--f-d); color: var(--sun); }
.meter-bar { height: 4px; background: rgba(255, 247, 224, .14); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.meter-bar i { display: block; height: 100%; background: var(--sun); transform-origin: left; transform: scaleX(.7); }
.meter-spark { margin-left: auto; align-self: center; width: 38%; height: 30px; overflow: visible; }
.meter-spark polyline { fill: none; stroke: var(--hot); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.hero-hint { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: var(--r); background: var(--sun); font-size: 13px; font-weight: 600; line-height: 1.3; box-shadow: 0 0 0 1px rgba(16, 28, 45, .18); }
.hero-hint::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(255, 90, 44, .2); flex: none; }
.hint-desk { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-desk { display: inline; } .hint-touch { display: none; } }
.rm .hero-hint { display: none; }

/* ---------- thesis ---------- */
.thesis { padding: clamp(80px, 12vw, 180px) 0 clamp(48px, 6vw, 96px); }
.thesis-grid { display: grid; gap: 40px; }
.thesis-text { font: 500 clamp(24px, 2.7vw, 42px)/1.18 var(--f-d); letter-spacing: -.035em; max-width: 24ch; }
.thesis-fig { position: relative; }
.thesis-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.thesis-fig figcaption { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.thesis-facts { display: grid; border-top: 1px solid var(--ink); }
.thesis-facts li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.thesis-facts b { font-weight: 600; }
.thesis-facts span { color: var(--ink-2); font-size: 15px; }

/* ---------- headings ---------- */
.h2 { font: 600 clamp(36px, 6.4vw, 96px)/.95 var(--f-d); letter-spacing: -.05em; }

/* ---------- stages ---------- */
.stages { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 160px); }
.stages-grid { display: grid; gap: 32px; }
.stages-num { display: none; font: 600 clamp(120px, 18vw, 280px)/.8 var(--f-d); letter-spacing: -.07em; font-variant-numeric: tabular-nums; margin-top: 40px; color: var(--sun); -webkit-text-stroke: 0; }
.stages-num small { font-size: .18em; letter-spacing: -.02em; color: var(--ink); vertical-align: top; margin-left: .2em; }
.stage-list { border-top: 1px solid var(--ink); counter-reset: s; }
.stage-list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; row-gap: 8px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); transition: background-color var(--t-mid) var(--e-out); }
.stage-list li::before { content: attr(data-stage); grid-column: 1; grid-row: 1 / span 3; font: 600 15px/1.6 var(--f-d); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.stage-list h3, .stage-list p, .stage-out { grid-column: 2; }
.stage-list h3 { font: 600 clamp(24px, 2.6vw, 36px)/1.05 var(--f-d); letter-spacing: -.04em; }
.stage-list p { max-width: 46ch; color: var(--ink-2); }
.stage-out { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.stage-out::before { content: ''; width: 14px; height: 2px; background: var(--hot); }
.stage-list li.is-on::before { color: var(--ink); }

/* ---------- pay table ---------- */
.pay { padding: clamp(72px, 9vw, 140px) 0; background: var(--ink); color: var(--paper); }
.pay .h2 { margin-bottom: clamp(36px, 5vw, 64px); max-width: 14ch; }
.pay-table { display: grid; font-size: 15px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pt-row { display: grid; grid-template-columns: 112px repeat(3, minmax(150px, 1fr)); border-bottom: 1px solid rgba(255, 247, 224, .16); min-width: 560px; }
.pt-row > * { padding: 16px 14px 16px 0; }
.pt-k { color: rgba(255, 247, 224, .66); font-size: 13px; font-weight: 600; }
.pt-head { border-bottom-color: var(--paper); }
.pt-head button { text-align: left; background: transparent; border: 0; cursor: pointer; padding: 6px 14px 14px 0; display: grid; gap: 4px; }
.pt-head b { font: 600 clamp(20px, 2.2vw, 30px)/1 var(--f-d); letter-spacing: -.04em; }
.pt-head small { color: rgba(255, 247, 224, .6); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pay-table [data-c].is-on, .pay-table .pt-head button[aria-pressed="true"] { color: var(--sun); }
.pt-row > [role="cell"], .pt-head button { transition: color var(--t-fast), background-color var(--t-fast); }
.pt-row > .is-on { color: var(--sun); }

/* ---------- estimator ---------- */
.est { background: var(--sun); padding: clamp(72px, 9vw, 140px) 0; }
.est-grid { display: grid; gap: 36px; }
.est-intro { max-width: 46ch; margin-top: 16px; font-size: 16px; }
.est-form { display: grid; gap: 26px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .range label { font-size: 13px; font-weight: 700; letter-spacing: .01em; margin-bottom: 10px; padding: 0; }
.seg { display: grid; gap: 6px; }
.seg-4 { grid-template-columns: 1fr 1fr; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; align-content: center; gap: 2px; min-height: 52px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: var(--r); font-size: 14px; font-weight: 600; line-height: 1.2; transition: background-color var(--t-fast), color var(--t-fast); }
.seg small { font-weight: 500; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; }
.seg input:checked + span { background: var(--ink); color: var(--sun); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.seg label:hover input:not(:checked) + span { background: rgba(16, 28, 45, .07); }
.range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range output { font: 600 18px/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), rgba(16, 28, 45, .25) var(--p, 50%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(16, 28, 45, .25); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px; border-radius: 50%; background: var(--ink); border: 5px solid var(--sun); box-shadow: 0 0 0 1.5px var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 5px solid var(--sun); box-shadow: 0 0 0 1.5px var(--ink); }
.est-out { background: var(--paper); border-radius: var(--r); padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 22px; align-content: start; box-shadow: 0 1px 0 var(--line); }
.roofplan svg { width: 100%; height: auto; display: block; background: #EDE4CB; border-radius: 2px; }
.roof-cap { font-size: 13px; color: var(--ink-2); margin-top: 8px; font-variant-numeric: tabular-nums; }
.est-nums { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.est-nums > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.est-nums > div:nth-child(2n) { padding-right: 12px; }
.est-nums .big { grid-column: 1 / -1; }
.est-nums dt { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.est-nums dd { font: 600 20px/1.2 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.est-nums .big dd { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.05em; }
.assume summary { cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.assume summary::-webkit-details-marker { display: none; }
.assume summary::before { content: '+'; font: 600 16px/1 var(--f-d); width: 16px; }
.assume[open] summary::before { content: '−'; }
.assume ul { margin-top: 10px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); padding-left: 24px; list-style: disc; }
.est-out .btn { justify-self: start; }
.survey { border: 0; padding: 0; border-radius: var(--r); width: min(480px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); }
.survey::backdrop { background: rgba(16, 28, 45, .55); }
.sv-form { padding: 28px; display: grid; gap: 14px; position: relative; }
.sv-form h3 { font: 600 26px/1 var(--f-d); letter-spacing: -.04em; padding-right: 40px; }
.sv-sum { font-size: 14px; color: var(--ink-2); }
.sv-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.sv-form input { font: 400 16px/1.2 var(--f-b); padding: 13px 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); }
.sv-x { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.sv-err { color: #A3260A; font-size: 14px; font-weight: 600; }
.sv-done { display: flex; gap: 12px; align-items: flex-start; background: var(--sun); padding: 14px; border-radius: var(--r); font-size: 15px; }
.sv-done .ic { width: 24px; height: 24px; stroke-width: 2.4; }

/* ---------- projects rail ---------- */
.projects { padding: clamp(80px, 10vw, 160px) 0 clamp(64px, 8vw, 120px); }
.proj-head { display: grid; gap: 14px; margin-bottom: 36px; }
.proj-head p { color: var(--ink-2); max-width: 44ch; }
.rail-nav { display: none; gap: 8px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.pj { flex: 0 0 82%; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.pj .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.pj-tag { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 6px; }
.pj h3 { font: 600 22px/1.1 var(--f-d); letter-spacing: -.04em; }
.pj dl { display: flex; gap: 22px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.pj dt { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.pj dd { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- governance ---------- */
.gov { background: var(--ink); color: var(--paper); padding: clamp(80px, 11vw, 180px) 0; position: relative; overflow: hidden; }
.gov-grid { display: grid; gap: 28px; }
.gov .h2 { max-width: 16ch; font-size: clamp(34px, 5vw, 76px); hyphens: manual; }
.gov-lede { max-width: 40ch; color: rgba(255, 247, 224, .76); font-size: 18px; }
.gov-list { display: grid; gap: 0; border-top: 1px solid rgba(255, 247, 224, .3); }
.gov-list li { padding: 20px 0; border-bottom: 1px solid rgba(255, 247, 224, .14); display: grid; gap: 6px; }
.gov-list h3 { font: 600 20px/1.15 var(--f-d); letter-spacing: -.035em; color: var(--sun); }
.gov-list p { color: rgba(255, 247, 224, .8); max-width: 48ch; font-size: 16px; }
.gov-line { border: 1px solid rgba(255, 247, 224, .24); border-radius: var(--r); padding: 20px; }
.gov-line-cap { font-size: 13px; font-weight: 700; color: rgba(255, 247, 224, .7); margin-bottom: 14px; }
.gov-line ol { display: grid; gap: 0; position: relative; }
.gov-line li { position: relative; padding: 0 0 18px 26px; display: grid; gap: 2px; }
.gov-line li::before { content: ''; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--sun); background: var(--ink); z-index: 1; }
.gov-line li:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 14px; bottom: -4px; width: 1px; background: rgba(255, 247, 224, .35); }
.gov-line li:last-child { padding-bottom: 0; }
.gov-line li:last-child::before { background: var(--sun); }
.gov-line b { font-weight: 700; }
.gov-line span { font-size: 14px; color: rgba(255, 247, 224, .7); }

/* ---------- contact ---------- */
.contact { padding: clamp(90px, 12vw, 200px) 0 clamp(70px, 9vw, 140px); background: var(--sun); }
.contact-grid { display: grid; gap: 28px; }
.contact-h { font: 600 clamp(52px, 13vw, 210px)/.86 var(--f-d); letter-spacing: -.06em; }
.contact-body { display: grid; gap: 22px; max-width: 520px; }
.contact-list { border-top: 1px solid var(--ink); }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list li > span:first-child { color: var(--ink-2); font-weight: 600; }
.contact-body .btn { justify-self: start; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 110px) 0 96px; font-size: 14px; }
.foot-grid { display: grid; gap: 24px; }
.foot-mark { font: 600 clamp(44px, 14vw, 236px)/.8 var(--f-d); letter-spacing: -.065em; color: var(--sun); margin-left: -.04em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.foot nav a { text-decoration: none; }
.foot-legal { display: grid; gap: 8px; color: rgba(255, 247, 224, .7); max-width: 70ch; }
.foot-concept { color: var(--paper); font-weight: 600; }
.foot-concept-id { display: none; }
.lang-id .foot-concept-id { display: block; }
.credits { font-size: 13px; }

.concept-badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r); background: var(--ink); color: var(--paper); border: 1px solid rgba(255, 247, 224, .25); font: 600 12px/1.2 var(--f-b); text-decoration: none; box-shadow: 0 8px 24px -12px rgba(16, 28, 45, .6); }
.concept-badge:hover { background: #1E2C42; }

/* ---------- reveals (headings and images only) ---------- */
.js .rv { clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path var(--t-slow) var(--e-out), transform var(--t-slow) var(--e-out); }
.js .rv.in { clip-path: inset(-20% -10% -20% -10%); transform: none; }
.js .ph img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.3s var(--e-io), transform 1.8s var(--e-out); }
.js .ph.in img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- tablet and up ---------- */
@media (min-width: 760px) {
  .hero-h { top: calc(var(--nav-h) + 56px); font-size: 9.4vw; }
  .lang-id .hero-h { font-size: 6.6vw; }
  .mbr { display: none; }
  .hero-foot { left: auto; width: 340px; }
  .hero-lede, .lang-id .hero-lede { top: calc(var(--nav-h) + 18px); left: auto; right: var(--pad); max-width: 34ch; font-size: 16px; }
  .hero-hint { top: auto; right: auto; left: var(--pad); bottom: 64px; }
  .thesis-grid { grid-template-columns: 1.15fr .85fr; grid-template-areas: "t f" "x f"; column-gap: clamp(32px, 6vw, 120px); align-items: start; }
  .thesis-text { grid-area: t; }
  .thesis-fig { grid-area: f; margin-top: calc(-1 * clamp(120px, 16vw, 260px)); z-index: 2; }
  .thesis-facts { grid-area: x; grid-template-columns: repeat(3, 1fr); column-gap: 24px; border-top: 0; align-self: end; }
  .thesis-facts li { border-top: 1px solid var(--ink); border-bottom: 0; }
  .stages-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 120px); }
  .stages-side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
  .stages-num { display: block; }
  .stage-list li { grid-template-columns: 72px 1fr; padding: 30px 0 32px; }
  .stage-list h3, .stage-list p, .stage-out { grid-column: 2; }
  .est-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "h h" "f o"; column-gap: clamp(24px, 4vw, 72px); }
  .est-head { grid-area: h; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; }
  .est-form { grid-area: f; align-content: start; }
  .est-out { grid-area: o; position: sticky; top: calc(var(--nav-h) + 20px); }
  .est-nums { grid-template-columns: repeat(3, 1fr); }
  .est-nums > div { padding-right: 12px; }
  .proj-head { grid-template-columns: 1fr auto; align-items: end; }
  .proj-head p { grid-column: 1; }
  .rail-nav { display: flex; grid-column: 2; grid-row: 1 / span 2; }
  .pj { flex-basis: 38%; }
  .pj-wide { flex-basis: 54%; }
  .pj-wide .ph img { aspect-ratio: 16 / 10; }
  .pj-tall .ph img { aspect-ratio: 4 / 5; }
  .gov-grid { grid-template-columns: 7fr 5fr; grid-template-areas: "h l" "p l" "x l"; column-gap: clamp(32px, 6vw, 120px); align-items: start; }
  .gov .h2 { grid-area: h; }
  .gov-lede { grid-area: p; }
  .gov-list { grid-area: x; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .gov-line { grid-area: l; position: sticky; top: calc(var(--nav-h) + 40px); margin-top: 8px; }
  .contact-grid { grid-template-columns: 1fr minmax(320px, 520px); align-items: end; }
  .contact-h { grid-column: 1 / -1; font-size: clamp(52px, 9.2vw, 150px); }
  .contact-body { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; align-items: end; }
  .foot-mark { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-right .btn-sm { display: inline-flex; }
  .hero-h { font-size: 8.7vw; }
  .lang-id .hero-h { font-size: 6.3vw; }
  .hero-foot { width: 360px; }
  .pay-table { font-size: 16px; }
  .pt-row { grid-template-columns: 180px repeat(3, 1fr); }
}
@media (max-width: 759px) {
  .hero { height: 200vh; }
  .hero-kicker { display: none; }
  .hero-hint { left: var(--pad); bottom: 192px; font-size: 12.5px; }
  .hero-foot { bottom: 60px; }
  .hero-lede { background: var(--sun); padding: 0 0 10px; max-width: none; }
  .meter-read b { font-size: 42px; }
  .hero-h { top: calc(var(--nav-h) + 22px); }
  .meter { padding: 12px 14px 10px; }
  .meter-read { margin: 4px 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv, .js .ph img { clip-path: none; transform: none; }
  .hero { height: auto; }
  .hero-stage { position: relative; }
}
.roofplan .cell { fill: transparent; stroke: rgba(16, 28, 45, .28); stroke-width: .6; transition: fill 380ms var(--e-out), stroke 380ms var(--e-out); }
.roofplan .cell.on { fill: #101C2D; stroke: #101C2D; }

@media (max-width: 759px) and (max-height: 720px) { .hero-lede { display: none; } }

/* root clip: stops a few stray pixels widening the phone layout viewport (portfolio fixes 24 Nov) */
html{overflow-x:clip}
