/* ==========================================================================
   Neutra — "The Drawing Set"
   Paper, ink, and one accent. Orange marks Neutra's findings and actions only.
   ========================================================================== */

:root {
    --paper: #F2F1EC;
    --paper-2: #E8E6DF;
    --sheet: #FAF9F6;
    --ink: #141413;
    --ink-2: #2B2B29;
    --graphite: #5C5B56;
    --mute: #8B8A85;
    --rule: rgba(20, 20, 19, 0.13);
    --rule-2: rgba(20, 20, 19, 0.24);
    --accent: #ED8806;
    --accent-hover: #F59A22;
    --accent-line: #D46F00;
    --accent-ink: #A35600;
    --accent-wash: #FBE5C6;

    --on-ink: #F2F1EC;
    --on-ink-2: rgba(242, 241, 236, 0.72);
    --on-ink-rule: rgba(242, 241, 236, 0.18);

    --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --margin: clamp(20px, 4vw, 64px);
    --gutter: clamp(16px, 1.6vw, 28px);
    --maxw: 1680px;
    --header-h: 68px;
    --section-y: clamp(88px, 11vw, 168px);

    --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed; left: 12px; top: -80px; z-index: 100;
    padding: 12px 16px;
    background: var(--ink); color: var(--paper);
    font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--margin);
}

/* ---------- Type ---------- */

.label {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono);
    font-size: 12px; font-weight: 500; line-height: 1.3;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--graphite);
}
.label__n { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.label__n::after { content: ""; width: 28px; height: 1px; background: var(--rule-2); }

.tag {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--mono);
    font-size: 11.5px; line-height: 1.4;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--graphite);
}
.tag::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent); }

.display {
    font-size: clamp(2.75rem, 6.4vw, 6.75rem);
    font-weight: 540;
    line-height: 0.92;
    letter-spacing: -0.045em;
}

/* ---------- Actions ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 0 22px;
    border: 0; border-radius: 0;
    background: var(--ink); color: var(--paper);
    font-size: 15px; font-weight: 600; line-height: 1;
    text-decoration: none; white-space: nowrap;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
    padding-bottom: 3px;
    font-weight: 500; text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size 0.4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

.text-btn {
    padding: 4px 0;
    border: 0; background: none;
    font-family: var(--mono); font-size: 12px;
    letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.text-btn:hover { text-decoration-color: var(--accent); }

.copy-status { font-family: var(--mono); font-size: 12px; }

/* ---------- Header ---------- */

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
    background: rgba(242, 241, 236, 0.9);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom-color: var(--rule);
}
.site-header__inner {
    display: flex; align-items: center; gap: clamp(16px, 2.6vw, 44px);
    height: 100%; max-width: var(--maxw);
    margin-inline: auto; padding-inline: var(--margin);
}

.brand { display: inline-flex; align-items: center; margin-right: auto; padding: 10px 0; color: var(--ink); }
.logo {
    display: block; width: 112px; aspect-ratio: 640 / 161;
    background: currentColor;
    -webkit-mask: url("../assets/images/neutra-logo.png") center / contain no-repeat;
    mask: url("../assets/images/neutra-logo.png") center / contain no-repeat;
}

.site-nav ul { display: flex; gap: clamp(16px, 1.7vw, 32px); }
.site-nav a {
    position: relative; display: inline-block; padding: 8px 0;
    font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
    background: currentColor;
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
    display: none;
    min-height: 40px; padding: 0 14px;
    border: 1px solid var(--ink); background: transparent;
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
}

.menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 24px var(--margin) 40px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__list a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    font-size: clamp(2rem, 8.5vw, 3rem); font-weight: 540;
    line-height: 1; letter-spacing: -0.04em;
    text-decoration: none;
}
.menu__list span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--graphite); }
.menu__foot a { font-family: var(--mono); font-size: 14px; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
    padding-top: calc(var(--header-h) + clamp(24px, 5vh, 64px));
    padding-bottom: clamp(56px, 8vh, 96px);
}
.hero__grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 48px;
    align-items: center;
}
.hero__copy { grid-column: 1 / span 7; }
.hero__figure { position: relative; grid-column: 8 / span 5; }

.hero__title {
    margin-top: clamp(20px, 3vh, 32px);
    font-size: clamp(3.5rem, min(9vw, 13vh), 10rem);
    font-weight: 560;
    line-height: 0.86;
    letter-spacing: -0.052em;
}
.hero__title .ln { display: block; }
.hero__title .dot { color: var(--accent); }

.hero__lede {
    max-width: 31em;
    margin-top: clamp(28px, 4.5vh, 48px);
    font-size: clamp(1.06rem, 1.25vw, 1.3rem); line-height: 1.45;
    color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 34px; }

.hero__caption { margin-top: 18px; }
.findings { display: grid; gap: 10px; margin-top: 14px; }
.findings li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.4; }
.findings__n {
    display: grid; place-items: center; width: 20px; height: 20px;
    background: var(--accent);
    font-family: var(--mono); font-size: 11px; font-weight: 500;
}

/* ---------- Drawings ---------- */

