/* Energy Management · page styles. Engine (scrollcraft.*) is untouched. */

:root {
  --sc-canvas: #090D12;
  --sc-surface: #111821;
  --sc-ink: #EEF3F6;
  --sc-ink-soft: #A3B2BD;
  --sc-accent: #3AA8E0;
  --sc-accent-ink: #04121B;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --sc-font-mono: "Geist Mono", ui-monospace, monospace;
  --sc-shadow-color: 210 50% 3%;
  --sc-section: clamp(4rem, 7vw, 8rem);

  --warn: #F2A53A;
  --paper: #E9EDEA;
  --paper-ink: #0D1720;
  --paper-soft: #46535E;
  --paper-accent: #0D6C9F;
  --r: 10px;
}

h1, h2, h3, h4 { font-family: var(--sc-font-display); font-weight: 700; margin: 0; text-wrap: balance; font-stretch: 112%; }
p { margin: 0; text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* skip link: invisible until focused */
.skip {
  position: fixed; left: var(--sc-gutter); top: 10px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r);
  background: var(--sc-ink); color: var(--sc-canvas); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform 160ms var(--sc-ease-out);
}
.skip:focus { transform: none; }
#tresc { outline: none; }

/* ------------------------------------------------------------ chrome -- */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--sc-gutter);
  pointer-events: none;
}
.chrome > * { pointer-events: auto; position: relative; }
/* past the hero the header gets a quiet backing so it never sits on top of a heading */
.chrome::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in oklab, #090D12 84%, transparent); border-bottom: 1px solid var(--sc-hairline);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 240ms var(--sc-ease-out);
}
.chrome.is-solid::before { opacity: 1; }
.chrome__logo { display: inline-flex; align-items: center; min-height: 44px; transition: opacity 240ms var(--sc-ease-out); }
.chrome__logo img { height: 44px; width: auto; }
.chrome__cta {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; font-size: var(--sc-t-sm); text-decoration: none;
  padding: 0 16px; border-radius: var(--r);
  background: color-mix(in oklab, var(--sc-canvas) 60%, transparent);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 24%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), opacity 240ms var(--sc-ease-out);
}
.chrome__cta:hover { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
/* over the light contact section the header steps aside: the form has its own CTA */
.chrome.is-paper::before, .chrome.is-paper .chrome__logo, .chrome.is-paper .chrome__cta { opacity: 0; pointer-events: none; visibility: hidden; }

/* ----------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: var(--r);
  font-weight: 600; font-size: var(--sc-t-sm); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--solid { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: var(--sc-e2); }
.btn--solid:hover { background: #63BCEB; }
.btn--line { border-color: rgba(238, 243, 246, .45); color: var(--sc-ink); background: rgba(9, 13, 18, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 12%, transparent); }
.btn--ink { background: var(--paper-ink); color: #fff; }
.btn--ink:hover { background: var(--paper-accent); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Pinned acts get their final size from CSS, before the engine runs. Otherwise
   the stage is 0px tall for the first frames, the next section paints at the top
   of the screen and then jumps down (a full-viewport layout shift). The values
   must match data-sc-span in index.html. */
[data-sc-stage] { height: 100vh; height: 100svh; }
html.js #obiekt { height: 135vh; }
html.js #pomiar { height: 220vh; }

/* =============================================================== HERO == */
.hero__stage { background: #0B1622; isolation: isolate; }
.hero__stage > [data-layer] { position: absolute; will-change: transform; }

.hero__sky {
  inset: -6% 0 0 0;
  background:
    linear-gradient(180deg, #08121D 0%, #10223A 26%, #26385090 46%, #5E5563 60%, #B57A66 70%, #E2A274 78%, #D89270 86%, #A36F63 100%), #2A3C55;
}
.hero__sun {
  position: absolute; left: 34%; top: 73%; width: 46vmax; height: 46vmax; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 214, 160, .95) 0, rgba(255, 190, 130, .55) 4%, rgba(240, 150, 100, .22) 14%, rgba(240, 150, 100, 0) 38%);
}
.hero__clouds {
  position: absolute; inset: 30% -10% 30% -10%;
  background:
    radial-gradient(60% 18% at 20% 70%, rgba(255, 190, 150, .16), transparent 70%),
    radial-gradient(40% 10% at 70% 55%, rgba(170, 190, 220, .10), transparent 70%),
    radial-gradient(50% 12% at 50% 82%, rgba(255, 170, 120, .14), transparent 70%);
  filter: blur(6px);
}
.hero__gl { inset: 0; width: 100%; height: 100%; }
/* The poster is the fallback: it stays up until WebGL has actually drawn
   (no WebGL, blocked CDN or no JS all leave a complete picture). */
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.gl-live .hero__poster { display: none; }
.hero__haze {
  inset: auto 0 0 0; height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(200, 130, 100, .10) 40%, rgba(9, 13, 18, 0) 100%);
  pointer-events: none;
}
.hero__crew { left: 0; right: 0; bottom: -2px; width: 100%; height: 62%; transform-origin: 70% 100%; }
.hero__crew .crew__far { fill: #0F1720; opacity: .85; }
.hero__crew .crew__body, .hero__crew .crew__body * { fill: #05080B; stroke: #05080B; }
.hero__crew .crew__rim, .hero__crew .crew__rim * { fill: #E8A26B; stroke: #E8A26B; opacity: .9; }
.hero__crew .crew__grass { fill: none; stroke: #070B0F; stroke-width: 2; }
.hero__crew .crew__cable { fill: none; stroke: #05080B; stroke-width: 3.5; stroke-linecap: round; }
.hero__crew .crew__stripes path { stroke: #C9D3D8; stroke-width: 3; stroke-linecap: round; opacity: .55; }
.hero__crew .crew__screen { fill: #8FDBFF; }
.hero__crew .crew__trace { fill: none; stroke: #0B3550; stroke-width: 1.6; }
.hero__crew .crew__led { fill: #6CF0A0; }
.hero__crew .crew__led--warn { fill: var(--warn); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero__fore { left: -2%; right: -2%; bottom: -4%; width: 104%; height: 36%; fill: #030507; opacity: .92; }

/* A scrim only where the copy sits: the left third, fading out well before the turbine. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 14, 23, .62) 0%, rgba(7, 14, 23, .38) 30%, rgba(7, 14, 23, 0) 55%);
}
.hero__copy {
  left: var(--sc-gutter); top: 50%; translate: 0 -56%;
  max-width: min(40rem, 48vw); z-index: 5;
}
.hero__title {
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem);
  line-height: .98; letter-spacing: -0.03em; font-weight: 750; font-stretch: 118%;
  text-shadow: 0 2px 24px rgba(5, 10, 16, .35);
}
.hero__lede { margin-top: var(--sc-5); font-size: var(--sc-t-lg); line-height: 1.45; color: #D3DDE4; max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sc-6); }
/* the headline is the LCP element, so it paints immediately; only the supporting lines rise in */
.hero__copy > :not(h1) { opacity: 0; transform: translateY(14px); animation: rise 700ms var(--sc-ease-out) 80ms forwards; }
.hero__copy > :nth-child(3) { animation-delay: 160ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ======================================================== PROBLEM (2) == */
.quiet { min-height: 60vh; display: grid; align-items: center; }
.quiet__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--sc-9); align-items: end; }
.quiet__line { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 4rem); line-height: 1.03; letter-spacing: -0.028em; font-weight: 600; font-stretch: 105%; color: #94A2AD; }
.quiet__line span { display: block; color: var(--sc-ink); margin-top: .2em; }
.quiet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-5); }
.quiet__list li { color: var(--sc-ink-soft); padding-left: 22px; position: relative; max-width: 38ch; }
.quiet__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.quiet__list strong { display: block; color: var(--sc-ink); font-weight: 600; }

/* ========================================================== SCOPE (3) == */
.scope__stage { background: #070B0F; }
.scope__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scope__note {
  position: absolute; right: var(--sc-gutter); bottom: clamp(1rem, 3vh, 2rem); z-index: 4;
  font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: .04em; color: #8193A0;
  border: 1px solid var(--sc-hairline-strong); border-radius: 999px; padding: 4px 12px;
}
.scope__copy { position: absolute; left: var(--sc-gutter); bottom: clamp(2.5rem, 9vh, 5.5rem); width: min(30rem, 36vw); z-index: 4; }
.scope__beat { position: absolute; left: 0; bottom: 0; width: 100%; }
.scope__beat h2 { font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.025em; }
.scope__beat p { margin-top: var(--sc-4); color: var(--sc-ink-soft); }
.scope__cta { margin-top: var(--sc-5); }
.scope__legend { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.scope__tag {
  position: absolute;
  font-family: var(--sc-font-mono); font-size: var(--sc-t-xs);
  opacity: 0; white-space: nowrap;
}
.scope__tag[data-h="1"] { color: var(--sc-accent); }
.scope__tag:not([data-h="1"]) { color: var(--warn); transition: color .4s; }
.scope__tag.is-ok { color: var(--sc-accent); }
.scope__tag.is-ok::after { content: " · w limicie"; color: var(--sc-ink-soft); }

/* ======================================================= SERVICES (4) == */
.index__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sc-7); align-items: end; margin-bottom: var(--sc-7); }
.index__title { font-size: var(--sc-t-3xl); line-height: 1; letter-spacing: -0.03em; }
.index__intro { color: var(--sc-ink-soft); max-width: 40ch; }

/* Desktop: list on the left, ONE stable detail panel on the right. All panels
   share the same grid cell, so switching never pushes the page down. */
.svcs {
  display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  grid-auto-rows: auto; column-gap: clamp(2rem, 4vw, 4.5rem);
  border-top: 1px solid var(--sc-hairline-strong);
}
.svc__h { grid-column: 1; margin: 0; font-size: inherit; font-weight: inherit; border-bottom: 1px solid var(--sc-hairline); }
.svc__btn {
  width: 100%; display: flex; align-items: baseline; gap: 14px;
  min-height: 52px; padding: 13px 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: #93A3AF; transition: color 180ms var(--sc-ease-out);
}
.svc__no { font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); color: #6F808D; min-width: 2ch; }
.svc__name {
  font-family: var(--sc-font-display); font-weight: 600; font-stretch: 108%;
  font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); line-height: 1.2; letter-spacing: -0.01em;
  transition: transform 220ms var(--sc-ease-out);
}
.svc__btn:hover { color: var(--sc-ink); }
.svc__btn.is-open { color: var(--sc-ink); }
.svc__btn.is-open .svc__no { color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) { .svc__btn:hover .svc__name { transform: translateX(4px); } }
.svc__btn:focus-visible { outline-offset: -2px; }

.svc__body { grid-column: 2; grid-row: 1 / span 9; align-self: start; padding-top: var(--sc-6); }
html.js .svc__body:not(.is-open) { display: none; }
.svc__body.is-open .svc__inner { animation: svcIn 360ms var(--sc-ease-out); }
@keyframes svcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.svc__inner {
  border-radius: var(--r); border: 1px solid var(--sc-hairline); background: var(--sc-surface); box-shadow: var(--sc-edge);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: grid; grid-template-columns: 1fr auto; column-gap: var(--sc-6); align-items: start;
}
.svc__inner > * { grid-column: 1; }
.svc__ref { font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); color: var(--warn); letter-spacing: .04em; text-transform: uppercase; }
.svc__title { margin-top: var(--sc-3); font-family: var(--sc-font-display); font-weight: 700; font-stretch: 110%; font-size: var(--sc-t-xl); line-height: 1.1; letter-spacing: -0.02em; color: var(--sc-ink); }
.svc__desc { margin-top: var(--sc-4); color: var(--sc-ink-soft); max-width: 46ch; }
.svc__kit { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink); }
.svc__cta { margin-top: var(--sc-5); justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--sc-accent); font-weight: 600; text-decoration: none; }
.svc__cta:hover { text-decoration: underline; }
.draw { grid-column: 2; grid-row: 1 / span 5; width: 220px; height: 110px; overflow: visible; align-self: center; }
.draw * { fill: none; stroke: var(--sc-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.draw .draw__faint { stroke: color-mix(in oklab, var(--sc-ink) 28%, transparent); }
.draw .draw__dim { stroke: color-mix(in oklab, var(--sc-accent) 60%, transparent); stroke-dasharray: 3 5; }

/* ===================================================== REFERENCES (5) == */
.refs__head { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: var(--sc-7); align-items: end; margin-bottom: var(--sc-6); }
.refs__kicker { grid-column: 1 / -1; font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--warn); margin-bottom: var(--sc-3); }
.refs__head h2 { font-size: var(--sc-t-2xl); line-height: 1; letter-spacing: -0.03em; }
.refs__intro { color: var(--sc-ink-soft); max-width: 40ch; }
.refs__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-5); }

/* a compact card with a gradient edge; on entry a light sweeps across it */
.ref {
  --edge: linear-gradient(135deg, rgba(58, 168, 224, .55), rgba(238, 243, 246, .08) 40%, rgba(242, 165, 58, .45));
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr; row-gap: var(--sc-4); align-content: start;
  padding: clamp(1.25rem, 2.2vw, 1.75rem); border-radius: 14px;
  background: linear-gradient(180deg, #141D27, #0F161E) padding-box, var(--edge) border-box;
  border: 1px solid transparent;
  transition: transform 260ms var(--sc-ease-out), box-shadow 260ms var(--sc-ease-out);
}
.ref::before { /* the big quotation mark behind the text */
  content: "\201D"; position: absolute; right: 18px; top: -26px; z-index: -1;
  font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: rgba(58, 168, 224, .08);
}
.ref::after { /* one-off light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(127, 211, 255, .14) 50%, transparent 65%);
  transform: translateX(-110%);
}
.ref.sc-in::after { animation: sweep 1400ms var(--sc-ease-out) 350ms both; }
@keyframes sweep { to { transform: translateX(110%); } }
@media (hover: hover) and (pointer: fine) {
  .ref:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(58, 168, 224, .45); }
}
.ref > * { grid-column: 1 / -1; }
.ref__top { display: flex; align-items: center; gap: 14px; grid-column: 1; }
.ref__logo {
  flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: #EEF3F6; color: #0D1720; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 112%; font-size: .95rem; letter-spacing: .02em;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
}
.ref__logo img { width: 80%; height: 80%; object-fit: contain; }
.ref__who { display: grid; gap: 2px; }
.ref__who strong { font-family: var(--sc-font-display); font-stretch: 110%; font-weight: 700; font-size: var(--sc-t-lg); line-height: 1.15; letter-spacing: -0.015em; }
.ref__who span { color: var(--sc-ink-soft); font-size: var(--sc-t-xs); }
.ref__quote { margin: 0; }
.ref__quote p { font-family: var(--sc-font-display); font-stretch: 104%; font-weight: 500; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--sc-ink); }
.ref__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ref__tags li { font-size: var(--sc-t-xs); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--sc-hairline-strong); color: var(--sc-ink-soft); }
.ref__more { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.ref__more summary { cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; color: var(--sc-accent); font-weight: 500; }
.ref__more p { margin-top: var(--sc-2); }


.site__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sc-7); align-items: end; margin-bottom: var(--sc-6); }
.site__head h2 { font-size: var(--sc-t-2xl); line-height: 1.02; letter-spacing: -0.03em; }
.site__head p { color: var(--sc-ink-soft); max-width: 40ch; }
.site__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--sc-5); }
.site__tab {
  min-height: 44px; padding: 0 18px; border-radius: var(--r); cursor: pointer;
  background: transparent; border: 1px solid var(--sc-hairline-strong); color: var(--sc-ink-soft);
  font-weight: 500; font-size: var(--sc-t-sm); white-space: nowrap;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.site__tab:hover { color: var(--sc-ink); border-color: color-mix(in oklab, var(--sc-ink) 45%, transparent); }
.site__tab[aria-selected="true"] { background: var(--sc-ink); color: var(--sc-canvas); border-color: var(--sc-ink); font-weight: 600; }
.site__body { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--sc-5); align-items: stretch; }
.site__stage {
  position: relative; border-radius: var(--r); border: 1px solid var(--sc-hairline);
  background:
    linear-gradient(var(--sc-hairline) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--sc-hairline) 1px, transparent 1px) 0 0 / 40px 40px,
    #0D141B;
  overflow: hidden; display: flex; align-items: center;
}
.site__panel { width: 100%; }
.site__panel:focus-visible { outline-offset: -3px; }
html.js .site__panel:not(.is-active) { display: none; }
html.js .site__panel.is-active { animation: fadein 320ms var(--sc-ease-out); }
html.js .site__name, html.js .site__list { display: none; }
.site__art { position: relative; }
.site__art svg { width: 100%; height: auto; }
.site__art .ln { fill: none; stroke: #D4E6F0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.site__art .ln--faint { stroke: rgba(212, 230, 240, .45); stroke-width: 1.8; }
.site__art .ln--dim { stroke: var(--sc-accent); stroke-width: 2; stroke-dasharray: 5 7; }
.site__art .ln--ground { stroke: rgba(212, 230, 240, .3); }
.site__art .rotor { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
/* numbered markers: the list in the side panel is the accessible control,
   the markers are a pointer shortcut onto the same points */
.spot {
  position: absolute; translate: -50% -50%; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  font-family: var(--sc-font-mono); font-size: 14px; font-weight: 500; line-height: 1;
  color: var(--sc-accent-ink); background: var(--sc-accent);
  border: 2px solid #0D141B; box-shadow: 0 0 0 1px var(--sc-accent), 0 4px 12px -4px rgba(0, 0, 0, .6);
  transition: background-color 160ms var(--sc-ease-out), transform 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.spot:hover { transform: scale(1.1); }
.spot.is-on { background: var(--warn); box-shadow: 0 0 0 1px var(--warn), 0 0 0 7px rgba(242, 165, 58, .22); }

.site__info {
  border-radius: var(--r); border: 1px solid var(--sc-hairline); background: var(--sc-surface);
  padding: var(--sc-5); display: flex; flex-direction: column; box-shadow: var(--sc-edge);
}
.site__kicker, .site__label { font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: .04em; text-transform: uppercase; }
.site__kicker { color: var(--sc-ink-soft); }
.site__points { list-style: none; margin: var(--sc-3) 0 0; padding: 0; display: grid; gap: 4px; }
.site__pt {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 8px; margin-inline: -8px;
  background: none; border: 0; border-radius: 8px; cursor: pointer; text-align: left; color: var(--sc-ink-soft); font-size: var(--sc-t-sm);
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.site__pt:hover { color: var(--sc-ink); background: rgba(238, 243, 246, .05); }
.site__pt[aria-pressed="true"] { color: var(--sc-ink); background: rgba(242, 165, 58, .1); font-weight: 600; }
.site__pt b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sc-font-mono); font-size: 12px; font-weight: 500; background: var(--sc-accent); color: var(--sc-accent-ink); }
.site__pt[aria-pressed="true"] b { background: var(--warn); }
.site__detail { margin-top: var(--sc-5); padding-top: var(--sc-5); border-top: 1px solid var(--sc-hairline-strong); }
.site__title { font-size: var(--sc-t-lg); line-height: 1.15; letter-spacing: -0.015em; }
.site__label { color: var(--warn); margin-top: var(--sc-4); }
.site__text, .site__gain { margin-top: 4px; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.site__gain { color: var(--sc-ink); }
.site__detail.is-swap > * { animation: fadein 300ms var(--sc-ease-out); }
.site__links { margin-top: auto; padding-top: var(--sc-5); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.site__svc { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); font-weight: 500; }
.site__svc:hover { color: var(--sc-ink); }

/* ========================================================== ROUTE (7) == */
/* full-screen horizontal ride: the scroll wheel moves the rail sideways and the
   cable charges up as the steps pass */
.route__stage { display: flex; align-items: center; }
.route__rail { position: relative; align-items: center; gap: clamp(3rem, 7vw, 8rem); padding-inline: var(--sc-gutter) 30vw; height: 72vh; }
.route__intro { flex: 0 0 min(28rem, 80vw); align-self: center; }
.route__intro h2 { font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.025em; }
.route__intro p { margin-top: var(--sc-4); color: var(--sc-ink-soft); }
.route__cable { position: absolute; left: min(30rem, 70vw); right: 0; top: 50%; height: 200px; translate: 0 -50%; width: calc(100% - min(30rem, 70vw)); overflow: visible; pointer-events: none; }
.route__cable path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.route__cable-base { stroke: color-mix(in oklab, var(--sc-ink) 14%, transparent); stroke-dasharray: 2 8; }
.route__cable-live { stroke: var(--sc-accent); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--cable, 0)); }
.step { position: relative; flex: 0 0 clamp(16rem, 24vw, 21rem); align-self: flex-start; margin-top: 4vh; }
.step--low { align-self: flex-end; margin-bottom: 4vh; }
.step__node { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sc-accent); background: var(--sc-canvas); margin-bottom: var(--sc-4); transition: background-color 300ms var(--sc-ease-out), box-shadow 300ms var(--sc-ease-out); }
.step.is-live .step__node { background: var(--sc-accent); box-shadow: 0 0 0 6px rgba(58, 168, 224, .18); }
.step__no { display: block; font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); color: var(--sc-accent); margin-bottom: 6px; }
.step h3 { font-size: var(--sc-t-xl); letter-spacing: -0.02em; line-height: 1.1; }
.step p { margin-top: var(--sc-3); color: var(--sc-ink-soft); }
@media (min-width: 861px) { html.js #proces { height: 300vh; } }


.report { background: #DDE3E0; --sc-ink: var(--paper-ink); --sc-ink-soft: var(--paper-soft); --sc-accent: var(--paper-accent); --sc-accent-ink: #fff; --sc-hairline-strong: rgba(13, 23, 32, .18); color: var(--sc-ink); padding-bottom: var(--sc-6); }
.report__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--sc-8); align-items: start; }
.report__head h2 { font-size: var(--sc-t-3xl); line-height: 1; letter-spacing: -0.03em; }
.report__head p { color: var(--paper-soft); max-width: 34ch; margin-top: var(--sc-5); }
.report__head .report__mail { font-size: var(--sc-t-sm); }
.report__mail a { color: var(--paper-ink); font-weight: 600; }
.report__mail a:hover { color: var(--paper-accent); }

.ask { background: #F7F8F5; border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.75rem); box-shadow: 0 1px 2px rgba(20, 30, 30, .06), 0 18px 40px -28px rgba(20, 40, 50, .35); display: grid; gap: var(--sc-5); }
.order__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-5); }
.f { display: grid; gap: 6px; }
.f label { font-size: var(--sc-t-sm); font-weight: 500; color: var(--paper-ink); }
.f .req { color: #A3361F; }
.f input, .f textarea, .f select {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 8px;
  border: 1.5px solid #AEB9C0; background: #fff; color: var(--paper-ink); font-size: 1rem;
  transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.f textarea { resize: vertical; min-height: 116px; line-height: 1.5; }
.f select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230D1720' stroke-width='1.8'/></svg>") no-repeat right 14px center; }
.f input::placeholder, .f textarea::placeholder { color: #6E7A83; }
.f input:hover, .f textarea:hover, .f select:hover { border-color: #7C8A94; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--paper-accent); box-shadow: 0 0 0 3px rgba(13, 108, 159, .2); }
.f [aria-invalid="true"] { border-color: #B4321F; }
.f__err { font-size: var(--sc-t-xs); color: #A3361F; min-height: 0; }
.f__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask__nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ask__msg { font-size: var(--sc-t-sm); max-width: 44ch; }
.ask__msg:empty { display: none; }
.ask__msg[data-state="pending"] { color: var(--paper-soft); }
.ask__msg[data-state="error"] { color: #A3361F; }
.ask__msg[data-state="ok"] { color: #17643F; font-weight: 600; }
.ask__msg a { color: inherit; font-weight: 600; }
.ask__note { font-size: var(--sc-t-xs); color: var(--paper-soft); max-width: 62ch; }

.contacts { display: grid; grid-template-columns: 1fr 2fr; gap: var(--sc-6); margin-top: var(--sc-8); padding-top: var(--sc-6); border-top: 2px solid var(--paper-ink); font-size: var(--sc-t-sm); }
.contacts address { font-style: normal; color: var(--paper-soft); margin-top: 6px; }
.contacts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sc-5); }
.contacts li { display: grid; gap: 2px; align-content: start; }
.contacts li span { font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); color: var(--paper-soft); }
.contacts a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.contacts a:hover { color: var(--paper-accent); text-decoration: underline; }

.colophon { display: flex; align-items: center; justify-content: space-between; gap: var(--sc-5); margin-top: var(--sc-6); flex-wrap: wrap; }
.colophon img { height: 36px; width: auto; }
.colophon p { font-size: var(--sc-t-xs); color: var(--paper-soft); }

/* ======================================================== NO-JS FALLBACK == */
/* The engine reveals content with JS. Without it, everything is shown settled,
   pinned stages become ordinary blocks and the tab/accordion widgets show all
   of their content at once. */
html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > * { opacity: 1; transform: none; }
html:not(.js) [data-sc-cue] { opacity: 1; }
html:not(.js) .hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
html:not(.js) .scope__stage { position: relative; padding: var(--sc-section) var(--sc-gutter); }
html:not(.js) .scope__canvas, html:not(.js) .scope__legend { display: none; }
html:not(.js) .scope__copy, html:not(.js) .scope__beat { position: static; width: auto; max-width: 40rem; }
html:not(.js) .scope__beat + .scope__beat { margin-top: var(--sc-7); }
html:not(.js) .scope__note { position: static; display: inline-block; margin-bottom: var(--sc-5); }
html:not(.js) .svcs { display: block; }
html:not(.js) .svc__body { padding: 0 0 var(--sc-5); }
html:not(.js) .site__tabs, html:not(.js) .site__info { display: none; }
html:not(.js) .site__body, html:not(.js) .site__stage { display: block; }
html:not(.js) .site__panel { padding: var(--sc-5); border-bottom: 1px solid var(--sc-hairline); }
html:not(.js) .site__name { font-size: var(--sc-t-lg); margin-bottom: var(--sc-4); }
html:not(.js) .site__list { margin: var(--sc-4) 0 0; padding-left: 1.4em; display: grid; gap: var(--sc-3); color: var(--sc-ink-soft); }
html:not(.js) .site__list h4 { color: var(--sc-ink); font-size: var(--sc-t-base); }
html:not(.js) .spot { pointer-events: none; }
html:not(.js) .route__stage { height: auto; padding: var(--sc-section) 0; }
html:not(.js) .route__rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--sc-6); height: auto; padding-inline: var(--sc-gutter); }
html:not(.js) .route__intro { grid-column: 1 / -1; }
html:not(.js) .route__cable { display: none; }
html:not(.js) .step { margin: 0; }

/* ============================================================ MOBILE == */
/* Phones: drop the effects that make the GPU recomposite the whole screen on
   every scroll frame. The fixed grain layer is twice the viewport, and live
   backdrop blur over moving content is the most expensive thing on the page. */
@media (max-width: 860px), (pointer: coarse) {
  .sc-grain { display: none; }
  .chrome__cta, .btn--line, .chrome::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .chrome::before { background: color-mix(in oklab, #090D12 95%, transparent); }
  .chrome__cta { background: color-mix(in oklab, var(--sc-canvas) 88%, transparent); }
  .btn--line { background: rgba(9, 13, 18, .62); }
}

@media (max-width: 1100px) {
  /* tablets: drawing on top, details below, so the drawing keeps its width */
  .site__body { grid-template-columns: 1fr; }
  .site__info { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: var(--sc-6); }
  .site__kicker, .site__points { grid-column: 1; }
  .site__detail { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 0; border-top: 0; }
  .site__links { grid-column: 1 / -1; }
  .svc__inner .draw { display: none; }
}

@media (max-width: 860px) {
  .chrome { padding: 10px var(--sc-gutter); }
  .chrome__logo img { height: 34px; }
  .chrome__cta { padding: 0 14px; }

  .hero__copy { top: 13%; translate: none; max-width: none; right: var(--sc-gutter); }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3.3rem); }
  .hero__lede { font-size: var(--sc-t-base); max-width: 34ch; }
  .hero__actions .btn { flex: 1 1 10rem; }
  .hero__sun { left: 50%; top: 70%; }
  .hero__crew { height: 38%; transform-origin: 50% 100%; }
  .hero__crew .crew { transform: translate(-400px, 0); }
  .hero__scrim { background: linear-gradient(180deg, rgba(8, 18, 29, .8) 0%, rgba(8, 18, 29, .58) 45%, rgba(8, 18, 29, 0) 62%); }
  .hero__fore { height: 20%; }

  .quiet { min-height: 0; }
  .quiet__grid, .index__head, .site__head, .site__body, .refs__head, .refs__list, .report__grid, .order__row, .contacts { grid-template-columns: 1fr; }
  .quiet__grid, .index__head, .site__head, .report__grid { gap: var(--sc-5); }
  .refs__head { row-gap: var(--sc-3); }

  .scope__copy { width: auto; right: var(--sc-gutter); bottom: 4.5rem; }
  .scope__beat h2 { font-size: var(--sc-t-xl); }
  .scope__beat p { font-size: var(--sc-t-sm); }
  .scope__note { bottom: 1rem; left: var(--sc-gutter); right: auto; }

  /* services: a compact accordion, one item open */
  .svcs { display: block; }
  .svc__btn { min-height: 56px; padding: 14px 0; }
  .svc__btn::after { content: ""; margin-left: auto; align-self: center; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate 220ms var(--sc-ease-out); flex: none; }
  .svc__btn.is-open::after { rotate: 225deg; translate: 0 2px; }
  .svc__body { padding: 0 0 var(--sc-5); }
  .svc__inner { grid-template-columns: 1fr; padding: var(--sc-5); }
  .svc__title { display: none; }
  .draw { grid-column: 1; grid-row: auto; width: 170px; height: 86px; margin-top: var(--sc-4); }

  .ref { padding: var(--sc-5); }

  .site__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--sc-gutter) * -1); padding-inline: var(--sc-gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
  .site__tabs::-webkit-scrollbar { display: none; }
  .site__tab { scroll-snap-align: start; }
  .spot { width: 28px; height: 28px; font-size: 12px; }
  .site__info { padding: var(--sc-5); display: flex; }
  .site__detail { margin-top: var(--sc-5); padding-top: var(--sc-5); border-top: 1px solid var(--sc-hairline-strong); }
  .svc__inner .draw { display: block; }

  /* process as a vertical timeline: set in CSS so the first paint already has it
     (app.js only re-declares the act for the engine) */
  .route .route__rail { display: block; height: auto; padding: 0 var(--sc-gutter) 0 calc(var(--sc-gutter) + 26px); position: relative; }
  .route .route__rail::before { content: ""; position: absolute; left: calc(var(--sc-gutter) + 6px); top: 9rem; bottom: 0; width: 2px; background: color-mix(in oklab, var(--sc-ink) 14%, transparent); }
  .route .route__rail::after { content: ""; position: absolute; left: calc(var(--sc-gutter) + 6px); top: 9rem; bottom: 0; width: 2px; background: var(--sc-accent); transform-origin: 0 0; transform: scaleY(var(--route, 0)); }
  .route .route__cable { display: none; }
  .route .route__stage { display: block; height: auto; }
  .route .route__rail[data-sc-pan] { display: block; }
  .route .route__intro { margin-left: -26px; margin-bottom: var(--sc-6); }
  .route .step { margin: 0 0 var(--sc-6); position: relative; }
  .route .step__node { position: absolute; left: -27px; top: 6px; margin: 0; z-index: 1; }
  .route__intro h2 { font-size: var(--sc-t-xl); }

  .ask { padding: var(--sc-5); }
  .report__grid { gap: var(--sc-6); }
}

@media (max-width: 380px) {
  .hero__actions .btn { padding: 0 16px; }
  .chrome__cta { font-size: .8rem; padding: 0 10px; }
}

@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .hero__copy { top: 18%; translate: none; max-width: 55vw; }
  .hero__title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .hero__lede { font-size: var(--sc-t-sm); margin-top: var(--sc-3); }
  .hero__actions { margin-top: var(--sc-4); }
  .hero__crew { height: 58%; }
  .scope__copy { width: 42vw; }
  .scope__beat h2 { font-size: var(--sc-t-lg); }
  .scope__beat p { display: none; }
}

/* ===================================================== REDUCED MOTION == */
@media (prefers-reduced-motion: reduce) {
  .hero__copy > :not(h1) { animation: none; opacity: 1; transform: none; }
  .hero__stage > [data-layer] { transform: none !important; }
  .hero__crew .crew__led--warn { animation: none; }
  .site__art .rotor { animation: none; }
  .svc__body.is-open .svc__inner, html.js .site__panel.is-active, .site__detail.is-swap > * { animation: none; }
  .ref.sc-in::after { animation: none; }
}
