/* Groenevolt. Tokens and reasons live in DESIGN.md. */
@font-face { font-family: 'Display'; src: url('/assets/fonts/display.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Text'; src: url('/assets/fonts/text.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Mono'; src: url('/assets/fonts/mono.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #0D1F14;
  --ink-2: #16301F;
  --paper: #F5F3EC;
  --paper-2: #EAE7DC;
  --volt: #00C314;
  --leaf: #076A1D;
  --bolt: #FF741C;
  --loop: #4A8F68;
  --muted: #45524A;      /* 7.6:1 on paper */
  --muted-ink: #B9C7BE;  /* 9.9:1 on ink */
  --line: #D3D0C3;
  --line-ink: #2B4535;
  --r-s: 6px;
  --r-m: 14px;
  --r-l: 28px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --f-d: 'Display', 'Arial Black', system-ui, sans-serif;
  --f-t: 'Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-m: 'Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-t); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--bolt); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-d); line-height: 1.05; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-m); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 850; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 46ch; }

/* ---------- motif: the loop ---------- */
.loop { display: block; overflow: visible; }
.loop__ring { fill: none; stroke: var(--loop); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.loop__head { fill: var(--loop); }
.loop__bolt { fill: var(--bolt); }
.js [data-draw] .loop__ring, .js .llist__item:not(.is-in) .loop__ring { stroke-dashoffset: 1; }
.loop__ring { transition: stroke-dashoffset 1.1s var(--ease); }
.loop__head { transition: opacity .3s .9s; }
.js .llist__item:not(.is-in) .loop__head { opacity: 0; }

/* ---------- buttons ---------- */
.btn { --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: var(--bh); padding: 0 1.25em; border-radius: var(--r-s); border: 2px solid transparent; font: 700 1rem/1 var(--f-t); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lg { --bh: 56px; font-size: 1.0625rem; padding: 0 1.5em; }
.btn--sm { --bh: 44px; font-size: .95rem; padding: 0 1em; }
.btn--bolt { background: var(--bolt); color: var(--ink); }
.btn--bolt:hover { background: #FF8A3D; color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); color: var(--paper); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line-light { border-color: rgba(245, 243, 236, .55); color: var(--paper); background: transparent; }
.btn--line-light:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.textlink { font-weight: 700; color: var(--leaf); display: inline-flex; gap: .4em; align-items: center; min-height: 44px; }
.textlink::after { content: ''; width: .55em; height: .55em; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.textlink:hover::after { transform: translateX(4px) rotate(45deg); }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 236, .94); border-bottom: 1px solid transparent; transition: border-color .3s, transform .35s var(--ease); }
.head.is-scrolled { border-color: var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.head__in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.head__logo { flex: none; display: block; padding: 6px 0; }
.logo { height: 34px; width: auto; }
.head__nav { margin-left: auto; }
.head__nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.head__nav a { display: block; padding: 10px 11px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--r-s); position: relative; }
.head__nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.head__nav a:hover::after, .head__nav a[aria-current]::after { transform: scaleX(1); }
.head__tools { display: flex; gap: 10px; align-items: center; }
.head__tel { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.head__tel:hover { color: var(--leaf); }
@media (min-width: 1380px) { .head__tel { display: inline-flex; } }
.menu__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-s); background: none; font: 700 .95rem var(--f-t); color: var(--ink); cursor: pointer; }
.menu-btn__loop { width: 20px; height: 20px; }
.menu-btn__loop .loop__ring { stroke-width: 11; }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--head-h); }
.menu__top .logo { background: var(--paper); padding: 6px 10px; border-radius: var(--r-s); height: 40px; }
.menu__close { min-height: 44px; padding: 0 16px; background: none; color: var(--paper); border: 2px solid rgba(245,243,236,.5); border-radius: var(--r-s); font: 700 1rem var(--f-t); cursor: pointer; }
.menu__nav ul { list-style: none; padding: 16px 0 24px; margin: 0; }
.menu__nav li { opacity: 0; transform: translateY(10px); animation: menuIn .4s var(--ease) forwards; animation-delay: calc(var(--i) * 35ms); }
.menu__nav a:not(.btn) { display: block; padding: 10px 0; color: var(--paper); text-decoration: none; font: 800 clamp(1.6rem, 7vw, 2.2rem)/1.1 var(--f-d); }
.menu__nav a[aria-current] { color: var(--volt); }
@keyframes menuIn { to { opacity: 1; transform: none; } }