.dwg { width: 100%; height: auto; overflow: visible; }
.dwg path, .dwg circle, .dwg rect { vector-effect: non-scaling-stroke; }
.dwg path { fill: none; }
.dwg .fa { fill: #FBFAF7; }
.dwg .fb { fill: #E4E2DB; }
.dwg .fc { fill: #F3F2EE; }
.dwg .fw { fill: #D5D3CC; }
.dwg .fpv { fill: #CFCDC6; }
.dwg .ln { stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.dwg .ln-o { stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.dwg .ln-2 { stroke: rgba(20, 20, 19, 0.55); stroke-width: 0.8; }
.dwg .ln-3 { stroke: rgba(20, 20, 19, 0.3); stroke-width: 0.7; }
.dwg .hid { stroke: rgba(20, 20, 19, 0.42); stroke-width: 0.8; stroke-dasharray: 4 3; }
.dwg .detail { stroke: rgba(20, 20, 19, 0.55); stroke-width: 0.8; }
.dwg .datum { fill: var(--ink); }
.dwg text { font-family: var(--mono); font-size: 11px; fill: var(--graphite); }

/* Upgrade layers, resting state */
.dwg .fx { stroke: rgba(20, 20, 19, 0.3); stroke-width: 1; }
.dwg .net { stroke: rgba(20, 20, 19, 0.35); stroke-width: 0.8; stroke-dasharray: 2 3; }
.dwg .stat, .dwg .co2 { fill: #FBFAF7; stroke: rgba(20, 20, 19, 0.6); stroke-width: 0.8; }
.dwg .ctrl { stroke: rgba(20, 20, 19, 0.42); stroke-width: 0.8; stroke-dasharray: 4 3; }
.dwg .pvdiv { stroke: rgba(20, 20, 19, 0.38); stroke-width: 0.6; }
.dwg .m path, .dwg .m circle {
    transition: fill 0.4s var(--ease), stroke 0.4s var(--ease), stroke-width 0.4s var(--ease);
}

/* Hover preview from the index */
.dwg .is-peek .fx, .dwg .is-peek .pvdiv, .dwg .is-peek .detail, .dwg .is-peek .net { stroke: rgba(212, 111, 0, 0.7); }
.dwg .is-peek .face, .dwg .is-peek .stat, .dwg .is-peek .co2 { stroke: var(--accent-line); }

/* Selected upgrade */
.dwg .is-on .fx, .dwg .is-on .net, .dwg .is-on .pvdiv, .dwg .is-on .detail { stroke: var(--accent-line); stroke-width: 1.4; }
.dwg .is-on .net { stroke-dasharray: none; }
.dwg .is-on .stat, .dwg .is-on .co2, .dwg .is-on .face { fill: var(--accent-wash); stroke: var(--accent-line); }
.dwg .is-on .fpv { fill: #F5C58A; }
.dwg .is-on .ctrl { fill: var(--accent-wash); stroke: var(--accent-line); stroke-dasharray: none; stroke-width: 1.2; }

.dwg .cloud {
    vector-effect: none;
    fill: none; stroke: var(--accent-line); stroke-width: 2.2;
    stroke-linejoin: round; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    opacity: 0;
    transition: stroke-dashoffset 0.9s var(--ease), opacity 0.2s linear;
}
.dwg .cloud.is-on { stroke-dashoffset: 0; opacity: 1; }

/* Keynotes on the demonstration drawing */
.dwg .key { cursor: pointer; }
.dwg .key-ln { stroke: rgba(20, 20, 19, 0.45); stroke-width: 0.8; transition: stroke 0.3s var(--ease); }
.dwg .key-dot { fill: var(--ink); transition: fill 0.3s var(--ease); }
.dwg .key rect { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; transition: fill 0.3s var(--ease), stroke 0.3s var(--ease); }
.dwg .key text { font-weight: 500; fill: var(--ink); }
.dwg .key:hover rect { fill: var(--accent-wash); }
.dwg .key.is-on rect { fill: var(--accent); stroke: var(--accent-line); }
.dwg .key.is-on .key-ln { stroke: var(--accent-line); }
.dwg .key.is-on .key-dot { fill: var(--accent-line); }
.key-mark { transform-box: fill-box; transform-origin: center; transition: transform 0.3s var(--ease); }

/* Hero markups (also on the landing page thumbnails) */
:is(.dwg--hero, .dwg--thumb) .cloud { opacity: 1; stroke-dashoffset: 0; }
:is(.dwg--hero, .dwg--thumb) .mk-tag rect { fill: var(--accent); }
:is(.dwg--hero, .dwg--thumb) .mk-tag text { fill: var(--ink); font-weight: 500; }
:is(.dwg--hero, .dwg--thumb) .mk-tag__box { transform-box: fill-box; transform-origin: center; }
.dwg--hero .mk-ln { stroke: var(--accent-line); stroke-width: 0.9; }
.dwg--hero .mk-t { font-size: 12.5px; font-weight: 500; fill: var(--ink); }
.dwg--hero .mk-d { font-size: 12px; fill: var(--graphite); }
.dwg--hero .mk-label { display: none; }
.dwg--thumb .datums { display: none; }

/* Site-plan drawings: community and portfolio */
.dwg .road { fill: #E8E6DF; transition: fill 0.4s var(--ease); }
.dwg .cl { stroke: rgba(20, 20, 19, 0.38); stroke-width: 0.7; stroke-dasharray: 5 4; }
.dwg .field { fill: #ECEAE3; transition: fill 0.4s var(--ease); }
.dwg .pole { stroke: var(--ink); stroke-width: 0.9; }
.dwg .wire { stroke: rgba(20, 20, 19, 0.42); stroke-width: 0.6; }
.dwg .site-grid { stroke: rgba(20, 20, 19, 0.16); stroke-dasharray: 2 4; }
.dwg [data-sector] path { transition: fill 0.4s var(--ease), stroke 0.4s var(--ease); }
.dwg [data-sector].is-hl :is(.fa, .fb, .fc) { fill: var(--accent-wash); }
.dwg [data-sector].is-hl :is(.ln, .ln-2, .ln-3, .pole, .wire, .cl) { stroke: var(--accent-line); }
.dwg [data-sector].is-hl .road { fill: rgba(237, 136, 6, 0.16); }
.dwg [data-sector].is-hl .field { fill: var(--accent-wash); }
.dwg .atag rect { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; }
.dwg .atag text { fill: var(--ink); font-weight: 500; }
.dwg .atag-ln { stroke: rgba(20, 20, 19, 0.45); stroke-width: 0.8; }
.dwg .atag--gap rect { fill: var(--accent); stroke: var(--accent-line); }

/* ---------- Statement ---------- */

.statement { padding-block: clamp(72px, 9vw, 136px); border-top: 1px solid var(--rule); }
.statement__grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 24px;
}
.statement__label { grid-column: 1 / span 3; align-self: start; padding-top: 0.9em; }
.statement__text {
    grid-column: 4 / span 9;
    font-size: clamp(1.75rem, 3.4vw, 3.5rem); font-weight: 450;
    line-height: 1.1; letter-spacing: -0.032em;
    color: var(--mute);
    text-wrap: pretty;
}
.statement__text span { color: var(--ink); }

/* ---------- Section heads ---------- */

.section-head {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 26px;
}
.section-head > .label { grid-column: 1 / -1; }
.section-head > .display { grid-column: 1 / span 10; }
.section-head__lede {
    grid-column: 1 / span 6; max-width: 34em;
    font-size: clamp(1.06rem, 1.25vw, 1.3rem); line-height: 1.45;
    color: var(--ink-2);
}
.section-head--split { align-items: end; }
.section-head__main { grid-column: 1 / span 7; display: grid; gap: 26px; }
.section-head__aside { grid-column: 8 / span 5; display: grid; gap: 18px; font-size: 16px; color: var(--ink-2); }

/* ---------- Approach ---------- */

.approach { padding-block: var(--section-y); }
.steps { margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--ink); }
.step {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 28px;
    align-items: start;
    padding-block: clamp(32px, 4vw, 60px);
    border-bottom: 1px solid var(--rule-2);
}
.step__head { grid-column: 1 / span 4; }
.step__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--graphite); }
.step__name {
    margin-top: 12px;
    font-size: clamp(2.6rem, 5vw, 5.25rem); font-weight: 540;
    line-height: 0.9; letter-spacing: -0.045em;
}
.step__body { grid-column: 5 / span 3; font-size: 16px; }
.step__list { margin-top: 22px; border-top: 1px solid var(--rule); }
.step__list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--mono); font-size: 12.5px;
}
.step__fig { grid-column: 9 / span 4; width: 100%; }
.step__fig figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--graphite); }

/* Diagrams */
.dg { width: 100%; height: auto; overflow: visible; }
.dg path, .dg rect, .dg circle { vector-effect: non-scaling-stroke; }
.dg path { fill: none; }
.dg text { font-family: var(--mono); font-size: 10.5px; fill: var(--graphite); }
.dg .dg-title { font-size: 10px; letter-spacing: 0.08em; fill: var(--ink); }
.dg .t-ink { fill: var(--ink); }
.dg .ax { stroke: var(--ink); stroke-width: 1; }
.dg .grid { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 3; }
.dg .bar { fill: var(--ink); }
.dg .bar-flag { fill: var(--accent); }
.dg .line { stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.dg .exp { stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 3 3; }
.dg .band { fill: rgba(20, 20, 19, 0.08); }
.dg .dot { fill: var(--ink); }
.dg .flag { fill: var(--accent); stroke: var(--ink); stroke-width: 1; }
.dg .flag-ln { stroke: var(--accent-line); stroke-width: 1; }

/* ---------- Demonstration ---------- */

.demo { padding-block: var(--section-y); background: var(--paper-2); }

.sheet {
    margin-top: clamp(40px, 5vw, 72px);
    background: var(--sheet);
    border: 1px solid var(--rule-2);
}
.sheet__stage {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 28px;
    padding: clamp(16px, 2vw, 32px);
}
.idx-list { grid-column: 1 / span 2; align-self: start; border-top: 1px solid var(--ink); }
.sheet__drawing { grid-column: 3 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.sheet__panels { grid-column: 8 / span 5; }

.idx {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    width: 100%; margin: 0; padding: 14px 0;
    border: 0; border-bottom: 1px solid var(--rule);
    background: none; color: var(--ink);
    text-align: left;
}
.idx__num {
    display: grid; place-items: center; height: 22px;
    border: 1px solid var(--ink);
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.idx__name { font-size: 16px; font-weight: 500; line-height: 1.2; }
.idx__yr { font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.idx:hover .idx__num { background: var(--accent-wash); }
.idx[aria-selected="true"] .idx__num { background: var(--accent); border-color: var(--accent-line); }
.idx[aria-selected="true"] .idx__name { font-weight: 650; }
.idx:focus-visible { outline-offset: -2px; }
.idx--plan { margin-top: 20px; border-top: 1px solid var(--ink); }

.panel + .panel { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule-2); }
.js .sheet__panels { display: grid; }
.js .panel {
    grid-area: 1 / 1;
    margin-top: 0; padding-top: 0; border-top: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.2s var(--ease), visibility 0s linear 0.2s;
}
.js .panel.is-active {
    opacity: 1; visibility: visible;
    transition: opacity 0.45s var(--ease) 0.05s, visibility 0s;
}
.panel:focus-visible { outline-offset: 8px; }

.panel__kicker {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11.5px;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--graphite);
}
.panel__num {
    display: grid; place-items: center; min-width: 32px; height: 22px; padding: 0 6px;
    background: var(--accent); color: var(--ink); font-weight: 500;
}
.panel__title {
    max-width: 17em; margin-top: 14px;
    font-size: clamp(1.5rem, 2.1vw, 2.15rem); font-weight: 540;
    line-height: 1.04; letter-spacing: -0.03em;
}

.spec { margin-top: 22px; border-top: 1px solid var(--ink); }
.spec__row {
    display: grid; grid-template-columns: 8.75em minmax(0, 1fr); gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
}
.spec__row dt {
    padding-top: 3px;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--graphite);
}
.spec__row dd { font-size: 15px; line-height: 1.5; }
.spec__note { display: block; margin-top: 6px; font-size: 13.5px; color: var(--graphite); }

.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.fig { display: grid; gap: 5px; }
.fig__v {
    font-size: clamp(1.35rem, 1.7vw, 1.75rem); font-weight: 520;
    line-height: 1.05; letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.fig__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }

.em__v { font-weight: 650; }
.ebar { position: relative; height: 8px; margin-top: 10px; background: var(--paper-2); }
.ebar span { position: absolute; inset: 0 auto 0 0; background: var(--accent); }

.spark__unit { margin-top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.spark { height: 86px; margin-top: 6px; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark__alert { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-family: var(--mono); font-size: 12px; }
.spark__flag { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--ink); }

.sp-ax { stroke: var(--ink); stroke-width: 1; }
.sp-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.sp-exp, .sp-thr { fill: none; stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 3 3; }
.sp-bar { fill: var(--ink); }
.sp-bar-f { fill: var(--accent); }
.sp-win { fill: rgba(237, 136, 6, 0.14); }
.sp-dot { fill: var(--accent); stroke: var(--ink); stroke-width: 1; }
.sp-t { font-family: var(--mono); font-size: 10.5px; fill: var(--graphite); }

.figs--plan {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px; padding-block: 18px;
    border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.macc-wrap { margin-top: 24px; }
.macc__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; }
.macc { height: 196px; margin-top: 10px; }
.macc svg { width: 100%; height: 100%; overflow: visible; }
.macc__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.sw { display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px; }
.sw--save { background: var(--ink); }
.sw--cost { border: 1px solid var(--ink); background: var(--sheet); }
.mc-bar { cursor: pointer; }
.mc-save { fill: var(--ink); transition: fill 0.25s var(--ease); }
.mc-cost { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; transition: fill 0.25s var(--ease); }
.mc-bar:hover .mc-save, .mc-bar:hover .mc-cost { fill: var(--accent); }
.mc-zero { stroke: var(--ink); stroke-width: 1; }
.mc-grid { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 3; }
.mc-t { font-family: var(--mono); font-size: 10.5px; fill: var(--graphite); }
.mc-id { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: var(--ink); }

.panel__insight { margin-top: 20px; font-size: 15.5px; line-height: 1.5; }
.seq { margin-top: 16px; border-top: 1px solid var(--rule); }
.seq li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.seq span { padding-top: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }

.titleblock {
    display: grid; grid-template-columns: 1.25fr 1.45fr 1.15fr 1.5fr 0.8fr;
    margin: 0;
    border-top: 1px solid var(--rule-2);
}
.titleblock > div { padding: 14px clamp(14px, 1.6vw, 24px); border-right: 1px solid var(--rule); }
.titleblock > div:last-child { border-right: 0; }
.titleblock dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.titleblock dd { margin-top: 4px; font-size: 13.5px; line-height: 1.4; }
.titleblock em { font-style: normal; color: var(--accent-ink); }

.demo__note { max-width: 74em; margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--graphite); }

/* ---------- Team ---------- */

.team { padding-block: var(--section-y); }
.people { margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--ink); }
.person {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 16px;
    align-items: center;
    padding-block: clamp(18px, 2.2vw, 28px);
    border-bottom: 1px solid var(--rule-2);
}
.person .portrait { grid-column: 1 / span 2; }
.person__name {
    grid-column: 3 / span 6;
    font-size: clamp(2.2rem, 5vw, 5.25rem); font-weight: 540;
    line-height: 0.95; letter-spacing: -0.045em;
}
.person__info { grid-column: 9 / span 4; }
.person__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; }
.person__meta { margin-top: 6px; font-size: 15px; color: var(--graphite); }
.person__bio { margin-top: 10px; max-width: 30em; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.portrait {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    background: var(--sheet);
    border: 1px solid var(--rule-2);
}
.portrait__x { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait__x path { fill: none; stroke: var(--rule-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.portrait__initials {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-size: clamp(2rem, 3.6vw, 3.75rem); font-weight: 540; letter-spacing: -0.05em;
    color: rgba(20, 20, 19, 0.18);
}
.portrait__note {
    position: absolute; left: 8px; right: 8px; bottom: 8px;
    padding: 3px 5px;
    background: var(--sheet);
    font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase;
    text-align: center;
    color: var(--graphite);
}

/* ---------- Contact ---------- */

.contact { padding-block: var(--section-y); background: var(--ink); color: var(--on-ink); }
.contact .label { color: var(--on-ink-2); }
.contact .label__n { color: var(--on-ink); }
.contact .label__n::after { background: var(--on-ink-rule); }
.contact__grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 64px;
}
.contact__intro { grid-column: 1 / span 6; }
.contact__title {
    margin-top: 26px;
    font-size: clamp(3rem, 7.2vw, 7.75rem); font-weight: 560;
    line-height: 0.88; letter-spacing: -0.05em;
}
.contact__lede { max-width: 30em; margin-top: 30px; font-size: clamp(1.06rem, 1.25vw, 1.25rem); line-height: 1.45; color: var(--on-ink-2); }
.contact__direct { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 38px; }
.contact__email {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: var(--accent); text-decoration: none;
    font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em;
}
.contact__email:hover { color: var(--on-ink); }
.contact .copy-status { color: var(--on-ink-2); }

.brief { grid-column: 8 / span 5; }
.brief__title {
    margin-bottom: 22px;
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--on-ink-2);
}
.field { display: grid; gap: 6px; margin-bottom: 22px; }
.field > label, .field legend {
    font-family: var(--mono); font-size: 11px;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--on-ink-2);
}
.field input, .field select, .field textarea {
    width: 100%; padding: 10px 0 11px;
    border: 0; border-bottom: 1px solid rgba(242, 241, 236, 0.35); border-radius: 0;
    background: transparent; color: var(--on-ink);
    font-size: 17px; line-height: 1.4;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder { color: rgba(242, 241, 236, 0.5); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: rgba(242, 241, 236, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
    box-shadow: 0 1px 0 0 var(--accent);
}
.field input[aria-invalid="true"] { border-bottom-color: var(--accent); }
.field select {
    -webkit-appearance: none; appearance: none;
    padding-right: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2F1EC' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 2px center;
}
.field select option { color: var(--ink); background: var(--paper); }
.field textarea { min-height: 88px; resize: vertical; }
.field__error { font-size: 14px; color: var(--accent); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }

.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.check { position: relative; }
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check span {
    display: inline-block; padding: 8px 12px;
    border: 1px solid rgba(242, 241, 236, 0.35);
    font-size: 14px; line-height: 1.2;
    cursor: pointer; user-select: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check span:hover { border-color: var(--on-ink); }
.check input:checked + span { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.brief__submit { display: grid; justify-items: start; gap: 14px; margin-top: 8px; }
.brief__note { max-width: 30em; font-size: 14px; color: var(--on-ink-2); }
.brief__result { display: grid; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--on-ink-rule); }
.brief__status { font-size: 15px; line-height: 1.5; }
.brief__preview {
    width: 100%; padding: 12px;
    border: 1px solid var(--on-ink-rule);
    background: rgba(242, 241, 236, 0.06); color: var(--on-ink);
    font-family: var(--mono); font-size: 12.5px; line-height: 1.55;
    resize: vertical;
}
.brief__copy { display: flex; align-items: baseline; gap: 16px; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 0 32px; background: var(--ink); color: var(--on-ink-2); }
.site-footer > .wrap > * { position: relative; }
.site-footer__top {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
    padding-top: 40px;
    border-top: 1px solid var(--on-ink-rule);
}
.brand--footer { margin-right: 0; color: var(--on-ink); }
.site-footer__tagline { max-width: 28em; font-size: 15px; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 28px 72px; margin-top: 40px; }
.site-footer__grid ul { display: grid; gap: 8px; }
.site-footer__k { margin-bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: var(--on-ink); font-size: 15px; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
    margin-top: 48px; padding-top: 18px;
    border-top: 1px solid var(--on-ink-rule);
    font-family: var(--mono); font-size: 11.5px;
}

/* ---------- Service pages: shared blocks ---------- */

.hero__title--svc { font-size: clamp(3rem, min(7.4vw, 11.5vh), 8.5rem); }

.block { padding-block: var(--section-y); }
.block--rule { border-top: 1px solid var(--rule); }

.h-sm {
    font-size: clamp(1.2rem, 1.45vw, 1.45rem); font-weight: 600;
    line-height: 1.2; letter-spacing: -0.015em;
}
.lead { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.45; color: var(--ink-2); }
.more { margin-top: clamp(28px, 3vw, 40px); font-size: 16px; }
.aside-note { max-width: 62em; margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--graphite); }

/* Landing: hero index */
.hero--home .hero__grid { align-items: end; }
.hero--home .hero__copy { grid-column: 1 / span 8; }
.hero__index { grid-column: 9 / span 4; align-self: end; }
.hero__index-title { margin-bottom: 14px; }
.sel-list { border-top: 1px solid var(--ink); }
.sel {
    display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; column-gap: 14px; row-gap: 4px;
    align-items: baseline;
    padding: 15px 0 16px;
    border-bottom: 1px solid var(--rule-2);
    text-decoration: none;
}
.sel__n {
    grid-row: 1 / span 2; align-self: start;
    display: grid; place-items: center; height: 22px; margin-top: 3px;
    border: 1px solid var(--ink);
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sel__name { font-size: clamp(1.25rem, 1.6vw, 1.7rem); font-weight: 540; line-height: 1.08; letter-spacing: -0.03em; }
.sel__line { grid-column: 2; font-size: 14px; line-height: 1.4; color: var(--graphite); }
.sel__arrow { grid-column: 3; grid-row: 1; align-self: center; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.35s var(--ease); }
.sel:hover .sel__n, .sel:focus-visible .sel__n { background: var(--accent); border-color: var(--accent-line); }
.sel:hover .sel__arrow, .sel:focus-visible .sel__arrow { transform: translateX(4px); }
.sel:focus-visible { outline-offset: 2px; }

/* Landing: service sheets */
.sheets { padding-block: var(--section-y); border-top: 1px solid var(--rule); }
.svc-list { margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--ink); }
.svc {
    position: relative;
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 28px;
    align-items: center;
    padding-block: clamp(36px, 4.5vw, 72px);
    border-bottom: 1px solid var(--rule-2);
}
.svc__copy { grid-column: 1 / span 5; }
.svc__fig { grid-column: 7 / span 6; display: grid; justify-items: center; }
.svc__fig .dwg { max-height: 560px; }
.svc__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--graphite); }
.svc__title {
    margin-top: 14px;
    font-size: clamp(2.4rem, 4.6vw, 4.75rem); font-weight: 540;
    line-height: 0.92; letter-spacing: -0.045em;
}
.svc__title a { text-decoration: none; }
.svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc__title a:focus-visible { outline: none; }
.svc:has(.svc__title a:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.svc__line { max-width: 26em; margin-top: 20px; font-size: clamp(1.06rem, 1.25vw, 1.3rem); line-height: 1.45; }
.svc__more { max-width: 34em; margin-top: 14px; font-size: 15px; color: var(--graphite); }
.svc__who { margin-top: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.svc__who span { color: var(--graphite); margin-right: 6px; }
.svc__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; }
.svc__go .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.35s var(--ease); }
.svc:hover .svc__go .arrow { transform: translateX(5px); }
.svc:hover .svc__n { color: var(--accent-ink); }

/* Facts */
.facts { padding-block: var(--section-y); border-top: 1px solid var(--rule); }
.facts__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(40px, 5vw, 72px);
    border-top: 1px solid var(--ink);
}
.facts__item { padding: 22px var(--gutter) 26px; border-right: 1px solid var(--rule); }
.facts__item:first-child { padding-left: 0; }
.facts__item:last-child { border-right: 0; }
.facts__v {
    font-size: clamp(2.75rem, 5.4vw, 5.75rem); font-weight: 540;
    line-height: 0.9; letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}
.facts__item dd { max-width: 22em; margin-top: 16px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.facts__src { margin-top: 22px; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--graphite); }

/* Net zero: order of operations and two columns */
.order {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(48px, 6vw, 88px);
    border-top: 1px solid var(--ink);
}
.order__item { padding: 22px var(--gutter) 28px; border-right: 1px solid var(--rule); }
.order__item:first-child { padding-left: 0; }
.order__item:last-child { border-right: 0; }
.order__n {
    display: inline-grid; place-items: center; width: 30px; height: 22px;
    border: 1px solid var(--ink);
    font-family: var(--mono); font-size: 11px; font-weight: 500;
}
.order__title { margin-top: 18px; font-size: clamp(1.5rem, 2.2vw, 2.25rem); font-weight: 540; line-height: 1; letter-spacing: -0.03em; }
.order__item > p:last-child { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }

.cols {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 40px;
    margin-top: clamp(56px, 7vw, 104px);
}
.cols__item:first-child { grid-column: 1 / span 6; }
.cols__item:last-child { grid-column: 8 / span 5; }
.cols__text { margin-top: 16px; font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.45; }

.ticks { margin-top: 16px; border-top: 1px solid var(--rule); }
.ticks li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.ticks li::before {
    content: ""; position: absolute; left: 3px; top: 17px;
    width: 11px; height: 5px;
    border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
    transform: rotate(-45deg);
}

/* Tables */
.table-scroll { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 4px; }
.rtable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; line-height: 1.5; }
.rtable th, .rtable td { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rtable thead th {
    padding-block: 12px;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--graphite);
}
.rtable tbody th { width: 26%; font-weight: 600; }
.rtable tbody th small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: var(--graphite); }
.rtable td:nth-child(2) { width: 26%; }
.rtable--status td:nth-child(2) { width: 14%; }

