/* Aigesa AS v11 — "Rekkefølge": the site lays out the work the way a professional lays out the tools, in the order they
   will be used, room by room. One navy board with a 12-column grid; text, photos and tools sit in its cells. DESIGN.md. */
@font-face { font-family: "LX"; src: url("fonts/lx-400.woff2?v=15") format("woff2"); font-weight: 100 450; font-display: swap; }
@font-face { font-family: "LX"; src: url("fonts/lx-500.woff2?v=15") format("woff2"); font-weight: 451 540; font-display: swap; }
@font-face { font-family: "LX"; src: url("fonts/lx-600.woff2?v=15") format("woff2"); font-weight: 541 610; font-display: swap; }
@font-face { font-family: "LX"; src: url("fonts/lx-640.woff2?v=15") format("woff2"); font-weight: 611 660; font-display: swap; }
@font-face { font-family: "LX"; src: url("fonts/lx-690.woff2?v=15") format("woff2"); font-weight: 661 730; font-display: swap; }
@font-face { font-family: "LX"; src: url("fonts/lx-770.woff2?v=15") format("woff2"); font-weight: 731 790; font-display: swap; }
@font-face { font-family: "LX"; src: url("fonts/lx-800.woff2?v=15") format("woff2"); font-weight: 791 900; font-display: swap; }
@font-face { font-family: "STM"; src: url("fonts/stm-400.woff2?v=15") format("woff2"); font-weight: 100 450; font-display: swap; }
@font-face { font-family: "STM"; src: url("fonts/stm-500.woff2?v=15") format("woff2"); font-weight: 451 550; font-display: swap; }
@font-face { font-family: "STM"; src: url("fonts/stm-600.woff2?v=15") format("woff2"); font-weight: 551 900; font-display: swap; }

:root {
  --night: #0b141c;
  --night-2: #112130;
  --navy: #1b2a35;          /* logo colour */
  --glass: #eef3f4;
  --paper: #f7f9f9;
  --sun: #ff9a3c;           /* midnight sun: actions, daylight */
  --sun-ink: #b4520e;       /* sun as text on light */
  --aurora: #76f0c0;        /* live data, status, on dark only */
  --ink: #1b2a35;
  --ink-2: #4a5d6b;
  --on-dark: #eef4f6;
  --on-dark-2: #a9bcc6;
  --line-d: rgba(238, 244, 246, .16);
  --line-l: rgba(27, 42, 53, .16);
  --f: "LX", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "STM", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --display: "LX", "Segoe UI", sans-serif;
  --board: #1b2a35;
  --grid-line: rgba(238, 244, 246, .075);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, 1, .5, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gut: clamp(18px, 4vw, 64px);
  --max: 1600px;
  --hh: 80px;
  --sec: clamp(96px, 14vh, 190px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
html.smooth { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--on-dark); font-family: var(--f); font-size: clamp(16px, .25vw + 15px, 19px); line-height: 1.55; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, blockquote { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--navy); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.process :focus-visible, .reviews :focus-visible, .about :focus-visible { outline-color: var(--sun-ink); }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--navy); padding: 10px 16px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus-visible { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------------ type */
.idx { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); }
.h2 { font-family: var(--display); font-size: clamp(2.1rem, 1rem + 3.6vw, 5.4rem); line-height: 1.14; font-weight: 780; letter-spacing: -.03em; text-wrap: balance; }
.lead-p { font-size: clamp(1.08rem, .95rem + .45vw, 1.4rem); line-height: 1.5; color: var(--on-dark-2); max-width: 44ch; }
.h-reveal .w { display: inline-block; }

/* ------------------------------------------------------------------ pills: the fill passes over the surface, the pill itself never moves */
.pill { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.35em; border-radius: 0; border: 0; font-weight: 680; font-stretch: 112%; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .4s var(--ease), box-shadow .4s; }
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-io); }
.pill:hover::before { transform: scaleX(1); }
.pill:active::before { transform: scaleX(1); transition-duration: .18s; }
.pill .ic { transition: transform .4s var(--ease); }
.pill-sun { background: var(--sun); color: var(--navy); }
.pill-sun::before { background: #ffd3a6; }
.pill-line { color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(238, 244, 246, .55); }
.pill-line::before { background: var(--on-dark); }
.pill-line:hover { color: var(--navy); }
.pill-ink { background: var(--navy); color: var(--on-dark); }
.pill-ink::before { background: var(--sun); }
.pill-ink:hover { color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: .45em; margin-top: 1.1em; font-weight: 680; color: var(--sun); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link:hover, .link:active { background-size: 100% 1.5px; }
.link .ic { transition: transform .4s var(--ease); }
.link:hover .ic { transform: translateX(3px); }

/* ------------------------------------------------------------------ header */
/* user 27–28.10: everything needed is visible at once, medium logo with air. Desktop (>= 1240): logo, nav, LT|EN, phone, contact
   button. Narrower: logo, LT|EN, phone, Menu (the nav lives in the sheet). Phone: logo, LT|EN, phone icon, menu icon.
   Stuck: the logo shrinks and a SOFT shade lies under the bar; never a 1 px line (22.10). */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); color: var(--on-dark); transition: background-color .4s, height .4s var(--ease-soft), box-shadow .4s; }