@media (max-width: 1180px) { .head__nav { display: none; } .menu-btn { display: inline-flex; } .head__tools { margin-left: auto; } }
@media (max-width: 560px) { .head__cta { display: none; } .logo { height: 28px; } :root { --head-h: 64px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, min(100svh - var(--head-h), 960px)); display: grid; isolation: isolate; overflow: hidden; background: #DDE9EE; transition: background-color .6s; }
.hero__stage { position: absolute; inset: 0; z-index: -2; }
.hero__still { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: opacity .8s; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s; }
.hero.has-gl .hero__gl { opacity: 1; }
.hero.has-gl .hero__still { opacity: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(245,243,236,.96) 0%, rgba(245,243,236,.86) 36%, rgba(245,243,236,0) 56%); }
.hero.is-night::before { background: linear-gradient(90deg, rgba(13,31,20,.9) 0%, rgba(13,31,20,.74) 36%, rgba(13,31,20,0) 56%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 600px); align-content: center; padding-block: clamp(36px, 6vh, 72px); }
.hero__col { display: grid; gap: clamp(28px, 4vh, 44px); }
.hero__copy { max-width: 600px; }
.hero__h { font-size: clamp(2.5rem, 4.9vw, 4.4rem); font-weight: 900; line-height: .96; letter-spacing: -.025em; }
.hero__lead { font-size: clamp(1.05rem, 1.35vw, 1.18rem); max-width: 44ch; margin-top: 18px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero, .hero__h, .hero__lead { transition: color .6s, background-color .6s; }
.hero.is-night .hero__h { color: var(--paper); }
.hero.is-night .hero__lead { color: var(--muted-ink); }
.hero.is-night .btn--ink { background: var(--paper); color: var(--ink); }

/* the dial: the logo's O, used as a 24-hour clock */
.dial { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: rgba(245,243,236,.96); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 20px 16px 16px; box-shadow: 0 24px 60px -30px rgba(13,31,20,.45); max-width: 560px; color: var(--ink); }
.dial__ring { position: relative; width: 180px; aspect-ratio: 1; touch-action: none; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: none; stroke: var(--line); stroke-width: 10; }
.dial__prog { fill: none; stroke: var(--loop); stroke-width: 10; stroke-linecap: round; }
.dial__sunticks line { stroke: var(--volt); stroke-width: 3; stroke-linecap: round; }
.dial__hours text { font: 600 9px var(--f-m); fill: var(--muted); text-anchor: middle; }
.dial__bolt { fill: var(--bolt); }
.dial__knob { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--bolt); border: 4px solid var(--paper); box-shadow: 0 2px 10px rgba(13,31,20,.35); cursor: grab; left: 50%; top: 50%; }
.dial__knob:active { cursor: grabbing; }
.dial__knob:focus-visible { outline-offset: 4px; }
.dial__time { position: absolute; left: 0; right: 0; top: 56%; text-align: center; font-size: 1rem; font-weight: 600; pointer-events: none; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
.readout div { border-top: 1px solid var(--line); padding-top: 6px; }
.readout dt { font-size: .8rem; font-weight: 700; color: var(--muted); }
.readout dd { margin: 0; font-size: 1.2rem; font-weight: 600; }
.readout dd.is-flow { color: var(--leaf); }
.readout dd.is-draw { color: #A64300; }
.dial__status { font-size: .95rem; font-weight: 600; margin: 12px 0 10px; min-height: 2.9em; }
.dial__ctrl { display: flex; gap: 10px; align-items: center; }
.dial__btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dial__btn .ic:last-child, .dial__btn.is-paused .ic:first-child { display: none; }
.dial__btn.is-paused .ic:last-child { display: block; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; background: none; border: 0; padding: 0 4px; font: 600 .95rem var(--f-t); color: var(--ink); cursor: pointer; }
.switch__track { width: 48px; height: 28px; border-radius: 14px; background: var(--leaf); position: relative; transition: background-color .25s; }
.switch__thumb { position: absolute; top: 3px; left: 23px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); transition: left .25s var(--ease); }
.switch[aria-checked="false"] .switch__track { background: #8A2E00; }
.switch[aria-checked="false"] .switch__thumb { left: 3px; }
.dial__note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; line-height: 1.4; }

@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(245,243,236,.97) 0%, rgba(245,243,236,.88) 40%, rgba(245,243,236,0) 70%); }
  .hero.is-night::before { background: linear-gradient(180deg, rgba(13,31,20,.94) 0%, rgba(13,31,20,.8) 40%, rgba(13,31,20,0) 70%); }
  .hero__in { grid-template-columns: 1fr; padding-top: 36px; align-content: start; }
  .dial { margin-top: 34vh; max-width: none; }
}
@media (max-width: 560px) {
  .dial { grid-template-columns: 1fr; justify-items: center; padding: 16px; margin-top: 34vh; }
  .dial__panel { width: 100%; }
  .dial__ring { width: 180px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- loop section ---------- */
.loopsec { padding-block: clamp(80px, 12vw, 160px); }
.loopsec__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.loopsec__copy { position: sticky; top: calc(var(--head-h) + 32px); }
.loopsec__copy .lead { margin-top: 20px; }
.loopsec__ui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.loopwheel { position: relative; aspect-ratio: 1; }
.loopwheel__ring { width: 100%; height: 100%; }
.loopwheel__ring .loop__ring { stroke-width: 3.2; }
.loopwheel__ring .loop__bolt { transform-origin: 50% 50%; transform: scale(.7); transition: transform .5s var(--ease); }
.loopwheel:hover .loop__bolt { transform: scale(.76); }
.loopwheel__node { position: absolute; transform: translate(-50%, -50%); min-height: 44px; padding: 0 16px; border-radius: 22px; border: 2px solid var(--ink); background: var(--paper); font: 800 1rem var(--f-d); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.loopwheel__node--0 { left: 50%; top: 12%; }
.loopwheel__node--1 { left: 88%; top: 50%; }
.loopwheel__node--2 { left: 50%; top: 88%; }
.loopwheel__node--3 { left: 12%; top: 50%; }
.loopwheel__node:hover { transform: translate(-50%, -50%) scale(1.05); }
.loopwheel__node[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.looppanel__fig { margin: 0 0 18px; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; }
.looppanel__fig img { width: 100%; height: 100%; object-fit: cover; }
.looppanel p { color: var(--muted); margin-top: 8px; }
.looppanel:not([hidden]) { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1000px) { .loopsec__in, .loopsec__ui { grid-template-columns: 1fr; } .loopsec__copy { position: static; } .loopwheel { max-width: 380px; width: 100%; margin-inline: auto; } }

/* ---------- who: list with image that follows the pointer ---------- */
.who { padding-bottom: clamp(80px, 10vw, 140px); position: relative; }
.who__h { max-width: 14ch; margin-bottom: 40px; }
.who__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.who__row a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.who__name, .who__line { transition: transform .35s var(--ease), color .25s; }
.who__thumb { display: none; }
.who__name { font: 850 clamp(1.6rem, 3.6vw, 2.8rem)/1 var(--f-d); }
.who__line { color: var(--muted); max-width: 52ch; }
.who__row a:hover :is(.who__name, .who__line), .who__row a:focus-visible :is(.who__name, .who__line) { transform: translateX(18px); }
.who__row a:hover .who__name { color: var(--leaf); }
.who__float { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; pointer-events: none; opacity: 0; z-index: 5; transform: translate3d(-999px, 0, 0); transition: opacity .25s; box-shadow: 0 30px 60px -30px rgba(13,31,20,.5); }
.who__float img { width: 100%; height: 100%; object-fit: cover; }
.who__float.is-on { opacity: 1; }
@media (hover: none), (max-width: 760px) {
  .who__float { display: none; }
  .who__row a { grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 4px 16px; align-items: center; }
  .who__thumb { display: block; grid-row: span 2; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 1; }
  .who__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .who__name { font-size: 1.4rem; }
  .who__line { font-size: .95rem; }
}

/* ---------- outage band ---------- */
.outage { position: relative; color: var(--paper); background: var(--ink); isolation: isolate; overflow: hidden; }
.outage__bg { position: absolute; inset: 0; z-index: -1; }
.outage__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.outage__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,20,.92) 0%, rgba(13,31,20,.7) 45%, rgba(13,31,20,.2) 80%), linear-gradient(180deg, rgba(13,31,20,0) 40%, rgba(13,31,20,.92) 78%); }
@media (max-width: 860px) { .outage__bg::after { background: rgba(13,31,20,.84); } }
.outage__in { padding-block: clamp(90px, 13vw, 180px); }
.outage__h { max-width: 17ch; color: var(--paper); }
.outage__beats { list-style: none; padding: 0; margin: 56px 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--volt); }
.outage__beats li { padding: 20px 22px 0 0; position: relative; }
.outage__beats li::before { content: ''; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--volt); }
.outage__beats li:first-child::before { border-color: var(--bolt); }
.outage__beats .mono { color: var(--volt); font-size: .95rem; font-weight: 600; }
.outage__beats p { margin-top: 8px; color: #E3E9E4; }
.outage__fine { font-size: .9rem; color: var(--muted-ink); margin-bottom: 28px; }
@media (max-width: 860px) { .outage__beats { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--volt); padding-left: 22px; gap: 24px; } .outage__beats li { padding: 0; } .outage__beats li::before { top: 4px; left: -31px; } }

