/* ============================================================
   SKÍN — sections
   ============================================================ */

/* ════════════════════ 01 · HERO ════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #dfe8ee;
}

.hero__scene { position: absolute; inset: 0; z-index: 1; }
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  will-change: transform;
}
.hero__sky {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(247,249,250,.55) 0%, rgba(247,249,250,0) 26%),
    linear-gradient(0deg, rgba(247,249,250,.72) 0%, rgba(247,249,250,.10) 30%, transparent 52%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gut) clamp(64px, 12vh, 132px);
}
.hero__content { max-width: min(100%, 1120px); }

.hero__eyebrow {
  font-size: var(--step--1);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(14px, 2vh, 26px);
}

.hero__title {
  font-size: var(--step-4);
  line-height: .84;
  letter-spacing: -.052em;
  font-weight: 550;
  margin: 0;
}
.hero__line { display: block; }
.hero__line + .hero__line { color: var(--ink-soft); }

.hero__sub {
  margin-top: clamp(20px, 3vh, 38px);
  max-width: 40ch;
  font-size: var(--step-1);
  line-height: 1.4;
  letter-spacing: -.014em;
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: clamp(26px, 4vh, 46px);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
}

.hero__grime, .hero__water {
  position: absolute; inset: 0;
  /* replaced elements do not stretch to their insets — say it outright */
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__grime { z-index: 3; }
.hero__water { z-index: 4; }

/* Touch-first: the words sit on the glass rather than behind it, so what
   the finger wipes clear is the view, and the copy is never smeared. */
.hero.is-copy-above .hero__inner { z-index: 5; }
.hero.is-copy-above .hero__hint { z-index: 7; }

.squeegee {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 190px; height: 48px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(22,26,29,.28));
  transition: opacity .6s var(--ease-glass);
  will-change: transform;
}
.squeegee.is-on { opacity: 1; }
.sq-blade { transform-origin: 108px 27px; }

.hero__hint {
  position: absolute; z-index: 6;
  left: 50%; bottom: clamp(26px, 5vh, 54px);
  transform: translateX(-50%);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  transition: opacity 1.1s var(--ease-glass);
}
.hero__hint.is-on { opacity: .85; }

.hero__scrollcue {
  position: absolute; z-index: 6;
  right: var(--gut); bottom: clamp(26px, 5vh, 54px);
  width: 1px; height: clamp(40px, 7vh, 74px);
  background: rgba(22,26,29,.14);
  overflow: hidden;
}
.hero__scrollcue i {
  position: absolute; inset-inline: 0; top: -40%; height: 40%;
  background: linear-gradient(180deg, transparent, var(--ice-deep));
  animation: cue 2.8s var(--ease-water) infinite;
}
@keyframes cue { 0% { top: -40% } 60%,100% { top: 100% } }

@media (max-width: 780px) {
  .hero__content { max-width: 100%; }
  .hero__scrollcue { display: none; }
}

/* ════════════════════ 02 · SERVICES ════════════════════ */
.services { padding-bottom: clamp(80px, 12vh, 160px); background: var(--paper); }

.facade {
  position: relative;
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.facade__rails { position: absolute; inset: 0 var(--gut); pointer-events: none; z-index: 3; }
.rail { position: absolute; background: linear-gradient(var(--dir, 180deg), #b4c0c7, #8e9ba3 40%, #dfe7eb 52%, #7f8c94); }
.rail--v {
  --dir: 90deg;
  top: 0; bottom: 0; width: 2px;
  left: calc((100% / 3) * (var(--i) + 0));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1s var(--ease-glass) calc(var(--i) * .07s);
}
.rail--v:nth-child(4) { left: calc(100% - 2px); }
.rail--v:nth-child(1) { left: 0; }
.rail--h {
  left: 0; right: 0; height: 2px;
  top: calc((100% / 2) * var(--i));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease-glass) calc(.35s + var(--i) * .1s);
}
.rail--h:nth-child(7) { top: calc(100% - 2px); }
.facade.is-in .rail--v { transform: scaleY(1); }
.facade.is-in .rail--h { transform: scaleX(1); }

.panes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative; z-index: 2;
}

.pane {
  position: relative;
  min-height: clamp(210px, 30vh, 330px);
  isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(222,238,247,.30));
  transition: background .7s var(--ease-glass),
              transform .7s var(--ease-glass), box-shadow .7s var(--ease-glass);
  opacity: 0;
  transform: translateY(14px);
  transition-property: opacity, transform, background, box-shadow;
}
.facade.is-in .pane { opacity: 1; transform: none; transition-delay: calc(.55s + var(--d, 0s)); }
.pane:nth-child(1) { --d: 0s }   .pane:nth-child(2) { --d: .06s }
.pane:nth-child(3) { --d: .12s }  .pane:nth-child(4) { --d: .18s }
.pane:nth-child(5) { --d: .24s }  .pane:nth-child(6) { --d: .3s }