.hd.is-solid { height: 64px; background: var(--night); box-shadow: 0 12px 22px -6px rgba(0, 0, 0, .5); }
.hd.is-solid .menu { top: 64px; }
.hd-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { margin-right: auto; flex: none; }
.logo img { width: 190px; height: auto; transition: width .4s var(--ease-soft); }
.hd.is-solid .logo img { width: 150px; }
.nav { display: none; gap: clamp(22px, 2.4vw, 40px); }
.nav a, .ft-nav a { text-decoration: none; font-weight: 600; font-stretch: 108%; font-size: 1.0625rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding: 4px 0; transition: background-size .45s var(--ease); }
.nav a:hover, .ft-nav a:hover, .nav a:active, .ft-nav a:active { background-size: 100% 1.5px; }
.lang { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 1rem; font-weight: 600; letter-spacing: .04em; }
.lang a { text-decoration: none; opacity: .75; padding: 10px 4px; transition: opacity .3s; }
.lang a:hover, .lang a:active, .lang a[aria-current] { opacity: 1; }
.lang a[aria-current] { color: var(--sun); }
.lang span { opacity: .4; }
.hd-call { min-height: 44px; padding: 0 1.1em; font-size: 1.0625rem; }
.hd-cta { display: none; align-items: center; min-height: 44px; padding: 0 1.2em; border: 1.5px solid var(--sun); color: var(--sun); font-weight: 650; text-decoration: none; white-space: nowrap; transition: background-color .3s, color .3s; }
.hd-cta:hover, .hd-cta:active { background: var(--sun); color: var(--navy); }
.menu-btn { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 .4em; border: 0; border-radius: 0; background: transparent; cursor: pointer; font-weight: 650; transition: background-color .25s; }
/* pressed: a soft fill of the header's own colour in place (no tap flash, user rule 2026-10-05) */
.menu-btn:hover, .menu-btn:active { background: color-mix(in srgb, currentColor 14%, transparent); }
/* menu button: the outer bars come together into a cross while the menu is open, and part again when it closes */
.ic-menu path { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-io); }
.menu-btn .ic-menu { width: 1.6em; height: 1.6em; }
.mb-m { transition: opacity .25s; }
.menu-btn[aria-expanded="true"] .mb-a { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-m { opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-b { transform: translateY(-5.5px) rotate(-45deg); }
.mb-l { display: inline-grid; }
.mb-l > span { grid-area: 1 / 1; transition: opacity .3s var(--ease-soft), transform .45s var(--ease); }
.mb-close { opacity: 0; transform: translateY(.5em); }
.menu-btn[aria-expanded="true"] .mb-open { opacity: 0; transform: translateY(-.5em); }
.menu-btn[aria-expanded="true"] .mb-close { opacity: 1; transform: none; }
.menu { position: fixed; inset: var(--hh) 0 0; overflow-y: auto; align-content: start; background: var(--navy); padding: 28px var(--gut) 36px; display: grid; gap: 22px; justify-items: start; }
.menu nav:first-child { display: grid; gap: 4px; }
.menu nav:first-child a { font-size: 1.6rem; font-weight: 760; font-stretch: 140%; text-decoration: none; letter-spacing: -.03em; }
.menu-mail { color: var(--on-dark-2); }
.fb-link { display: inline-flex; align-items: center; gap: .55em; }
.fb-link .ic { width: 1.25em; height: 1.25em; flex: none; }
.menu-fb { color: var(--on-dark-2); text-decoration: none; }
.menu .lang { font-size: 1.1rem; }
.menu .pill { width: 100%; justify-content: center; min-height: 60px; font-size: 1.25rem; }
@media (min-width: 1240px) {
  .nav { display: flex; }
  .hd-cta { display: inline-flex; }
  .hd-in > .menu-btn { display: none; }
  .hd-in { gap: 28px; }
  .logo { margin-right: 0; }
  .nav { margin-left: auto; }
  .menu { display: none; }
}
@media (max-width: 600px) {
  :root { --hh: 72px; }
  .logo img, .hd.is-solid .logo img { width: 128px; }
  .hd-in { gap: 10px; }
  .hd-call { width: 44px; padding: 0; justify-content: center; }
  .hd-call span { display: none; }
  .hd-in > .lang { font-size: .95rem; gap: 6px; }
  .menu-btn { padding: 0 .2em; }
  .menu-btn span { display: none; }
}
@media (max-width: 360px) { .hd-in > .lang { font-size: .88rem; gap: 4px; } .logo img, .hd.is-solid .logo img { width: 118px; } }

/* ------------------------------------------------------------------ hero: the window — night behind dirty glass, pulled clean into morning */
.hero { position: relative; height: 200svh; background: var(--night); }
.hero-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-in { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: clamp(16px, 3vh, 36px); padding: calc(var(--hh) + 3vh) 0 clamp(16px, 3.5vh, 40px); container-type: inline-size; }
.hero-h1 { font-family: var(--display); font-weight: 800; font-size: min(calc(100cqi / var(--em1) * .97), 12rem); line-height: .98; letter-spacing: -.03em; color: #f6fafb; }
.hero-h1 .line { white-space: nowrap; }
.hero-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 2.6vw, 48px); min-height: 0; }
.hero-bar { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(238, 244, 246, .22); min-width: 0; }
.hero-kicker { font-family: var(--mono); font-size: clamp(.95rem, .85rem + .35vw, 1.2rem); color: var(--sun); margin-bottom: calc(-1 * clamp(8px, 1.6vh, 20px)); }
.hero-lead { font-size: clamp(1.2rem, .95rem + .75vw, 1.8rem); line-height: 1.4; color: #e4edf1; max-width: 30ch; }
.cell-cta { display: inline-flex; align-items: center; gap: .7em; min-height: 52px; padding: 0 1.2em; white-space: nowrap; background: var(--sun); color: #14212b; font-weight: 640; text-decoration: none;
  background-image: linear-gradient(#ffc28a, #ffc28a); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .45s var(--ease-soft); }
.cell-cta:hover, .cell-cta:active { background-size: 100% 100%; }
/* one strip: the orange request and the phone beside it, one height, one hairline; the phone reads as a label + number */
.hero-act { display: grid; justify-items: start; gap: 14px; }
.act-strip { display: grid; grid-template-columns: auto auto; align-items: stretch; box-shadow: inset 0 0 0 1px rgba(238, 244, 246, .3); }
.act-strip .cell-cta { min-height: 64px; padding: 0 1.4em; font-size: 1.08rem; }
.hero-tel { display: grid; align-content: center; gap: 3px; padding: 8px 1.4em 8px 1.2em; color: var(--on-dark); text-decoration: none; transition: background-color .3s var(--ease-soft); }
.hero-tel:hover, .hero-tel:active { background: rgba(238, 244, 246, .08); }
.tel-k { display: flex; align-items: center; gap: .45em; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); }
.tel-k .ic { width: 1.15em; height: 1.15em; color: var(--sun); }
.tel-n { font-family: var(--display); font-weight: 760; font-size: clamp(1.2rem, 1rem + .45vw, 1.55rem); letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.score-chip { display: inline-flex; align-items: center; gap: .6em; font-family: var(--mono); font-size: .9rem; text-decoration: none; padding: 6px 0; color: var(--on-dark-2); }
.score-chip b { color: var(--on-dark); font-weight: 600; }
.score-chip .stars { display: inline-flex; gap: 2px; color: var(--sun); }
.score-chip .stars .ic { width: 1em; height: 1em; }
.score-chip:hover b, .score-chip:active b { text-decoration: underline; text-underline-offset: 4px; }
/* the pane: a still of the clean morning without JS; with JS a canvas draws night, dirt, the squeegee and the sunrise */
.window { position: relative; min-height: 0; overflow: hidden; background: #050a0f; box-shadow: inset 0 0 0 1px rgba(238, 244, 246, .14); }
.win-still, .win-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.win-still { object-fit: cover; object-position: 62% 50%; }
.window.is-live .win-still { visibility: hidden; }
@media (max-width: 900px) {
  .hero { height: 190svh; }
  .hero-h1 { font-size: min(calc(100cqi / var(--em) * .97), 9rem); line-height: 1.1; }
  .hero-h1 .line { display: block; }
  .hero-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(220px, 1fr); }
  .hero-bar { gap: 16px; padding-top: 14px; }
  .hero-lead { font-size: 1.05rem; }
}
/* phones: the strip spans the column, the request takes the rest of the row */
@media (max-width: 520px) { .hero-act { justify-items: stretch; } .act-strip { grid-template-columns: minmax(0, 1fr) auto; } .act-strip .cell-cta { justify-content: space-between; padding: 0 1em; min-height: 58px; font-size: 1rem; } .hero-tel { padding: 6px 1em; } }
@media (max-width: 400px) { .tel-k { display: none; } .tel-n { font-size: 1.1rem; } .score-chip { font-size: .82rem; } }

/* ------------------------------------------------------------------ method: the board and its work line, walked room by room */
.method { position: relative; height: 220svh; background: var(--board); }
.method-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; }
.method-grid { position: relative; height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr);
  align-content: start; padding: calc(var(--hh) + 3vh) 0 clamp(14px, 3vh, 30px); container-type: inline-size; }
/* the board's grid: one hairline per column; the headline, the route and the work line stand on its lines */
.method-grid::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%, linear-gradient(90deg, transparent calc(100% - 1px), var(--grid-line) 0); }
.method-h { grid-column: 1 / 9; align-self: end; font-family: var(--display); font-weight: 800; font-size: min(calc(66cqi / var(--em) * .97), 9rem); line-height: 1.06;
  letter-spacing: -.03em; color: #f6fafb; padding-left: .04em; }
.method-h .line { display: block; white-space: nowrap; }
.method-side { grid-column: 9 / 13; align-self: end; display: grid; gap: 22px; padding: 0 0 .5em clamp(16px, 2vw, 32px); }
.method-lead { font-size: clamp(1.06rem, .95rem + .4vw, 1.4rem); line-height: 1.45; color: #e2ebef; max-width: 34ch; }








/* the route: rooms in the order of the work */
.route { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; margin-top: clamp(16px, 3vh, 34px); border-top: 1px solid rgba(238, 244, 246, .16);
  font-family: var(--mono); font-size: clamp(.9rem, .8rem + .3vw, 1.08rem); color: var(--on-dark-2); }
.route li { position: relative; display: inline-flex; align-items: baseline; gap: .55em; padding: 12px clamp(14px, 2.2vw, 36px) 12px 0; transition: color .4s var(--ease-soft); }
.route li + li::before { content: "→"; font-family: var(--f); margin-right: clamp(14px, 2.2vw, 36px); color: rgba(238, 244, 246, .3); }
.route .rt-n { font-size: .8em; opacity: .6; }
/* each room is a tab: a plain button in the type of the route, the active one white with the sun line under it */
.rt-b { display: inline-flex; align-items: baseline; gap: .55em; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; white-space: nowrap; transition: color .3s var(--ease-soft); }
.rt-b:hover, .rt-b:active { color: var(--on-dark); }
.route li::after { content: ""; position: absolute; left: 0; right: clamp(14px, 2.2vw, 36px); bottom: -1px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.route li + li::after { left: calc(1em + clamp(14px, 2.2vw, 36px)); }
.route li.is-on { color: var(--on-dark); }
.route li.is-on::after { transform: none; }
.route li.is-done { color: rgba(238, 244, 246, .7); }
/* the work line: four slots in the order of use; the tools are one shared pool that JS moves between rooms */
.workline { grid-column: 1 / -1; position: relative; min-height: 0; display: flex; flex-direction: column; }
.wl-slots { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 0; }
.wl-slot { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding-right: clamp(10px, 1.6vw, 24px); }
.wl-place { position: relative; min-height: 0; display: grid; place-items: center; }
.wl-static { width: calc(var(--cm) / 51.2 * 100%); height: auto; }
.js .wl-static { visibility: hidden; }
.js:not(.ready) .wl-static { animation: vis 0s 2.6s forwards; }   /* the script never started: show the first room as it is */
.wl-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding-top: 10px; border-top: 1px solid rgba(238, 244, 246, .16); font-family: var(--mono); }
.wl-n { grid-row: span 2; font-size: clamp(.9rem, .8rem + .3vw, 1.05rem); color: var(--sun); }
.wl-t { font-size: clamp(1.02rem, .88rem + .45vw, 1.3rem); color: var(--on-dark); }
.wl-k { font-size: 1rem; color: var(--on-dark-2); }
.wl-step.is-swap { animation: stepin .5s var(--ease) backwards; }
@keyframes stepin { from { opacity: 0; transform: translateY(.5em); } }
.wl-pool { position: absolute; inset: 0; pointer-events: none; }
.wl-tool { position: absolute; left: 0; top: 0; height: auto; visibility: hidden; will-change: transform;
  filter: drop-shadow(0 5px 6px rgba(4, 10, 16, .45)); rotate: calc(var(--jostle, 0) * var(--sg, 1) * 1deg);
  transition: transform 1.15s var(--ease), filter .7s var(--ease), rotate .5s var(--ease-soft); }
.wl-tool.is-on { visibility: visible; }
.wl-tool.is-lift { filter: drop-shadow(0 26px 22px rgba(4, 10, 16, .5)); transition: transform 1.15s var(--ease), filter .25s var(--ease-soft), rotate .5s var(--ease-soft); }
.wl-tool.no-anim { transition: none; }
@media (max-width: 900px) {
  .method { height: 210svh; }
  .method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: calc(var(--hh) + 2vh); }
  .method-grid::before { background-size: calc(100% / 4) 100%, auto; }
  .method-h { grid-column: 1 / -1; font-size: min(calc(100cqi / var(--em) * .97), 9rem); }
  .method-side { grid-column: 1 / -1; padding: 14px 0 0; gap: 14px; }
  .method-lead { font-size: 1.02rem; }
  .route { margin-top: 14px; flex-wrap: nowrap; justify-content: space-between; font-size: .9rem; overflow-x: auto; scrollbar-width: none; }
  .route::-webkit-scrollbar { display: none; }
  .route li { flex: none; }
  .route .rt-n { display: none; }
  .route li { padding: 10px 0; }
  .route li + li::before { margin-right: 10px; }
  .route li::after { right: 0; }
  .route li + li::after { left: calc(1em + 10px); }
  .wl-slot { padding-right: 10px; }
  .wl-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
  .wl-step { padding-top: 6px; }
  .wl-t { font-size: .95rem; }
  .wl-k { font-size: .82rem; }
}


/* ------------------------------------------------------------------ light in Tromsø: the year as an hourglass of daylight */
.light { background: linear-gradient(180deg, var(--night) 0, var(--night-2) 100%); padding: var(--sec) 0 calc(var(--sec) * .5); }
.light-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 6vw; align-items: end; }
.light-head .idx { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line-d); }
.light-head .h2 { grid-column: 1 / -1; max-width: 16ch; }
.light-head .lead-p { grid-column: 2; }
.daychart { margin-top: clamp(40px, 7vh, 80px); }
.dc-film { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; margin-bottom: clamp(10px, 2vh, 22px); min-height: 1.1em; }
.dc-film b { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 3.2vw, 5.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dc-film span { font-family: var(--mono); font-size: clamp(.95rem, .85rem + .3vw, 1.2rem); color: var(--sun); }
.dc-svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.dc-frame { position: relative; }
.dc-canvas { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; }
.dc-tall { display: none; }
@media (max-width: 640px) {
  .dc-wide { display: none; }
  .dc-film { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dc-tall { display: block; }
  .dc-tall .dc-hl, .dc-tall .dc-ml { font-size: 13.5px; fill: var(--on-dark); }
  .dc-tall .dc-grid { stroke: rgba(238, 244, 246, .16); }
  .dc-tall .dc-today line { stroke-width: 2.5; }
}
.dc-grid { stroke: rgba(238, 244, 246, .1); stroke-width: 1; }
.dc-month { stroke: rgba(238, 244, 246, .08); stroke-width: 1; }
.dc-hl, .dc-ml { font-family: var(--mono); font-size: 14px; fill: var(--on-dark-2); }
.dc-hl { text-anchor: end; }
.dc-tw { fill: #3f74ad; opacity: .62; }
.dc-today line { stroke: var(--aurora); stroke-width: 2; }
.dc-today circle { fill: var(--aurora); }
.dc-cursor { stroke: rgba(238, 244, 246, .7); stroke-width: 1.5; }
.dc-front { stroke: var(--sun); stroke-width: 2; }
.dc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 18px; font-family: var(--mono); font-size: .8rem; color: var(--on-dark-2); }
.dc-legend { display: inline-flex; align-items: center; gap: 8px 10px; }
.sw { display: inline-block; width: 12px; height: 12px; }
.sw-tw { background: #3f74ad; margin-left: 12px; }
.sw-day { background: linear-gradient(180deg, #ff7a2e, #ffd08a); }
.dc-read { color: var(--on-dark); min-height: 1.4em; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin-top: clamp(28px, 4vh, 52px); }
.facts > div { padding-top: 16px; border-top: 1px solid var(--line-d); display: grid; align-content: start; gap: 8px; }
.facts dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--aurora); }
.facts dd { display: grid; gap: 4px; }
.facts b { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.6rem); font-weight: 760; font-stretch: 135%; letter-spacing: -.03em; line-height: 1.1; }
.facts span { color: var(--on-dark-2); }
@media (max-width: 860px) { .light-head { grid-template-columns: minmax(0, 1fr); } .light-head .lead-p { grid-column: 1; } .facts { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* ------------------------------------------------------------------ services: one row per service, each with its own kit on the board */
.services { position: relative; background: var(--board); padding: var(--sec) 0 0; overflow-x: clip; }
.sv-head { display: grid; gap: 18px; margin-bottom: clamp(30px, 5vh, 60px); }
.sv-head .idx { padding-top: 14px; border-top: 1px solid var(--line-d); }
.sv-head .h2 { max-width: 18ch; }
.sv-board { position: relative; }
.sv-board { isolation: isolate; }
.sv-board::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%, linear-gradient(90deg, transparent calc(100% - 1px), var(--grid-line) 0); }
.sv-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 0; padding: clamp(26px, 4.5vh, 48px) 0; border-top: 1px solid rgba(238, 244, 246, .16); }
/* the board ends with the last photo: no strip of empty grid and no extra rule under it */
.sv-row:last-child { padding-bottom: 0; }
/* v14: the title is the headline of the row, the photo runs the full width under it (was: text left, photo right) */
.sv-copy { display: grid; align-content: start; gap: 12px; container-type: inline-size; }
.sv-t { font-family: var(--display); font-weight: 780; font-size: min(clamp(1.9rem, 1rem + 3.4vw, 5rem), calc(100cqi / var(--fit, 1) * .94)); letter-spacing: -.03em; line-height: 1.16; transition: color .4s var(--ease-soft); }
.sv-copy > p { color: #d3dfe5; max-width: 42ch; }
.sv-row.is-active .sv-t { color: var(--sun); }
.sv-pic { position: relative; margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--night-2); }
.sv-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-soft); }
.sv-row:hover .sv-img { transform: scale(1.05); }
@media (max-width: 900px) {
  .sv-pic { aspect-ratio: 4 / 3; }
  .sv-board::before { background-size: 25% 100%, auto; }
}
.more { padding: clamp(48px, 8vh, 96px) 0 var(--sec); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 6vw; }
.more-h { padding-top: 14px; border-top: 1px solid var(--line-d); align-self: start; }
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; gap: 0 clamp(20px, 3vw, 44px); }
.more-list li { position: relative; padding-top: 14px; border-top: 1px solid var(--line-d); display: grid; align-content: start; gap: 10px; }
.more-list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-io); }
.more-list li:hover::before { transform: scaleX(1); }
.more-t { font-size: 1.3rem; font-stretch: 130%; font-weight: 760; letter-spacing: -.03em; line-height: 1.15; }
.more-list p { color: var(--on-dark-2); }
@media (max-width: 1000px) { .more { grid-template-columns: minmax(0, 1fr); } .more-list { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* ------------------------------------------------------------------ process: the route of one job (v14, 29.10 — «каждый блок не должен быть похож на другой») */
/* One line runs through the page and the job happens along it: the objects stand above and below it by turns and are set down
   one after another as the line reaches them. Phones: the same line runs down the left edge. */
@property --fill { syntax: "<length>"; inherits: false; initial-value: 0px; }
.process { position: relative; background: var(--glass); color: var(--ink); padding: var(--sec) 0; overflow-x: clip; }
.proc-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vh, 72px); }
.proc-head .idx { color: var(--sun-ink); padding-top: 14px; border-top: 1px solid var(--line-l); }
.proc-line { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto 34px auto; column-gap: clamp(10px, 1.4vw, 22px); --fill: 0px; transition: --fill .9s var(--ease-io); }
.proc-line::before { content: ""; grid-column: 1 / -1; grid-row: 2; align-self: center; height: 3px; background: linear-gradient(90deg, var(--sun-ink) var(--fill), rgba(27, 42, 53, .18) 0); }
.ps { display: contents; }
.ps::before { content: ""; grid-column: calc(var(--i) + 1); grid-row: 2; align-self: center; justify-self: start; width: 15px; height: 15px; background: var(--glass); border: 3px solid rgba(27, 42, 53, .3); transition: background-color .4s, border-color .4s; position: relative; z-index: 1; }
.ps.on::before { background: var(--sun-ink); border-color: var(--sun-ink); }
.ps-icon, .ps-text { grid-column: calc(var(--i) + 1); min-width: 0; container-type: inline-size; }
.ps-up .ps-icon { grid-row: 1; align-self: end; }
.ps-up .ps-text { grid-row: 3; }
.ps-down .ps-text { grid-row: 1; align-self: end; }
.ps-down .ps-icon { grid-row: 3; align-self: start; }
.ps-icon { display: grid; place-items: center start; aspect-ratio: 1 / .86; }
/* the cell is 100cqi x 86cqi of the step; a % max-height does not resolve against an aspect-ratio height */
.ps-icon img { width: auto; height: auto; max-width: 100%; max-height: 80cqi; filter: drop-shadow(0 12px 14px rgba(27, 42, 53, .24)); transition: transform .6s var(--ease-soft), filter .6s var(--ease-soft); }
.ps:hover .ps-icon img { transform: translateY(-8px) rotate(-3deg); filter: drop-shadow(0 22px 20px rgba(27, 42, 53, .26)); }
.js .ps:not(.on) .ps-icon img { opacity: 0; }
.js .ps.on .ps-icon img { animation: setdown .7s var(--ease) backwards; }
.js .ps:not(.on) .ps-text { opacity: .28; }
.ps-text { display: grid; align-content: start; gap: 8px; padding: 14px 0 0; transition: opacity .5s var(--ease-soft); }
.ps-down .ps-text { padding: 0 0 14px; }
@keyframes setdown { 0% { opacity: 0; transform: translateY(-22%) rotate(12deg) scale(.92); } 30% { opacity: 1; } 100% { opacity: 1; } }
.ps-price { display: grid; gap: 2px; margin-top: 8px; }
.price-k, .price-s { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
.price-s { display: grid; }
.price-s span, .price-v { white-space: nowrap; }
.price-v b { font-family: var(--display); font-weight: 800; font-size: min(2.2rem, 16cqi); color: var(--sun-ink); letter-spacing: -.03em; line-height: 1.05; }
.ps-n { font-family: var(--mono); font-size: .95rem; color: var(--sun-ink); }
.ps-t { font-family: var(--display); font-weight: 760; font-size: min(1.65rem, calc(100cqi / var(--fit, 1) * .94)); letter-spacing: -.03em; line-height: 1.12; transition: color .3s var(--ease-soft); }
.ps-b { color: var(--ink-2); font-size: 1.06rem; line-height: 1.5; }
.ps:hover .ps-t { color: var(--sun-ink); }
@media (max-width: 900px) {
  .proc-line { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: none; row-gap: 0; column-gap: 12px; }
  .proc-line::before { grid-column: 1; grid-row: 1 / -1; justify-self: center; width: 3px; height: auto; background: linear-gradient(180deg, var(--sun-ink) var(--fill), rgba(27, 42, 53, .18) 0); }
  .ps::before { grid-column: 1; grid-row: calc(var(--i) * 2 + 1) / span 2; align-self: start; justify-self: center; margin-top: 8px; }
  .ps-up .ps-icon, .ps-down .ps-icon { grid-column: 2; grid-row: calc(var(--i) * 2 + 1); align-self: end; aspect-ratio: auto; height: auto; place-items: end start; margin-top: 30px; container-type: normal; }
  .ps-icon img { width: 72%; height: clamp(120px, 38vw, 200px); max-width: none; max-height: none; object-fit: contain; object-position: left bottom; }
  .ps-up .ps-text, .ps-down .ps-text { grid-column: 2; grid-row: calc(var(--i) * 2 + 2); align-self: start; padding: 12px 0 0; }
  .ps-t { font-size: min(1.5rem, calc(100cqi / var(--fit, 1) * .94)); }
}
    }