/* ---------- quick estimate ---------- */
.estimate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-block: clamp(80px, 11vw, 150px); align-items: center; }
.estimate .lead { margin: 18px 0 24px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.seg__opt, .chip { position: relative; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--r-s); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.seg__opt input:checked + span { background: var(--ink); color: var(--paper); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--bolt); outline-offset: 3px; }
.estimate__out { background: var(--ink); color: var(--paper); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; gap: 4px; }
.gauge { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-ink); }
.gauge__k { font-weight: 700; color: var(--muted-ink); }
.gauge__v { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; color: var(--volt); line-height: 1; }
.estimate__fine { font-size: .85rem; color: var(--muted-ink); margin: 16px 0 0; }
@media (max-width: 860px) { .estimate { grid-template-columns: 1fr; } }

/* ---------- loop list (process, includes) ---------- */
.steps { background: var(--paper-2); padding-block: clamp(80px, 11vw, 150px); }
.steps__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps__side { position: sticky; top: calc(var(--head-h) + 32px); }
.steps__side p { color: var(--muted); margin-top: 16px; }
.llist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.llist__item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.llist__mark { position: relative; width: 56px; height: 56px; }
.llist__mark .loop { width: 100%; height: 100%; }
.llist__mark b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.15rem var(--f-d); }
.llist__t { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; padding-top: 4px; }
.llist p { color: var(--muted); margin: 0; max-width: 56ch; }
.llist--compact .llist__item { padding: 16px 0; grid-template-columns: 48px 1fr; gap: 16px; }
.llist--compact .llist__mark { width: 44px; height: 44px; }
.llist--compact .llist__t { font-size: 1.1rem; }
.llist--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.llist--row .llist__item { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--ink); }
@media (max-width: 1000px) { .steps__in { grid-template-columns: 1fr; } .steps__side { position: static; } .llist--row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .llist--row { grid-template-columns: 1fr; } .llist__item { grid-template-columns: 52px 1fr; gap: 14px; } .llist__mark { width: 48px; height: 48px; } }

