/* ==========================================================================
   SoWash — glazenwasserij
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F5F5F2;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #2b2b29;
  --muted: #6b6b66;
  --muted-2: #8d8d87;
  --line: rgba(17, 17, 17, .13);
  --line-strong: rgba(17, 17, 17, .32);
  --brand: #0707C9;
  --cream: #EEE7D5;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1680px;
  --nav-h: 72px;
  --section: clamp(96px, 12vw, 184px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-glass: cubic-bezier(.7, 0, .2, 1);
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; }
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: var(--white); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.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: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ type kit */

.display {
  font-size: clamp(2.55rem, 7.2vw, 8.4rem);
  line-height: .9;
  letter-spacing: -.048em;
  font-weight: 600;
  text-transform: uppercase;
}
.display > span { display: block; }

.label {
  display: flex;
  align-items: center;
  gap: .9em;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.label .num { color: var(--ink); }
.label .num::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: .9em;
  vertical-align: middle;
  background: currentColor;
  opacity: .5;
}

/* thin line that travels under links */
.u-line {
  position: relative;
  text-decoration: none;
}
.u-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease-out);
}
.u-line:hover::after,
.u-line:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

/* --------------------------------------------------------------- buttons */

.btn {
  --bg: var(--ink);
  --fg: var(--white);
  --glint: rgba(255, 255, 255, .28);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 2px;
  background: var(--bg);
  color: var(--fg);
  font: 500 15px/1 var(--font);
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.btn > span { position: relative; z-index: 1; }
/* a reflection runs over the button, once, like light over a pane */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 30%, var(--glint) 47%, transparent 62%);
  transform: translateX(-120%);
}
.btn:hover::before { transform: translateX(120%); transition: transform 1s var(--ease-glass); }
.btn__arrow { transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--light { --bg: var(--white); --fg: var(--ink); --glint: rgba(7, 7, 201, .12); }
.btn--light:hover { --bg: #fafafa; }
.btn--solid:hover { --bg: #000; }
.btn--line {
  --bg: transparent;
  --fg: currentColor;
  --glint: rgba(255, 255, 255, .22);
  min-height: 42px;
  padding: 0 18px;
  box-shadow: inset 0 0 0 1px currentColor;
  font-size: 14px;
}
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 16px; }

/* ============================================================== NAV */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  color: var(--white);
  transition: color .45s var(--ease-out);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 242, .84);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 -1px 0 var(--line);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path .7s var(--ease-glass);
}
.nav.is-solid { color: var(--ink); }
.nav.is-solid::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.menu-open .nav { color: var(--ink); }

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 0 var(--gutter);
}
.nav__logo {
  display: block;
  height: 52px;
  aspect-ratio: 896 / 422;
  color: currentColor;
  transition: color .45s;
}
.nav__logo svg { width: 100%; height: 100%; }
.nav.is-solid .nav__logo, .menu-open .nav__logo { color: var(--brand); }

.nav__links {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
  font-size: 15px;
}
.nav__links a { padding: 6px 0; }
.nav__links a::after { bottom: 2px; }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__inner { gap: 14px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
}
@media (max-width: 760px) {
  .nav__logo { height: 44px; }
  .nav__cta { min-height: 38px; padding: 0 14px; font-size: 13px; }
}

/* mobile menu: a sheet that is pulled down like a squeegee stroke */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease-glass), visibility 0s .75s;
}
.menu.is-open {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  visibility: visible;
  transition: clip-path .75s var(--ease-glass), visibility 0s;
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 10vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}
.menu__num { font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.menu__foot { display: grid; gap: 24px; }
.menu__foot .btn { width: 100%; }
.menu__foot p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.menu__foot a { text-decoration: none; }
.menu-open { overflow: hidden; }

/* the hero squeegee lives above everything while it works */
.blade-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}
.squeegee {
  position: absolute;
  left: 0; top: 0;
  will-change: transform;
  transition: opacity .35s;
}
.squeegee svg { max-width: none; }
.squeegee--shadow {
  opacity: .32;
  filter: blur(9px);
}

