/* ПОЛУДЕНЬ: site styles. Loaded after assets/engine/base.css. */

:root {
  --paper: #FFFFFF;
  --sheet: #FFFFFF;
  --ink: #0B0C0A;
  --ink-2: #45484B;
  --ink-3: #616467;
  --rule: #D5D5D5;
  --rule-strong: #B9BBBC;
  --hi: #FFD200;
  --btn: #000000; /* the comp's buttons are true black */
  --hi-soft: #FFF1A8;
  --asphalt: #1F2224;

  /* one comp pixel: the approved comp is 1536 x 1024 */
  --u: calc(100vw / 1536);
  --gutter: 2.6vw;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-head: 40;
  --z-menu: 60;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  scroll-padding-top: calc(96 * var(--u));
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  text-underline-offset: 0.2em;
}

[hidden] { display: none !important; }

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--hi);
}

a { color: inherit; }

img { height: auto; }

.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 {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1rem; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 1rem; }

.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ */
/* Buttons and links                                                   */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn); color: #FFFFFF;
  font: 500 1rem/1 var(--font);
  text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 0;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .12s var(--ease-out);
  touch-action: manipulation;
}
.btn:hover { background: var(--hi); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
  transition: text-decoration-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.link:hover { text-decoration-color: var(--hi); text-decoration-thickness: 3px; }

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

.head {
  position: sticky; top: 0; z-index: var(--z-head);
  height: calc(87 * var(--u));
  display: grid;
  grid-template-columns: calc(26.5vw - var(--gutter)) 1fr auto auto;
  align-items: center;
  padding: 0 1.432vw 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-weight: 760;
  font-size: calc(33 * var(--u));
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--ink);
  justify-self: start;
  padding: 0.3em 0;
}

.nav { display: flex; gap: calc(49 * var(--u)); }
.nav a {
  font-size: calc(22 * var(--u));
  line-height: 1;
  text-decoration: none;
  padding: calc(10 * var(--u)) 0;
  background-image: linear-gradient(var(--hi), var(--hi));
  background-size: 0% calc(4 * var(--u));
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% calc(4 * var(--u)); }

