/* Wallgrens Fönsterputs & Städservice — "Rutan" (Local Trust, strongly customised).
   Design plan: pipeline/design-plan.json · visual direction L1–L7, components C1–C15.
   Palette from the customer's colours, refined: ink #0C1F4F (from #0000FF), action #008000, glint #45B7D1,
   spark #5CE65C (from #00FF00, small marks on dark only). Fonts self-hosted (OFL). */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700 800; font-display: swap; src: url('/assets/fonts/BricolageGrotesque-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/Figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0C1F4F;
  --ink-deep: #071433;
  --green: #008000;
  --green-deep: #00631F;
  --sky: #45B7D1;
  --sky-tint: #E6F5F9;
  --spark: #5CE65C;
  --link: #1D3FB8;
  --frost: #F4F8FA;
  --line: #D6E3EA;
  --field: #7B8DA3;
  --muted: #44566B;
  --paper: #FFFFFF;
  --error: #B42318;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 64px;
  --radius: 20px;
  --gutter: 20px;
  --section: clamp(56px, 8vw, 104px);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-wipe: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 1000px) { :root { --header-h: 76px; --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
html.nav-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; color: inherit; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.ico { flex: none; }
.sr-in { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.45rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .ico { color: var(--green); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky-tint); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .2s ease; }
.btn-outline:hover .ico { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 559px) { .actions .btn { flex: 1 1 100%; } }
.arrow-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--green-deep); text-decoration: none; min-height: 44px; }
.arrow-link .ico { transition: transform .2s ease; }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover .ico { transform: translateX(3px); }