.status {
    display: inline-block; padding: 3px 7px;
    border: 1px solid var(--ink);
    font-family: var(--mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.status--in-force { background: var(--ink); color: var(--paper); }
.status--paused, .status--changing { border-style: dashed; }

/* Funding cards and deliverable grids */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(40px, 5vw, 72px); }
.cards__item { padding-top: 18px; border-top: 1px solid var(--ink); }
.cards__item p { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

.grid-list {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: clamp(36px, 4vw, 56px);
    margin-top: clamp(48px, 6vw, 88px);
}
.grid-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-list__item { padding-top: 16px; border-top: 1px solid var(--ink); }
.grid-list__n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--graphite); }
.grid-list__item .h-sm { margin-top: 14px; }
.grid-list__item > p:last-child { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

/* Sources */
.sources { padding-block: 56px 80px; border-top: 1px solid var(--rule); }
.sources__list { columns: 2; column-gap: calc(var(--gutter) * 2); margin-top: 18px; counter-reset: src; }
.sources__list li {
    position: relative; break-inside: avoid;
    margin-bottom: 12px; padding-left: 30px;
    font-size: 13px; line-height: 1.5; color: var(--graphite);
}
.sources__list li::before {
    counter-increment: src; content: counter(src, decimal-leading-zero);
    position: absolute; left: 0; top: 1px;
    font-family: var(--mono); font-size: 11px; color: var(--ink);
}
.sources__list a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sources__list a:hover { text-decoration-color: var(--accent); }

/* Community: milestones */
.steps--compact .step { align-items: start; }
.steps--compact .step__head { grid-column: 1 / span 3; }
.steps--compact .step__name { font-size: clamp(2.2rem, 4vw, 4rem); }
.step__body--wide { grid-column: 4 / span 5; font-size: 16.5px; }
.step__list--side { grid-column: 10 / span 3; margin-top: 0; }

/* Community: inventory explorer */
.idx--muni { grid-template-columns: minmax(0, 1fr) auto; }
.idx--muni[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
.idx--muni:hover .idx__name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.sheet__cap { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.figs--inv { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; padding-block: 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.sbars { margin-top: 8px; }
.sbar {
    display: grid; grid-template-columns: minmax(8em, 11em) minmax(0, 1fr) 5.5em; column-gap: 14px; align-items: center;
    padding: 10px 6px 10px 0;
    border-bottom: 1px solid var(--rule);
    transition: background-color 0.2s var(--ease);
}
.sbar:hover { background: var(--paper-2); }
.sbar__k { font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.sbar__k small, .sbar__v small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--graphite); }
.sbar__track { position: relative; height: 10px; background: var(--paper-2); }
.sbar__track span { position: absolute; inset: 0 auto 0 0; background: var(--ink); }
.sbar:hover .sbar__track span { background: var(--accent); }
.sbar__v { font-size: 15px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.data-details { margin-top: 22px; border-top: 1px solid var(--rule-2); }
.data-details summary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 0;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
    cursor: pointer; list-style: none;
}
.data-details summary::-webkit-details-marker { display: none; }
.data-details summary::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--ink); font-size: 13px; line-height: 1; }
.data-details[open] summary::before { content: "−"; }
.data-details .table-scroll { margin-top: 6px; }
.data { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 13px; }
.data th, .data td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data th:first-child, .data td:nth-child(2) { text-align: left; }
.data thead th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--graphite); border-bottom-color: var(--ink); }
.data tbody th { font-weight: 600; }