/* ------------------------------------------------------------------ business: one word */
.biz { background: var(--night); padding: var(--sec) 0; }
.biz-in { container-type: inline-size; }
.biz-in > .idx { padding-top: 14px; border-top: 1px solid var(--line-d); }
.biz-word { font-family: var(--display); font-weight: 800; font-size: min(calc(100cqi / var(--em) * .98), 22rem); line-height: 1; letter-spacing: -.03em; margin: clamp(20px, 4vh, 44px) 0 clamp(18px, 3vh, 30px); }
.js .biz-word .w { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 244, 246, .7); transition: color 1.4s var(--ease) .2s, -webkit-text-stroke-color 1.4s var(--ease) .2s; }
.js .biz-word.is-in .w { color: var(--on-dark); -webkit-text-stroke-color: transparent; }
.reg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; padding: 14px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-family: var(--mono); font-size: .82rem; letter-spacing: .02em; text-decoration: none; }
.reg > span { padding: 0 14px; border-left: 1px solid var(--line-d); }
.reg > span:first-of-type { border-left: 0; padding-left: 10px; }
.reg .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 14px var(--aurora); }
.reg-go { display: inline-flex; align-items: center; gap: .35em; color: var(--sun); margin-left: auto; }
.reg:hover .reg-go, .reg:active .reg-go { text-decoration: underline; text-underline-offset: 4px; }
/* v15 (user 29.10 «что здесь за каша???»): one composition of two equal columns. Left: who we are, and at its foot what a
   business client says; right: what we do for businesses, each line approved in turn — a green tick in the register's colour. */
