/* SoWash · glazenwasserij
   Brand: ultramarine on cream (from the van and the logo).
   Type: Gloock (display) + Schibsted Grotesk (text), self-hosted. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Gloock';
  src: url('../assets/fonts/gloock-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  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: 'Gloock';
  src: url('../assets/fonts/gloock-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../assets/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  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: 'Schibsted Grotesk';
  src: url('../assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* the logo's own colours */
  --blue: #0606c8;
  --blue-deep: #04048f;
  --night: #07073a;
  --cream: #eee7d5;
  --cream-light: #f6f1e4;
  --paper: #f4efe3;
  --ink: #0d0d3a;
  --ink-soft: #46476e;
  --cream-deep: #e2d7bf;
  --frame: #f9f6ee;
  --steel: #16163a;
  --bluestone: #565c66;
  --line: rgb(13 13 58 / 0.12);
  --line-strong: rgb(13 13 58 / 0.26);
  --on-blue: #eee7d5;
  --on-blue-soft: rgb(238 231 213 / 0.76);
  --glass-tint: #e7e9f2;

  --f-display: 'Gloock', 'Iowan Old Style', Georgia, serif;
  --f-text: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --header-h: 76px;
  --section: clamp(96px, 12vw, 176px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-wipe: cubic-bezier(0.7, 0, 0.3, 1);
}

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.has-scene { scroll-behavior: auto; }
html.is-intro { overflow: hidden; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: var(--on-blue); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--on-blue); padding: 12px 18px; border-radius: 3px; text-decoration: none;
}
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.todo { background: #ffe36e; color: #3b2f00; padding: 0 4px; border-radius: 2px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-size: clamp(3.3rem, 1.4rem + 6vw, 7.4rem);
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: var(--blue);
  text-wrap: balance;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3rem); line-height: 1.5; }
.link {
  display: inline-flex; align-items: center; gap: 0.5em;
  color: var(--blue); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease-wipe);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--on-blue);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 3px;
  background: var(--bg); color: var(--fg);
  font: 500 1rem/1 var(--f-text); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
/* a glint passes over the button, like light over a clean pane */
.btn::after {
  content: ""; position: absolute; z-index: -1; top: -10%; bottom: -10%; left: 0; width: 38%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.26), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
.btn:hover::after { transform: translateX(330%) skewX(-20deg); transition: transform 0.75s var(--ease-wipe); }
.btn:hover { --bg: var(--blue-deep); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn--wide { width: 100%; }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--line:hover { --bg: transparent; --fg: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn--line::after { background: linear-gradient(90deg, transparent, rgb(28 31 174 / 0.08), transparent); }
.btn--light { --bg: var(--frame); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 70;
  height: var(--header-h);
  color: var(--ink);
  transition: background-color 0.45s, box-shadow 0.45s, color 0.45s;
}
.site-header.is-scrolled {
  background: rgb(244 239 227 / 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-dark, .site-header.is-dark-hero { color: var(--cream); }
.site-header.is-scrolled.is-dark, .site-header.is-scrolled.is-dark-hero {
  background: rgb(7 7 58 / 0.42);
  box-shadow: 0 1px 0 rgb(238 231 213 / 0.12);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; color: var(--blue); text-decoration: none; line-height: 0; transition: color 0.45s; }
.is-dark .brand, .is-dark-hero .brand { color: var(--cream); }
.brand-mark { height: clamp(40px, 3.6vw, 52px); width: auto; aspect-ratio: 900 / 430; fill: currentColor; }
.nav { display: flex; gap: 30px; margin-inline: auto; }
.nav a, .foot-col a { position: relative; text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-wipe);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.tel:hover { opacity: 0.75; }
.is-dark .btn--sm, .is-dark-hero .btn--sm { --bg: var(--cream); --fg: var(--blue); }
.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font-weight: 500; font-size: 0.9375rem; color: inherit;
}
.menu-toggle-lines { position: relative; width: 22px; height: 10px; }
.menu-toggle-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out); }
.menu-toggle-lines i:first-child { top: 0; }
.menu-toggle-lines i:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--blue); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1.12;
  color: var(--cream); text-decoration: none;
  opacity: 0; transform: translateY(14px); animation: menuIn 0.6s var(--ease-out) forwards;
}
.menu nav a:nth-child(2) { animation-delay: 0.04s; }
.menu nav a:nth-child(3) { animation-delay: 0.08s; }
.menu nav a:nth-child(4) { animation-delay: 0.12s; }
.menu nav a:nth-child(5) { animation-delay: 0.16s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu-foot { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.menu-foot a { text-decoration: none; }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .brand { color: var(--cream); }
.menu-open .btn--sm { --bg: var(--cream); --fg: var(--blue); }

/* ---------- Shutters (intro) ---------- */
.shutters {
  position: fixed; inset: 0; z-index: 100;
  perspective: 1800px;
  --shade: 1;
  animation: shuttersFailsafe 0s linear 9s forwards;
}
.shutters::before { content: ""; position: absolute; inset: 0; background: rgb(7 7 58 / calc(0.5 * var(--shade))); }
@keyframes shuttersFailsafe { to { visibility: hidden; } }
.no-js .shutters, .intro-seen .shutters, .no-scene .shutters { display: none; }
.shutter {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background: var(--blue);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.2);
}
.shutter--l { left: 0; transform-origin: 0 50%; }
.shutter--r { right: 0; transform-origin: 100% 50%; }
.shutter i {
  position: absolute; inset: 5% 9%;
  border: 2px solid rgb(238 231 213 / 0.1);
  background: repeating-linear-gradient(180deg, transparent 0 24px, rgb(0 0 0 / 0.16) 24px 26px, rgb(255 255 255 / 0.05) 26px 28px);
}
.shutter--l::after, .shutter--r::after {
  content: ""; position: absolute; top: 72%; width: 10px; height: 52px; border-radius: 3px; background: #0a0a60;
  box-shadow: inset 0 0 0 1px rgb(238 231 213 / 0.12);
}
.shutter--l::after { right: 14px; }
.shutter--r::after { left: 14px; }
.shutters-logo {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: min(78vw, 660px);
  transform: translate(-50%, -50%);
  color: var(--cream);
}
.shutters-logo svg { display: block; width: 100%; height: auto; fill: currentColor; overflow: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--cream); }
.stage {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 42%, rgb(255 252 242 / 0.65), transparent 70%),
    var(--cream);
}
.view-wrap { position: absolute; inset: 0; z-index: 0; clip-path: inset(50% 50% 50% 50%); }
.view-wrap picture { display: contents; }
.view { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.view-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 7 58 / 0.2) 0%, rgb(7 7 58 / 0.25) 45%, rgb(7 7 58 / 0.85) 100%); opacity: 0; }