.split-2 {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter); row-gap: 40px;
    margin-top: clamp(40px, 5vw, 72px);
    align-items: start;
}
.split-2__text { grid-column: 1 / span 6; }
.split-2__text .ticks { margin-top: 28px; }
.split-2__fig { grid-column: 8 / span 5; }
.split-2__fig figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--graphite); }

/* ESG: summary split bar */
.split { position: relative; height: 12px; margin-top: 22px; border: 1px solid var(--ink); background: var(--sheet); }
.split span { position: absolute; inset: 0 auto 0 0; background: var(--ink); }
.split__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--graphite); }

/* GRESB: points bar */
.sheet--pts { padding: clamp(16px, 2.2vw, 36px); }
.pts__comps, .pts__scale { display: grid; grid-template-columns: 30fr 70fr; column-gap: 4px; }
.pts__comp {
    padding-bottom: 8px; border-bottom: 1px solid var(--ink);
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase;
}
.pts__bar { display: flex; gap: 3px; margin-top: 12px; }
.pts__bar .pts__seg:nth-child(5) { margin-right: 4px; }
.pts__seg {
    position: relative; flex: var(--pts) 1 0; min-width: 0; height: 96px;
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
    padding: 8px 6px;
    border: 1px solid var(--ink); background: var(--sheet);
    text-align: left; overflow: hidden;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pts__seg--m { background: var(--paper-2); }
.pts__seg--data::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--cov);
    background: repeating-linear-gradient(-45deg, rgba(20, 20, 19, 0.34) 0 1px, transparent 1px 6px);
    pointer-events: none;
}
.pts__code { position: relative; z-index: 1; font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.pts__name { display: none; }
.pts__val { position: relative; z-index: 1; font-family: var(--mono); font-size: 11px; color: var(--graphite); }
.pts__seg:hover { background: var(--accent-wash); }
.pts__seg[aria-selected="true"] { background: var(--accent); border-color: var(--accent-line); }
.pts__seg[aria-selected="true"] .pts__val { color: var(--ink); }
.pts__seg:focus-visible { outline-offset: 2px; }
.pts__scale { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--graphite); }
.pts__scale span:nth-child(3) { grid-column: 2; justify-self: end; margin-top: -1.5em; }
.pts__scale span:nth-child(2) { justify-self: end; }
.pts__panels { max-width: 60em; margin-top: 32px; }