/* ---------- C2 pill label ---------- */
.pill { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.1rem; padding: .38rem .85rem; border-radius: 999px; background: var(--sky-tint); color: var(--ink); font: 600 .78rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); flex: none; }
.pill-dark { background: rgba(255, 255, 255, .1); color: #fff; }
.pill-dark .pill-dot { background: var(--spark); }
.pill-place .ico { color: var(--link); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font: 800 1.2rem/1 var(--display); letter-spacing: -0.01em; }
.brand-name span { font-size: .76rem; color: var(--muted); font-weight: 600; margin-top: 3px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.head-phone { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; min-height: 44px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; border: 1.5px solid var(--line); }
.head-phone .ico { color: var(--green); }
.head-phone span { display: none; }
.head-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .85rem; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 600 .95rem/1 var(--body); cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
.site-nav { display: none; }
.site-header.is-open .site-nav { display: flex; flex-direction: column; gap: 24px; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 32px; border-top: 1px solid var(--line); }
.nav-list a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 700 1.35rem/1.2 var(--display); }
.nav-list a[aria-current="page"] { color: var(--green-deep); }
.nav-extra { display: grid; gap: 12px; }
.nav-hours { margin: 0; color: var(--muted); font-size: .95rem; text-align: center; }
@media (max-width: 380px) { .brand-name span { display: none; } }
@media (min-width: 720px) { .head-cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav, .site-header.is-open .site-nav { display: block; position: static; padding: 0; border: 0; overflow: visible; background: none; margin-right: 12px; }
  .nav-list { display: flex; gap: 26px; }
  .nav-list a { min-height: 44px; border: 0; font: 600 1rem/1 var(--body); position: relative; }
  .nav-list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-extra { display: none; }
  .brand { margin-right: 32px; }
  .site-nav { margin-left: auto; }
  .head-phone { border: 0; padding: 0 .4rem; }
  .head-phone span { display: inline; }
}

/* ---------- C1 window frame ---------- */
.frame { margin: 0; position: relative; }
.frame-pane { position: relative; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); box-shadow: 0 30px 60px -36px rgba(12, 31, 79, .45); }
.frame-pane picture { display: block; }
.frame-pane img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--frost); }
.frame-bars { position: absolute; inset: 10px; border-radius: var(--radius); pointer-events: none; background: linear-gradient(90deg, transparent calc(50% - .75px), rgba(255, 255, 255, .36) calc(50% - .75px), rgba(255, 255, 255, .36) calc(50% + .75px), transparent calc(50% + .75px)), linear-gradient(0deg, transparent calc(46% - .75px), rgba(255, 255, 255, .36) calc(46% - .75px), rgba(255, 255, 255, .36) calc(46% + .75px), transparent calc(46% + .75px)); }
.frame-glint { position: absolute; inset: 10px; border-radius: var(--radius); pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .32) 0 11%, transparent 11% 14%, rgba(255, 255, 255, .2) 14% 17%, transparent 17%); }
.frame-hero::before, .frame-local::before { content: ''; position: absolute; z-index: -1; inset: 28px -14px -14px 28px; border-radius: calc(var(--radius) + 10px); background: var(--sky); }
.frame-hero .frame-pane img { object-position: 30% 50%; }
.frame-tall .frame-pane img { aspect-ratio: 3 / 4; }
.frame-dark .frame-pane { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
@media (min-width: 1000px) {
  .frame-hero .frame-pane img { aspect-ratio: 1 / 1.02; }
  .frame-hero::before { inset: 40px -22px -22px 40px; }
}

/* ---------- C12 sweep ---------- */
.sweep { width: 100%; height: 36px; margin-bottom: -1px; }
@media (min-width: 760px) { .sweep { height: 60px; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; }
.hero-home { padding: 20px 0 56px; }
.hero-grid { display: grid; gap: 28px; }
.hero-home .hero-media { position: relative; isolation: isolate; margin-right: 14px; }
.hero-copy .lead { margin-bottom: 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-facts .ico { color: var(--green); }
@media (min-width: 1000px) {
  .hero-home { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
  .hero-home .hero-media { margin-right: 22px; }
  }

/* ---------- C3 inne/ute ---------- */
.duo-band { background: var(--frost); padding: 24px 0 var(--section); }
.section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-bottom: 0; }
.section-head-center { text-align: center; margin-inline: auto; }
@media (min-width: 900px) {
  .section-head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; max-width: none; }
  .section-head-split h2 { margin-bottom: 0; }
  .section-head-split > p { margin: 0; }
}
.duo-panel { display: grid; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(12, 31, 79, .5); }
.duo-half { position: relative; padding: clamp(28px, 4vw, 48px); }
.duo-half h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.6rem; margin-bottom: .4rem; }
.duo-half > p { color: var(--muted); }
.duo-inne { background: #fff; }
.duo-inne h3 .ico { color: var(--link); }
.duo-ute { background: var(--ink); color: #fff; }
.duo-ute > * { position: relative; z-index: 1; }
.duo-ute > p { color: rgba(255, 255, 255, .82); }
.duo-ute h3 .ico { color: var(--sky); }
.duo-ute::before { content: ''; position: absolute; left: 0; right: 0; top: -36px; height: 72px; border-radius: 50%; background: var(--ink); z-index: 0; }
.duo-list a { color: inherit; text-decoration: none; }
.duo-list a:hover { text-decoration: underline; text-decoration-color: var(--sky); }
.duo-list li { display: flex; align-items: center; gap: .7rem; padding: 12px 0; border-top: 1px solid var(--line); font: 700 1.12rem/1.3 var(--display); }
.duo-list li .ico { color: var(--link); }
.duo-ute .duo-list li .ico { color: var(--sky); }
.duo-list .duo-more::before { content: ''; width: 9px; height: 9px; margin-inline: 6.5px; border-radius: 50%; flex: none; }
.duo-ute .duo-list li { border-color: rgba(255, 255, 255, .16); }
.duo-list .duo-more { font: 600 1rem/1.3 var(--body); color: var(--muted); }
.duo-list .duo-more::before { background: transparent; border: 1.5px solid var(--sky); }
@media (min-width: 860px) {
  .duo-panel { grid-template-columns: 1fr 1fr; }
  .duo-inne { padding-right: clamp(72px, 7vw, 96px); }
  .duo-ute::before { top: 0; bottom: 0; right: auto; left: -58px; width: 116px; height: auto; }
  .duo-ute { padding-left: clamp(40px, 4vw, 56px); }
}

/* ---------- C4 service rows ---------- */
.services { padding: var(--section) 0; }
.services-grid { display: grid; gap: 40px; }
.service-rows { display: grid; gap: 0 40px; }
.service-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); position: relative; isolation: isolate; }
/* C17 Rutikon in a pane corner — two L-corners instead of a coloured tile */
.row-icon { position: relative; display: grid; place-items: center; width: 52px; height: 52px; color: var(--ink); }
.row-icon::before, .row-icon::after { content: ''; position: absolute; width: 14px; height: 14px; border: 2px solid var(--sky); transition: transform .3s var(--ease-out); }
.row-icon::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 7px; }
.row-icon::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 7px; }
.service-row h3 { margin-bottom: .3rem; }
.service-row p { margin: 0 0 .3rem; color: var(--muted); }
.service-row .row-note { font-size: .93rem; }
.service-row .row-note span { color: var(--ink); font-weight: 600; }
.service-row-more .row-icon::before, .service-row-more .row-icon::after { border-color: var(--green); }
@media (min-width: 700px) { .service-rows { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
  .services-media { padding-top: 24px; }
}
.services-local { padding-bottom: calc(var(--section) * .6); }
.service-rows-local { grid-template-columns: 1fr !important; border-bottom: 1px solid var(--line); }
.service-rows-local .service-row { grid-template-columns: 52px 1fr 24px; align-items: center; position: relative; transition: background-color .2s ease; border-radius: 0; }
.service-rows-local .service-row:hover { background: var(--frost); }
.service-rows-local h3 a { color: var(--ink); text-decoration: none; }
.service-rows-local h3 a::after { content: ''; position: absolute; inset: 0; }
.service-rows-local h3 a:hover { color: var(--green-deep); }
.service-rows-local .service-row:focus-within { outline: 3px solid var(--sky); outline-offset: -3px; }
.service-rows-local h3 a:focus-visible { outline: none; }
.row-arrow { color: var(--green-deep); }
@media (min-width: 760px) { .service-rows-local .service-row { padding: 22px 16px; } }

/* ---------- C5 outdoor band ---------- */
.outdoor { background: var(--ink); color: #fff; padding: var(--section) 0; }
.outdoor-grid { display: grid; gap: 40px; }
.outdoor .lead { color: rgba(255, 255, 255, .84); }
.method-list { display: grid; gap: 22px; margin: 28px 0 32px; }
.method { border-left: 2px solid var(--sky); padding-left: 18px; }
.method h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.2rem; margin-bottom: .3rem; }
.method h3 .ico { color: var(--sky); }
.method p { color: rgba(255, 255, 255, .84); margin: 0; }
.spark { display: inline-block; width: .38em; height: .38em; margin-left: .14em; border-radius: 50%; background: var(--spark); vertical-align: .08em; }
@media (min-width: 1000px) { .outdoor-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; } }
.outdoor-compact { padding: calc(var(--section) * .8) 0; }
.outdoor-compact-head { max-width: 760px; }
.outdoor-compact-head p { color: rgba(255, 255, 255, .84); }
.method-list-row { margin-bottom: 0; }
@media (min-width: 860px) { .method-list-row { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- C7 steps ---------- */
.process { padding: var(--section) 0; }
.steps { display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; position: relative; }
.step-dot { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); color: var(--ink); position: relative; z-index: 1; }
.step h3 { margin: .55rem 0 .3rem; }
.step p { margin: 0; color: var(--muted); }
.steps:not(.steps-wide) .step:not(:last-child)::after, .steps-wide .step:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 48px; bottom: -22px; width: 2px; background: repeating-linear-gradient(180deg, var(--sky) 0 6px, transparent 6px 11px); }
.steps-compact { gap: 14px; margin: 0 0 8px; }
.steps-compact .step { grid-template-columns: 40px 1fr; }
.steps-compact .step-dot { width: 40px; height: 40px; }
.steps-compact .step:not(:last-child)::after { left: 19px; top: 40px; bottom: -14px; }
.steps-compact .step p { padding-top: 8px; color: var(--ink); }
@media (min-width: 860px) {
  .steps-wide { grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
  .steps-wide .step { grid-template-columns: 1fr; justify-items: center; }
  .steps-wide .step:not(:last-child)::after { left: calc(50% + 34px); right: calc(-50% + 14px); width: auto; top: 23px; bottom: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 6px, transparent 6px 11px); }
  .steps-wide .step p { max-width: 32ch; }
}
.mini-h { margin: 32px 0 14px; font: 700 .8rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- C8 RUT panel ---------- */
.rut { padding: calc(var(--section) * .5) 0 var(--section); }
.rut-panel { display: grid; gap: 28px; background: var(--sky-tint); border-radius: 28px; padding: clamp(24px, 5vw, 56px); }
.rut-copy > p { max-width: 58ch; }
.tick-list { display: grid; gap: 10px; }
.tick-list li { display: flex; gap: .6rem; align-items: flex-start; }
.tick-list .ico { color: var(--green); margin-top: .2rem; }
.rut-side { background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 28px); align-self: start; }
.rut-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.rut-table caption { text-align: left; font: 700 .8rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.rut-table th { text-align: left; font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rut-table td { text-align: right; font-weight: 700; padding: 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rut-total th, .rut-total td { border-bottom: 0; font-weight: 800; font-family: var(--display); font-size: 1.1rem; color: var(--green-deep); }
.rut-applies { margin-bottom: .6em; }
.rut-not { color: var(--muted); }
.rut-source { margin: 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .rut-panel { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.setup-list { display: grid; gap: 12px; margin: 0; }
.setup-list div { background: #fff; border-radius: 16px; padding: 18px 20px; }
.setup-list dt { font: 700 1.1rem/1.2 var(--display); margin-bottom: .3rem; }
.setup-list dd { margin: 0; color: var(--muted); }
@media (min-width: 640px) { .setup-list { grid-template-columns: 1fr 1fr; } }

/* ---------- C6 quotes ---------- */
.reviews { padding: var(--section) 0; }
.quote-row { display: grid; gap: 20px; }
@media (min-width: 900px) { .quote-row { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.quote { margin: 0; padding: 26px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote-mark { font: 800 4.5rem/.7 var(--display); color: var(--sky); height: 2.2rem; }
.quote p { font: 700 1.2rem/1.4 var(--display); letter-spacing: -0.01em; flex: 1; }
.quote footer { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 1rem; }
.quote-side { background: var(--sky-tint); border: 0; }
/* ---------- före/efter: the customer's own before/after pair under the reviews ---------- */
.before-after { margin: 40px 0 0; display: grid; gap: 18px; align-items: center; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 540px; }
.ba-shot { position: relative; }
.ba-shot .frame-pane { padding: 8px; }
.ba-shot .frame-pane img { aspect-ratio: 4 / 5; }
.ba-shot .frame-glint { inset: 8px; }
.ba-tag { position: absolute; top: 18px; left: 18px; padding: .28rem .75rem; border-radius: 999px; background: rgba(12, 31, 79, .88); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.ba-tag-after { background: var(--green); }
.before-after figcaption { color: var(--muted); max-width: 46ch; }
.before-after figcaption strong { display: block; font: 800 1.35rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); margin-bottom: .35rem; }
.before-after .arrow-link { display: flex; width: fit-content; margin-top: .4rem; }
@media (min-width: 900px) { .before-after { grid-template-columns: minmax(0, 540px) 1fr; gap: 44px; margin-top: 48px; } }

/* ---------- about ---------- */
.about { background: var(--frost); padding: var(--section) 0; }
.about-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; } }
.value-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 26px; font-weight: 700; }
.value-list li { display: inline-flex; align-items: center; gap: .4rem; }
.value-list .ico { color: var(--green); }
.slogan { font: 700 clamp(1.45rem, 2.8vw, 1.95rem)/1.2 var(--display); letter-spacing: -0.02em; border-left: 4px solid var(--sky); padding-left: 18px; margin: 0 0 28px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.about-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 0; font: 700 1.05rem/1.3 var(--display); }
@media (min-width: 640px) { .about-facts { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- C9 areas ---------- */
.areas { padding: var(--section) 0; }
.areas-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; } }
.areas-copy p { color: var(--muted); }
.town-chips, .link-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.chip .ico { color: var(--link); }
.chip:hover { background: var(--sky-tint); border-color: var(--sky); }
.chip-home { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-home .ico { color: var(--sky); }
.chip-home:hover { background: #16306F; border-color: #16306F; }
.chip-note { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--spark); margin-left: .2rem; }
.town-chips .chip { font-size: 1.05rem; min-height: 54px; padding: 0 22px; }

/* ---------- C10 FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq-frost { background: var(--frost); }
.faq-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.faq-list { border-top: 1px solid var(--line); margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font: 700 1.12rem/1.35 var(--display); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-deep); }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--field); background: #fff; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a p { margin: 0; padding: 0 48px 22px 0; color: var(--muted); }

/* ---------- C11 offer / form ---------- */
.offer { position: relative; }
.offer.above-frost { background: var(--frost); }
.offer-band { background: var(--ink); color: #fff; padding: 32px 0 var(--section); }
.offer-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .offer-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } .offer-info { padding-top: 12px; } }
.offer-info h2 { color: #fff; }
.offer-info .lead { color: rgba(255, 255, 255, .84); }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { width: 26px; height: 26px; margin-inline: 4px; color: var(--sky); }
.contact-list li { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list span { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.1rem; }
.form-sheet { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.field { margin: 0 0 16px; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--body); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230C1F4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(69, 183, 209, .45); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: block; color: var(--error); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.field-error:empty { display: none; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-choice { border: 0; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex !important; align-items: center; gap: .5rem; min-height: 44px; padding: 0 14px; margin: 0 !important; border: 1.5px solid var(--field); border-radius: 999px; cursor: pointer; font-weight: 500 !important; }
.choice input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) { border-color: var(--green); background: #E9F5E9; }
.choice:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.consent input { accent-color: var(--green); width: 22px; height: 22px; margin: 1px 0 0; flex: none; }
.lead-form .btn { margin-top: 6px; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.form-status--ok { background: #E9F5E9; color: #0B5A1E; }
.form-status--error { background: #FDECEA; color: #8F1B13; }
.form-status--info { background: var(--sky-tint); color: var(--ink); }
.lead-form [data-sending] { opacity: .75; cursor: progress; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 14px; padding-bottom: 4px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '›'; margin: 0 .5rem; color: var(--field); }
.crumbs a { color: var(--link); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- area hub ---------- */
.hero-hub { padding: 28px 0 56px; overflow: hidden; }
.hero-hub h1 { max-width: 16ch; }
.town-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; margin: 44px 0 0; font: 800 clamp(1.7rem, 5vw, 3.6rem)/1.05 var(--display); letter-spacing: -0.03em; color: #3F93AB; }
.town-line .is-home { color: var(--ink); }
.town-line .sep { color: var(--sky); }
.towns { padding: calc(var(--section) * .8) 0; }
.towns-more { background: var(--frost); }
.town-grid { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 720px) { .town-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
.town-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.town-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.town-card h3 { font-size: 1.6rem; margin: 0; }
.town-card > p { color: var(--muted); margin: 0; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.town-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.town-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; background: var(--frost); }
.town-links a:hover { background: var(--sky-tint); border-color: var(--sky); }
.town-card .arrow-link { margin-top: auto; }
.elsewhere { padding: calc(var(--section) * .8) 0 calc(var(--section) * .4); }
.tone-plate { max-width: 880px; background: var(--sky-tint); border-radius: 24px; padding: clamp(24px, 5vw, 48px); }
.tone-plate p { max-width: 62ch; }
.tone-plate .btn { margin-top: 8px; }

/* ---------- local hero / splits ---------- */
.hero-local { padding: 20px 0 clamp(48px, 7vw, 88px); }
.hero-local h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
.local-grid { display: grid; gap: 32px; }
.hero-local .hero-media { position: relative; isolation: isolate; margin-right: 14px; max-width: 560px; }
@media (min-width: 900px) {
  .local-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
  .hero-mirror .local-grid { grid-template-columns: .8fr 1.2fr; }
  .hero-mirror .hero-media { order: -1; }
  .hero-local h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
}
.split { padding: var(--section) 0; }
.split-grid { display: grid; gap: 36px; }
.split-copy p { color: var(--muted); }
.local-split { background: var(--frost); }
.local-split .frame { max-width: 560px; margin-right: 14px; }
@media (min-width: 900px) {
  .split-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .split-rev .frame { order: 2; }
}
.local-note { padding: calc(var(--section) * .5) 0 var(--section); }
.factbox { background: var(--frost); border-left: 4px solid var(--sky); border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.factbox h3, .factbox h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.factbox-wide { max-width: 880px; }
.factbox-wide h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.factbox-wide > p { color: var(--muted); margin: 0; max-width: 64ch; }
.factbox .factbox-note { max-width: none; display: flex; gap: .5rem; align-items: flex-start; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.factbox-note .ico { color: var(--green); margin-top: .2rem; }
@media (min-width: 700px) { .factbox-cols .tick-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.angle { padding: var(--section) 0 calc(var(--section) * .7); }
.angle-grid { display: grid; gap: 40px; }
.angle-copy > p { max-width: 66ch; }
@media (min-width: 1000px) {
  .angle-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
  .angle-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.angle-narrow { max-width: 780px; }
.angle-steps .steps-wide { margin-top: 8px; }
.included { padding: calc(var(--section) * .6) 0; }
.page-cell .included:first-of-type { padding-top: 8px; }
.related { padding: var(--section) 0; border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.related-grid { display: grid; gap: 8px 48px; }
@media (min-width: 900px) { .related-grid { grid-template-columns: 1.2fr .8fr; } }
.related .mini-h { margin-top: 16px; }
.link-chips .chip { min-height: 44px; font-size: .95rem; padding: 0 16px; }
.link-inline { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.link-inline a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }
.related-more { margin: 10px 0 0; }

/* ---------- privacy / 404 ---------- */
.policy { padding: 32px 0 var(--section); }
.policy-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.policy-body { margin-top: 28px; padding: clamp(22px, 4vw, 40px); background: var(--frost); border-radius: 22px; }
.policy-body h2 { font-size: 1.4rem; margin-top: 1.8rem; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body h3 { font-size: 1.12rem; margin-top: 1.4rem; }
.policy-body ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1em; }
.policy-body li { margin-bottom: .35em; }
.hero-404 { padding-bottom: var(--section); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .82); font-size: .98rem; }
.foot-grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 36px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 40px; } }
.foot-logo { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; margin-bottom: 14px; }
.foot-name { color: #fff; font: 700 1.1rem/1.3 var(--display); margin-bottom: .3rem; }
.foot-slogan { margin: 0; }
.foot-h { color: var(--sky); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.foot-col li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.foot-col li > .ico, .foot-col a .ico { color: var(--sky); margin-top: .25rem; }
.foot-col a { color: #fff; text-decoration: none; display: inline-flex; gap: 10px; align-items: flex-start; min-height: 32px; padding: 2px 0; }
.foot-col a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: #fff; display: inline-flex; align-items: center; min-height: 32px; }


/* ---------- media size below desktop: frames never dominate a stacked layout ---------- */
@media (max-width: 999px) {
  .hero-home .hero-media, .outdoor-media .frame, .about-media .frame, .services-media .frame { max-width: 600px; }
  .frame-tall .frame-pane img { aspect-ratio: 16 / 10; }
}

/* ---------- outdoor band: the customer's own glass-partition photo ---------- */
.outdoor-media { display: grid; gap: 20px; }
.frame-work { display: grid; grid-template-columns: minmax(0, 240px) 1fr; gap: 18px; align-items: end; max-width: 600px; }
.frame-work .frame-pane img { aspect-ratio: 360 / 413; }
.frame-work figcaption { color: rgba(255, 255, 255, .84); font-size: .95rem; line-height: 1.45; padding-bottom: 10px; }
.frame-work figcaption strong { display: block; color: #fff; font-family: var(--display); font-size: 1.05rem; margin-bottom: .2rem; }
@media (max-width: 479px) { .frame-work { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; } }
@media (max-width: 999px) { .outdoor-copy { order: -1; } }

/* ---------- cross-sell on local pages: tak, fasad och klotter ---------- */
.cross { padding: 0 0 calc(var(--section) * .6); }
.cross-panel { display: grid; gap: 20px; align-items: center; background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 36px) clamp(22px, 4vw, 40px); }
.cross-copy h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .4rem; }
.cross-copy p { margin: 0; color: rgba(255, 255, 255, .84); max-width: 56ch; }
.cross-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cross-list li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.cross-list .ico { color: var(--sky); }
.cross-panel .btn { justify-self: start; }
@media (min-width: 1000px) { .cross-panel { grid-template-columns: 1.4fr 1fr auto; gap: 32px; } .cross-list { flex-direction: column; } }

/* ---------- wide editorial blocks on desktop: heading left, text right (no empty right half) ---------- */
.included-wide .factbox-wide { max-width: none; }
@media (min-width: 1000px) {
  .factbox-cols .tick-list { grid-template-columns: repeat(3, 1fr); }
  .local-note .factbox-wide, .local-note .tone-plate { max-width: none; display: grid; grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: start; }
  .local-note h2 { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
  .local-note .factbox-wide > p, .local-note .tone-plate > p { grid-column: 2; grid-row: 1; margin: 0; max-width: 64ch; }
  .local-note .tone-plate > .arrow-link { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 8px; }
}

@media print { .site-header, .offer, .site-footer { display: none; } }

/* =====================================================================================================
   Visual energy (revision 2026-09-30) — L8 Rent svep: the surface goes from muted to clear.
   C16 Klart svep (frame wipe · drawn sweep line · shine on glass) · C17 Rutikon · one-shot reveals.
   Motion only animates opacity/transform/clip-path/stroke-dashoffset; html.js is set before the first paint;
   prefers-reduced-motion (end of this block) shows everything at once and stops all decorative movement.
   ===================================================================================================== */

/* ---------- icons: the glint accent of the Rutikoner ---------- */
.ico .ia { stroke: var(--sky); }
.duo-ute .ico .ia, .outdoor .ico .ia, .offer .ico .ia, .cross-panel .ico .ia { stroke: #fff; }

/* ---------- one-shot reveal (data-reveal) — stagger via --i, hover properties keep their own timing ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition-property: opacity, transform, translate, box-shadow, border-color, background-color;
  transition-duration: .6s, .6s, .25s, .25s, .25s, .25s;
  transition-timing-function: var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s, 0s;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* icon lines are drawn once their block has arrived */
.js [data-reveal] .ico-draw :is(path, rect, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease-out) calc(var(--i, 0) * 70ms + .25s); }
.js [data-reveal].is-in .ico-draw :is(path, rect, circle) { stroke-dashoffset: 0; }
@keyframes ia-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

/* ---------- C16 Klart svep: the photo starts misted and a squeegee blade wipes it clear, once ---------- */
.frame-wipe { display: none; }
.js [data-wipe] .frame-wipe { display: block; position: absolute; inset: 10px; z-index: 2; overflow: hidden; border-radius: var(--radius); pointer-events: none; }
.js .ba-shot[data-wipe] .frame-wipe { inset: 8px; }
.frame-wipe::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -14%; width: 128%;
  background: linear-gradient(112deg, rgba(236, 244, 248, .5), rgba(206, 222, 231, .34) 46%, rgba(236, 244, 248, .52));
  -webkit-backdrop-filter: blur(3.5px) saturate(.55); backdrop-filter: blur(3.5px) saturate(.55);
  border-left: 3px solid rgba(255, 255, 255, .95); box-shadow: -12px 0 28px rgba(69, 183, 209, .6);
  transform: skewX(-9deg);
  transition: transform 1.3s var(--ease-wipe) .12s, visibility 0s linear 1.5s;
}
.js [data-wipe].is-in .frame-wipe::before { transform: skewX(-9deg) translateX(106%); visibility: hidden; }

/* the shine that travels over the glass in the hero (never covers the LCP image — a soft light band on top) */
.frame-shine { position: absolute; inset: 10px; z-index: 2; overflow: hidden; border-radius: var(--radius); pointer-events: none; }
.frame-shine::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 36%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, 0) 85%);
  transform: translateX(-130%) skewX(-14deg); animation: shine 9s var(--ease-wipe) 1.4s infinite;
}
@keyframes shine { 0% { transform: translateX(-130%) skewX(-14deg); } 24%, 100% { transform: translateX(340%) skewX(-14deg); } }

/* ---------- sweep curves: the edge is drawn as one clean line (data-draw) ---------- */
.sweep { display: block; }
.sweep-line { fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js [data-draw] .sweep-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-wipe) .1s; }
.js [data-draw].is-in .sweep-line { stroke-dashoffset: 0; }
.outdoor { position: relative; isolation: isolate; }
.sweep-in { position: absolute; left: 0; top: 1px; transform: translateY(-100%); }
.sweep-out { position: absolute; left: 0; bottom: -1px; }
.outdoor { padding-bottom: calc(var(--section) + 24px); }
.outdoor-compact { padding-bottom: calc(var(--section) * .8 + 30px); }
.page-local .outdoor-compact { margin-top: 36px; }
@media (min-width: 760px) { .page-local .outdoor-compact { margin-top: 60px; } .outdoor { padding-bottom: calc(var(--section) + 44px); } }

/* ---------- ambient: soft lights drifting slowly inside the deep-blue bands ---------- */
.band-lights { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.band-lights::before, .band-lights::after { content: ''; position: absolute; width: min(620px, 70vw); aspect-ratio: 1; border-radius: 50%; }
.band-lights::before { top: -30%; right: -12%; background: radial-gradient(closest-side, rgba(69, 183, 209, .26), rgba(69, 183, 209, 0)); animation: drift-a 26s ease-in-out infinite alternate; }
.band-lights::after { bottom: -38%; left: -14%; background: radial-gradient(closest-side, rgba(92, 230, 92, .12), rgba(92, 230, 92, 0)); animation: drift-b 32s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-9%, 14%) scale(1.14); } }
@keyframes drift-b { to { transform: translate(12%, -10%) scale(.9); } }
.offer-band, .duo-ute, .cross-panel { position: relative; isolation: isolate; }
.duo-ute::before { z-index: -2; }

/* ---------- home hero: a soft sky glow behind the frame (the depth comes from the plate, shadow and shine) ---------- */
.hero-home { isolation: isolate; overflow-x: clip; }
.hero-home::before { content: ''; position: absolute; z-index: -1; top: -10%; right: -6%; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(230, 245, 249, .95), rgba(230, 245, 249, 0)); pointer-events: none; }

/* ---------- buttons: a glint sweeps the primary, press states everywhere ---------- */
.btn-primary::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 50%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .3), rgba(255, 255, 255, 0)); transform: translateX(-130%) skewX(-18deg); transition: transform .7s var(--ease-wipe); }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(260%) skewX(-18deg); }
.btn-primary:hover { box-shadow: 0 12px 24px -14px rgba(0, 99, 31, .85); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ghost:hover { background: var(--frost); }
.btn-ghost:hover .ico, .head-phone:hover .ico { animation: ring .55s ease; }
@keyframes ring { 20% { transform: rotate(-14deg); } 40% { transform: rotate(11deg); } 60% { transform: rotate(-7deg); } 80% { transform: rotate(3deg); } }
.btn-light:hover .ico { transform: translateX(3px); }
.head-phone { transition: border-color .2s ease, background-color .2s ease; }
.head-phone:hover { border-color: var(--ink); }
.nav-list a { transition: color .2s ease; }
.nav-list a:hover { color: var(--green-deep); }

/* ---------- mobile menu: the entries glide in at full opacity (readable and tappable from the first frame) ---------- */
@media (max-width: 999px) {
  .site-header.is-open .nav-list li, .site-header.is-open .nav-extra { animation: nav-in .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close .ico { animation: turn-in .3s var(--ease-out); }
}
@keyframes nav-in { from { transform: translateY(10px); } to { transform: none; } }
@keyframes turn-in { from { transform: rotate(-90deg); } }

/* ---------- service rows: the whole row is the link, a frost sweep answers the pointer ---------- */
.service-row::before { content: ''; position: absolute; z-index: -1; inset: 0 -14px; border-radius: 16px; background: linear-gradient(90deg, var(--sky-tint), var(--frost) 62%, rgba(244, 248, 250, 0)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.service-row:hover::before, .service-row:focus-within::before { transform: scaleX(1); }
.service-row:hover .row-icon::before, .service-row:focus-within .row-icon::before { transform: translate(-3px, -3px); }
.service-row:hover .row-icon::after, .service-row:focus-within .row-icon::after { transform: translate(3px, 3px); }
.service-row:hover .ico .ia { animation: ia-draw .7s var(--ease-out); }
.services-grid .service-row .arrow-link::after { content: ''; position: absolute; inset: 0; }
.services-grid .service-row:hover .arrow-link .ico { transform: translateX(4px); }
.services-grid .service-row:active::before, .service-rows-local .service-row:active::before { transform: scaleX(1); background: var(--sky-tint); }
.service-rows-local .service-row:hover { background: transparent; }
.service-rows-local .service-row:hover .row-arrow { transform: translateX(4px); }
.row-arrow { transition: transform .25s var(--ease-out); }
@media (min-width: 1000px) { .services-media { position: sticky; top: calc(var(--header-h) + 28px); } }

/* ---------- the dark bands: methods, cross panel ---------- */
.method { transition: border-color .25s ease; }
.method:hover { border-color: var(--spark); }
.method h3 .ico { width: 28px; height: 28px; }
.cross-list .ico { width: 26px; height: 26px; }

/* ---------- process: a sky surface, the connector is drawn to the next step ---------- */
.process { background: linear-gradient(180deg, var(--sky-tint), #fff 88%); padding-top: calc(var(--section) * .7); }
.step-dot { transition: box-shadow .3s ease; }
.js .steps .step[data-reveal]:not(:last-child)::after { clip-path: inset(0 100% 100% 0); transition: clip-path .9s var(--ease-out) calc(var(--i, 0) * 70ms + .4s); }
.js .steps .step[data-reveal].is-in:not(:last-child)::after { clip-path: inset(0); }
.js .step[data-reveal].is-in .step-dot { animation: ring-out 1.1s var(--ease-out) calc(var(--i, 0) * 70ms + .2s); }
@keyframes ring-out { from { box-shadow: 0 0 0 0 rgba(69, 183, 209, .55); } to { box-shadow: 0 0 0 14px rgba(69, 183, 209, 0); } }
.step-dot .ico { width: 22px; height: 22px; }

/* ---------- quotes, cards, chips: they lift a little (translate composes with the reveal transform) ---------- */
.quote { transition: translate .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease; }
.quote:hover { translate: 0 -3px; border-color: var(--sky); box-shadow: 0 22px 40px -30px rgba(12, 31, 79, .5); }
.chip { transition: background-color .2s ease, border-color .2s ease, translate .2s var(--ease-out), box-shadow .2s ease; }
.chip:hover { translate: 0 -2px; box-shadow: 0 12px 22px -16px rgba(12, 31, 79, .55); }
.chip:hover .ico { animation: hop .45s var(--ease-out); }
.chip:active { translate: 0 0; }
@keyframes hop { 40% { transform: translateY(-3px); } }
.town-card { position: relative; overflow: hidden; }
.town-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sky), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.town-card:hover::before, .town-card:focus-within::before { transform: scaleX(1); }
.town-card:hover { translate: 0 -3px; border-color: var(--sky); box-shadow: 0 26px 44px -34px rgba(12, 31, 79, .55); }
.town-links a { transition: background-color .2s ease, border-color .2s ease; }

/* ---------- areas: rings, like water on glass, behind the town chips (no coverage claim — decoration) ---------- */
.areas { position: relative; isolation: isolate; overflow: hidden; }
.ripples { position: absolute; z-index: -1; right: -180px; top: 50%; width: 760px; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, rgba(69, 183, 209, 0) 0 46px, rgba(69, 183, 209, .2) 46px 47.5px); -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent); animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(.92); } to { transform: scale(1.06); } }
@media (max-width: 899px) { .ripples { right: -320px; top: auto; bottom: -260px; translate: 0 0; } }

/* ---------- area hub: the town line goes from misted to sharp, once ---------- */
.js .town-line .town { animation: clear-up .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + .1s); }
@keyframes clear-up { from { opacity: .2; filter: blur(6px); } to { opacity: 1; filter: none; } }

/* ---------- FAQ: a sky bar grows on the open item, the answer eases in (follows [open]) ---------- */
.faq-item { position: relative; }
.faq-item::before { content: ''; position: absolute; left: -16px; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--sky); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease-out); }
.faq-item[open]::before { transform: scaleY(1); }
.faq-item[open] .faq-a { animation: faq-in .35s var(--ease-out) both; }
@keyframes faq-in { from { opacity: .35; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-icon { transition: border-color .2s ease, background-color .2s ease; }
.faq-item summary:hover .faq-icon { border-color: var(--ink); }
.faq-item summary { transition: color .2s ease; }

/* ---------- form: the label follows focus ---------- */
.field label, .field legend { transition: color .2s ease; }
.field:focus-within > label { color: var(--link); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.choice { transition: border-color .2s ease, background-color .2s ease; }
.choice:hover { border-color: var(--ink); }

/* ---------- reduced motion: content at once, frames clear, lines drawn, nothing drifts ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js [data-reveal] .ico-draw :is(path, rect, circle), .js [data-draw] .sweep-line { stroke-dashoffset: 0; transition: none; }
  .js [data-wipe] .frame-wipe, .frame-shine { display: none; }
  .js .steps .step[data-reveal]::after { clip-path: none; transition: none; }
  .band-lights::before, .band-lights::after, .ripples, .js .town-line .town, .js .step[data-reveal].is-in .step-dot,
  .site-header.is-open .nav-list li, .site-header.is-open .nav-extra, .faq-item[open] .faq-a,
  .btn-ghost:hover .ico, .head-phone:hover .ico, .chip:hover .ico, .service-row:hover .ico .ia, .nav-toggle[aria-expanded="true"] .nav-toggle-close .ico { animation: none; }
  .btn, .btn .ico, .btn-primary::after, .arrow-link .ico, .chip, .quote, .town-card, .town-card::before, .town-links a, .service-row::before,
  .row-icon::before, .row-icon::after, .row-arrow, .faq-item::before, .faq-icon::before, .faq-icon::after, .nav-list a::after, .method { transition: none; }
  .btn-primary::after { display: none; }
  .btn:active, .quote:hover, .chip:hover, .town-card:hover { transform: none; translate: none; }
}

/* ---------- rhythm: contained panels (RUT) do not need a full section of air on both sides ---------- */
.page-home .process { padding-bottom: calc(var(--section) * .55); }
.page-home .rut { padding-bottom: calc(var(--section) * .5); }
.page-home .reviews { padding-top: calc(var(--section) * .6); }

/* the lights never touch a band edge that meets a sweep curve (no visible seam) */
.outdoor > .band-lights::before, .offer-band > .band-lights::before { top: 8%; }
.offer-band > .band-lights::after { bottom: 2%; }
/* the open mobile menu: a soft sky light rises from the bottom corner */
@media (max-width: 999px) { .site-header.is-open .site-nav { background: radial-gradient(130% 55% at 100% 100%, var(--sky-tint), rgba(230, 245, 249, 0) 70%), #fff; } }

/* ---------- K16: steps start at the top — a longer neighbour never pushes a heading down ---------- */
.steps-wide .step { align-content: start; }

/* ---------- K18: local pages — editorial split for the steps angle, a drawn arc in text-only panels, tighter air ---------- */
.tone-plate, .factbox-wide { position: relative; }
.plate-sweep { display: none; }
@media (min-width: 1000px) {
  .angle-steps .angle-narrow { max-width: none; display: grid; grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: start; }
  .angle-steps .angle-narrow h2 { grid-column: 1; grid-row: 1 / span 8; position: sticky; top: calc(var(--header-h) + 28px); }
  .angle-steps .angle-narrow > p { grid-column: 2; max-width: 64ch; }
  .local-note .plate-sweep { display: block; position: absolute; left: clamp(24px, 5vw, 48px); bottom: clamp(28px, 4vw, 44px); width: min(240px, 30%); height: 40px; overflow: visible; }
  .local-note .factbox-wide .plate-sweep { left: clamp(22px, 3vw, 32px); }
  .local-note .tone-plate, .local-note .factbox-wide { min-height: 260px; }
}
.page-cell .angle { padding-top: calc(var(--section) * .6); padding-bottom: calc(var(--section) * .5); }
.page-cell .rut { padding-bottom: calc(var(--section) * .5); }
.page-cell .local-note, .page-local .local-note { padding-bottom: calc(var(--section) * .5); }
.page-cell .faq { padding-top: calc(var(--section) * .6); }