/* ---------- guides ---------- */
.guides-teaser { padding-bottom: clamp(60px, 8vw, 110px); }
.guides-teaser .h2 { margin-bottom: 28px; }
.glist { list-style: none; margin: 0 0 16px; padding: 0; border-top: 2px solid var(--ink); }
.glist a { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.glist__t { font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.2 var(--f-d); transition: color .2s; }
.glist a:hover .glist__t { color: var(--leaf); }
.glist__m { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.glist--index a { display: grid; grid-template-columns: 1fr auto; }
.glist__d { grid-column: 1; color: var(--muted); font-size: .98rem; }
.glist--index .glist__m { grid-column: 2; grid-row: 1; }
@media (max-width: 560px) { .glist a { flex-direction: column; gap: 4px; } .glist--index a { grid-template-columns: 1fr; } .glist--index .glist__m { grid-column: 1; grid-row: auto; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(60px, 9vw, 120px); }
.faq__head { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; }
.faq__loop { width: 96px; height: 96px; margin-top: 28px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; font: 700 1.1rem/1.35 var(--f-t); min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; width: 28px; height: 28px; flex: none; border: 2px solid var(--loop); border-radius: 50%; transition: transform .35s var(--ease), background-color .25s; }
.faq__x::before, .faq__x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__x { transform: rotate(180deg); background: var(--volt); border-color: var(--volt); }
.faq__item[open] .faq__x::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a p { color: var(--muted); max-width: 62ch; padding-bottom: 8px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } .faq__loop { display: none; } }

/* ---------- quote form ---------- */
.quote { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 11vw, 150px); }
.quote__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
.quote__intro .h2 { color: var(--paper); }
.quote__intro p { color: var(--muted-ink); margin-top: 18px; max-width: 44ch; }
.quote__loop { width: 120px; height: 120px; margin: 32px 0; }
.quote__loop .loop__ring { stroke: var(--volt); stroke-width: 5; }
.quote__loop .loop__head { fill: var(--volt); }
.quote__direct { display: flex; flex-wrap: wrap; gap: 10px; }
.quote__or { width: 100%; font-weight: 700; color: var(--paper) !important; margin: 0 0 4px !important; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--wide { grid-column: span 2; }
.field > span, .field legend { font-weight: 700; font-size: .95rem; padding: 0; }
.field small { font-weight: 400; color: var(--muted-ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--line-ink); border-radius: var(--r-s); background: var(--ink-2); color: var(--paper); font: 400 1rem var(--f-t); transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--volt); outline: none; box-shadow: 0 0 0 3px rgba(0,195,20,.35); }
.field ::placeholder { color: #8FA197; }
.field.is-bad input, .field.is-bad textarea { border-color: #FF9A5C; }
.field__err { font-style: normal; color: #FFB48A; font-size: .9rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--line-ink); border-radius: var(--r-s); cursor: pointer; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--bolt); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.form__fine { font-size: .88rem; color: var(--muted-ink); margin: 0; max-width: 40ch; }
.form__fine a { color: var(--paper); }
.form__status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-m); background: var(--ink-2); border: 2px solid var(--volt); }
.form__status.is-error { border-color: #FF9A5C; }
.form__status p { margin: 0 0 .5em; }
.form__status a { color: var(--volt); }
@media (max-width: 860px) { .quote__in { grid-template-columns: 1fr; } .quote__loop { display: none; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } .field--wide { grid-column: auto; } .form__foot .btn { width: 100%; } }

/* ---------- footer ---------- */
.foot { background: var(--paper-2); }
.foot__sign { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-block: clamp(64px, 9vw, 120px) 48px; border-bottom: 2px solid var(--ink); }
.foot__big { font: 900 clamp(2.8rem, 8vw, 6.6rem)/.92 var(--f-d); letter-spacing: -.03em; margin: 0; }
.foot__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__cta .btn--line-light { border-color: var(--ink); color: var(--ink); }
.foot__cta .btn--line-light:hover { background: var(--ink); color: var(--paper); }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-block: 48px; }
.foot__logo .logo { height: 40px; margin-bottom: 18px; }
.foot__brand p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.foot__contact a { color: var(--ink); font-weight: 700; }
.foot__h { font: 800 1.05rem var(--f-d); margin-bottom: 12px; }
.foot__h a { color: var(--ink); text-decoration: none; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: .95rem; }
.foot__col a:hover { color: var(--leaf); text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.foot__base p { margin: 0; }
.foot__base a { color: var(--muted); display: inline-block; padding: 4px 0; }
.foot__note { width: 100%; }
@media (max-width: 1000px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: span 2; } }

/* ---------- inner pages ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 20px 0 0; font-size: .9rem; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-block; padding: 4px 0; }
.crumbs span { color: var(--ink); font-weight: 600; }

.phero { position: relative; color: var(--paper); isolation: isolate; overflow: hidden; background: var(--ink); }
.phero__img { position: absolute; inset: 0; z-index: -1; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,20,.92) 0%, rgba(13,31,20,.78) 50%, rgba(13,31,20,.35) 100%); }
.phero__in { padding-block: 24px clamp(80px, 12vw, 150px); }
.phero .crumbs a, .phero .crumbs li::before { color: var(--muted-ink); }
.phero .crumbs span { color: var(--paper); }
.phero__h { font-size: clamp(2.4rem, 5.6vw, 4.8rem); font-weight: 900; max-width: 16ch; margin-top: clamp(40px, 7vw, 90px); color: var(--paper); }
.phero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: #DDE5DF; max-width: 52ch; margin-top: 22px; }
..hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 760px) { .phero__img::after { background: rgba(13,31,20,.84); } }

.kids { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; padding-block: clamp(60px, 8vw, 110px); }
.kid { grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #FFFEFA; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: transform .35s var(--ease), border-color .25s; }
.kid--lead { grid-column: span 4; grid-row: span 2; }
.kid:hover { transform: translateY(-4px); border-color: var(--ink); }
.kid__img { aspect-ratio: 16 / 10; overflow: hidden; }
.kid--lead .kid__img { aspect-ratio: auto; flex: 1; min-height: 280px; }
.kid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.kid:hover .kid__img img { transform: scale(1.04); }
.kid__body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.kid__name { font: 850 1.35rem var(--f-d); }
.kid--lead .kid__name { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.kid__line { color: var(--muted); font-size: .98rem; }
.kid__more { font-weight: 700; color: var(--leaf); }
.kids:has(.kid:nth-child(4):last-child) .kid:nth-child(4) { grid-column: span 2; }
@media (max-width: 1000px) { .kids { grid-template-columns: 1fr 1fr; } .kid, .kid--lead { grid-column: span 1; grid-row: auto; } .kid--lead { grid-column: span 2; } }
@media (max-width: 600px) { .kids { grid-template-columns: 1fr; } .kid--lead { grid-column: auto; } }

.parts { padding-bottom: clamp(60px, 8vw, 110px); }
.parts .h2 { margin-bottom: 32px; }
.parts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.part--lead { grid-column: span 2; grid-row: span 2; }
.part img { border-radius: var(--r-m); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.part--lead img { aspect-ratio: 4 / 3.3; }
.part p { color: var(--muted); margin-top: 6px; font-size: .98rem; }
@media (max-width: 860px) { .parts__grid { grid-template-columns: 1fr 1fr; } .part--lead { grid-column: span 2; grid-row: auto; } }

.papers { padding-bottom: clamp(60px, 8vw, 110px); }
.papers__card { border: 2px solid var(--ink); border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); max-width: 900px; background: #FFFEFA; }
.papers__card p { margin: 12px 0 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--leaf); margin-top: 3px; }

.symptoms { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(60px, 8vw, 110px); }
.symptoms__copy p { color: var(--muted); margin-top: 16px; }
.symptoms__ui { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.symptoms__list { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-s); cursor: pointer; transition: border-color .2s, background-color .2s; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--leaf); flex: none; }
.tick:has(input:checked) { border-color: var(--leaf); background: #E6F1E3; }
.symptoms__out { position: sticky; top: calc(var(--head-h) + 24px); background: var(--ink); color: var(--paper); border-radius: var(--r-m); padding: 24px; min-height: 200px; }
.symptoms__empty { color: var(--muted-ink); margin: 0; }
.symptoms__rec { display: grid; gap: 10px; }
.symptoms__rec a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-s); background: var(--ink-2); color: var(--paper); text-decoration: none; font-weight: 700; animation: panelIn .35s var(--ease); }
.symptoms__rec a:hover { background: var(--volt); color: var(--ink); }
.symptoms__rec small { font-weight: 400; color: var(--muted-ink); display: block; }
.symptoms__rec a:hover small { color: var(--ink); }
@media (max-width: 1000px) { .symptoms, .symptoms__ui { grid-template-columns: 1fr; } .symptoms__out { position: static; } }


/* service page */
.shero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.shero__kicker { margin: 0 0 14px; font-weight: 700; }
.shero__kicker a { color: var(--leaf); }
.shero__h { font-size: clamp(2.3rem, 5vw, 4.3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.shero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 52ch; margin-top: 22px; }
..hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.shero__fig { margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; }
.shero__fig img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .shero { grid-template-columns: 1fr; } .shero__fig { aspect-ratio: 16 / 10; } }

.fit { margin-top: -8px; padding-bottom: clamp(48px, 6vw, 80px); }
.fit__card { background: var(--ink); color: var(--paper); border-radius: var(--r-l); padding: clamp(22px, 3.5vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 16px 48px; align-items: center; }
.fit__h { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; font-weight: 850; color: var(--paper); }
.fit__loop { width: 44px; height: 44px; flex: none; }
.fit__loop .loop__ring { stroke: var(--volt); }
.fit__loop .loop__head { fill: var(--volt); }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.fit li { display: flex; gap: 10px; align-items: flex-start; }
.fit .ic { color: var(--volt); margin-top: 3px; }
@media (max-width: 860px) { .fit__card { grid-template-columns: 1fr; } .fit ul { grid-template-columns: 1fr; } }

.prose { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 90px); }
.prose__toc { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; }
.prose__toc-h { font-weight: 800; font-family: var(--f-d); margin-bottom: 10px; }
.prose__toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.prose__toc a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: .93rem; line-height: 1.35; position: relative; transition: color .2s; }
.prose__toc a::before { content: ''; position: absolute; left: -16px; top: 0; bottom: 0; width: 2px; background: var(--volt); transform: scaleY(0); transition: transform .3s var(--ease); }
.prose__toc a.is-on { color: var(--ink); font-weight: 700; }
.prose__toc a.is-on::before { transform: scaleY(1); }
.prose__body { max-width: 760px; }
.prose__sec { padding-block: 12px 20px; }
.prose__sec .h3 { margin-bottom: 12px; }
.prose__sec > p { color: #26352C; font-size: 1.07rem; }
.prose__fig { margin: 24px 0 32px; }
.prose__fig img { border-radius: var(--r-m); width: 100%; }
.prose__fig figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #FFFEFA; }
.table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .98rem; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--f-d); font-weight: 800; background: var(--paper-2); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 700; }
@media (max-width: 900px) { .prose { grid-template-columns: minmax(0, 1fr); } .prose__toc { position: static; } }