.trio {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px;
    margin-top: clamp(40px, 5vw, 64px);
}
.trio__item { padding-top: 16px; border-top: 1px solid var(--ink); }
.trio__item dt { font-size: clamp(1.25rem, 1.6vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.trio__item dd { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }

/* GRESB: the year */
.cycle { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.cycle__months {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-left: 7.5em; padding: 10px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--mono); font-size: 11px; color: var(--graphite);
}
.cycle__row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cycle__k { padding-top: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.cycle__track {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; row-gap: 6px;
    background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px calc(100% / 12));
}
.cycle__item {
    grid-column: var(--s) / span var(--n);
    margin-right: 6px; padding: 8px 10px;
    border-left: 2px solid var(--ink);
    background: var(--paper-2);
    font-size: 13.5px; line-height: 1.35;
}
.cycle__item--point { background: transparent; }
.cycle__item--neutra { border-left-color: var(--accent-line); background: var(--accent-wash); }
.cycle__when { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }

.years {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px;
    margin-top: clamp(48px, 6vw, 88px);
}
.years__item { padding-top: 16px; border-top: 1px solid var(--ink); }
.years__y { font-size: clamp(2.5rem, 4.4vw, 4.5rem); font-weight: 540; line-height: 0.9; letter-spacing: -0.05em; }
.years__item .h-sm { margin-top: 18px; }
.years__item > p:last-child { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- Motion (one-time, purposeful) ---------- */

@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
    .js .dwg--hero .bldg { animation: rise 1.7s var(--ease) 0.1s both; }
    .js .dwg--hero .cloud { animation: draw 1s var(--ease) both; }
    .js .dwg--hero .mk-1 .cloud { animation-delay: 1.5s; }
    .js .dwg--hero .mk-2 .cloud { animation-delay: 1.8s; }
    .js .dwg--hero .mk-3 .cloud { animation-delay: 2.1s; }
    .js .dwg--hero .mk-tag, .js .dwg--hero .mk-label { animation: fade-in 0.6s var(--ease) both; }
    .js .dwg--hero .mk-1 :is(.mk-tag, .mk-label) { animation-delay: 2.1s; }
    .js .dwg--hero .mk-2 :is(.mk-tag, .mk-label) { animation-delay: 2.4s; }
    .js .dwg--hero .mk-3 :is(.mk-tag, .mk-label) { animation-delay: 2.7s; }

    .js [data-reveal] .plot { clip-path: inset(0 100% 0 0); }
    .js [data-reveal].is-in .plot { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease) 0.1s; }

    .svc:hover .dwg--thumb .cloud { animation: draw 0.9s var(--ease) both; }
}

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

/* ---------- Responsive ---------- */

@media (min-width: 1024px) {
    .contact__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
    .dwg--hero .mk-label { display: inline; }
    .hero__caption .findings { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .hero__caption { position: absolute; left: 0; bottom: 0; margin: 0; }
}

@media (max-width: 1279px) {
    .idx-list {
        grid-column: 1 / -1;
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
        border-top: 0;
    }
    .idx { grid-template-columns: auto minmax(0, 1fr); padding: 10px 12px; border: 1px solid var(--rule-2); }
    .idx__num { min-width: 30px; }
    .idx__yr { display: none; }
    .idx--plan { margin-top: 0; border-top: 1px solid var(--rule-2); }
    .idx[aria-selected="true"] { border-color: var(--ink); }
    .sheet__drawing { grid-column: 1 / span 6; }
    .sheet__panels { grid-column: 7 / span 6; }
    .step__fig { grid-column: 8 / span 5; }
}

@media (max-width: 1023px) {
    .hero__copy, .hero__figure { grid-column: 1 / -1; }
    .hero__figure { width: 100%; max-width: 560px; justify-self: center; }
    .sheet__drawing { grid-column: 1 / -1; position: static; width: 100%; max-width: 560px; justify-self: center; }
    .sheet__panels { grid-column: 1 / -1; }
    .statement__label, .statement__text { grid-column: 1 / -1; }
    .step__head { grid-column: 1 / -1; }
    .step__body { grid-column: 1 / span 5; }
    .step__fig { grid-column: 7 / span 6; }
    .section-head > .display { grid-column: 1 / -1; }
    .section-head__lede { grid-column: 1 / span 9; }
    .section-head__main, .section-head__aside { grid-column: 1 / -1; }
    .section-head__aside { max-width: 40em; }
    .contact__intro, .brief { grid-column: 1 / -1; }
    .brief { max-width: 40em; }
    .person .portrait { grid-column: 1 / span 2; grid-row: 1 / span 2; }
    .person__name { grid-column: 3 / -1; align-self: end; }
    .person__info { grid-column: 3 / -1; justify-self: start; align-self: start; text-align: left; }
    .titleblock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .titleblock > div { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 1099px) {
    .site-nav { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
}

.mobile-cta { display: none; }

@media (max-width: 767px) {
    :root { --header-h: 60px; }
    body { font-size: 16px; }
    .logo { width: 100px; }
    .site-header__cta { display: none; }

    .mobile-cta {
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
        display: flex; justify-content: space-between;
        box-shadow: 0 10px 30px rgba(20, 20, 19, 0.18);
        transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
    }
    .js .mobile-cta { transform: translateY(140%); opacity: 0; pointer-events: none; }
    .js .mobile-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
    .site-footer { padding-bottom: 96px; }

    .hero__title { font-size: clamp(3.1rem, 15.5vw, 6rem); font-stretch: 90%; letter-spacing: -0.045em; }
    .dwg--hero .mk-tag__box { transform: scale(1.35); }
    .dwg--hero .datums { display: none; }

    .idx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .idx { padding: 10px; gap: 8px; }
    .idx__name { font-size: 14.5px; }
    .sheet__drawing, .sheet__panels { grid-column: 1 / -1; }
    .sheet__drawing { position: static; }
    .dwg--demo .datums { display: none; }
    .dwg--demo .key-mark { transform: scale(1.55); }

    .step__body, .step__fig { grid-column: 1 / -1; }
    .dg text { font-size: 11.5px; }
    .dg .dg-title { font-size: 10.5px; }

    .spec__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .figs--plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .person { row-gap: 8px; }
    .person .portrait { grid-column: 1 / span 4; }
    .person__name, .person__info { grid-column: 5 / -1; }
    .person__name { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
    .person__meta { font-size: 14px; }
    .portrait__initials { font-size: 1.7rem; }
    .portrait__note { left: 4px; right: 4px; bottom: 4px; padding: 2px; font-size: 8px; letter-spacing: 0.02em; }

    .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Responsive: landing and service pages ---------- */

@media (max-width: 1279px) {
    .hero--home .hero__copy { grid-column: 1 / span 7; }
    .hero__index { grid-column: 8 / span 5; }
    .svc__copy { grid-column: 1 / span 6; }
    .svc__fig { grid-column: 7 / span 6; }
    .idx.idx--muni { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 1023px) {
    .hero--home .hero__copy, .hero__index { grid-column: 1 / -1; }
    .svc__copy, .svc__fig { grid-column: 1 / -1; }
    .svc__fig { order: -1; }
    .svc__fig .dwg { max-height: 420px; }

    .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts__item:nth-child(2) { border-right: 0; }
    .facts__item:nth-child(3) { padding-left: 0; }
    .facts__item:nth-child(n+3) { border-top: 1px solid var(--rule); }

    .order { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .order__item:nth-child(2) { border-right: 0; }
    .order__item:nth-child(3) { padding-left: 0; }
    .order__item:nth-child(n+3) { border-top: 1px solid var(--rule); }

    .cols__item:first-child, .cols__item:last-child { grid-column: 1 / -1; }
    .grid-list, .grid-list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-2__text, .split-2__fig { grid-column: 1 / -1; }
    .split-2__fig { max-width: 560px; }
    .steps--compact .step__head { grid-column: 1 / -1; }
    .step__body--wide { grid-column: 1 / span 7; }
    .step__list--side { grid-column: 8 / span 5; }
    .sources__list { columns: 1; }
}

@media (max-width: 767px) {
    .hero__title--svc { font-size: clamp(2.6rem, 12.4vw, 5rem); font-stretch: 90%; }

    .facts__grid { grid-template-columns: minmax(0, 1fr); }
    .facts__item, .facts__item:first-child, .facts__item:nth-child(3), .facts__item:nth-child(n+3) {
        display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); column-gap: 16px; align-items: baseline;
        padding: 16px 0; border: 0; border-bottom: 1px solid var(--rule);
    }
    .facts__v { font-size: 2.5rem; }
    .facts__item dd { margin-top: 0; font-size: 15px; }

    .order { grid-template-columns: minmax(0, 1fr); }
    .order__item, .order__item:nth-child(3), .order__item:nth-child(n+3) { padding: 18px 0 22px; border: 0; border-bottom: 1px solid var(--rule); }

    .grid-list, .grid-list--4, .cards, .trio, .years { grid-template-columns: minmax(0, 1fr); }
    .step__body--wide, .step__list--side { grid-column: 1 / -1; }

    .sbar { grid-template-columns: minmax(0, 1fr) 4.8em; row-gap: 7px; }
    .sbar__track { grid-column: 1 / -1; grid-row: 2; }
    .figs--inv { gap: 12px; }

    .table-scroll:has(.rtable) { overflow: visible; }
    .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .rtable, .rtable tbody, .rtable tr, .rtable tbody th, .rtable td { display: block; width: auto !important; }
    .rtable tr { padding: 14px 0 16px; border-bottom: 1px solid var(--rule); }
    .rtable tbody th, .rtable td { padding: 0; border: 0; }
    .rtable td { margin-top: 8px; }

    .pts__comps, .pts__scale { display: none; }
    .pts__bar { flex-direction: column; gap: 4px; margin-top: 0; }
    .pts__bar .pts__seg:nth-child(5) { margin-right: 0; margin-bottom: 10px; }
    .pts__seg {
        flex: none; height: auto;
        display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
        padding: 10px 12px;
    }
    .pts__name { display: block; position: relative; z-index: 1; font-size: 14.5px; font-weight: 500; }
    .pts__seg--data::after { top: 0; bottom: 0; right: auto; height: auto; width: var(--cov); }

    .cycle__months { display: none; }
    .cycle__row { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
    .cycle__k { padding-top: 0; }
    .cycle__track { grid-template-columns: minmax(0, 1fr); background: none; }
    .cycle__item { grid-column: auto; margin-right: 0; }
}

/* Timeline: one key-column width for the month header and the rows */
.cycle { --cycle-k: 7.5rem; }
.cycle__months { margin-left: var(--cycle-k); }
.cycle__row { grid-template-columns: var(--cycle-k) minmax(0, 1fr); }

/* GRESB hero: a visible legend instead of labels in the drawing */
@media (min-width: 1024px) {
    .hero__figure--legend .hero__caption { position: static; margin-top: 16px; }
    .hero__figure--legend .hero__caption .findings {
        position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
        grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    }
}
.hero__figure--legend .findings li { grid-template-columns: 24px 1fr; }
.hero__figure--legend .findings__n { width: 24px; }
@media (max-width: 767px) {
    .cycle__row { grid-template-columns: minmax(0, 1fr); }
}