.biz-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 6vw; margin-top: clamp(40px, 7vh, 80px); align-items: stretch; }
.biz-say { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.rows { display: grid; grid-auto-rows: 1fr; border-top: 1px solid var(--line-d); }
.rows li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-d); font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, .9rem + 1vw, 1.9rem); letter-spacing: -.02em; line-height: 1.2; }
.ck { width: 1.3em; height: 1.3em; flex: none; fill: none; stroke: var(--aurora); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ck path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .biz-cols:not(.is-in) .ck path { stroke-dashoffset: 1; }
.js .biz-cols.is-in .ck path { animation: tick .5s var(--ease) backwards; animation-delay: calc(.25s + var(--i) * .22s); }
@keyframes tick { from { stroke-dashoffset: 1; } }
.js:not(.ready) .biz-cols .ck path { stroke-dashoffset: 0; }
.biz-quote { padding-left: 22px; border-left: 3px solid var(--sun); }
.biz-quote blockquote p { font-size: clamp(1.2rem, .95rem + .8vw, 1.75rem); line-height: 1.3; font-weight: 520; letter-spacing: -.02em; }
.biz-quote figcaption { display: grid; gap: 2px; margin-top: 14px; font-family: var(--mono); font-size: .82rem; color: var(--on-dark-2); }
.biz-quote b { color: var(--on-dark); font-weight: 600; }
.biz-quote figcaption span { opacity: .85; }
@media (max-width: 900px) { .biz-cols { grid-template-columns: minmax(0, 1fr); } .reg-go { margin-left: 10px; } }

/* ------------------------------------------------------------------ reviews: 5.0 and a drifting line of quotes */
.reviews { background: var(--glass); color: var(--ink); padding: var(--sec) 0 calc(var(--sec) * .7); }
.reviews .idx { color: var(--sun-ink); }
.rv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 40px; container-type: inline-size; }
.rv-head > .idx:first-child { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line-l); }
.score { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; text-decoration: none; }
.score-v { font-family: var(--display); font-weight: 800; font-size: clamp(4.2rem, 2.4rem + 4vw, 8rem); line-height: 1; letter-spacing: -.03em; color: var(--navy); transition: color .4s; }
.score-s { display: grid; gap: 8px; padding-bottom: .6em; max-width: 16ch; font-size: clamp(1.1rem, .95rem + .5vw, 1.45rem); font-weight: 680; font-stretch: 130%; letter-spacing: -.03em; line-height: 1.24; color: var(--ink); }
.score-s .ic:last-child { display: inline; vertical-align: -3px; margin-left: 6px; }
.stars { display: flex; color: var(--sun); font-size: 1rem; }
.stars .ic { width: 1.3em; height: 1.3em; }
.score:hover .score-v { color: var(--sun-ink); }
.rv-tr { align-self: end; padding-bottom: 1.4em; color: var(--ink-2) !important; }
.qrail { margin-top: clamp(40px, 7vh, 80px); overflow: hidden; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); touch-action: pan-y; }
.qtrack { display: flex; width: max-content; will-change: transform; padding-left: var(--gut); }
.q { width: clamp(290px, 34vw, 560px); flex: none; padding: 22px clamp(26px, 3vw, 52px) 0 0; margin-right: clamp(26px, 3vw, 52px); border-top: 1px solid var(--line-l); display: grid; align-content: space-between; gap: 22px; }
.q blockquote p { font-size: clamp(1.35rem, 1rem + 1.15vw, 2.25rem); line-height: 1.3; font-weight: 480; font-stretch: 108%; letter-spacing: -.015em; }
.q-who { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--mono); font-size: .9rem; color: var(--ink-2); }
.q-who b { color: var(--ink); font-weight: 600; }
.partners { margin-top: clamp(64px, 11vh, 130px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 6vw; align-items: center; }
.partners .idx { padding-top: 14px; border-top: 1px solid var(--line-l); align-self: start; }
/* partners: one even grid of cells of one height, every logo fitted into the same box, one ink tone (user 18.10: «каша») */
.plist { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-l); }   /* hairlines between the cells only, no outer frame */
.plist li { display: grid; place-items: center; height: clamp(76px, 7vw, 104px); padding: 0 clamp(12px, 1.6vw, 24px); background: var(--glass); }
.plist img { max-height: 46%; max-width: 100%; width: auto; height: auto; object-fit: contain; opacity: .72; transition: opacity .4s; }
.plist li:hover img { opacity: 1; }
@media (max-width: 900px) { .plist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plist li { height: 72px; } .plist img { max-height: 44%; } }
@media (max-width: 900px) { .rv-head, .partners { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ about + area */
.about { background: var(--glass); color: var(--ink); }
.about .idx { color: var(--sun-ink); }
.about-photo { position: relative; height: 82svh; min-height: 420px; overflow: hidden; }
.about-img { position: absolute; inset: -7% 0; width: 100%; height: 114%; object-fit: cover; object-position: 72% 40%;  /* the woman at the right third and the lettering stay in a narrow crop */ transform: translateY(var(--py, 0px)); }
.about-body { padding: var(--sec) 0; }
.about-body > .idx { padding-top: 14px; border-top: 1px solid var(--line-l); }
.about-lead { margin: clamp(22px, 4vh, 40px) 0 clamp(48px, 8vh, 96px); max-width: 30ch; font-size: clamp(1.6rem, 1rem + 2.3vw, 3.6rem); line-height: 1.32; font-weight: 600; font-stretch: 118%; letter-spacing: -.03em; }
/* dirty glass -> clean: each word comes out of a grey film, sharp and dark, as the wipe passes it */
.js .about-lead[data-wipe] .w { --c: 0; opacity: calc(.18 + .82 * var(--c)); filter: blur(calc((1 - var(--c)) * 5px)); color: color-mix(in srgb, var(--ink) calc(var(--c) * 100%), #8fa3b0); }
.about-lead .w:is(.key) { color: var(--sun-ink) !important; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.values li { padding-top: 22px; border-top: 2px solid var(--ink); display: grid; align-content: start; gap: 8px; }
.val-ic { width: clamp(52px, 4vw, 68px); height: clamp(52px, 4vw, 68px); color: var(--sun-ink); margin-bottom: 14px; stroke-width: 1.3; }
.val-ic * { stroke-dasharray: 1; }
.js .values:not(.is-in) .val-ic * { stroke-dashoffset: 1; }
.js .values.is-in .val-ic * { animation: draw 1.3s var(--ease-io) backwards; animation-delay: calc(.1s + var(--i) * .18s); }
@keyframes draw { from { stroke-dashoffset: 1; } }
@media (max-width: 560px) { .values li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; } .val-ic { grid-row: span 2; margin: 2px 0 0; } }
.val-t { font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); font-stretch: 128%; font-weight: 760; letter-spacing: -.03em; line-height: 1.2; }
.values p { color: var(--ink-2); font-size: .98rem; }
/* the map is the ground of the section: full bleed to the right edge and the bottom, dissolving towards the text */
.area { position: relative; background: var(--night); padding: var(--sec) 0; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: center; }
/* the map hangs from the section itself (not the grid), so it runs the full height of the section */
.area-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 96px); align-items: center; }
.area-copy { position: relative; z-index: 1; display: grid; gap: 1.1em; container-type: inline-size; }
.area-copy .h2 { font-size: min(clamp(2.3rem, 1rem + 4.6vw, 6.6rem), 9.5cqi, calc(100cqi / var(--fit, 1) * .94)); }
.area-copy > p:not(.idx) { color: var(--on-dark-2); max-width: 40ch; }
.area-addr { color: var(--aurora) !important; }
.map { position: absolute; top: 0; right: 0; bottom: 0; width: 58vw; overflow: hidden; container-type: size;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 22%); mask-composite: intersect; }
/* cover the box like object-fit: cover, keeping the base and the city (left ~58 %, top ~46 % of the relief) in view */
.map-in { position: absolute; width: max(100cqw, 110.5cqh); aspect-ratio: 1000 / 905; left: calc((100cqw - max(100cqw, 110.5cqh)) * .58); top: calc((100cqh - max(100cqw, 110.5cqh) / 1.105) * .46); transform-origin: 70% 30%; }
.js .map:not(.is-in) .map-in { opacity: 0; }
.js .map.is-in .map-in { animation: settle .6s var(--ease) backwards; }
@keyframes settle { 0% { opacity: 0; transform: scale(1.08); } 30% { opacity: 1; } }
.map-relief { display: block; width: 100%; height: auto; }
.map-in .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .area { display: block; min-height: 0; padding-bottom: 0; }
  .map { position: relative; top: auto; right: auto; bottom: auto; width: 100vw; margin-left: calc(50% - 50vw); aspect-ratio: 470 / 520; container-type: normal;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
  .map-in { position: relative; left: auto; top: auto; width: calc(100% * 1000 / 470); max-width: none; aspect-ratio: auto; margin: calc(-100% * 160 / 470) 0 0 calc(-100% * 330 / 470); }
}
.map-svg { width: 100%; height: auto; overflow: visible; }
.pl circle { fill: var(--on-dark); }
.pl text, .base text { font-family: var(--mono); font-size: 16px; fill: var(--on-dark); paint-order: stroke; stroke: rgba(11, 20, 28, .55); stroke-width: 3px; stroke-linejoin: round; }
.pl-city circle { r: 5; }
.pl-city text { fill: var(--on-dark); font-size: 18px; }
.base circle:not(.base-ring) { fill: var(--aurora); }
.pl { transition: opacity .45s var(--ease-soft); }
.pl circle { transition: fill .35s, r .35s var(--ease); }
.map[data-active] .pl { opacity: .28; }
.map[data-active="oya"] .pl[data-area="oya"], .map[data-active="fastland"] .pl[data-area="fastland"], .map[data-active="kvaloya"] .pl[data-area="kvaloya"] { opacity: 1; }
.map[data-active="oya"] .pl[data-area="oya"] circle, .map[data-active="fastland"] .pl[data-area="fastland"] circle, .map[data-active="kvaloya"] .pl[data-area="kvaloya"] circle { fill: var(--sun); r: 7; }
/* the three parts are drawn on the map as soft areas that light up with their button */
.zones ellipse { fill: var(--sun); fill-opacity: 0; stroke: var(--sun); stroke-opacity: 0; stroke-width: 2; stroke-dasharray: 7 7; transition: fill-opacity .5s var(--ease-soft), stroke-opacity .5s var(--ease-soft); }
.map[data-active="oya"] .zones [data-area="oya"], .map[data-active="fastland"] .zones [data-area="fastland"], .map[data-active="kvaloya"] .zones [data-area="kvaloya"] { fill-opacity: .13; stroke-opacity: .85; }
.area-list { display: grid; margin-top: 8px; border-top: 1px solid var(--line-d); }
.area-list li { border-bottom: 1px solid var(--line-d); }
.area-list button { display: grid; gap: 2px; width: 100%; padding: 14px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--on-dark-2); transition: color .3s var(--ease-soft); }
.ar-n { font-family: var(--display); font-weight: 760; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.ar-p { font-family: var(--mono); font-size: .8rem; color: var(--on-dark-2); opacity: .8; }
.area-list button:hover, .area-list button:active, .area-list button[aria-pressed="true"] { color: var(--on-dark); }
.area-list button[aria-pressed="true"] .ar-n { color: var(--sun); }
.base-ring { fill: none; stroke: var(--aurora); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease) 2; opacity: 0; }
.base text { fill: var(--aurora); font-size: 18px; }
@keyframes ring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; } }
@media (max-width: 900px) { .area-grid { grid-template-columns: minmax(0, 1fr); } .about-photo { height: 54svh; } .about-img { object-position: 71% 40%; } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ finale: the number laid flat on the logo colour */
.finale { position: relative; isolation: isolate; min-height: 100svh; color: var(--on-dark); overflow: hidden; padding: calc(var(--hh) + 8vh) 0 10vh; background: var(--navy); }
.fin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 96px); align-items: stretch; }
.fin-copy { display: flex; flex-direction: column; justify-content: flex-start; gap: 30px; container-type: inline-size; }
.fin-copy > .idx { padding-top: 14px; border-top: 1px solid rgba(238, 244, 246, .24); }
.fin-h { color: var(--on-dark); font-size: clamp(1.7rem, 1rem + 1.8vw, 3rem); font-weight: 780; font-stretch: 145%; letter-spacing: -.03em; line-height: 1.14; max-width: 16ch; text-wrap: balance; }
.fin-call { display: grid; gap: 8px; text-decoration: none; color: var(--sun); }
.fin-k { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark); }
.fin-num { font-family: var(--display); font-weight: 800; font-size: min(calc(100cqi / var(--em) * .97), 9.5rem); line-height: 1.02; letter-spacing: -.03em; white-space: nowrap; transition: color .3s var(--ease-soft); }
.fin-call:hover .fin-k, .fin-call:active .fin-k { text-decoration: underline; text-underline-offset: 4px; }
.fin-call:hover .fin-num, .fin-call:active .fin-num { color: #ffc28a; }
.fin-phone { display: grid; gap: 18px; }
.fin-open { display: flex; align-items: center; gap: .6em; font-family: var(--mono); font-size: .95rem; color: var(--on-dark-2); }
.fin-open i { width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark-2); flex: none; }
.fin-open.is-open { color: var(--on-dark); }
.fin-open.is-open i { background: var(--aurora); box-shadow: 0 0 0 0 rgba(118, 240, 192, .6); animation: live 1.6s ease-out 3; }
@keyframes live { to { box-shadow: 0 0 0 12px rgba(118, 240, 192, 0); } }
.fin-list { display: grid; font-size: 1.06rem; margin-top: auto; }
.fin-list li { padding: 12px 0; border-top: 1px solid rgba(238, 244, 246, .32); }
.fin-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.fin-list a:hover, .fin-list a:active { background-size: 100% 1px; }
.form { display: flex; flex-direction: column; gap: 20px; color: var(--on-dark); }
.f-set { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.f-l { font-size: .95rem; font-weight: 600; color: var(--on-dark-2); padding: 0; }
.chips, .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.chip, .seg label { position: relative; cursor: pointer; }
.chip input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span, .seg span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(238, 244, 246, .4); font-size: .92rem; transition: background-color .25s, color .25s, box-shadow .25s; }
.chip:hover span, .seg label:hover span, .chip:active span, .seg label:active span { box-shadow: inset 0 0 0 1px var(--on-dark); }
.chip input:checked + span, .seg input:checked + span { background: var(--sun); color: var(--navy); box-shadow: none; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; }
.f { display: grid; gap: 4px; min-width: 0; }
.f input, .f textarea { width: 100%; min-height: 46px; padding: 10px 2px; font-size: 1.0625rem; border: 0; border-bottom: 1px solid rgba(238, 244, 246, .45); border-radius: 0; background: transparent; color: var(--on-dark); transition: border-color .25s, box-shadow .25s; }
.f input:hover, .f textarea:hover { border-bottom-color: var(--on-dark); }
.f input:focus-visible, .f textarea:focus-visible { outline: none; border-bottom-color: var(--sun); box-shadow: 0 1px 0 var(--sun); }
.f textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.f textarea::placeholder { color: #8fa3b0; }
.f-grow { flex: 1; display: flex; flex-direction: column; }
.f-grow textarea { flex: 1; }
.f-err { color: #ffb08a; font-weight: 600; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.f-ok { color: var(--aurora); font-weight: 600; max-width: 40ch; }
@media (max-width: 1000px) { .fin-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .f-row { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ footer: one centred composition */
.ft { background: var(--night); border-top: 1px solid var(--line-d); }
.ft-in { padding: 38px 0 30px; display: grid; gap: 22px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.ft-logo img { width: 176px; height: auto; }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.ft-top .lang { justify-self: end; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: center; font-family: var(--mono); font-size: .78rem; color: var(--on-dark-2); }
.ft-legal span { padding: 2px 16px; }
.ft-legal span + span { border-left: 1px solid var(--line-d); }
.ft-legal a { color: var(--on-dark); }
@media (max-width: 900px) {
  .ft-top { grid-template-columns: minmax(0, 1fr) auto; }
  .ft-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-legal { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .ft-legal span + span { border-left: 0; }
}


/* ------------------------------------------------------------------ velocity: fast scrolling softens the type, stopping presses it crisp again */

/* ------------------------------------------------------------------ reveal grammar (JS only; everything is visible without it) */
/* headings are "set on the line": each word arrives slightly turned and off its line and settles onto the baseline,
   readable from the first frame (like a tool laid into its slot) */
.press .w, .set .w { display: inline-block; transform-origin: 30% 90%; }
.nw { white-space: nowrap; }
.press .w:nth-child(odd), .set .w:nth-child(odd) { --r: -3.5deg; }
.press .w:nth-child(even), .set .w:nth-child(even) { --r: 3deg; }
.js .press.is-in .w, .js .set.is-in .w { animation: setline .6s var(--ease) backwards; animation-delay: calc(var(--i) * 40ms); }
@keyframes setline { from { transform: translateY(-.14em) rotate(var(--r, -3.5deg)); } }
/* without app.js the wiped paragraph stays readable */
.js:not(.ready) .about-lead[data-wipe] .w { --c: 1; }
/* the big word goes from a cold outline to solid (biz-word rules above) */
.js [data-reveal-up]:not(.is-in) { opacity: 0; transform: translateY(26px); }
.js [data-reveal-up].is-in { animation: rise .6s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
/* safety net: if the script never starts, everything shows after 2.6 s */
.js:not(.ready) [data-reveal-up] { animation: show 0s 2.6s forwards; }
.js:not(.ready) .ps .ps-icon img, .js:not(.ready) .ps .ps-text { opacity: 1; }
.js:not(.ready) .values .val-ic * { stroke-dashoffset: 0; }
.js:not(.ready) .biz-word .w { color: var(--on-dark); }
@keyframes show { to { opacity: 1; transform: none; } }
@keyframes vis { to { visibility: visible; } }
/* photos and the map are laid on the board: the sheet arrives a little turned and squares up to the grid */
.js .sheet:not(.is-in) { opacity: 0; }
.js .sheet.is-in { animation: sheet .6s var(--ease) backwards; }
@keyframes sheet { 0% { opacity: 0; transform: translate(2.5%, -4%) rotate(3deg); box-shadow: 0 46px 50px -24px rgba(4, 10, 16, .55); } 28% { opacity: 1; } 100% { opacity: 1; transform: none; box-shadow: 0 0 0 0 rgba(4, 10, 16, 0); } }
.js:not(.ready) .sheet { animation: show 0s 2.6s forwards; }
/* phones: the contacts start soon after the map, not a screen of navy later */
@media (max-width: 900px) { .finale { min-height: 0; padding-top: calc(var(--hh) + 2vh); } }