/* daylight catching the glass — angle driven by pointer */
.pane__gloss {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(var(--ang, 150deg),
      rgba(255,255,255,.68) 0%,
      rgba(255,255,255,.12) 34%,
      rgba(210,236,250,.28) 60%,
      rgba(255,255,255,.55) 100%);
  opacity: .55;
  transition: opacity .6s var(--ease-glass);
}

.pane__btn {
  position: relative; z-index: 2;
  display: block; width: 100%; height: 100%;
  min-height: inherit;
  text-align: left;
  padding: clamp(20px, 2.4vw, 34px);
  background: none; border: 0;
  color: inherit;
}
.pane__index {
  display: block;
  font-size: var(--step--1); letter-spacing: .16em;
  color: var(--ink-faint);
  margin-bottom: clamp(30px, 6vh, 70px);
}
.pane__name {
  display: block;
  font-size: var(--step-2);
  line-height: .98; letter-spacing: -.03em; font-weight: 520;
}
.pane__meta {
  display: block; margin-top: 10px;
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: opacity .5s var(--ease-glass);
}
.pane__body {
  display: block;
  margin-top: 14px;
  max-width: 34ch;
  font-size: var(--step-0);
  color: var(--ink-soft);
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s var(--ease-glass), transform .6s var(--ease-glass);
}

/* neighbours frost, the focused pane clears */
.panes.is-hot .pane { background: linear-gradient(160deg, rgba(240,248,252,.94), rgba(206,228,241,.96)); }
.panes.is-hot .pane.is-hot {
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(226,240,248,.10));
  box-shadow: 0 40px 70px -60px rgba(22,26,29,.7);
}
.pane.is-hot .pane__gloss { opacity: .9; }
.pane.is-hot .pane__body, .pane.is-open .pane__body { opacity: 1; transform: none; }
.pane.is-hot .pane__meta, .pane.is-open .pane__meta { opacity: 0; }

/* micro cleaning marks */
.pane__mark { position: absolute; z-index: 2; pointer-events: none; transition: opacity .9s var(--ease-water); }
.pane__mark--rain {
  right: 12%; top: 22%; width: 92px; height: 120px;
  opacity: .5;
  background:
    radial-gradient(3px 4px at 12px 10px, rgba(150,170,180,.55), transparent 60%),
    radial-gradient(2px 3px at 40px 34px, rgba(150,170,180,.5), transparent 60%),
    radial-gradient(4px 5px at 66px 18px, rgba(150,170,180,.45), transparent 60%),
    radial-gradient(2px 3px at 24px 66px, rgba(150,170,180,.5), transparent 60%),
    radial-gradient(3px 4px at 58px 84px, rgba(150,170,180,.4), transparent 60%),
    radial-gradient(2px 2px at 80px 62px, rgba(150,170,180,.45), transparent 60%);
}
.pane.is-hot .pane__mark--rain { opacity: 0; }

.pane__mark--print {
  right: 14%; top: 26%; width: 74px; height: 96px;
  opacity: .55;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    repeating-radial-gradient(circle at 50% 50%, rgba(160,178,188,.5) 0 1px, transparent 1px 5px);
  border-radius: 46% 46% 50% 50% / 40% 40% 60% 60%;
  filter: blur(.3px);
}
.pane.is-hot .pane__mark--print { opacity: 0; }