.sibs { padding-bottom: clamp(40px, 6vw, 80px); }
.sibs .h3 { margin-bottom: 18px; }
.sibs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sibs a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); text-decoration: none; font-weight: 700; background: #FFFEFA; min-height: 76px; transition: border-color .2s; height: 100%; }
.sibs a:hover { border-color: var(--ink); }
.sibs img { width: 56px; height: 56px; border-radius: var(--r-s); object-fit: cover; flex: none; }
.sibs__all { justify-content: center; background: var(--paper-2) !important; }

/* calculator */
.calc-hero { padding-block: clamp(28px, 4vw, 56px) clamp(32px, 4vw, 56px); max-width: calc(860px + 2 * var(--gut)); margin-inline: 0 auto; }
@media (min-width: 1240px) { .calc-hero { margin-inline: auto; max-width: var(--wrap); } .calc-hero > * { max-width: 860px; } }
.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(60px, 8vw, 110px); align-items: start; }
.calc__list { display: grid; gap: 28px; }
.calc__cat { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__cat legend { margin-bottom: 8px; }
.calc__cat ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.appl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.appl.is-on .appl__name > span { font-weight: 700; }
.appl__name { display: grid; gap: 2px; }
.appl__name small { color: var(--muted); font-size: .85rem; }
.appl__note { font-style: italic; }
.appl__ctl { display: flex; gap: 14px; align-items: center; }
.stepper { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r-s); overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font: 700 1.3rem var(--f-t); cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 46px; text-align: center; border: 0; border-inline: 2px solid var(--ink); font-size: 1rem; background: #FFFEFA; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .hours input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hours { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.hours input { width: 64px; height: 44px; border: 2px solid var(--line); border-radius: var(--r-s); text-align: center; font-size: 1rem; background: #FFFEFA; }
.stepper input:focus, .hours input:focus { outline: 3px solid var(--bolt); outline-offset: 1px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding-top: 12px; border-top: 2px solid var(--ink); }
.range span { grid-column: span 2; font-weight: 600; }
.range input { width: 100%; accent-color: var(--leaf); height: 44px; }
.range output { font-weight: 600; min-width: 6ch; }
.calc__out { position: sticky; top: calc(var(--head-h) + 20px); }
.calc__card { background: var(--ink); color: var(--paper); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.calc__label { font-weight: 700; color: var(--muted-ink); margin-bottom: 6px; }
.calc__big { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); }
.calc__k { font-weight: 700; color: var(--muted-ink); }
.calc__v { font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--volt); font-weight: 600; line-height: 1.05; text-align: right; }
.calc__sub { color: var(--muted-ink); margin: 12px 0 0; }
.calc__warn { background: #3A2412; border-left: 0; border-radius: var(--r-s); padding: 10px 12px; color: #FFD2B3; margin-top: 12px; font-size: .95rem; }
.calc__empty { padding: 20px 0; color: var(--muted-ink); }
.calc__maths { margin: 18px 0; border-top: 1px solid var(--line-ink); }
.calc__maths summary { cursor: pointer; padding: 12px 0; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.calc__maths div { font-size: .9rem; color: #DDE5DF; }
.calc__maths p { margin: 0 0 .6em; }
.calc__maths .mono { color: var(--volt); }
.calc__send { width: 100%; }
.calc__fine { font-size: .82rem; color: var(--muted-ink); margin: 14px 0 0; }
@media (max-width: 1000px) { .calc { grid-template-columns: 1fr; } .calc__out { position: static; } }
@media (max-width: 520px) { .appl { grid-template-columns: 1fr; } .appl__ctl { justify-content: space-between; } }

/* guides */
.gindex { padding-bottom: clamp(60px, 8vw, 110px); display: grid; gap: 40px; }
.gfeat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); text-decoration: none; color: var(--ink); align-items: center; }
.gfeat__img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 10; }
.gfeat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gfeat:hover img { transform: scale(1.03); }
.gfeat__body { display: grid; gap: 12px; }
.gfeat__t { font: 900 clamp(1.8rem, 3.4vw, 2.8rem)/1.05 var(--f-d); }
.gfeat__d { color: var(--muted); }
@media (max-width: 860px) { .gfeat { grid-template-columns: 1fr; } }