.head__phone {
  font-size: calc(22 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  margin-right: calc(42 * var(--u));
  font-variant-numeric: tabular-nums;
}
.head__cta {
  width: calc(175 * var(--u));
  height: calc(52 * var(--u));
  font-size: calc(19 * var(--u));
  box-shadow: 0 0 0 1px rgba(11, 12, 10, 0.45);
}

.menu-btn { display: none; }

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

.hero {
  display: grid;
  grid-template-columns: 41.93vw 1fr;
  /* the comp's proportions; never taller than the window under the header */
  height: min(calc(795 * var(--u)), calc(100svh - 87 * var(--u)));
  min-height: calc(560 * var(--u));
  border-bottom: 1px solid var(--rule);
}

.hero__copy { padding: calc(111 * var(--u)) 0 0 var(--gutter); }

.hero__title {
  font-size: calc(59 * var(--u));
  line-height: calc(67 * var(--u));
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: calc(570 * var(--u));
}
.hero__title .br { display: block; }

.hero__lede {
  margin-top: calc(33 * var(--u));
  font-size: calc(28 * var(--u));
  line-height: calc(35 * var(--u));
  font-weight: 440;
  max-width: calc(520 * var(--u));
}

.hero__actions { display: flex; flex-direction: column; align-items: flex-start; }
.hero__cta {
  margin-top: calc(51 * var(--u));
  width: calc(287 * var(--u));
  height: calc(71 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: 400;
  box-shadow: 0 0 0 1px rgba(11, 12, 10, 0.45);
}

.hero__more {
  display: inline-block;
  margin-top: calc(32 * var(--u));
  font-size: calc(27 * var(--u));
  line-height: 1.1;
}

/* ------------------------------------------------------------------ */
/* Survey figure: a drone photo with code-drawn overlays               */
/* ------------------------------------------------------------------ */

.survey {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #8D9092;
  isolation: isolate;
}
.survey__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.survey__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.survey__lines .under { stroke: rgba(11, 12, 10, 0.34); fill: none; }
.survey__lines .over { stroke: var(--hi); fill: none; }
.survey__lines .dot { fill: var(--hi); stroke: rgba(11, 12, 10, 0.4); }

.tag {
  position: absolute;
  z-index: 2;
  display: inline-block;
  background: var(--hi);
  color: var(--ink);
  font-weight: 500;
  font-size: calc(23 * var(--u));
  line-height: calc(26 * var(--u));
  padding: calc(7 * var(--u)) calc(13 * var(--u));
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.tag--sm { font-size: calc(22 * var(--u)); line-height: calc(25 * var(--u)); padding: calc(7 * var(--u)) calc(11 * var(--u)); }
.tag--stack { white-space: normal; }
.tag--stack > span { display: block; }

/* no-JS fallback positions (the renderer overrides them with measured ones) */
.survey--hero .tag--kw { left: 39.2%; top: 31.8%; }
.survey--hero .tag--len { left: 81.4%; top: 40.2%; }
.survey--hero .tag--bat { left: 73.0%; top: 72.2%; }
.survey--hero .tag--place { right: calc(21 * var(--u)); bottom: calc(14 * var(--u)); }

/* ------------------------------------------------------------------ */
/* Figures row under the hero                                          */
/* ------------------------------------------------------------------ */

.figures {
  display: grid;
  grid-template-columns: 31.71vw 29.75vw 1fr;
  height: calc(142 * var(--u));
  border-bottom: 1px solid var(--rule);
}
.figure {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: calc(27 * var(--u));
  padding-top: calc(40 * var(--u));
}
.figure:nth-child(1) { padding-left: 6.7vw; }
.figure:nth-child(2) { padding-left: 8.85vw; }
.figure:nth-child(3) { padding-left: 7.75vw; }
.figure + .figure::before {
  content: "";
  position: absolute; left: 0;
  top: calc(30 * var(--u)); bottom: calc(30 * var(--u));
  width: 1px; background: var(--rule-strong);
}
.figure__n {
  font-weight: 700;
  font-size: calc(67 * var(--u));
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.figure__l {
  font-size: calc(32 * var(--u));
  line-height: 1;
}

/* ================================================================== */
/* Sections below the first viewport                                   */
/* ================================================================== */

:root { --pad: max(1rem, 2.6vw); --sec: 8rem; }

.h2 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}
.lede {
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
}
.section-head { display: grid; gap: 1.25rem; margin-bottom: 3.5rem; }

:where(main > section:not(.hero):not(.figures)) { padding: var(--sec) var(--pad); }

/* ---------------- Outage ------------------------------------------- */
.outage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: start;
}
.outage__copy { position: sticky; top: calc(87 * var(--u) + 2rem); display: grid; gap: 1.5rem; align-content: start; }
.modes { display: flex; flex-wrap: wrap; gap: 0; border: 1.5px solid var(--ink); width: max-content; max-width: 100%; }
.mode {
  min-height: 48px; padding: 0 1.25rem;
  font: 500 1rem/1 var(--font);
  background: transparent; color: var(--ink);
  border-right: 1.5px solid var(--ink);
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.mode:last-child { border-right: 0; }
.mode:hover { background: var(--hi-soft); }
.mode[aria-selected="true"] { background: var(--btn); color: var(--hi); }
.mode-panel { display: grid; gap: 1.25rem; min-height: 11rem; }
.mode-panel__text { font-size: 1.125rem; line-height: 1.5; max-width: 46ch; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.readout > div { padding: 1rem 1rem 0 0; }
.readout > div + div { padding-left: 1rem; border-left: 1px solid var(--rule); }
.readout dt { font-size: .875rem; color: var(--ink-3); }
.readout dd { margin: .35rem 0 0; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.01em; }

.survey--flow { aspect-ratio: 1 / 1; }
.survey--flow .tag { font-size: .95rem; line-height: 1.2; padding: .35rem .6rem; }
.survey--flow .flow { fill: none; stroke: var(--hi); stroke-linecap: round; }
.survey--flow .flow--off { stroke: rgba(247, 247, 247, .55); stroke-dasharray: 2 7; }
.survey--flow .flow-under { fill: none; stroke: rgba(11, 12, 10, .45); stroke-linecap: round; }
.survey--flow .cut { stroke: var(--hi); stroke-width: 3; }
.survey--flow .node { fill: var(--hi); stroke: var(--ink); stroke-width: 1.5; }

/* ---------------- Objects teaser ------------------------------------ */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  position: relative;
  display: grid; align-content: start; gap: .5rem;
  padding: 0 0 1.25rem;
  background: transparent;
  outline-offset: 4px;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.card__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #8D9092; margin-bottom: .75rem; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card__tag { position: absolute; left: .75rem; bottom: .75rem; font-size: .95rem; line-height: 1.2; padding: .3rem .55rem; }
.card__title { font-size: 1.375rem; line-height: 1.2; font-weight: 700; padding-inline: .9rem; }
.card__meta { color: var(--ink-3); font-size: .95rem; padding-inline: .9rem; transition: color .25s var(--ease-out); }
.card__nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--rule); margin-inline: .9rem; transition: border-color .25s var(--ease-out); }
.card__nums dt { font-size: .8rem; color: var(--ink-3); line-height: 1.25; transition: color .25s var(--ease-out); }
.card__nums dd { margin: .25rem 0 0; font-weight: 700; font-size: 1.05rem; }
/* rank is inversion: the card you point at alone turns black with yellow type */
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card__link:focus-visible { outline: none; box-shadow: none; }
.card:focus-within { outline: 3px solid var(--hi); outline-offset: 4px; }
.card:hover, .card:focus-within, .card.is-active { background: var(--btn); color: var(--hi); }
.card:hover .card__photo img, .card:focus-within .card__photo img { transform: scale(1.04); }
.card:hover .card__meta, .card:hover .card__nums dt, .card:focus-within .card__meta, .card:focus-within .card__nums dt,
.card.is-active .card__meta, .card.is-active .card__nums dt { color: rgba(255, 210, 0, .72); }
.card:hover .card__nums, .card:focus-within .card__nums, .card.is-active .card__nums { border-color: rgba(255, 210, 0, .35); }
.teaser__all { display: inline-block; margin-top: 2.5rem; font-size: 1.25rem; }

/* ---------------- Calculator ---------------------------------------- */
.calc__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; border: 1.5px solid var(--ink); }
.calc__form { padding: 2.5rem; display: grid; gap: 1.75rem; align-content: start; background: var(--sheet); }
.field { display: grid; gap: .5rem; }
.field__label { font-weight: 500; font-size: 1rem; padding: 0; }
.field__input {
  width: 100%; min-height: 52px;
  padding: .75rem 1rem;
  font: 400 1.125rem/1.2 var(--font);
  color: var(--ink); background: var(--sheet);
  border: 1.5px solid var(--ink-3); border-radius: 0;
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.field__input:hover { border-color: var(--ink); }
.field__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--hi); }
.field__input[aria-invalid="true"] { border-color: var(--ink); background: #FFFBEA; }
.field__input::placeholder { color: #6E7174; }
select.field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field__hint { font-size: .875rem; color: var(--ink-3); line-height: 1.4; }
.field__err { font-size: .9rem; font-weight: 500; line-height: 1.35; display: flex; gap: .5rem; align-items: flex-start; }
.field__err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; background: var(--hi); color: var(--ink); font-weight: 800; font-size: .85rem; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.seg legend { width: 100%; margin-bottom: .5rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; border: 1.5px solid var(--ink); margin-right: -1.5px; font-weight: 500; cursor: pointer; transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.seg__opt input:checked + span { background: var(--btn); color: var(--hi); }
.seg__opt input:focus-visible + span { box-shadow: 0 0 0 3px var(--hi); position: relative; z-index: 1; }
.seg__opt:hover input:not(:checked) + span { background: var(--hi-soft); }

.calc__out { background: var(--btn); color: var(--paper); padding: 2.5rem; display: grid; gap: 1.5rem; align-content: start; }
.calc__stamp { justify-self: start; background: var(--hi); color: var(--ink); font-weight: 700; font-size: .95rem; padding: .35rem .7rem; }
.bank { display: grid; gap: 0; }
.bank__row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(247, 247, 247, .18); }
.bank__row dt { font-size: 1rem; color: rgba(247, 247, 247, .74); }
.bank__row dd { margin: 0; display: flex; align-items: baseline; gap: .6rem; }
.digits { color: var(--hi); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2vw, 3.1rem); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.bank__unit { font-size: 1.05rem; color: rgba(247, 247, 247, .8); min-width: 4.8em; }
.calc__note { font-size: 1rem; line-height: 1.45; color: var(--paper); min-height: 1.45em; }
.calc__fine { font-size: .85rem; line-height: 1.45; color: rgba(247, 247, 247, .7); max-width: 60ch; }
.calc__cta { justify-self: start; min-height: 56px; padding: 0 2rem; font-size: 1.1rem; background: var(--hi); color: var(--ink); }
.calc__cta:hover { background: var(--paper); }

/* digit bank columns (roll) */
.dg { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.dg__col { display: flex; flex-direction: column; }
.dg__col > span { height: 1em; line-height: 1; display: block; text-align: center; }
.dg-static { display: inline-block; }

/* ---------------- Process ------------------------------------------- */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; position: relative; }
.step { position: relative; padding: 2.75rem 1.5rem 0 0; display: grid; gap: .6rem; align-content: start; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 1.25rem; background: var(--ink); }
.step__n { font-size: 1rem; font-weight: 700; width: 2.25rem; height: 2.25rem; display: inline-grid; place-items: center; background: var(--hi); margin-bottom: .5rem; }
.step__t { font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.step p { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.step .step__d { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-top: .25rem; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hi); transform-origin: left center; transform: scaleX(var(--p, 1)); }

/* ---------------- Finance ------------------------------------------- */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.ledger__item { padding: 2.25rem 2.5rem 2.5rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .75rem; align-content: start; }
.ledger__item:nth-child(even) { padding-left: 2.5rem; border-left: 1px solid var(--rule); }
.ledger__big { font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.ledger__t { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.ledger__item p:not(.ledger__big) { font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }

/* ---------------- Audit form ---------------------------------------- */
.audit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: start; border-top: 1px solid var(--rule); }
.audit__copy { display: grid; gap: 1.5rem; }
.audit__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.audit__list li { padding-left: 1.5rem; position: relative; font-size: 1.05rem; line-height: 1.45; }
.audit__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .7rem; background: var(--hi); outline: 1.5px solid var(--ink); }
.audit__form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; padding: 2.5rem; background: var(--sheet); border: 1.5px solid var(--ink); }
.audit__form .field:first-child { grid-column: 1 / -1; }
.audit__submit { grid-column: 1 / -1; min-height: 60px; font-size: 1.15rem; justify-self: start; padding: 0 2.5rem; }
.audit__submit.is-busy { pointer-events: none; opacity: .7; }
.audit__legal { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-3); }
.audit__done { position: absolute; inset: 0; background: var(--btn); color: var(--paper); padding: 2.5rem; display: grid; align-content: center; gap: 1rem; }
.audit__done[hidden] { display: none; }
.audit__done-t { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 700; color: var(--hi); }
.audit__done p:not(.audit__done-t) { font-size: 1.1rem; line-height: 1.5; max-width: 40ch; }

/* ---------------- Footer -------------------------------------------- */
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem 4rem; padding: 5rem var(--pad) 2.5rem; border-top: 1.5px solid var(--ink); }
.foot__brand { display: grid; gap: 1rem; align-content: start; }
.wordmark--foot { font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding: 0; }
.foot__brand p:not(.wordmark) { color: var(--ink-2); max-width: 36ch; }
.foot__col { display: grid; gap: .5rem; align-content: start; }
.foot__col a { text-underline-offset: .2em; }
.foot__col a:hover { text-decoration-color: var(--hi); text-decoration-thickness: 3px; }
.foot__h { font-weight: 700; margin-bottom: .25rem; }
.foot__base { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: .9rem; }