.pane__mark--lights {
  left: 0; right: 0; bottom: 18%; height: 46px;
  opacity: .0;
  background:
    radial-gradient(22px 8px at 10% 50%, rgba(255,238,200,.85), transparent 70%),
    radial-gradient(14px 6px at 42% 46%, rgba(200,232,250,.8), transparent 70%),
    radial-gradient(18px 7px at 74% 54%, rgba(255,232,210,.7), transparent 70%);
  filter: blur(1px);
  transform: translateX(-30%);
  transition: opacity .8s var(--ease-glass);
}
.pane.is-hot .pane__mark--lights { opacity: .9; animation: streetlights 7s linear infinite; }
@keyframes streetlights { from { transform: translateX(-35%) } to { transform: translateX(35%) } }

.pane__mark--timeline {
  left: clamp(20px, 2.4vw, 34px); right: clamp(20px, 2.4vw, 34px);
  bottom: clamp(20px, 2.4vw, 34px); height: 1px;
  background: rgba(22,26,29,.14);
  opacity: 1;
}
.pane__mark--timeline b {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ice-deep), rgba(143,216,244,.2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-blade);
}
.pane.is-hot .pane__mark--timeline b { transform: scaleX(1); }

@media (max-width: 900px) {
  .panes { grid-template-columns: repeat(2, 1fr); }
  .rail--v { left: calc(50% * var(--i)); }
  .rail--v:nth-child(3) { display: none; }
  .rail--h { top: calc((100% / 3) * var(--i)); }
  .pane__index { margin-bottom: 34px; }
}
@media (max-width: 560px) {
  .panes { grid-template-columns: 1fr; }
  .rail--v:nth-child(2) { display: none; }
  .rail--h { top: calc((100% / 6) * var(--i)); }
  .pane { min-height: 170px; }
}

/* ════════════════════ 03 · BEFORE / AFTER ════════════════════ */
.compare { padding-bottom: clamp(80px, 12vh, 160px); }

.compare__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  min-height: 320px;
  overflow: hidden;
  background: #d9e3e9;
  --x: 42%;
  touch-action: pan-y;
}
.compare__photo, .compare__dirty {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare__dirty { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.compare__lens {
  position: absolute; top: 0; bottom: 0;
  left: var(--x);
  width: 120px; height: 100%; margin-left: -60px;
  pointer-events: none;
}

.compare__tag {
  position: absolute; top: clamp(16px, 3vh, 32px);
  font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--ink-soft);
  z-index: 4;
}
.compare__tag--before { left: clamp(16px, 3vw, 40px); }
.compare__tag--after  { right: clamp(16px, 3vw, 40px); }

.compare__blade {
  position: absolute; top: -2%; bottom: -2%; left: var(--x);
  width: 46px; margin-left: -23px;
  z-index: 5;
  pointer-events: none;
}
.compare__blade-rubber {
  position: absolute; inset: 0 17px;
  background: linear-gradient(90deg, rgba(22,26,29,.05), #23292e 30%, #0f1316 55%, rgba(22,26,29,.05));
  box-shadow: -14px 0 26px -18px rgba(22,26,29,.9), 0 0 0 1px rgba(255,255,255,.06);
}
.compare__blade-rubber::after {
  content: ""; position: absolute; left: -8px; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75));
}
.compare__blade-grip {
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: clamp(70px, 12vh, 110px);
  margin: 0 0 0 -6px; transform: translateY(-50%);
  border-radius: 6px;
  background: linear-gradient(180deg, #eef3f6, #a9b5bc 42%, #f3f7f9 52%, #7f8c94);
  box-shadow: 0 8px 24px -12px rgba(22,26,29,.8);
}
.compare__blade-hint {
  position: absolute; left: 50%; top: calc(50% + clamp(52px, 8vh, 76px));
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  transition: opacity .6s var(--ease-glass);
}
.compare__stage.is-dragging .compare__blade-hint { opacity: 0; }

.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  opacity: 0;
  z-index: 6;
  cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  background: none;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.compare__range::-moz-range-thumb { width: 60px; height: 200px; border: 0; opacity: 0; }
.compare__range:focus-visible { opacity: 0; }
.compare__stage:has(.compare__range:focus-visible) { outline: 2px solid var(--ice-deep); outline-offset: 3px; }

/* ════════════════════ 04 · HOW IT WORKS ════════════════════ */
.process { padding-bottom: clamp(90px, 14vh, 180px); }
.process__stage { position: relative; }

.process__line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: rgba(22,26,29,.07);
  overflow: visible;
}
#processPathFill {
  color: var(--ice-deep);
  opacity: .55;
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: calc(var(--len, 1200) - var(--len, 1200) * var(--p, 0));
}
.process__drop {
  position: absolute; left: 0; top: 0;
  width: 11px; height: 13px;
  margin: -6px 0 0 -5.5px;
  border-radius: 50% 50% 52% 52% / 60% 60% 42% 42%;
  background: linear-gradient(165deg, rgba(255,255,255,.98), rgba(143,216,244,.92));
  box-shadow: inset 0 -2px 3px rgba(255,255,255,.9), 0 3px 8px -3px rgba(22,26,29,.35);
  opacity: 0;
  will-change: transform;
}