.rig {
  --wh: min(66vh, 66svh, 780px, calc(100svh - 230px));
  --ww: calc(var(--wh) * 0.68);
  --wy: 50.5%;
  position: absolute; inset: 0; z-index: 1;
  transform-style: preserve-3d;
  pointer-events: none;
}
.opening {
  --d: clamp(22px, 2.6vh, 32px);
  position: absolute;
  left: calc(50% - var(--ww) / 2); top: calc(var(--wy) - var(--wh) / 2);
  width: var(--ww); height: var(--wh);
  transform-style: preserve-3d;
}
/* the depth of the wall: four reveal faces */
.rv { position: absolute; display: block; background: var(--cream-deep); }
.rv-t { left: 0; right: 0; top: 0; height: var(--d); transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(180deg, #d9cdb1, #cbbd9d); }
.rv-b { left: 0; right: 0; bottom: 0; height: var(--d); transform-origin: 50% 100%; transform: rotateX(90deg); background: linear-gradient(0deg, #efe8d7, #e2d7bf); }
.rv-l { top: 0; bottom: 0; left: 0; width: var(--d); transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(90deg, #d6c9ac, #c9bb9a); }
.rv-r { top: 0; bottom: 0; right: 0; width: var(--d); transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(270deg, #e7dec9, #dacfb5); }

/* the cross window, set back into the wall */
.raam {
  --f: clamp(11px, 1.6vh, 18px);
  --b: calc(var(--f) * 0.66);
  --tp: 31%;
  position: absolute; inset: 0;
  transform: translateZ(calc(var(--d) * -0.55));
  transform-style: preserve-3d;
  border: var(--f) solid var(--frame);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06), inset 2px 3px 0 rgb(255 255 255 / 0.9), 0 0 0 1px rgb(80 60 30 / 0.08);
}
.raam-top {
  position: absolute; left: 0; right: 0; top: 0; height: var(--tp);
  border: var(--b) solid var(--frame);
  transform-origin: 50% 100%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
.raam-top .pane { position: absolute; top: 0; bottom: 0; width: calc(50% - var(--b) / 2); }
.raam-top .pane:first-child { left: 0; right: auto; }
.raam-top .pane:nth-child(2) { left: auto; right: 0; }
.raam-top-bar { position: absolute; top: 0; bottom: 0; left: calc(50% - var(--b) / 2); width: var(--b); background: var(--frame); box-shadow: 3px 4px 8px -3px rgb(0 0 0 / 0.35); }
.kalf { position: absolute; left: 0; right: 0; top: var(--tp); height: var(--f); background: var(--frame); box-shadow: inset 0 1px 0 #fff, 0 6px 10px -6px rgb(0 0 0 / 0.4); }
.vleugel {
  position: absolute; top: calc(var(--tp) + var(--f)); bottom: 0; width: 50%;
  border: var(--b) solid var(--frame);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06), 0 0 0 0.5px rgb(0 0 0 / 0.08);
}
.vleugel--l { left: 0; transform-origin: 0 50%; }
.vleugel--r { right: 0; transform-origin: 100% 50%; }
.pane {
  position: absolute; inset: 0; overflow: hidden;
  box-shadow: inset 4px 5px 10px -4px rgb(0 0 0 / 0.38);
}
/* glass catches the light as a casement swings open */
.vleugel .pane { background: linear-gradient(120deg, rgb(255 255 255 / calc(var(--open, 0) * 0.22)), rgb(210 225 240 / calc(var(--open, 0) * 0.3))); }
.pane .fog { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: opacity 0.9s ease; }
.fog.is-gone { opacity: 0; }
.glint {
  position: absolute; inset: -20% -80%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgb(255 255 255 / 0.32) 47%, rgb(255 255 255 / 0.08) 52%, transparent 57%);
  transform: translateX(calc(-55% + var(--open, 0) * 110%));
  mix-blend-mode: screen;
  opacity: calc(0.15 + var(--open, 0) * 0.85);
}
.is-shining .glint { animation: shine 1.5s var(--ease-wipe); }
@keyframes shine { from { transform: translateX(-60%); opacity: 1; } to { transform: translateX(60%); opacity: 1; } }
.kruk {
  position: absolute; z-index: 3; left: calc(var(--b) * -0.15); top: 44%;
  width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6b6d7a, #1f2028);
  transform-origin: 50% 50%;
}
.kruk i {
  position: absolute; left: 3px; top: 5px; width: 6px; height: 38px; border-radius: 3px;
  background: linear-gradient(90deg, #26272f, #555764 55%, #26272f);
  box-shadow: 2px 4px 6px rgb(0 0 0 / 0.3);
}
.sill {
  position: absolute;
  left: calc(50% - var(--ww) / 2 - var(--ww) * 0.05); width: calc(var(--ww) * 1.1);
  top: calc(var(--wy) + var(--wh) / 2); height: clamp(12px, 1.7vh, 20px);
  background: linear-gradient(180deg, #7a818b 0 2px, #5d636d 2px 55%, #474c55);
  box-shadow: 0 16px 24px -12px rgb(60 45 20 / 0.45);
}

/* headline in two halves on the wall */
.hero-title {
  position: absolute; inset: 0; margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 5.8vw, 8.2rem); line-height: 0.92; letter-spacing: -0.025em;
  color: var(--blue);
}
.ht { position: absolute; top: calc(var(--wy) - 0.95em); }
.ht > span { display: block; }
.ht-l { right: calc(50% + var(--ww) / 2 + clamp(28px, 3.4vw, 64px)); text-align: right; }
.ht-r { left: calc(50% + var(--ww) / 2 + clamp(28px, 3.4vw, 64px)); }

.hud {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  padding: 0 var(--gutter) clamp(16px, 3vh, 30px);
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft);
}
.hud-tag { margin: 0; max-width: 30ch; }
.hud-cue {
  justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: 0; padding: 6px 10px; cursor: pointer;
  font: 500 0.8125rem/1.2 var(--f-text); color: var(--blue);
}
.cue-handle { position: relative; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--blue); }
.cue-handle i {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 13px; margin-left: -1.5px; border-radius: 2px; background: var(--blue);
  transform-origin: 50% 0; animation: cueTurn 2.6s var(--ease-wipe) infinite;
}
@keyframes cueTurn { 0%, 20% { transform: rotate(0); } 50%, 70% { transform: rotate(90deg); } 100% { transform: rotate(0); } }
.hud-right { justify-self: end; }
.rewash {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 2px;
  background: none; border: 0; cursor: pointer; color: var(--ink-soft);
  font: 500 0.8125rem/1 var(--f-text);
}
.rewash:hover { color: var(--blue); }
.rewash .icon { transition: transform 0.6s var(--ease-out); }
.rewash:hover .icon { transform: rotate(-120deg); }
.rewash:disabled { opacity: 0.4; cursor: default; }

.outro {
  position: absolute; z-index: 4;
  left: 0; right: 0; bottom: clamp(36px, 7vh, 84px);
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  color: var(--cream);
  opacity: 0; visibility: hidden;
}
.outro-statement {
  text-shadow: 0 2px 40px rgb(7 7 58 / 0.45);
  font-family: var(--f-display); font-size: clamp(2.3rem, 1.2rem + 4.4vw, 6rem); line-height: 0.98; letter-spacing: -0.02em;
  max-width: 14ch; margin: 0 0 clamp(24px, 4vh, 40px);
  text-wrap: balance;
}
.outro-row {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px;
  padding-top: 22px; border-top: 1px solid rgb(238 231 213 / 0.3);
}
.outro-row p { margin: 0; max-width: 50ch; color: rgb(238 231 213 / 0.86); font-size: 1.0625rem; }

/* static fallback (no animation libraries, or reduced motion) */
.no-scene .view-wrap { clip-path: none; }
.no-scene .view { transform: none; }
.no-scene .outro { display: none; }

/* the squeegee (built by glass.js) */
.sq {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 14px; height: var(--L);
  margin: calc(var(--L) / -2) 0 0 -7px;
  will-change: transform;
  filter: drop-shadow(3px 8px 6px rgb(0 0 0 / 0.28));
  transition: opacity 0.3s;
  pointer-events: none;
}
.sq i { position: absolute; display: block; }
.sq-bar { inset: 0 3px 0 0; border-radius: 2px; background: linear-gradient(90deg, #7f868e, #e7eaec 40%, #b7bdc2 70%, #858c93); }
.sq-rubber { top: 1px; bottom: 1px; right: 0; width: 3px; border-radius: 2px; background: #121318; }
.sq-grip {
  top: 50%; right: calc(100% - 4px);
  width: calc(var(--L) * 0.42); height: 15px; margin-top: -7.5px;
  border-radius: 8px 3px 3px 8px;
  background: linear-gradient(180deg, #3a3af0, var(--blue) 45%, #03036e);
}
.sq-grip::after {
  content: ""; position: absolute; left: 22%; right: 26%; top: 5px; height: 5px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.22) 0 2px, transparent 2px 5px);
}

/* ---------- Face ---------- */
.face { padding: var(--section) 0 calc(var(--section) * 0.75); background: var(--paper); }
.face-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.face-visual { position: relative; padding-bottom: 16%; }
.face-art { margin: 0; color: var(--blue); width: 76%; }
.face-photo { position: absolute; right: 0; bottom: 0; width: 36%; margin: 0; z-index: 2; transform: rotate(2.5deg); }
.face-pane {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: #cfd2e8;
  border: clamp(6px, 0.7vw, 10px) solid var(--frame);
  box-shadow: 0 0 0 1px var(--line), 0 28px 56px -26px rgb(13 13 58 / 0.5);
}
.face-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.face-pane .fog { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: opacity 0.9s ease; }
.face-pane::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 4px 5px 10px -4px rgb(0 0 0 / 0.4); }

.face-art svg { display: block; width: 100%; height: auto; fill: currentColor; }
.face-copy .h2 { max-width: 15ch; }
.face-lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem); line-height: 1.5; max-width: 40ch; margin: 28px 0 0; }
.face-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.face-cols > div { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.face-cols > div:nth-child(2) { transition-delay: 0.1s; }
.face-cols h3 { font: 600 1.0625rem/1.3 var(--f-text); margin-bottom: 8px; }
.face-cols p { color: var(--ink-soft); margin: 0; }

/* ---------- Street (services) ---------- */
.street { position: relative; height: 100vh; height: 100svh; background: var(--cream); overflow: hidden; }
.street-pin { position: relative; height: 100%; display: flex; flex-direction: column; }
.street-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap;
  padding-top: calc(var(--header-h) + clamp(10px, 3vh, 36px));
  position: relative; z-index: 3;
}
.street-head .h2 { color: var(--ink); }
@media (max-width: 760px) { .street-head .h2 { font-size: clamp(2rem, 9vw, 2.6rem); max-width: 9ch; } }
.street-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.street-count { margin: 0; font-family: var(--f-display); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.street-count span:last-child { color: var(--ink-soft); opacity: 0.5; }
.street-more { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.street-view { position: relative; flex: 1; min-height: 0; margin-top: clamp(8px, 2vh, 24px); }
.street-sky, .street-track { position: absolute; left: 0; top: 0; height: 100%; }
.street-sky svg, .street-art { display: block; overflow: visible; }
.street-art .f { fill: var(--cream-light); stroke: var(--blue); stroke-width: 1.3; stroke-linejoin: round; }
.street-art .l { fill: none; stroke: var(--blue); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.street-art .l--b { stroke-width: 1.9; }
.street-art .l--soft { opacity: 0.45; }
.street-art .l--dots { stroke-dasharray: 1 10; stroke-width: 2.4; opacity: 0.5; }
.street-art .g { fill: #dfe0f1; stroke: var(--blue); stroke-width: 1.1; }
.street-art .door { fill: rgb(6 6 200 / 0.07); stroke: var(--blue); stroke-width: 1.2; }
.street-art .knob { fill: var(--blue); }
.street-art .frame { fill: var(--frame); stroke: var(--blue); stroke-width: 1.4; }
.street-sky .sky-f { fill: #e6decb; stroke: rgb(6 6 200 / 0.18); stroke-width: 1; }
.street-sky .sky-t { fill: #e9e2cf; stroke: rgb(6 6 200 / 0.32); stroke-width: 1.1; stroke-linejoin: round; }
.street-sky .sky-l { fill: none; stroke: rgb(6 6 200 / 0.32); stroke-width: 1; stroke-linecap: round; }
.shops { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.shop { position: absolute; top: 0; height: 100%; }
.shop-window { position: absolute; overflow: hidden; background: #cfd2e8; box-shadow: inset 0 0 0 1px var(--blue); }
.shop-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-window::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 4px 5px 10px -4px rgb(0 0 0 / 0.4); }
.shop-label { position: absolute; left: 2px; right: 10px; }
.shop-num { font-size: 0.8125rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.shop-label h3 { font-family: var(--f-display); font-size: clamp(1.45rem, 1.1rem + 0.9vw, 2.1rem); line-height: 1; margin: 6px 0 8px; color: var(--ink); transition: color 0.4s; }
.shop-label p { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); margin: 0; max-width: 34ch; }
.shop.is-active h3 { color: var(--blue); }

/* short screens: a tighter heading and smaller labels, so the street keeps its size */
@media (max-height: 760px) {
  .street-head { padding-top: calc(var(--header-h) + 6px); }
  .street-head .h2 { font-size: clamp(1.9rem, 5.4vh, 2.8rem); }
  .street-count { font-size: clamp(1.5rem, 4vh, 2rem); }
  .street-view { margin-top: 4px; }
  .shop-label h3 { font-size: clamp(1.15rem, 3.2vh, 1.5rem); margin: 3px 0 5px; }
  .shop-label p { font-size: 0.8125rem; line-height: 1.42; }
  .shop-num { font-size: 0.75rem; }
}
.no-scene .street { height: auto; overflow: visible; }
.no-scene .street-view { height: 620px; flex: none; overflow-x: auto; overflow-y: hidden; }

/* ---------- Reveal helpers ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Wipe: text sits behind fogged glass until a blade pulls it clear */
.wipe { position: relative; }
.js .wipe::before {
  content: ""; position: absolute; top: -0.12em; bottom: -0.12em; left: -0.2em; z-index: 1; pointer-events: none;
  width: calc(var(--wipe-w, 100%) + 0.4em);
  background: rgb(247 246 241 / 0.45);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease-wipe);
}
.js .wipe::after {
  content: ""; position: absolute; top: -0.2em; bottom: -0.2em; left: -0.2em; z-index: 2; width: 3px;
  border-radius: 2px; background: var(--ink); opacity: 0; pointer-events: none;
  transition: transform 1.15s var(--ease-wipe), opacity 0.2s;
}
.js .wipe.is-clean::before { clip-path: inset(0 0 0 100%); }
.js .wipe.is-clean::after { opacity: 1; transform: translateX(calc(var(--wipe-w, 600px) + 0.35em)); }
.js .wipe.is-done::after { opacity: 0; transition: opacity 0.35s; }
.js .wipe--dark::before { background: rgb(28 31 174 / 0.4); }
.js .wipe--dark::after { background: var(--on-blue); }
.js .wipe--cream::before { background: rgb(239 230 211 / 0.45); }


/* ---------- Section heads ---------- */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px 48px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-intro { color: var(--ink-soft); max-width: 34ch; margin: 0; justify-self: end; }


/* ---------- Osmosis ---------- */
.osmose { background: var(--blue); color: var(--on-blue); padding: var(--section) 0; }
.osm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 140px); }
.osm-copy .h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.osm-copy > p { color: var(--on-blue-soft); font-size: 1.125rem; max-width: 44ch; }
.osm-copy > p:first-of-type { color: var(--on-blue); }
.osm-trad { margin-top: clamp(48px, 6vw, 88px); padding-top: 26px; border-top: 1px solid rgb(243 235 219 / 0.25); max-width: 46ch; }
.osm-trad h3 { font-family: var(--f-display); font-size: 1.75rem; margin-bottom: 12px; }
.osm-trad p { color: var(--on-blue-soft); margin: 0; }
.osm-meter-wrap { position: relative; }
.osm-meter {
  position: sticky; top: calc(var(--header-h) + 40px);
  aspect-ratio: 1 / 0.92;
  display: grid; grid-template-rows: 1fr auto auto auto; align-items: end;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid rgb(243 235 219 / 0.22);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0) 60%);
  overflow: hidden;
}
.osm-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.ppm { position: relative; display: flex; align-items: baseline; gap: 14px; align-self: center; }
.ppm-num {
  font-family: var(--f-display); font-size: clamp(6rem, 3rem + 10vw, 13rem); line-height: 0.8;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  min-width: 2.5ch; text-align: right;
}
.ppm-unit { font-size: 1.125rem; font-weight: 500; color: var(--on-blue-soft); }
.ppm-label { position: relative; margin: 18px 0 26px; color: var(--on-blue-soft); font-size: 0.9375rem; }
.osm-track { position: relative; height: 2px; background: rgb(243 235 219 / 0.2); }
.osm-track i { position: absolute; inset: 0; background: var(--on-blue); transform-origin: 0 50%; transform: scaleX(0); }
.osm-steps {
  position: relative; list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
  font-size: 0.8125rem; font-weight: 500; color: rgb(243 235 219 / 0.45);
}
.osm-steps li { transition: color 0.4s; }
.osm-steps li.is-on { color: var(--on-blue); }
.osm-steps li:last-child { text-align: right; }

/* ---------- Steps: a steel window ---------- */
.steps { padding: var(--section) 0; }
.steel {
  list-style: none; margin: 0; padding: 10px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  background: var(--steel);
  box-shadow: 0 40px 70px -40px rgb(18 19 49 / 0.55);
}
.steel-pane {
  position: relative; overflow: hidden;
  min-height: clamp(320px, 30vw, 420px);
  display: flex; flex-direction: column; gap: clamp(56px, 7vw, 120px);
  padding: clamp(24px, 2.6vw, 40px);
  background:
    linear-gradient(125deg, rgb(255 255 255 / 0.7) 0 18%, rgb(255 255 255 / 0) 34%),
    linear-gradient(180deg, #f2f5f6, var(--glass-tint));
}
.step-n { font-family: var(--f-display); font-size: clamp(4rem, 3rem + 3vw, 6.5rem); line-height: 0.8; color: var(--blue); }
.steel-pane h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1.05; margin-bottom: 12px; }
.steel-pane p { color: var(--ink-soft); margin: 0; max-width: 34ch; }
.frost, .frost-track { position: absolute; inset: 0; pointer-events: none; display: none; }
.js .frost {
  display: block; z-index: 2;
  background: rgb(236 240 242 / 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-wipe);
}
.js .frost-track { display: block; z-index: 3; transform: translateX(-100%); transition: transform 1.1s var(--ease-wipe); }
.js .frost-track .blade { transition: opacity 0.3s; }
.steel.is-clean .frost { clip-path: inset(0 0 0 100%); }
.steel.is-clean .frost-track { transform: translateX(0); }
.steel.is-clean .frost-track .blade { opacity: 1; }
.steel.is-done .frost-track .blade { opacity: 0; }
.steel-pane:nth-child(2) .frost, .steel-pane:nth-child(2) .frost-track { transition-delay: 0.28s; }
.steel-pane:nth-child(3) .frost, .steel-pane:nth-child(3) .frost-track { transition-delay: 0.56s; }

/* ---------- Area ---------- */
.area { padding: calc(var(--section) * 0.5) 0 var(--section); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.area-copy > p { color: var(--ink-soft); max-width: 42ch; margin: 28px 0 0; }
.area-list {
  list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px;
}
.area-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  cursor: default; transition: color 0.25s;
}
.area-list li span:last-child { color: var(--ink-soft); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.area-list li:hover, .area-list li.is-hot { color: var(--blue); }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; overflow: visible; }
.river { fill: none; stroke: rgb(28 31 174 / 0.16); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.js .river { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.4s var(--ease-out); }
.js .area-map.is-in .river { stroke-dashoffset: 0; }
.river-label { font: italic 500 12px var(--f-text); fill: rgb(28 31 174 / 0.55); letter-spacing: 0.12em; }
.place circle { fill: var(--ink); transition: fill 0.25s, r 0.25s; }
.place text { font: 500 11.5px var(--f-text); fill: var(--ink-soft); transition: fill 0.25s; }
.place--hub circle:first-child { fill: var(--blue); }
.place--hub text { font: 400 17px var(--f-display); fill: var(--blue); }
.place .ring { fill: none; stroke: var(--blue); stroke-width: 1; opacity: 0.4; }
.place.is-hot circle:first-child { fill: var(--blue); r: 6px; }
.place.is-hot text { fill: var(--blue); }
.js .place { opacity: 0; transition: opacity 0.6s var(--ease-out); }
.js .area-map.is-in .place { opacity: 1; }

/* ---------- Work ---------- */
.work { padding: 0 0 var(--section); }
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(36px, 4vw, 56px); }
.link--ig { font-size: 0.9375rem; }
.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 300px);
  gap: 12px;
}
.tile { position: relative; overflow: hidden; background: var(--cream); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile::after {
  content: ""; position: absolute; inset: -20% -80%; pointer-events: none;
  background: linear-gradient(115deg, transparent 44%, rgb(255 255 255 / 0.35) 49%, transparent 54%);
  transform: translateX(-60%);
}
.tile:hover img { transform: scale(1.035); }
.tile:hover::after { transform: translateX(60%); transition: transform 1.1s var(--ease-wipe); }
.tile--a { grid-column: 1 / 6; grid-row: span 2; }
.tile--b { grid-column: 6 / 10; }
.tile--c { grid-column: 10 / 13; }
.tile--d { grid-column: 6 / 9; }
.tile--e { grid-column: 9 / 13; }

/* ---------- Quote ---------- */
.quote { background: var(--cream); padding: var(--section) 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.quote-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.quote-copy > p { color: var(--ink-soft); max-width: 34ch; margin: 28px 0 0; }
.contact-list { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.contact-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--line-strong);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.contact-list span { font-size: 0.875rem; color: var(--ink-soft); font-weight: 500; }
.contact-list a { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem); color: var(--blue); text-decoration: none; }
.contact-list a:hover { color: var(--blue-deep); }

.form-card {
  background: var(--frame);
  padding: clamp(24px, 3.6vw, 52px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8) inset, 0 40px 80px -50px rgb(90 66 30 / 0.45);
}
.form { display: grid; gap: 26px; }
.row { display: grid; gap: 26px 20px; }
.row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; align-content: start; }
.field legend, .field > label, .label { font-size: 0.9375rem; font-weight: 600; padding: 0; margin-bottom: 8px; }
.field > label, .label { margin-bottom: 0; }
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--ink-soft); margin-left: 6px; font-size: 0.875rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: 400 1rem/1.4 var(--f-text); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #8a8ca3; }
input:hover, select:hover, textarea:hover { border-color: rgb(18 19 49 / 0.45); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(28 31 174 / 0.16); }
.is-invalid input, .is-invalid textarea { border-color: #b4232c; }
.err { margin: 0; color: #b4232c; font-size: 0.875rem; font-weight: 500; }
.hint { margin: 0; color: var(--ink-soft); font-size: 0.875rem; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
select { padding-right: 44px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input, .segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 3px; background: #fff;
  font-size: 0.9375rem; font-weight: 500;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip span::before {
  content: ""; width: 14px; height: 14px; border-radius: 2px; border: 1.5px solid currentColor; opacity: 0.5;
  transition: opacity 0.2s;
}
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.chip input:checked + span::before {
  opacity: 1; border-color: var(--on-blue);
  background: var(--on-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231c1fae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chip input:focus-visible + span, .segmented input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; padding: 3px; gap: 3px; }
.segmented label { position: relative; cursor: pointer; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 2px;
  font-size: 0.9375rem; font-weight: 500; transition: background-color 0.25s, color 0.25s;
}
.segmented input:checked + span { background: var(--blue); color: var(--on-blue); }
.drop {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 18px;
  border: 1px dashed rgb(18 19 49 / 0.35); border-radius: 3px; background: #fff;
  cursor: pointer; color: var(--ink-soft); font-size: 0.9375rem;
  transition: border-color 0.2s, color 0.2s;
}
.drop .icon { width: 22px; height: 22px; color: var(--blue); }
.drop:hover, .drop.has-files { border-color: var(--blue); color: var(--ink); }
input[type="file"]:focus-visible + .hint, .drop:focus-within { outline: 2px solid var(--blue); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 0.9375rem; color: var(--ink-soft); }
.check input {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 3px;
  border: 1.5px solid rgb(18 19 49 / 0.45); background: #fff; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.check input:checked {
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f3ebdb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--blue);
}
.check a { color: var(--blue); }
.field--consent.is-invalid .check input { border-color: #b4232c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 12px; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.9375rem; font-weight: 500; }
.form-status.is-error { color: #b4232c; }
[data-submit][aria-busy="true"] { pointer-events: none; opacity: 0.75; }
[data-submit][aria-busy="true"] .icon { animation: nudge 0.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.form-done { padding: clamp(12px, 3vw, 40px) 0; outline: none; }
.form-done .done-icon { width: 56px; height: 56px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.form-done h3 { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; margin-bottom: 14px; color: var(--blue); }
.form-done p { color: var(--ink-soft); max-width: 40ch; }
.form-done a { color: var(--blue); }

/* ---------- Footer & finale ---------- */
.site-footer { background: var(--night); color: var(--on-blue); padding: var(--section) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.finale { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.finale-copy .h2 { color: var(--on-blue); max-width: 9ch; }
.finale-copy p { color: var(--on-blue-soft); margin: 24px 0 36px; max-width: 30ch; }
.finale-tel {
  display: block; width: fit-content;
  font-family: var(--f-display); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1;
  color: var(--on-blue); text-decoration: none; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.finale-tel:hover { color: #fff; }
.finale-mail { display: inline-block; margin-top: 14px; color: var(--on-blue-soft); text-decoration: none; font-weight: 500; }
.finale-mail:hover { color: var(--on-blue); }
.finale-window { margin: 0; }
.raam3 {
  --fw: clamp(12px, 1.5vw, 19px); --bar: clamp(10px, 1.2vw, 15px);
  position: relative; aspect-ratio: 16 / 10; padding: var(--fw);
  background: var(--frame);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.9);
}
.raam3 .glass { position: absolute; inset: var(--fw); overflow: hidden; background: #c9d1d6; cursor: crosshair; touch-action: pan-y; }
.raam3 .glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; box-shadow: inset 6px 8px 14px -6px rgb(0 0 0 / 0.35); }
.raam3 .view { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
.raam3 .fog { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.raam3 .bar-v, .raam3 .bar-h { position: absolute; z-index: 4; background: var(--frame); box-shadow: 4px 6px 10px -4px rgb(0 0 0 / 0.3); }
.raam3 .bar-v { top: var(--fw); bottom: var(--fw); width: var(--bar); left: calc(var(--fw) + (100% - 2 * var(--fw)) * var(--x, 0.5) - var(--bar) / 2); }
.raam3 .bar-h { left: var(--fw); right: var(--fw); height: var(--bar); top: calc(var(--fw) + (100% - 2 * var(--fw)) * 0.3 - var(--bar) / 2); }
.mist-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--on-blue-soft); font-size: 0.875rem; font-weight: 500; transition: opacity 0.6s; }
.mist-hint .icon { width: 20px; height: 20px; animation: swipeHint 2.4s var(--ease-wipe) infinite; }
.mist-hint.is-gone { opacity: 0; }
@keyframes swipeHint { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(10px) rotate(8deg); } }

.foot-logo-wrap { margin-top: clamp(80px, 11vw, 160px); }
.foot-logo { display: block; width: 100%; height: auto; fill: var(--on-blue); }
.foot-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  margin-top: clamp(40px, 5vw, 72px); padding-top: 32px;
  border-top: 1px solid rgb(238 231 213 / 0.16);
}
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-col a { color: var(--on-blue-soft); }
.foot-col a:hover { color: var(--on-blue); }
.foot-legal { font-size: 0.8125rem; color: rgb(238 231 213 / 0.55); align-items: flex-end; text-align: right; }
.foot-legal a { text-decoration: none; }

/* ---------- Mobile action bar ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: 1fr 1.25fr; gap: 8px;
  padding: 8px; background: rgb(13 14 59 / 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 6px;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.5s var(--ease-out);
}
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; }
.mbar .btn--line { box-shadow: none; }


/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .tel span { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.85; }
}

/* portrait screens: the headline goes above and below the window */
@media (orientation: portrait), (max-width: 760px) {
  .rig { --wh: min(52svh, 52vh, 104vw); --wy: 52%; }
  .hero-title { font-size: clamp(2.6rem, 11.5vw, 5rem); }
  .ht { left: 0; right: 0; text-align: center; }
  .ht > span { display: inline; }
  .ht-l { top: calc(var(--wy) - var(--wh) / 2 - 1.22em); right: 0; }
  .ht-r { top: calc(var(--wy) + var(--wh) / 2 + 0.42em); left: 0; }
  .hud { grid-template-columns: 1fr; justify-items: center; }
  .hud-tag, .hud-right { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-intro { justify-self: start; }
  .face-grid { grid-template-columns: 1fr; }
  .face-visual { max-width: 420px; }
  .osm-grid { grid-template-columns: 1fr; }
  .osm-meter-wrap { order: -1; }
  .osm-meter { position: relative; top: auto; aspect-ratio: auto; min-height: 380px; }
  .osm-copy .h2 { margin-bottom: 28px; }
  .steel { grid-template-columns: 1fr; }
  .steel-pane { min-height: 0; gap: 28px; }
  .area-grid { grid-template-columns: 1fr; }
  .area-map { order: -1; max-width: 460px; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-copy { position: static; }
  .finale { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-legal { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
}

@media (max-width: 760px) {
  .mbar { display: grid; }
  .btn--sm { display: none; }
  .face-cols { grid-template-columns: 1fr; }
  .street-more { display: none; }
  .street-head { flex-wrap: nowrap; }
  .shop-label p { font-size: 0.875rem; }
  .row--2 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 8px; }
  .tile--a { grid-column: 1 / -1; grid-row: span 2; }
  .tile--b, .tile--c, .tile--d, .tile--e { grid-column: auto; }
  .tile--b { grid-column: 1 / -1; }
  .area-list { grid-template-columns: 1fr 1fr; column-gap: 18px; font-size: 0.9375rem; }
  .area-list li { padding: 9px 0; }
  .place text { font-size: 15px; }
  .place--hub text { font-size: 21px; }
  .osm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .osm-steps li:last-child { text-align: left; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .area-list { column-gap: 16px; font-size: 0.875rem; }
  .area-list li span:last-child { font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .wipe::before, .js .wipe::after, .js .frost, .js .frost-track { display: none; }
}