/* ---------------- Preloader ----------------------------------------- */
.preloader { display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); padding: 2rem var(--pad); color: var(--ink); }
.preloader__count { font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.preloader__frame { justify-self: end; align-self: end; width: min(38vw, 30rem); height: auto; aspect-ratio: 4 / 3; overflow: visible; }
.preloader__frame rect { fill: none; stroke: var(--hi); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__mark { font-weight: 760; font-size: 1.5rem; }

/* ---------------- Reveal helpers ------------------------------------ */
html.js-motion [data-reveal] { visibility: hidden; }

/* ================================================================== */
/* Responsive                                                          */
/* ================================================================== */

@media (max-width: 1279.98px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before { display: none; }
  .step { border-top: 3px solid var(--hi); padding-top: 1.75rem; }
  .step::before { display: none; }
}

@media (max-width: 1023.98px), (max-aspect-ratio: 5/4) {
  :root { --u: 0.6px; --sec: 5rem; }
  .head {
    height: 64px;
    grid-template-columns: 1fr auto auto;
    padding: 0 var(--pad);
  }
  .wordmark { font-size: 1.5rem; }
  .head__phone { display: none; }
  .head__cta { width: auto; height: 44px; padding: 0 1rem; font-size: .95rem; }
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: .5rem; margin-right: -8px; }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease-out), background-color .2s; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -7px; } .menu-btn__bars::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1.5px solid var(--ink);
    padding: .5rem var(--pad) 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.25rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); background-size: 0 0; }

  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero__copy { padding: 2.25rem var(--pad) 2rem; }
  .hero__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.4rem); line-height: 1.08; max-width: 14ch; letter-spacing: -0.025em; }
  .hero__title .br { display: inline; }
  .hero__lede { font-size: 1.15rem; line-height: 1.45; margin-top: 1rem; max-width: 32ch; }
  .hero__cta { width: auto; height: 56px; padding: 0 1.75rem; font-size: 1.1rem; margin-top: 1.5rem; }
  .hero__more { font-size: 1.1rem; margin-top: 1.1rem; padding: .35rem 0; }
  .survey--hero { aspect-ratio: 1 / 1.02; }
  .tag { font-size: .8rem; line-height: 1.2; padding: .25rem .45rem; }
  .tag--sm { font-size: .75rem; line-height: 1.2; padding: .22rem .4rem; }
  .survey--hero .tag--place { right: .5rem; bottom: .5rem; }

  .figures { grid-template-columns: 1fr 1fr 1fr; height: auto; }
  .figure { flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.25rem .75rem 1.25rem var(--pad) !important; }
  .figure + .figure { padding-left: .9rem !important; }
  .figure + .figure::before { top: 1.25rem; bottom: 1.25rem; }
  .figure__n { font-size: 2.1rem; }
  .figure__l { font-size: .9rem; line-height: 1.25; }

  .outage { grid-template-columns: 1fr; gap: 2.5rem; }
  .outage__copy { position: static; }
  .survey--flow .tag { font-size: .75rem; padding: .2rem .4rem; }
  .calc__body { grid-template-columns: 1fr; }
  .calc__form, .calc__out { padding: 1.5rem; }
  .audit { grid-template-columns: 1fr; gap: 2.5rem; }
  .audit__form { grid-template-columns: 1fr; padding: 1.5rem; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 639.98px) {
  .section-head { margin-bottom: 2.25rem; }
  .lede { font-size: 1.05rem; }
  .strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
    padding-bottom: .5rem;
  }
  .strip .card { flex: 0 0 78%; scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before { display: block; left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(var(--p, 1)); transform-origin: center top; }
  .step { border-top: 0; padding: 0 0 2rem 1.5rem; }
  .ledger { grid-template-columns: 1fr; }
  .ledger__item, .ledger__item:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
  .readout dd { font-size: 1.35rem; }
  .bank__row { grid-template-columns: 1fr; gap: .4rem; }
  .digits { font-size: 2.3rem; }
  .foot { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .modes { width: 100%; }
  .mode { flex: 1 1 auto; padding: 0 .75rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* flows in the outage figure */
.survey--flow .flow--on { stroke-dasharray: 12 9; animation: flow-run 0.8s linear infinite; }
@keyframes flow-run { to { stroke-dashoffset: -21; } }
@media (prefers-reduced-motion: reduce) { .survey--flow .flow--on { animation: none; stroke-dasharray: none; } }

/* ================================================================== */
/* Inner pages                                                         */
/* ================================================================== */

.h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.25rem); line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 700; }
main > section.page-head { padding: 4.5rem var(--pad) 3rem; display: grid; gap: 1.25rem; border-bottom: 1px solid var(--rule); }

/* ---------------- Atlas: map + drone viewer -------------------------- */
main > section.atlas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding: 3rem var(--pad) 4rem; align-items: start; }
.atlas__map { position: sticky; top: calc(87 * var(--u) + 1.5rem); display: grid; gap: 1rem; }
.map { position: relative; aspect-ratio: 612.47 / 408.02; }
.map__svg { width: 100%; height: 100%; overflow: visible; }
.map__region { fill: #E6E7E6; stroke: var(--paper); stroke-width: 1; transition: fill .25s var(--ease-out); }
.map__region.is-worked { fill: #CFD1D0; }
.map__region.is-picked { fill: var(--hi-soft); }
.map__pins { position: absolute; inset: 0; }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.pin__mark { width: 16px; height: 16px; background: var(--hi); outline: 2px solid var(--ink); transition: transform .2s var(--ease-out), background-color .2s; }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% - 6px); transform: translateX(-50%);
  background: var(--ink); color: var(--hi); font-size: .8rem; font-weight: 500; white-space: nowrap;
  padding: .2rem .45rem; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-out);
}
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin[aria-pressed="true"] .pin__label { opacity: 1; }
.pin:hover .pin__mark { transform: scale(1.2); }
.pin[aria-pressed="true"] .pin__mark { background: var(--ink); outline-color: var(--hi); outline-width: 3px; transform: scale(1.25); }
.pin:focus-visible { outline: none; box-shadow: none; }
.pin:focus-visible .pin__mark { box-shadow: 0 0 0 4px var(--hi), 0 0 0 6px var(--ink); }
.pin.is-dim { opacity: .28; pointer-events: none; }
.map__legend { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-3); }
.map__key { width: 1.25rem; height: .75rem; background: #CFD1D0; flex: none; }

.atlas__view { display: grid; gap: 0; border: 1.5px solid var(--ink); background: var(--sheet); }
.survey--view { aspect-ratio: 4 / 3; }
.survey--view .tag { font-size: 1rem; line-height: 1.2; padding: .35rem .6rem; }
.survey--view .tag--sm { font-size: .9rem; }
.survey--view .tag--place { right: .75rem; bottom: .75rem; }
.sheet { padding: 1.75rem 2rem 2rem; display: grid; gap: .6rem; }
.sheet__title { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.sheet__meta { color: var(--ink-3); }
.sheet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: .75rem 0 .25rem; border-top: 1.5px solid var(--ink); }
.sheet__grid > div { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--rule); }
.sheet__grid > div:not(:nth-child(3n + 1)) { padding-left: 1rem; border-left: 1px solid var(--rule); }
.sheet__grid dt { font-size: .85rem; color: var(--ink-3); }
.sheet__grid dd { margin: .3rem 0 0; font-size: 1rem; display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.sheet__grid .digits { color: var(--ink); font-size: clamp(1.5rem, 1rem + 1.2vw, 2.1rem); }
.sheet__note { font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }

/* ---------------- Catalog ------------------------------------------- */
main > section.catalog { padding-top: 3rem; border-top: 1px solid var(--rule); }
.catalog__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2rem; margin-bottom: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border: 1.5px solid var(--ink); margin-right: -1.5px; font-weight: 500; font-size: .95rem; cursor: pointer; transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.chip input:checked + span { background: var(--btn); color: var(--hi); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--hi); position: relative; z-index: 1; }
.chip:hover input:not(:checked) + span { background: var(--hi-soft); }
.filters__region .field__input { min-height: 44px; padding-top: .5rem; padding-bottom: .5rem; font-size: 1rem; width: auto; }
.check { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; font-weight: 500; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); margin: 0; }
.catalog__count { font-weight: 700; font-variant-numeric: tabular-nums; }
.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
.empty { border: 1.5px solid var(--ink); padding: 2rem; display: grid; gap: .75rem; max-width: 46rem; }
.empty__t { font-weight: 700; font-size: 1.25rem; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: .5rem; }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); min-height: 48px; padding: 0 1.25rem; }
.btn--line:hover { background: var(--hi); }