.steps { position: relative; z-index: 1; display: grid; gap: clamp(46px, 9vh, 120px); }
.step {
  max-width: 40ch;
  opacity: .28;
  transform: translateY(10px);
  transition: opacity .9s var(--ease-glass), transform .9s var(--ease-glass);
}
.step.is-live { opacity: 1; transform: none; }
.step:nth-child(even) { margin-left: auto; }
.step__num {
  font-size: var(--step--1); letter-spacing: .2em;
  color: var(--ice-deep);
  margin-bottom: 14px;
}
.step__title {
  position: relative;
  font-size: var(--step-2);
  line-height: 1; letter-spacing: -.03em; font-weight: 520;
  text-wrap: balance;
}
/* step 03: the blade goes through as the droplet arrives */
.step__title::after {
  content: ""; position: absolute; top: -12%; bottom: -12%; left: -8%;
  width: 30px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg,
      rgba(143,216,244,0), rgba(143,216,244,.3) 34%,
      rgba(255,255,255,.95) 52%, rgba(22,26,29,.12) 60%, rgba(143,216,244,0));
}
.step.is-wiped .step__title::after { animation: blade-pass 1s var(--ease-blade) forwards; }
@keyframes blade-pass {
  0%   { opacity: 1; transform: translateX(0) }
  100% { opacity: 0; transform: translateX(calc(120% + 30px)) }
}
.step__text { margin-top: 12px; color: var(--ink-soft); }

@media (max-width: 700px) {
  .steps { padding-left: 34px; }
  .step:nth-child(even) { margin-left: 0; }
}

/* ════════════════════ 05 · SPLIT ════════════════════ */
.split {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 92vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  --bias: .5;
}
.split__side {
  position: relative;
  display: flex; align-items: flex-end;
  padding: clamp(34px, 6vh, 90px) clamp(24px, 4vw, 78px);
  overflow: hidden;
  isolation: isolate;
}
.split__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 68%;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-glass), filter 1s var(--ease-glass);
  will-change: transform, filter;
}
.split__side::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(12,16,19,.86) 0%, rgba(12,16,19,.28) 46%, rgba(12,16,19,.1) 100%),
    linear-gradient(180deg, rgba(214,236,248,.22), transparent 40%);
  transition: opacity .9s var(--ease-glass), backdrop-filter .9s var(--ease-glass);
}
/* frost the side that is not being looked at */
.split__side--home { --w: max(0, calc((var(--bias) - .5) * 2)); }
.split__side--biz  { --w: max(0, calc((.5 - var(--bias)) * 2)); }
.split__side .split__img { filter: blur(calc(var(--w) * 4.5px)) saturate(calc(1 - var(--w) * .5)) brightness(calc(1 - var(--w) * .1)); }
.split__side::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(232,244,250,.5), rgba(200,224,238,.4));
  opacity: calc(var(--w) * .30);
}