/* ============================================================== HERO */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: #3a3530;
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero__img--clean { opacity: 0; transition: opacity .6s; }
.no-js .hero__img--clean,
.hero.is-clean .hero__img--clean { opacity: 1; }
.hero__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .5s;
}
.hero.has-gl .hero__gl { opacity: 1; transition: none; }

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(12, 11, 10, .46) 0, rgba(12, 11, 10, 0) 24%),
    linear-gradient(to top, rgba(12, 11, 10, .66) 0, rgba(12, 11, 10, .22) 36%, rgba(12, 11, 10, 0) 58%);
}

.hero__copy {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 72px);
}
.hero__eyebrow {
  margin-bottom: clamp(14px, 2vh, 22px);
  font: 400 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.hero__title {
  font-size: clamp(2.6rem, 7.7vw, 9.4rem);
  line-height: .87;
  letter-spacing: -.052em;
  font-weight: 600;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title > span { display: block; }
.br-m { display: none; }
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(20px, 3.4vh, 40px);
}
.hero__lead {
  max-width: 30em;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.hero__actions { display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.link-down { font-size: 15px; padding: 6px 0; color: var(--white); }

@media (max-width: 760px) {
  .hero__title { font-size: 11.4vw; line-height: .9; }
  .br-m { display: inline; }
  .hero__row { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero__lead { font-size: 15.5px; max-width: 26em; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .hero__actions .btn { width: 100%; min-height: 56px; justify-content: space-between; }
  .link-down { align-self: center; padding: 12px 0; }
  .hero__copy { bottom: max(22px, env(safe-area-inset-bottom)); }
}

/* glass reveal: before the squeegee passes, the interface sits behind dirty glass */
.intro-pending [data-glass-reveal] { filter: blur(7px); opacity: .5; }
.is-ghost {
  position: absolute !important;
  margin: 0 !important;
  filter: blur(7px);
  opacity: .5;
  pointer-events: none;
  user-select: none;
  transition: opacity .45s;
}
.hero__copy.is-ghost { right: auto; bottom: auto; }

/* ============================================================== 02 RESULT */

.result { padding: var(--section) 0 clamp(72px, 9vw, 140px); }
.result__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-bottom: clamp(44px, 6vw, 96px);
}
.result__head .label { grid-column: 1 / -1; margin-bottom: clamp(28px, 3.5vw, 52px); }
.result__head .display { grid-column: 1 / -1; font-size: clamp(2.5rem, 7.4vw, 9.2rem); }

.compare {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.compare__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cfcac2;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.compare__stage img,
.compare__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__after { opacity: 0; }
.no-js .compare__after, .compare__stage.is-static .compare__after { opacity: 1; }
.compare__gl { opacity: 0; transition: opacity .4s; }
.compare__stage.is-ready .compare__gl { opacity: 1; }
.compare__blade { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.compare__blade .squeegee--shadow { opacity: .28; }
.compare__stage.is-focus { outline: 2px solid var(--brand); outline-offset: 4px; }

.compare__tag {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 7px 10px 6px;
  font: 500 11px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.compare__tag--before { right: 18px; }
.compare__tag--after { left: 0; opacity: 0; will-change: transform, opacity; }

.compare__hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font: 400 12px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(17, 17, 17, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity .5s, transform .5s var(--ease-out);
}
.compare__hint::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  animation: hint 2.4s var(--ease-glass) infinite;
}
@keyframes hint { 0%, 100% { transform: scaleX(.3); transform-origin: left; } 50% { transform: scaleX(1); } }
.compare__stage.is-touched .compare__hint { opacity: 0; transform: translate(-50%, 8px); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

.compare__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.compare__note { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }

@media (max-width: 760px) {
  .result__head { display: block; }
  .result__head .label { margin-bottom: 26px; padding: 0; }
  .compare { padding: 0; }
  .compare__stage { aspect-ratio: 4 / 5; }
  .compare__caption { flex-direction: column; gap: 6px; padding: 0 var(--gutter); }
}

/* ============================================================== section heads */

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 28px;
  margin-bottom: clamp(48px, 7vw, 108px);
}
.sec-head .label { grid-column: 1 / span 3; align-self: start; padding-top: .7em; }
.sec-head .display { grid-column: 4 / -1; }
.sec-head__lead {
  grid-column: 4 / span 5;
  max-width: 32em;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
}
@media (max-width: 760px) {
  .sec-head { display: flex; flex-direction: column; row-gap: 24px; }
  .sec-head .label { padding: 0; }
}

/* ============================================================== 03 SERVICES */

.services { padding: var(--section) 0; }

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.svc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: baseline;
  padding: clamp(22px, 2.5vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
/* the divider is drawn clean from the left on hover */
.svc::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-glass);
}
.svc__num {
  grid-column: 1 / span 1;
  font: 400 13px/1 var(--mono);
  color: var(--muted);
}
.svc__name {
  grid-column: 2 / span 7;
  font-size: clamp(2rem, 5.2vw, 6rem);
  line-height: .95;
  letter-spacing: -.048em;
  text-transform: uppercase;
  transition: transform .7s var(--ease-out), color .45s;
}
.svc__text {
  grid-column: 9 / -1;
  max-width: 24em;
  color: var(--muted);
  font-size: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .svc-list:hover .svc__name { color: rgba(17, 17, 17, .22); }
  .svc-list .svc:hover .svc__name { color: var(--ink); transform: translateX(14px); }
  .svc:hover::after { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .svc { grid-template-columns: 40px minmax(0, 1fr); row-gap: 12px; padding: 28px 0 30px; }
  .svc__num { grid-column: 1; }
  .svc__name { grid-column: 2; font-size: clamp(2rem, 9vw, 3.6rem); }
  .svc__text { grid-column: 2; font-size: 15.5px; }
}

/* ======================================================== fog reveal on images */

[data-fog] { position: relative; overflow: hidden; }
.has-motion [data-fog]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(238, 238, 233, .2);
  -webkit-backdrop-filter: blur(18px) saturate(.75) brightness(1.06);
  backdrop-filter: blur(18px) saturate(.75) brightness(1.06);
  clip-path: polygon(calc(var(--f, 0) * 1.3% - 20%) 0, 101% 0, 101% 100%, calc(var(--f, 0) * 1.3% - 27%) 100%);
}
.has-motion [data-fog].is-clear::after { content: none; }
.has-motion [data-fog] img {
  transform: scale(calc(1.07 - var(--f, 0) * .0007));
}

/* ============================================================== 04 CRAFT */

.craft {
  padding: var(--section) 0 calc(var(--section) * .8);
  background: var(--white);
}
.craft__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.craft__intro {
  grid-column: 1 / span 5;
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
.craft__intro .display { font-size: clamp(2.4rem, 4.15vw, 5.4rem); }
.craft__text { max-width: 28em; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.craft__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.craft__facts dt { font-weight: 600; margin-bottom: 6px; }
.craft__facts dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.craft__images {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(56px, 7vw, 120px);
  padding-top: clamp(40px, 10vw, 180px);
}
.frame { margin: 0; }
.frame picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.frame figcaption span { font-family: var(--mono); color: var(--ink); }
.frame--a { grid-column: 1 / span 5; }
.frame--b { grid-column: 3 / span 4; }
.frame--c { grid-column: 1 / span 4; }
.frame--d { grid-column: 2 / span 5; }
.frame[data-fog] { overflow: visible; }
.frame[data-fog]::after { bottom: auto; aspect-ratio: 4 / 5; height: auto; }

.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
  margin-top: clamp(96px, 12vw, 200px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.about__face {
  grid-column: 1 / span 2;
  display: block;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 248 / 254;
  background: var(--brand);
  -webkit-mask: url("../assets/brand/face.svg") center / contain no-repeat;
  mask: url("../assets/brand/face.svg") center / contain no-repeat;
}
.about__body { grid-column: 4 / span 7; display: grid; gap: 20px; justify-items: start; }
.about__text {
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: -.025em;
  font-weight: 500;
  text-wrap: pretty;
}
.about__link { font-size: 15px; padding: 4px 0; }

@media (max-width: 900px) {
  .craft__grid { display: block; }
  .craft__intro { position: static; }
  .craft__facts { grid-template-columns: 1fr; }
  /* phones get a swipeable strip of details instead of a stack */
  .craft__images {
    display: flex;
    gap: 14px;
    margin: 48px calc(var(--gutter) * -1) 0;
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .craft__images::-webkit-scrollbar { display: none; }
  .frame { flex: 0 0 76%; scroll-snap-align: start; }
  .about { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
  .about__face { width: 120px; }
}

/* ============================================================== 05 STORY */

.story {
  position: relative;
  overflow-x: clip;
  padding: var(--section) 0 0;
  background: var(--ink);
  color: var(--white);
}
.story .label { color: rgba(255, 255, 255, .55); }
.story .label .num { color: var(--white); }
.story__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-bottom: clamp(56px, 8vw, 128px);
}
.story__head .label { grid-column: 1 / span 3; align-self: start; padding-top: .55em; }
.story__title {
  grid-column: 4 / span 8;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}
.story__title a { text-decoration: none; color: var(--white); }

.story__item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.story__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #222;
}
.story__fig picture { display: block; height: 100%; transition: transform 1.1s var(--ease-out); }
.story__fig img { width: 100%; height: 108%; margin-top: -4%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .story__fig:hover picture { transform: scale(1.03); }
}
.story__cap {
  font: 400 12px/1.3 var(--mono);
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
  margin-top: 14px;
}

.story__word {
  position: absolute;
  z-index: 0;
  margin: 0;
  font-size: clamp(3.6rem, 12.2vw, 15.5rem);
  line-height: .8;
  letter-spacing: -.06em;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.story__fig { z-index: 1; }
/* the same word, seen through the glass of the photo */
.story__word--glass {
  z-index: 3;
  color: rgba(255, 255, 255, .06);
  -webkit-text-stroke: 1.25px rgba(255, 255, 255, .82);
}
.has-motion .story__word {
  clip-path: polygon(-6% -20%, calc(var(--p, 0) * 1.14% - 6% + .12em) -20%, calc(var(--p, 0) * 1.14% - 6% - .12em) 120%, -6% 120%);
}

.story__item--a { padding-bottom: clamp(80px, 10vw, 170px); }
.story__item--a .story__fig { grid-column: 1 / span 9; aspect-ratio: 3 / 2; }
.story__item--a .story__word { right: var(--gutter); bottom: calc(clamp(80px, 10vw, 170px) + 6%); }
.story__item--a .story__cap { grid-column: 1 / span 6; }

.story__item--b { padding-bottom: clamp(80px, 10vw, 170px); }
.story__item--b .story__fig { grid-column: 9 / span 3; grid-row: 1; aspect-ratio: 4 / 5; }
.story__item--b .story__word { left: calc(var(--gutter) + 18%); top: 34%; }
.story__item--b .story__cap { grid-column: 9 / span 3; grid-row: 2; }

.story__item--c { padding-bottom: clamp(110px, 13vw, 220px); }
.story__item--c .story__fig { grid-column: 2 / span 5; aspect-ratio: 4 / 5; }
.story__item--c .story__word { left: calc(var(--gutter) + 34%); top: 58%; }
.story__item--c .story__cap { grid-column: 2 / span 5; }

.story__item--d { display: block; max-width: none; padding: 0; }
.story__item--d .story__fig { width: 100%; aspect-ratio: 2.2 / 1; }
.story__item--d .story__word { left: var(--gutter); top: 0; transform: translateY(-50%); font-size: clamp(3.6rem, 14.5vw, 19rem); }
.story__item--d .story__cap { position: absolute; z-index: 4; left: var(--gutter); bottom: 20px; color: rgba(255, 255, 255, .8); }

@media (max-width: 760px) {
  .story__head { display: flex; flex-direction: column; gap: 22px; }
  .story__head .label { padding: 0; }
  .story__item { display: block; }
  .story__item--a { padding: 0 0 96px; }
  .story__item--a .story__fig { width: 100%; aspect-ratio: 4 / 5; }
  .story__item--a .story__word { right: auto; left: var(--gutter); bottom: 126px; }
  .story__item--a .story__cap { padding: 0 var(--gutter); }
  .story__item--b { padding-bottom: 104px; display: flex; flex-direction: column; align-items: flex-end; }
  .story__item--b .story__fig { width: 62%; }
  .story__item--b .story__word { left: var(--gutter); top: 42%; }
  .story__item--b .story__cap { width: 62%; }
  .story__item--c { padding-bottom: 120px; }
  .story__item--c .story__fig { width: 86%; }
  .story__item--c .story__word { left: auto; right: var(--gutter); top: 64%; }
  .story__item--d .story__fig { aspect-ratio: 9 / 10; }
}

/* ============================================================== 06 TRUST */

.trust { padding: var(--section) 0; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.trust__side { grid-column: 1 / span 3; padding-top: .9em; }
.quotes { grid-column: 4 / -1; }
.quotes__stage { display: grid; }
.quote {
  grid-area: 1 / 1;
  margin: 0;
  clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%);
  transition: clip-path .9s var(--ease-glass);
}
.quote.is-active { clip-path: polygon(0 0, 112% 0, 100% 100%, -12% 100%); }
.quote.is-leaving { clip-path: polygon(112% 0, 112% 0, 100% 100%, 100% 100%); }
.quote.no-anim { transition: none; }
.quote__meta { display: flex; align-items: center; gap: 14px; }
.quote__stars { color: var(--brand); letter-spacing: .18em; font-size: 15px; }
.quote__tag {
  padding: 4px 7px 3px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  box-shadow: inset 0 0 0 1px currentColor;
}
.quote__text {
  margin: clamp(22px, 2.6vw, 36px) 0 clamp(26px, 3vw, 44px);
  font-size: clamp(1.9rem, 4.3vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 500;
  text-wrap: balance;
}
.quote footer { display: flex; gap: 12px; font-size: 15px; }
.quote cite { font-style: normal; font-weight: 600; }
.quote footer span { color: var(--muted); }

.quotes__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.quotes__btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 18px;
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.quotes__btn:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.quotes__count { font: 400 13px/1 var(--mono); color: var(--muted); min-width: 64px; text-align: center; }

@media (max-width: 760px) {
  .trust__grid { display: block; }
  .trust__side { margin-bottom: 28px; padding: 0; }
  .quotes__nav { justify-content: space-between; }
}

/* ============================================================== 07 PROCESS */

.process { padding: var(--section) 0; border-top: 1px solid var(--line); }
.process__steps { position: relative; }
.process__steps ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0 0 80px;
}
.step { position: relative; padding-top: 34px; }
.step:nth-child(2) { margin-top: clamp(90px, 10vw, 170px); }
.step:nth-child(3) { margin-top: clamp(180px, 20vw, 340px); }
.step__mark {
  position: absolute;
  left: 0; top: 0;
  width: 13px;
  height: 13px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.step.is-on .step__mark { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); transform: scale(1.15); }
.step__num { font: 400 13px/1 var(--mono); color: var(--muted); }
.step h3 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .25);
  transition: color .6s;
}
.step.is-on h3 { color: var(--ink); }
.step p { max-width: 17em; color: var(--muted); }

.process__line {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.process__trace { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
.process__path { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.process__blade {
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  width: 0; height: 0;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.process__blade::before {
  content: "";
  position: absolute;
  left: -1.5px; top: -17px;
  width: 3px;
  height: 34px;
  border-radius: 1px;
  background: var(--brand);
}
.process__blade::after {
  content: "";
  position: absolute;
  left: 3px; top: -15px;
  width: 4px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(7, 7, 201, .18), transparent);
}

@media (max-width: 760px) {
  .process__steps ol { grid-template-columns: 1fr; row-gap: 64px; padding: 20px 0 60px 46px; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .step { padding-top: 0; }
  .step__mark { left: -34px; top: 6px; }
  .step h3 { font-size: 2.6rem; margin: 12px 0 8px; }
}

/* ============================================================== FINAL CTA */

.finale {
  --clear: 1;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 56px) var(--gutter) 88px;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.finale__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(40px, 5vw, 64px);
  text-align: center;
}
.finale__title {
  font-size: clamp(3rem, 10.6vw, 13rem);
  line-height: .86;
  letter-spacing: -.058em;
  font-weight: 600;
  text-transform: uppercase;
  filter: blur(calc((1 - var(--clear)) * 14px));
  opacity: calc(.42 + var(--clear) * .58);
}
.finale__title span { display: inline-block; }
.finale__fog {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: calc(1 - var(--clear));
  -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 48%, #000 calc(78% - var(--clear) * 78%), transparent calc(100% - var(--clear) * 64%));
  mask-image: radial-gradient(ellipse 72% 64% at 50% 48%, #000 calc(78% - var(--clear) * 78%), transparent calc(100% - var(--clear) * 64%));
}
.finale__contact {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(28px, 6vw, 96px);
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.finale__contact li { display: grid; gap: 8px; justify-items: center; }
.finale__label { font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.finale__contact a { font-size: 17px; padding: 6px 0; }

@media (max-width: 760px) {
  .finale__title span { display: block; }
  .finale .btn { width: 100%; justify-content: space-between; }
  .finale__inner { width: 100%; }
  .finale__contact { grid-template-columns: 1fr; gap: 0; width: 100%; border-top: 1px solid var(--line); }
  .finale__contact li {
    grid-template-columns: 96px 1fr;
    justify-items: start;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
}

/* ============================================================== FOOTER */

.footer {
  padding: clamp(64px, 7vw, 104px) 0 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, .66);
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__logo { display: block; width: clamp(150px, 18vw, 280px); color: var(--white); }
.footer__logo svg { width: 100%; height: auto; }
.footer__col { display: grid; gap: 10px; justify-items: start; }
.footer__col a { text-decoration: none; color: rgba(255, 255, 255, .86); }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { text-decoration: none; }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__logo { grid-column: 1 / -1; width: 168px; }
  .footer__base { flex-direction: column; gap: 14px; }
}

/* ============================================================== OFFERTE PANEL */

.quote-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(600px, 100vw);
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.quote-panel::backdrop {
  background: rgba(17, 17, 17, .45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.quote-panel[open] { animation: panel-in .8s var(--ease-glass) both; }
@keyframes panel-in {
  from { clip-path: polygon(112% 0, 112% 0, 100% 100%, 100% 100%); }
  to { clip-path: polygon(-12% 0, 112% 0, 100% 100%, -12% 100%); }
}
.quote-panel__inner { padding: 28px clamp(20px, 4vw, 48px) 40px; }
.quote-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(32px, 6vh, 64px); }
.quote-panel__close {
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.quote-panel__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 600;
  text-transform: uppercase;
}
.quote-panel__intro { margin: 18px 0 36px; color: var(--muted); }

.qf { display: grid; gap: 26px; }
.qf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qf__field { display: grid; gap: 8px; }
.qf__field > span, .qf__set legend {
  font: 400 11.5px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.qf__field em { font-style: normal; text-transform: none; letter-spacing: 0; }
.qf input[type="text"], .qf textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font: 400 17px/1.4 var(--font);
  color: var(--ink);
  transition: border-color .3s;
}
.qf textarea { resize: vertical; min-height: 84px; }
.qf input[type="text"]:focus, .qf textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.qf__set { margin: 0; padding: 0; border: 0; display: grid; gap: 4px; }
.qf__set legend { margin-bottom: 12px; padding: 0; }
.qf__set--inline { grid-template-columns: repeat(2, max-content); gap: 4px 28px; }
.qf__check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  cursor: pointer;
}
.qf__check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: background-color .25s, box-shadow .25s;
}
.qf__check input[type="radio"] { border-radius: 50%; }
.qf__check input:checked { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 0 4px var(--paper); }
.qf__submit { width: 100%; justify-content: space-between; min-height: 58px; margin-top: 6px; }
.qf__note { font-size: 13.5px; color: var(--muted); }
.qf__note a { color: var(--ink); }

.quote-panel__sent { display: none; gap: 20px; }
.quote-panel.is-sent .qf, .quote-panel.is-sent .quote-panel__intro, .quote-panel.is-sent #offerte-title { display: none; }
.quote-panel.is-sent .quote-panel__sent { display: grid; justify-items: start; }
.quote-panel__sent p:not(.quote-panel__title) { color: var(--ink-2); max-width: 30em; }

@media (max-width: 520px) {
  .qf__row { grid-template-columns: 1fr; }
}
.quote-open { overflow: hidden; }

/* ======================================================= squeegee text wipes */

.wl { position: relative; display: block; overflow-x: clip; }
.has-motion [data-wipe] .wl__in {
  display: block;
  clip-path: polygon(-8% -20%, calc(var(--p, 0) * 1.16% - 8% + .15em) -20%, calc(var(--p, 0) * 1.16% - 8% - .15em) 120%, -8% 120%);
}
/* the wet edge of the blade, travelling with the reveal */
.has-motion [data-wipe] .wl::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: clamp(0%, calc(var(--p, 0) * 1.16% - 8%), 100%);
  width: 2px;
  margin-left: -1px;
  background: var(--brand);
  opacity: var(--edge, 0);
  transform: skewX(-13.4deg);
  pointer-events: none;
}

/* ============================================================== reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .finale { --clear: 1 !important; }
}