/* ---------------- CTA band ------------------------------------------ */
main > section.cta-band { display: grid; gap: 1.25rem; justify-items: start; border-top: 1.5px solid var(--ink); background: var(--hi); }
.cta-band .lede { color: var(--ink); }
.cta-band__btn { min-height: 60px; padding: 0 2.25rem; font-size: 1.15rem; margin-top: .5rem; }
.cta-band__btn:hover { background: var(--paper); }

/* ---------------- How it works -------------------------------------- */
.page-head--how { border-bottom: 0 !important; }
.wide-photo { position: relative; margin: 0 var(--pad); aspect-ratio: 21 / 9; overflow: hidden; background: #8D9092; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.wide-photo__tag { left: 1rem; bottom: 1rem; font-size: 1rem; padding: .4rem .7rem; }
.log__list { list-style: none; margin: 3rem 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.log__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.log__when { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; align-content: start; }
.log__n { grid-row: span 2; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: var(--hi); font-weight: 700; }
.log__t { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.log__d { color: var(--ink-3); font-weight: 500; }
.log__what { display: grid; gap: .75rem; }
.log__what p { font-size: 1.1rem; line-height: 1.55; max-width: 62ch; }
.log__need { color: var(--ink-2); }
.log__need span { font-weight: 700; color: var(--ink); }
.kit__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: start; }
.survey--kit { aspect-ratio: 1 / 1; }
.kit__pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: var(--hi); color: var(--ink); font-weight: 700; outline: 2px solid var(--ink); }
.kit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.kit__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.kit__n { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: var(--btn); color: var(--hi); font-weight: 700; }
.kit__list h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .35rem; }
.kit__list p { color: var(--ink-2); line-height: 1.5; }
main > section.service { background: var(--btn); color: var(--paper); display: grid; gap: 2.5rem; }
.service .h2 { color: var(--paper); }
.service__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(247, 247, 247, .25); }
.service__nums p { display: grid; gap: .5rem; padding: 1.75rem 1.5rem 0 0; }
.service__nums p + p { padding-left: 1.5rem; border-left: 1px solid rgba(247, 247, 247, .25); }
.service__big { font-size: clamp(3rem, 2rem + 3.5vw, 5.5rem); font-weight: 700; line-height: 1; color: var(--hi); letter-spacing: -0.03em; }
.service__nums span:not(.service__big) { color: rgba(247, 247, 247, .82); font-size: 1.05rem; max-width: 22ch; }
.service__text { color: rgba(247, 247, 247, .85); }
.faq__list { margin-top: 2.5rem; border-top: 1.5px solid var(--ink); max-width: 60rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; min-height: 64px; padding: 1rem 0; font-size: 1.2rem; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .25s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--ink-2); }
.faq__item p { padding: 0 0 1.5rem; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }

@media (max-width: 1279.98px) {
  .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog__bar { grid-template-columns: 1fr auto; }
  .filters { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1023.98px), (max-aspect-ratio: 5/4) {
  main > section.atlas { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .atlas__map { position: static; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log__row { grid-template-columns: 1fr; gap: 1rem; }
  .kit__body { grid-template-columns: 1fr; }
  .wide-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 639.98px) {
  main > section.page-head { padding: 2.75rem var(--pad) 2rem; }
  .sheet { padding: 1.25rem; }
  .sheet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet__grid > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .sheet__grid > div:nth-child(even) { padding-left: .9rem; border-left: 1px solid var(--rule); }
  .grid-cards { grid-template-columns: 1fr; }
  .catalog__bar { grid-template-columns: 1fr; }
  .filters { grid-row: auto; }
  .chips { width: 100%; }
  .chip { flex: 1 1 auto; } .chip > span { width: 100%; justify-content: center; padding: 0 .6rem; }
  .service__nums { grid-template-columns: 1fr; }
  .service__nums p, .service__nums p + p { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid rgba(247, 247, 247, .25); }
  .pin { width: 36px; height: 36px; }
  .pin__mark { width: 13px; height: 13px; }
  .survey--view { aspect-ratio: 1 / 1; }
}

/* display face: the comp's heavy neo-grotesk */
.wordmark, .hero__title, .h1, .h2, .figure__n, .digits, .ledger__big, .service__big,
.sheet__title, .preloader__count, .preloader__mark, .readout dd, .ledger__t--lg { font-family: var(--font-display); }
.hero__title { font-weight: 800; }
.figure__n, .ledger__big, .service__big, .digits { font-weight: 800; letter-spacing: -0.01em; }
.h1, .h2 { letter-spacing: -0.02em; }
.wordmark { font-weight: 800; letter-spacing: 0; }

/* financing: two figures, then two plain options */
.ledger__item--fig .ledger__big { margin-bottom: .25rem; }
.ledger__t--lg { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }

/* drawn error mark */
.field__err::before { content: ""; background: var(--hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='8.6' y='3.5' width='2.8' height='8.5' fill='%230B0C0A'/%3E%3Crect x='8.6' y='13.8' width='2.8' height='2.8' fill='%230B0C0A'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* rhythm: not every section breathes the same */
.teaser, .process, .finance { --sec: 6rem; }
.calc, .audit { --sec: 7rem; }
.log .log__list { margin: 2.75rem 0 0; }

/* first viewport tuned to the comp with Inter / Inter Tight (1536 comp px = 1u) */
.hero__title { font-size: calc(60 * var(--u)); letter-spacing: -0.02em; }
.hero__lede { font-size: calc(27 * var(--u)); max-width: calc(560 * var(--u)); font-weight: 400; }
.nav { gap: calc(44 * var(--u)); }
.nav a { font-size: calc(20.5 * var(--u)); }
.head__phone { font-family: var(--font-display); font-size: calc(21 * var(--u)); font-weight: 500; letter-spacing: 0; }
.head > .wordmark { font-size: calc(30 * var(--u)); }
.hero__more { font-size: calc(25 * var(--u)); }
.figure { gap: calc(24 * var(--u)); }
.figure__n { font-size: calc(64 * var(--u)); font-variant-numeric: normal; letter-spacing: -0.03em; }
.figure__l { font-size: calc(30 * var(--u)); }
.head__cta { font-size: calc(19 * var(--u)); }
.hero__cta { font-size: calc(23.5 * var(--u)); }
@media (max-width: 1023.98px), (max-aspect-ratio: 5/4) {
  .hero__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.4rem); letter-spacing: -0.025em; }
  .hero__lede { font-size: 1.15rem; max-width: 32ch; }
  .nav a { font-size: 1.25rem; }
  .head > .wordmark { font-size: 1.5rem; }
  .hero__more { font-size: 1.1rem; }
  .figure__n { font-size: 2.1rem; }
  .figure__l { font-size: .9rem; }
  .head__cta { font-size: .95rem; }
  .hero__cta { font-size: 1.1rem; }
}

/* mobile fixes: header button gives way to the menu under 480px; outage modes stay on one row */
.nav__cta { display: none; }
@media (max-width: 1023.98px), (max-aspect-ratio: 5/4) {
  .nav.is-open .nav__cta { display: inline-flex; margin-top: 1rem; min-height: 52px; padding: 0 1.5rem; font-size: 1.05rem; border-bottom: 0; background-size: 0 0; color: #FFFFFF; }
}
@media (max-width: 479.98px) {
  .head__cta { display: none; }
}
@media (max-width: 639.98px) {
  .modes { display: flex; flex-wrap: nowrap; width: 100%; }
  .mode { flex: 1 1 0; min-width: 0; padding: 0 .4rem; font-size: .85rem; white-space: nowrap; }
}