.split__copy { position: relative; z-index: 2; max-width: 40ch; }
.split__copy .sec-kicker { color: rgba(255,255,255,.6); }
.split__copy .sec-kicker::before { background: linear-gradient(90deg, var(--ice), transparent); }
.split__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .9; letter-spacing: -.04em; font-weight: 550;
}
.split__text { margin-top: 18px; color: rgba(255,255,255,.82); max-width: 34ch; }
.split__list { margin: 22px 0 30px; display: grid; gap: 8px; font-size: var(--step--1); color: rgba(255,255,255,.68); }
.split__list li { padding-left: 18px; position: relative; }
.split__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 6px; border-radius: 50% 50% 52% 52% / 60% 60% 42% 42%;
  background: var(--ice);
}
.split .btn-glass { color: #fff; border-color: rgba(255,255,255,.34); background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); }
.split .btn-glass::before { background: radial-gradient(120% 140% at 50% 50%, transparent 26%, rgba(255,255,255,.22) 66%, rgba(255,255,255,.4) 100%); }

.split__divider {
  position: absolute; z-index: 3;
  top: 0; bottom: 0; left: 50%;
  width: 64px; margin-left: -32px;
  pointer-events: none;
  transform: translateX(calc((var(--bias) - .5) * 26px));
  transition: transform 1s var(--ease-glass);
}
.split__divider i {
  position: absolute; inset: 0 24px;
  background: linear-gradient(90deg,
      rgba(255,255,255,0), rgba(255,255,255,.28) 30%,
      rgba(255,255,255,.72) 50%, rgba(255,255,255,.28) 70%, rgba(255,255,255,0));
  box-shadow: 0 0 40px rgba(255,255,255,.25);
}
.split__divider::before {
  content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(9px) saturate(1.1);
  -webkit-backdrop-filter: blur(9px) saturate(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 66%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 66%, transparent);
}
/* glass thickness where the two panes overlap */
.split__divider::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px;
  background: linear-gradient(90deg, rgba(120,190,190,.55), rgba(214,244,250,.9), rgba(90,150,160,.5));
  opacity: .7;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__side { min-height: 74vh; }
  .split__divider { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 64px; margin: -32px 0 0; transform: none; }
  .split__divider i { inset: 24px 0; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.6) 50%, rgba(255,255,255,0)); }
  .split__divider::after { inset: 50% 0 auto; height: 3px; width: auto; margin: -1.5px 0 0; background: linear-gradient(180deg, rgba(120,190,190,.55), rgba(214,244,250,.9), rgba(90,150,160,.5)); }
  .split__side .split__img { filter: none; }
  .split__side::before { opacity: 0; }
}

/* ════════════════════ 06 · GALLERY ════════════════════ */
.gallery { padding-bottom: clamp(90px, 14vh, 190px); overflow: hidden; }

.panes-float {
  position: relative;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  row-gap: clamp(18px, 3vw, 40px);
}

.gpane {
  position: relative;
  overflow: hidden;
  background: #e2eaef;
  box-shadow: var(--shadow-pane);
  will-change: transform;
  isolation: isolate;
}
.gpane img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-glass), filter 1s var(--ease-glass);
  filter: contrast(.96) saturate(.92);
}
.gpane:hover img { transform: scale(1.03); filter: contrast(1.06) saturate(1.02); }

/* the reflected layer that hovering removes */
.gpane__reflection {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.05) 32%, rgba(214,238,250,.25) 58%, rgba(255,255,255,.42) 100%),
    linear-gradient(0deg, rgba(190,214,228,.22), transparent 60%);
  opacity: .9;
  transition: opacity 1s var(--ease-glass);
}
.gpane:hover .gpane__reflection { opacity: .12; }

/* a single drop acting as a lens */
.gpane__lens {
  position: absolute; z-index: 3; pointer-events: none;
  left: var(--lx, 62%); top: var(--ly, 20%);
  width: 62px; height: 70px;
  margin: -35px 0 0 -31px;
  border-radius: 50% 50% 52% 52% / 58% 58% 44% 44%;
  background-image: inherit;
  box-shadow:
    inset 0 -8px 14px -6px rgba(255,255,255,.85),
    inset 0 8px 14px -8px rgba(22,26,29,.25),
    0 6px 14px -8px rgba(22,26,29,.4);
  backdrop-filter: blur(0px) brightness(1.04);
  -webkit-backdrop-filter: blur(0px) brightness(1.04);
  overflow: hidden;
  opacity: .95;
}
.gpane__lens::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--src);
  background-size: var(--bg-size, 300%);
  background-position: var(--bg-pos, center);
  transform: scale(1.14);
  filter: saturate(1.05) contrast(1.04);
}
.gpane__lens::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 34% 26%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(120% 90% at 50% 100%, rgba(255,255,255,.5), transparent 55%);
  mix-blend-mode: screen;
}

.gpane figcaption {
  position: absolute; z-index: 4; left: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 12px rgba(12,16,19,.6);
  opacity: 0; transform: translateY(6px);
  transition: opacity .6s var(--ease-glass), transform .6s var(--ease-glass);
}
.gpane:hover figcaption { opacity: 1; transform: none; }