.article { padding-bottom: clamp(48px, 6vw, 80px); }
.article__head { max-width: 860px; padding-block: clamp(24px, 4vw, 48px) 28px; }
.article__h { font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 900; letter-spacing: -.02em; }
.article__meta { color: var(--muted); font-size: .95rem; margin-top: 16px; }
.article__intro { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: #26352C; margin-top: 12px; max-width: 60ch; }
.article__fig { margin: 0 0 40px; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 21 / 9; }
.article__fig img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 720px; }
.article__body section { margin-bottom: 28px; }
.article__body .h3 { margin-bottom: 10px; }
.article__body p { font-size: 1.08rem; color: #26352C; }
.article__cta { background: var(--paper-2); border-radius: var(--r-l); padding: 28px; margin-top: 40px; }
.article__cta p { margin: 10px 0 18px; }
@media (max-width: 700px) { .article__fig { aspect-ratio: 16 / 10; } }

.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(28px, 4vw, 56px) clamp(60px, 8vw, 110px); align-items: center; }
.about__copy > p:not(.shero__lead) { color: #26352C; font-size: 1.08rem; max-width: 60ch; }
.about__copy .shero__lead { margin-bottom: 24px; }
.about__mark { display: grid; justify-items: center; gap: 28px; }
.about__logo { height: auto; width: 100%; max-width: 360px; }
.about__loop { width: min(260px, 70vw); height: auto; aspect-ratio: 1; }
.about__loop .loop__ring { stroke-width: 4; }
.about__loopkeys { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.about__loopkeys a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 22px; color: var(--ink); text-decoration: none; font-weight: 700; }
.about__loopkeys a:hover { background: var(--ink); color: var(--paper); }
.wide { margin: 0 0 clamp(60px, 8vw, 110px); }
.wide img { width: 100%; max-height: 70vh; object-fit: cover; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.nf { --p: 0; position: relative; height: 230svh; background: var(--ink); color: var(--paper); }
.nf__stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.nf__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.nf__mark { justify-self: center; width: min(40vw, 420px); aspect-ratio: 1; transform: rotate(calc((1 - var(--p)) * -60deg)) scale(calc(.86 + var(--p) * .14)); }
.nf__loop { width: 100%; height: 100%; }
/* the ring starts with a gap (an open circuit) and closes as the visitor scrolls */
.nf__loop .loop__ring { stroke-width: 5; stroke: color-mix(in srgb, var(--volt) calc(var(--p) * 100%), #3E5A49); stroke-dashoffset: calc(.3 * (1 - var(--p))); transition: none; }
.nf__loop .loop__head { fill: var(--volt); opacity: 0; transition: opacity .3s; }
.nf__loop .loop__bolt { fill: color-mix(in srgb, var(--bolt) calc(var(--p) * 100%), #4E5F54); transform-origin: 50% 50%; transition: transform .4s var(--ease); }
.nf.is-closed .loop__head { opacity: 1; }
.nf.is-closed .loop__bolt { transform: scale(1.08); }
.nf__code { color: var(--volt); font-weight: 600; margin-bottom: 14px; }
.nf__h { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 900; letter-spacing: -.025em; color: var(--paper); }
.nf__lead { color: var(--muted-ink); font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 44ch; margin-top: 20px; }
.nf__status { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted-ink); font-weight: 600; }
.nf__status::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #8A2E00; transition: background-color .3s; }
.nf.is-closed .nf__status { color: var(--volt); }
.nf.is-closed .nf__status::before { background: var(--volt); }
.nfroutes { padding-block: clamp(64px, 9vw, 120px); }
.nfroutes .h2 { margin-bottom: 28px; }
.nfroutes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nfroutes__list a { display: grid; gap: 6px; height: 100%; padding: 20px; border: 2px solid var(--line); border-radius: var(--r-m); background: #FFFEFA; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.nfroutes__list a:hover { border-color: var(--ink); transform: translateY(-3px); }
.nfroutes__n { color: var(--leaf); font-weight: 600; font-size: .9rem; }
.nfroutes__t { font: 800 1.25rem var(--f-d); }
.nfroutes__d { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .nfroutes__list { grid-template-columns: 1fr 1fr; } .nf__in { grid-template-columns: 1fr; justify-items: start; } .nf__mark { justify-self: start; width: min(46vw, 220px); } }
@media (max-width: 480px) { .nfroutes__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nf { --p: 1; height: auto; } .nf__stage { position: static; height: auto; padding-block: 80px; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .llist__item:not(.is-in) .loop__ring { stroke-dashoffset: 0; }
  .js .llist__item:not(.is-in) .loop__head { opacity: 1; }
}