.gpane--a { grid-column: 1 / span 4; aspect-ratio: 3/4; }
.gpane--b { grid-column: 5 / span 5; aspect-ratio: 4/5; margin-top: clamp(40px, 9vw, 130px); }
.gpane--c { grid-column: 10 / span 3; aspect-ratio: 1/1; margin-top: clamp(20px, 4vw, 60px); }
.gpane--d { grid-column: 2 / span 4; aspect-ratio: 3/4; margin-top: clamp(-40px, -3vw, 0px); }
.gpane--e { grid-column: 7 / span 5; aspect-ratio: 4/5; margin-top: clamp(-90px, -7vw, -20px); }

@media (max-width: 820px) {
  .panes-float { grid-template-columns: repeat(6, 1fr); }
  .gpane--a { grid-column: 1 / span 4; }
  .gpane--b { grid-column: 3 / span 4; margin-top: 20px; }
  .gpane--c { grid-column: 1 / span 3; margin-top: 0; }
  .gpane--d { grid-column: 4 / span 3; margin-top: -30px; }
  .gpane--e { grid-column: 2 / span 4; margin-top: 10px; }
}

/* ════════════════════ 07 · REVIEWS ════════════════════ */
.reviews { padding-bottom: clamp(90px, 14vh, 190px); }
.reviews__stage {
  position: relative;
  min-height: clamp(280px, 40vh, 420px);
  padding-top: clamp(10px, 2vh, 30px);
}
.review {
  position: absolute; inset: 0 auto auto 0;
  width: 100%;
  max-width: min(100%, 900px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s var(--ease-glass), filter 1s var(--ease-glass), transform 1s var(--ease-glass);
  filter: blur(7px);
  transform: translateY(12px);
}
.review.is-active { opacity: 1; filter: blur(0); transform: none; pointer-events: auto; }
.review__text {
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.038em; font-weight: 500;
  text-wrap: balance;
}
.review__text::before { content: "„"; color: var(--ice-deep); }
.review__text::after { content: "“"; color: var(--ice-deep); }
.review__meta {
  margin-top: clamp(20px, 3vh, 34px);
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.reviews__nav {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
}
.reviews__btn {
  width: 42px; height: 42px;
  background: none; border: 1px solid rgba(22,26,29,.14);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: border-color .5s var(--ease-glass), color .5s var(--ease-glass), background .5s var(--ease-glass);
}
.reviews__btn:hover { border-color: var(--ice-deep); color: var(--ink); background: rgba(255,255,255,.6); }
.reviews__dots { display: flex; gap: 8px; }
.reviews__dots i {
  display: block; width: 5px; height: 6px;
  border-radius: 50% 50% 52% 52% / 60% 60% 42% 42%;
  background: rgba(22,26,29,.16);
  transition: background .5s var(--ease-glass), transform .5s var(--ease-glass);
}
.reviews__dots i.is-on { background: var(--ice-deep); transform: scale(1.25); }

@media (max-width: 640px) {
  .review { max-width: 100%; }
  .reviews__nav { position: static; margin-top: 34px; justify-content: flex-start; }
  .reviews__stage { min-height: 0; }
  .review { position: relative; display: none; }
  .review.is-active { display: block; }
}

/* ════════════════════ 08 · QUOTE ════════════════════ */
.quote { padding-bottom: clamp(90px, 14vh, 180px); }
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(72px, 11vh, 150px);
}
.quote__title { font-size: var(--step-3); }
.quote__facts {
  margin-top: clamp(30px, 5vh, 56px);
  display: grid; gap: 16px;
  font-size: var(--step-0);
}
.quote__facts div { display: grid; grid-template-columns: 9ch 1fr; gap: 14px; align-items: baseline; }
.quote__facts dt { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.quote__facts a { border-bottom: 1px solid rgba(22,26,29,.16); }
.quote__facts a:hover { border-color: var(--ice-deep); }

.quote__panel {
  position: relative;
  padding: clamp(24px, 3vw, 46px);
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.66);
  background: linear-gradient(160deg, rgba(255,255,255,.6), rgba(226,241,249,.5));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), var(--shadow-lift);
  overflow: hidden;
  isolation: isolate;
}
.quote__fog {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
}
.qform {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  transition: opacity .5s var(--ease-glass);
}
.qfield { grid-column: 1 / -1; }
.qfield--half { grid-column: span 1; }
.qfield label {
  display: block;
  font-size: var(--step--1);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  transition: color .5s var(--ease-glass);
}
.qfield input, .qfield select, .qfield textarea {
  width: 100%;
  padding: 12px 2px;
  background: none;
  border: 0; border-bottom: 1px solid rgba(22,26,29,.18);
  border-radius: 0;
  font-size: var(--step-1);
  letter-spacing: -.01em;
  transition: border-color .5s var(--ease-glass), background .5s var(--ease-glass);
  appearance: none; -webkit-appearance: none;
}
.qfield textarea { resize: vertical; min-height: 62px; }
.qfield select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%), linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%); background-position: right 4px center, right 0px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.qfield input:focus, .qfield select:focus, .qfield textarea:focus {
  outline: none; border-color: var(--ice-deep);
}
.qfield:focus-within label { color: var(--ink); }
.qfield.is-invalid input, .qfield.is-invalid select, .qfield.is-invalid textarea { border-color: #cf6b5a; }

.qform__submit { grid-column: 1 / -1; margin-top: 10px; justify-self: start; }
.qform__note { grid-column: 1 / -1; font-size: var(--step--1); color: var(--ink-mute); }

.quote__wipe {
  position: absolute; z-index: 4; top: -4%; bottom: -4%; left: 0;
  width: 54px; margin-left: -60px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg,
      rgba(143,216,244,0), rgba(143,216,244,.25) 30%,
      rgba(255,255,255,.98) 52%, rgba(22,26,29,.18) 60%, rgba(143,216,244,0));
  box-shadow: 0 0 50px rgba(255,255,255,.7);
}
.quote__done[hidden] { display: none; }
.quote__done {
  position: absolute; z-index: 3; inset: clamp(24px, 3vw, 46px);
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transition: opacity .8s var(--ease-glass);
}
.quote__done.is-on { opacity: 1; }
.quote__done-title {
  font-size: var(--step-2); line-height: 1.02;
  letter-spacing: -.032em; font-weight: 520;
  text-wrap: balance;
}
.quote__done-sub { margin-top: 14px; color: var(--ink-mute); font-size: var(--step-0); }

@media (max-width: 860px) {
  .quote__grid { grid-template-columns: 1fr; }
  .qfield--half { grid-column: 1 / -1; }
}

/* ════════════════════ 09 · FOOTER ════════════════════ */
.foot {
  position: relative;
  background: var(--paper);
  border-top: 1px solid rgba(22,26,29,.08);
  padding-top: clamp(50px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.foot__fog {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(247,250,251,0), rgba(240,247,250,.92));
  backdrop-filter: blur(var(--fog, 0px));
  -webkit-backdrop-filter: blur(var(--fog, 0px));
  opacity: var(--fogop, 0);
  transition: opacity .6s linear;
}
.foot__wipe {
  position: absolute; z-index: 4; top: 0; bottom: 0; left: 0;
  width: 60px; margin-left: -70px;
  pointer-events: none; opacity: 0;
  background: linear-gradient(90deg,
      rgba(143,216,244,0), rgba(143,216,244,.22) 28%,
      rgba(255,255,255,.98) 52%, rgba(22,26,29,.14) 60%, rgba(143,216,244,0));
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: clamp(40px, 7vh, 90px);
}
.foot__mark {
  position: relative; display: inline-block;
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 600;
  letter-spacing: .28em; text-indent: .28em;
}
.foot__mark .nav__logo-drop { right: -14px; margin-top: -14px; width: 7px; height: 7px; }
.foot__slogan { margin-top: 18px; color: var(--ink-soft); font-size: var(--step-1); letter-spacing: -.014em; max-width: 22ch; }
.foot__h {
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500; margin-bottom: 16px;
}
.foot__col ul { display: grid; gap: 9px; font-size: var(--step-0); color: var(--ink-soft); }
.foot__col a { transition: color .4s var(--ease-glass); }
.foot__col a:hover { color: var(--ice-deep); }

.foot__legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  max-width: var(--maxw); margin-inline: auto;
  padding: 20px var(--gut) 26px;
  border-top: 1px solid rgba(22,26,29,.07);
  font-size: var(--step--1); color: var(--ink-faint);
}

/* the final reveal panel */
.foot__reveal {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 820px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
