/* ============================================================
   Studio portfolio — Apple × Teenage Engineering × atelier
   Paper white, ink black, one painted red. Golden-ratio rhythm.
   ============================================================ */

:root {
  --paper: #fafaf8;
  --paper-deep: #f3f3ef;
  --ink: #131314;
  --grey: #8a8a86;
  --grey-light: #b9b9b4;
  --line: rgba(19, 19, 20, 0.08);
  --red: #c0181f;
  --red-deep: #8e1015;
  --red-soft: rgba(192, 24, 31, 0.08);

  /* golden-ratio spacing scale (φ ≈ 1.618) */
  --s1: 0.618rem;   /* 10 */
  --s2: 1rem;       /* 16 */
  --s3: 1.618rem;   /* 26 */
  --s4: 2.618rem;   /* 42 */
  --s5: 4.236rem;   /* 68 */
  --s6: 6.854rem;   /* 110 */
  --s7: 11.089rem;  /* 178 */

  --gutter: clamp(1.25rem, 6.18vw, 6.5rem);
  --radius: 22px;
  --font-sans: "Schibsted Grotesk", -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---- film grain over everything, barely there ---- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- liquid glass ---- */
.glass {
  background: linear-gradient(150deg, rgba(255,255,255,0.72), rgba(255,255,255,0.38));
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255,255,255,0.85);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  box-shadow:
    0 1px 2px rgba(19,19,20,0.03),
    0 12px 40px -18px rgba(19,19,20,0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border-radius: var(--radius);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: var(--s2);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  /* neutral frosted glass: whiter fill, desaturated backdrop so the warm
     footage can't tint it muddy, moderate blur, crisp light edge */
  background: linear-gradient(180deg, rgba(255,255,255,0.56) 0%, rgba(255,255,255,0.30) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(0.85) brightness(1.14);
  backdrop-filter: blur(18px) saturate(0.85) brightness(1.14);
  border: 1px solid rgba(255,255,255,0.72);
  outline: 1px solid rgba(19,19,20,0.04);
  outline-offset: -1px;
  border-radius: 100px;
  box-shadow:
    0 6px 22px -12px rgba(19,19,20,0.14),
    inset 0 1px 1px rgba(255,255,255,0.75);
  transition: box-shadow 0.4s ease;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}
.nav__mark img {
  display: block;
  width: 1.7rem;
  height: auto;
  aspect-ratio: 443 / 652;
}

.nav__links { display: flex; gap: var(--s3); }
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav__cta:hover { background: var(--red); transform: translateY(-1px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 61.8% 44%, #ffffff 0%, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 90% 80% at 61.8% 105%, rgba(19,19,20,0.045) 0%, rgba(19,19,20,0) 60%),
    var(--paper);
}

/* Seedance hero film — full bleed, blended into the paper */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop left-of-source so the brush rides the right golden line, off the copy */
  object-position: 18% center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__brush,
.hero.has-video .hero__brush-shadow { display: none; }

/* veil: feathers the footage into the page + keeps copy legible */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,250,248,0.92) 0%, rgba(250,250,248,0.55) 30%, rgba(250,250,248,0) 55%),
    linear-gradient(0deg, var(--paper) 0%, rgba(250,250,248,0) 18%),
    linear-gradient(180deg, rgba(250,250,248,0.4) 0%, rgba(250,250,248,0) 14%);
}

/* brush sits at the golden vertical */
.hero__brush {
  position: absolute;
  left: 61.8%;
  top: 50%;
  transform: translate(-50%, -52%) rotate(7deg);
  height: 74vh;
  aspect-ratio: 120 / 640;
  z-index: 2;
  will-change: transform;
  animation: float 9s ease-in-out infinite;
}
.brush-svg {
  width: 100%;
  height: 100%;
  filter:
    drop-shadow(0 24px 32px rgba(19,19,20,0.18))
    drop-shadow(0 60px 80px rgba(19,19,20,0.10));
}
.hero__brush-shadow {
  position: absolute;
  left: 50%;
  bottom: -7vh;
  transform: translateX(-50%) rotate(-7deg);
  width: 130%;
  height: 3.2vh;
  background: radial-gradient(ellipse at center, rgba(19,19,20,0.16), rgba(19,19,20,0) 68%);
  filter: blur(6px);
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -52%) rotate(7deg); }
  50%      { transform: translate(-50%, -55%) rotate(5.6deg); }
}

.hero__copy {
  position: relative;
  z-index: 3;
  padding-left: var(--gutter);
  max-width: min(46rem, 56vw);
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: var(--s3);
}

.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: var(--s3);
}
.hero__title .line { display: block; }
.hero__title em {
  position: relative;
  font-size: 1.06em;
  padding-right: 0.08em;
  white-space: nowrap;
}

/* painted underline swipe */
.title-swipe {
  position: absolute;
  left: -0.02em;
  right: 0;
  bottom: -0.06em;
  height: 0.16em;
  border-radius: 2px 6px 4px 8px / 6px 2px 8px 3px;
  background:
    linear-gradient(92deg, var(--red) 0%, #d33036 38%, var(--red) 66%, var(--red-deep) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), inset 0 -2px 2px rgba(0,0,0,0.18);
  transform: scaleX(0);
  transform-origin: left center;
}

.hero__sub {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  color: var(--grey);
  font-weight: 400;
  line-height: 1.55;
  max-width: 28rem;
  margin-bottom: var(--s4);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.3s ease, background 0.3s ease;
}
.btn--primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 28px -14px rgba(19,19,20,0.5);
}
.btn--primary:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(192,24,31,0.55);
}
.btn--big { font-size: 1.02rem; padding: 1.15rem 2.4rem; }

.hero__hint {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.hero__hint-line {
  width: 3.4rem;
  height: 1px;
  background: var(--grey-light);
  transform-origin: left;
  animation: hintPulse 2.6s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { transform: scaleX(0.4); opacity: 0.5; }
  50%      { transform: scaleX(1); opacity: 1; }
}

/* load reveals */
.reveal-load { opacity: 0; transform: translateY(26px); }

/* ============ SECTIONS SHARED ============ */
/* fade from the curtain's pure white into the paper tone, no visible seam.
   The negative margin tucks the first section under the cloud curtain
   (z4/5 beats main's z3), so it's already peeking ~3/4 down the screen
   when the white-out completes instead of a blank first viewport. */
main { position: relative; z-index: 6; margin-top: -74vh; background: linear-gradient(#ffffff 0, var(--paper) 38vh); }

section.work, section.services, section.trust, section.cta {
  padding: var(--s6) var(--gutter);
  max-width: 90rem;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s2) var(--s3);
  align-items: baseline;
  margin-bottom: var(--s5);
}
.section-head__index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--red);
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.section-head__note {
  grid-column: 2;
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 30rem;
}

/* ============ IMAGE STRIP (seamless marquee belt) ============ */
.work {
  position: relative;
  padding-top: var(--s2);
  padding-bottom: var(--s3);
  background: #ffffff;
}
.work::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #ffffff;
}

/* the hero's white curtain dissipates into the gallery: a feathered
   fog thickening at the boundary — gradients only, no visible asset */
.vhero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12vh;
  height: 26vh;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(58% 100% at 28% 0%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(52% 92% at 72% 10%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.55) 45%, rgba(250,250,248,0) 100%);
}

/* quiet editorial signature — centered and high, with a generous white
   gap before the strip so the label reads first, then the carousel */
.work__label {
  text-align: center;
  margin-bottom: clamp(11vh, 15vh, 20vh);
}
.work__label h2 {
  position: relative;
  display: inline-block;
  /* minimalist: sans, small, wide-tracked label rather than a title */
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.work__label em {
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--ink);
}
.paint-underline {
  position: absolute;
  left: 2%;
  bottom: -0.62em;
  width: 96%;
  height: 0.56em;
  overflow: visible;
}
.paint-underline path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100; /* drawn left-to-right on scroll into view */
}

.shelf {
  /* portrait display-boards on a shared gallery rail */
  --panel-w: min(22vh, 200px);
  --panel-h: calc(var(--panel-w) * 1.25);
  --gap: calc(var(--panel-w) * 1.22 - 11px); /* slightly tighter gallery spacing */
  position: relative;
  height: calc(var(--panel-h) + 18vh);
  margin: 0 calc(var(--gutter) * -1); /* full-bleed inside the section */
  overflow: hidden;
  cursor: grab;
  background: transparent;
  transform-style: preserve-3d;
  /* soft white edge fades — subtle, centre stays crisp */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.shelf:active { cursor: grabbing; }

/* the belt: one set + its clone laid end to end, translated as a unit */
.shelf__track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  will-change: transform;
  transform-style: preserve-3d;
}

.panel {
  position: relative;
  flex: 0 0 auto;
  width: var(--gap);         /* box width = spacing; tilted face overflows it */
  height: var(--panel-h);
  aspect-ratio: 4 / 5;
  user-select: none;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.panel:hover { z-index: 5; }

.panel__face {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--panel-w);
  height: 100%;
  aspect-ratio: 4 / 5;
  margin-left: calc(var(--panel-w) / -2);
  border-radius: 10px;
  background: transparent;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  /* exact reference geometry: the complete image and card move as one plane */
  transform:
    perspective(1143px)
    rotateY(-50deg)
    skewY(20deg);
  transform-origin: center center;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1),
    filter 0.45s ease;
}
.panel__face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  /* Per-card cinematic feather: soft dissolve over the final ~19%. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 81%,
    rgba(0, 0, 0, 0.9) 86%,
    rgba(0, 0, 0, 0.55) 92%,
    rgba(0, 0, 0, 0.18) 97%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 81%,
    rgba(0, 0, 0, 0.9) 86%,
    rgba(0, 0, 0, 0.55) 92%,
    rgba(0, 0, 0, 0.18) 97%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}

.panel__meta {
  position: absolute;
  left: 50%;
  bottom: -3.2rem;
  transform: translateX(-50%) translateY(8px);
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
  z-index: 6;
  color: var(--ink);
}
.panel__meta h3 {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.panel__meta span {
  font-size: 0.8rem;
  color: var(--grey);
}

/* hover: lift + step forward — track keeps moving (no pause) */
@media (hover: hover) and (pointer: fine) {
  .panel:hover {
    transform: translateY(-20px);
  }
  .panel:hover .panel__face {
    transform:
      perspective(1143px)
      rotateY(-12deg)
      skewY(5deg)
      scale(1.03);
    filter:
      drop-shadow(0 20px 18px rgba(19, 19, 20, 0.16))
      contrast(1.04)
      saturate(1.03);
  }
  .panel:hover .panel__meta {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* static fallback for reduced motion */
.shelf--static { mask-image: none; -webkit-mask-image: none; cursor: default; height: auto; overflow: visible; padding: var(--s3) var(--gutter); }
.shelf--static .shelf__track { position: static; height: auto; flex-wrap: wrap; justify-content: center; gap: var(--s3); transform-style: flat; }
.shelf--static .panel { width: var(--panel-w); transform: none; }
.shelf--static .panel__face { transform: none; position: relative; left: auto; margin: 0; }
.shelf--static .panel__meta { opacity: 1; transform: none; position: static; margin-top: 0.6rem; left: auto; bottom: auto; }

/* ============ WHITE BREATH ============ */
.breath {
  height: clamp(48px, 6vh, 100px);
  background: linear-gradient(to bottom, #ffffff 0%, var(--paper) 100%);
}

/* ============ ATELIER (pinned dissolve stage) ============ */
.atelier {
  position: relative;
  height: 640vh; /* runway: reveal, trail, push, desk, notes, disperse, invitation */
  background: var(--paper); /* pre-pin the stage reads as gallery white */
}
.atelier__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #14100c; /* also fills the frame cut-out until art appears */
}
/* z2 — the room; fades in UNDER the whiteout and fog */
.atelier__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  will-change: transform, opacity;
}
/* z3 — gentle readability grade, no heavy veil */
.atelier__grade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,8,6,0) 55%, rgba(10,8,6,0.30) 88%),
    linear-gradient(0deg, rgba(10,8,6,0.26) 0%, rgba(10,8,6,0) 18%);
}

/* z3 (over grade) — golden-ratio blueprint ghost. Screen blend lifts the
   near-white lines over the dark room; transparent areas add nothing.
   Same object-fit cover as the bg, so the lines register on the room. */
.atelier__blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  opacity: 0; /* scroll timeline fades it in with the room */
  mix-blend-mode: screen;
  /* the source lines are whisper-faint; amplify them hard */
  filter: brightness(2.6) contrast(1.15);
  pointer-events: none;
  will-change: opacity;
}

/* z1 — artwork sits BEHIND the room and shows through the frame's
   transparent cut-out. Positioned by layoutFrameArt() to OVERFILL the
   hole (FRAME_RECT); the gold frame's opaque border hides the overflow,
   so pixel-perfect alignment isn't required. */
.frame-art {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  visibility: hidden; /* shown once layoutFrameArt() has placed it */
  background: #0b0908; /* unlit backing until Dog1 appears */
  will-change: transform;
}
.frame-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0; /* scroll timeline crossfades the dogs in sequence */
  filter: brightness(0.9) saturate(0.92); /* lit by the room, not glowing */
  will-change: opacity;
}

/* z5 — held gallery white, dissolved by the timeline */
.atelier__whiteout {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: var(--paper);
  will-change: opacity;
}
/* chapter title card: sits on the held white, dissolves as fog gathers.
   Typography mirrors the Selected Work label. */
.atelier__chapter {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  justify-items: center;
  align-items: start;
  padding-top: 23vh; /* high enough to greet the scroll, air all around */
  pointer-events: none;
}
.atelier__chapter h2 {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.atelier__chapter em {
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--ink);
}

/* z5 (over whiteout) — cool blue-grey atmosphere during the dissolve */
.atelier__coolveil {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg,
    rgba(153,163,178,0.55) 0%, rgba(153,163,178,0.75) 45%, rgba(153,163,178,0.5) 100%);
  will-change: opacity;
}
/* z6 — fog: absent over the white, dense during the dissolve, gone after */
.atelier__fog {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(ellipse 60% 54% at 50% 50%, #000 32%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 54% at 50% 50%, #000 32%, transparent 75%);
}
.atelier__fog--top { top: -18%; left: -14%; width: 136%; }
.atelier__fog--mid { top: 10%; right: -18%; width: 130%; transform: scaleX(-1); }
.atelier__fog--low { bottom: -22%; left: -10%; width: 126%; filter: blur(1.5px); }

/* z7 — the studio-process trail: four pinned notes on a zig-zag string.
   POSITION CONFIG: each note's top-left corner, tuned to keep the gold
   frame (left ~23-33%, top ~27-45%) untouched. Adjust the two custom
   props per note; everything else follows. */
.notes {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}
.notes__string {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.notes__string path {
  stroke: rgba(214, 183, 122, 0.5); /* fine warm gold */
  stroke-width: 1.3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100; /* drawn pin-to-pin by the stage timeline */
}
.note {
  --x: 40%;
  --y: 20%;
  visibility: hidden; /* autoAlpha: no invisible hover targets */
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: min(224px, 22vw);
  pointer-events: auto;
  padding: var(--s3) var(--s3) var(--s3);
  border-radius: 12px;
  /* frosted fill holds the liquid-glass look even when scroll transforms
     flatten backdrop-filter on this stacking context */
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 48%, rgba(255, 255, 255, 0.10) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(0.95) brightness(1.16);
  backdrop-filter: blur(8px) saturate(0.95) brightness(1.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    0 12px 30px -16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  opacity: 0; /* revealed in sequence by the stage timeline */
  transition: border-color 0.35s ease;
}
.note:hover { border-color: rgba(255, 255, 255, 0.44); }
.note--1 { --x: 39%; --y: 16%; }
.note--2 { --x: 70%; --y: 34%; }
.note--3 { --x: 42%; --y: 55%; }
.note--4 { --x: 68%; --y: 70%; }
/* brass pin at each note's string point */
.note__pin {
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0d79a 0%, #c39c52 45%, #7c5f28 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}
.note h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.16rem;
  color: #f6efe3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.35rem;
}
.note p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.72);
}

@media (max-width: 860px) {
  .breath { height: clamp(48px, 7vh, 110px); }
  .atelier { height: auto; }
  .atelier__stage { position: relative; height: auto; min-height: 100vh; padding: 12vh 0 10vh; }
  /* mobile: notes stack in flow; the string stays desktop-only */
  .notes { position: relative; inset: auto; padding: 0 var(--gutter); display: grid; gap: var(--s3); }
  .notes__string { display: none; }
  .note { position: relative; left: auto; top: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .atelier { height: auto; }
  .atelier__stage { position: relative; }
  .atelier__whiteout { opacity: 0; }
  .atelier__fog { opacity: 0.15; }
  .frame-art img:last-child { opacity: 1; }
  .atelier__blueprint { opacity: 0.85; }
  .note { opacity: 1; visibility: visible; }
  .notes__string path { stroke-dashoffset: 0; }
}

/* ============ DESK TAKEOVER (inside the atelier stage) ============ */
/* z9 — rises over the pushed-in room; no boundary, pure layering */
.deskover {
  position: absolute;
  inset: 0;
  z-index: 9;
  opacity: 0; /* brought in by the stage timeline (autoAlpha) */
  visibility: hidden; /* no ghost hit-target over the room phase */
  transform-origin: 50% 62%;
  will-change: transform, opacity;
}
.deskover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* warm lamp-lit grade: bright pool upper-left, gentle vignette */
.deskover__grade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 26% 18%, rgba(255, 196, 110, 0.14) 0%, rgba(255, 196, 110, 0) 70%),
    radial-gradient(120% 110% at 50% 50%, rgba(12, 9, 6, 0) 55%, rgba(12, 9, 6, 0.42) 100%);
}

.desk__label {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  top: 7vh;
  opacity: 0; /* fades in as the desk settles */
}
.desk__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 224, 198, 0.6);
  margin-bottom: var(--s1);
}
.desk__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: #f0e0c6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.desk__papers {
  position: absolute;
  inset: 0;
  z-index: 2;
}
/* each note: a real paper object. Position/rotation/timing from DESK_NOTES */
.dnote {
  position: absolute;
  width: 21vw;
  min-width: 240px;
  max-width: 340px;
  will-change: transform, opacity;
  opacity: 0; /* landed by the timeline (autoAlpha) */
  visibility: hidden;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.42));
}
.dnote__paper {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.dnote--flip .dnote__paper { transform: scaleX(-1); }
/* ink sits ON the paper: inside the deckled edges */
.dnote__text {
  position: absolute;
  inset: 9% 12% 11% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}
.dnote__text blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(0.82rem, 1.05vw, 1.02rem);
  line-height: 1.38;
  color: #3a3128; /* warm charcoal ink */
}
.dnote__text cite {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b5c4a;
}
/* brass details: attached at paper edges/corners */
.dnote__brass {
  position: absolute;
  z-index: 3;
  opacity: 0; /* appears just after its paper lands */
  will-change: transform, opacity;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.45));
}
.dnote__brass--pin { width: 13%; top: calc(-4% + 20px); left: 47%; }
.dnote__brass--clip { width: 12%; top: calc(-3% + 25px); left: 12%; transform: rotate(-14deg); }

@media (max-width: 860px) {
  /* the takeover becomes a normal block after the room on mobile */
  .deskover { position: relative; inset: auto; opacity: 1; visibility: visible; min-height: 100vh; padding: 12vh 0 10vh; }
  .deskover__bg { position: absolute; }
  .desk__label { position: relative; left: auto; top: auto; opacity: 1; padding: 0 var(--gutter) var(--s4); }
  .desk__papers {
    position: relative;
    inset: auto;
    display: grid;
    gap: var(--s4);
    padding: 0 var(--gutter);
    justify-items: center;
  }
  .dnote { position: relative !important; left: auto !important; top: auto !important; width: min(92%, 360px); max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .deskover { position: relative; inset: auto; opacity: 1; visibility: visible; min-height: 100vh; }
  .dnote { opacity: 1; visibility: visible; }
  .dnote__brass { opacity: 1; }
  .desk__label { opacity: 1; }
  .finale-note { opacity: 1; visibility: visible; }
}

/* ============ THE INVITATION (in-stage finale note) ============ */
.finale-note {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 42vw);
  transform: translate(-50%, -50%);
  opacity: 0; /* settles in after the reviews disperse (autoAlpha) */
  visibility: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5));
  z-index: 4;
}
.finale-note__paper {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.finale-note__pin {
  position: absolute;
  width: 11%;
  top: -4%;
  left: 47%;
  opacity: 0;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.45));
}
.finale-note__text {
  position: absolute;
  inset: 10% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}
.finale-note__eyebrow {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7a64;
}
.finale-note__text h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.14;
  color: #2f2822;
}
.finale-note__body {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.45;
  color: #4a4033;
  max-width: 32ch;
}
.finale-note__btn {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  background: #2b241c; /* warm inked stamp, not a SaaS pill */
  color: #f0e0c6;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, transform 0.3s ease;
}
.finale-note__btn:hover { background: var(--red-deep); transform: translateY(-2px); }
.finale-note__alt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: #6b5c4a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.finale-note__alt:hover { color: #3a3128; }

/* nav Contact lands on the settled invitation (one viewport before release) */
.contact-anchor {
  position: absolute;
  bottom: 100vh;
  height: 1px;
  width: 1px;
}

/* ============ VALUE / PRICING (calm financial breakdown) ============ */
.value {
  max-width: 36rem;
  margin: 0 auto;
  padding: var(--s7) var(--gutter) var(--s6);
  background: var(--paper);
}
.value__head {
  text-align: center;
  margin-bottom: var(--s5);
}
.value__head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s2);
}
.value__head h2 em { font-size: 1.05em; }
.value__head p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--grey);
  max-width: 42ch;
  margin: 0 auto;
}
.value__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: var(--s3);
}
.value__list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.value__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.value__list li span:first-child {
  font-size: 0.95rem;
  color: var(--ink);
}
.value__list li span:last-child {
  font-size: 0.85rem;
  color: var(--grey);
  white-space: nowrap;
}
.value__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3);
  padding: 1.1rem 0 0.4rem;
}
.value__total > span:first-child {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
}
/* our price, aligned right under the scary total for direct comparison */
.value__total--ours {
  padding: 0.55rem 0 0.2rem;
}
.value__total--ours > span:first-child { color: var(--ink); }
.value__oursfig {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
}
.value__oursfig em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.5em;
  color: var(--grey);
  letter-spacing: 0.01em;
}
.value__totalfig {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
}
/* the considered red pencil line through the old way of paying */
.value__strike {
  position: absolute;
  left: -6%;
  top: 50%;
  width: 112%;
  height: 0.7em;
  transform: translateY(-50%);
  overflow: visible;
  opacity: 0.85;
}
.value__strike path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100; /* drawn once on scroll */
}

.value__offer {
  margin-top: var(--s6);
  text-align: center;
}
.value__label--offer { color: var(--ink); }
.value__price {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: var(--s3);
}
.value__price span {
  font-size: 0.32em;
  color: var(--grey);
  letter-spacing: 0.01em;
}
.value__incl {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  margin-bottom: var(--s3);
}
.value__incl li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.value__incl li + li::before {
  content: "\00b7";
  margin: 0 0.7rem;
  color: var(--grey-light);
}
.value__note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--grey);
  margin-bottom: var(--s4);
}
.value__btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(19, 19, 20, 0.5);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.value__btn:hover { background: var(--red); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .value__strike path { stroke-dashoffset: 0; }
}

/* ============ FOOTER ============ */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--gutter) var(--s4);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--grey-light);
  max-width: 90rem;
  margin: 0 auto;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}
.footer__brand:hover { opacity: 1; }
.footer__brand img {
  display: block;
  width: 1.35rem;
  height: auto;
  aspect-ratio: 443 / 652;
}
.footer__contact {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  padding: 0.5rem 1.05rem;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer__contact:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* ============ SCROLL REVEALS ============ */
.reveal { opacity: 0; transform: translateY(34px); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .hero__brush { animation: none; }
  .hero__hint-line { animation: none; }
  .reveal-load, .reveal { opacity: 1 !important; transform: none !important; }
  .title-swipe { transform: scaleX(1) !important; }
}

/* ============ MOBILE ============ */
@media (max-width: 860px) {
  .nav { gap: var(--s2); padding: 0.5rem 0.5rem 0.5rem 1rem; width: calc(100% - 2rem); justify-content: space-between; }
  .nav__links { display: none; }

  .hero { align-items: flex-end; padding-bottom: 14vh; }

  /* 16:9 footage crops the brush away on portrait screens —
     fall back to the drawn composition so the brush still owns the fold */
  .hero__video { display: none; }
  .hero__veil { display: none; }
  .hero.has-video .hero__brush { display: block; }
  .hero.has-video .hero__brush-shadow { display: block; }

  .hero__brush {
    height: 46vh;
    left: 81%;
    top: 27%;
    opacity: 0.92;
  }
  .hero__copy { max-width: 100%; padding-right: var(--gutter); }
  .hero__sub { max-width: 22rem; }



  .services__grid { grid-template-columns: 1fr; }
  .services__grid .offer:nth-child(even) { transform: none; }
  .offer { min-height: auto; }

  .trust__row { grid-template-columns: 1fr; }
  .quote--offset { transform: none; }

  .footer { flex-direction: column; gap: 0.4rem; }
}

/* ============ IMMERSIVE HERO (bridge film + cloud reveal) ============ */
.vhero {
  position: relative;
  height: 220vh; /* scroll runway for the cloud curtain */
  background: #ffffff;
}
.vhero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.vhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Brand lockup floats in the clear sky; CTA rests beneath the wordmark. */
.vhero__copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
/* Slight darkness pooled behind the lockup for quiet legibility. */
.vhero__copy::before {
  content: "";
  position: absolute;
  inset: -12% -20%;
  background: radial-gradient(
    ellipse 62% 46% at 50% 24%,
    rgba(38, 28, 16, 0.26) 0%,
    rgba(38, 28, 16, 0.12) 45%,
    rgba(38, 28, 16, 0) 72%
  );
  pointer-events: none;
}
.vhero__emblem {
  position: relative;
  z-index: 1;
  width: clamp(5rem, 6.4vw, 7.5rem);
  margin-top: clamp(6.8rem, 13vh, 9rem);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.vhero__emblem::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210%;
  height: 155%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255, 249, 238, 0.68) 0%,
    rgba(255, 249, 238, 0.38) 42%,
    rgba(255, 249, 238, 0) 74%
  );
  filter: blur(8px);
  pointer-events: none;
}
.vhero__logo {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  filter:
    drop-shadow(0 1px 1px rgba(255, 250, 240, 0.48))
    drop-shadow(0 8px 22px rgba(28, 19, 10, 0.38));
}
.vhero__title {
  position: relative;
  margin-top: clamp(0.65rem, 1.7vh, 1.25rem);
  /* A restrained editorial wordmark: clear first, distinctive second. */
  color: #f6efe3;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.45rem, 7.2vw, 7.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.9;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
  text-shadow:
    0 1px 2px rgba(28, 19, 10, 0.42),
    0 4px 15px rgba(28, 19, 10, 0.28),
    0 14px 44px rgba(28, 19, 10, 0.34);
}
.vhero__title span,
.vhero__title em {
  position: relative;
}
.vhero__title em {
  margin-left: 0.035em;
  font-weight: 400;
}
.vhero__tag {
  position: relative;
  margin-top: clamp(1rem, 2.2vh, 1.5rem);
  max-width: 34rem;
  color: rgba(255, 250, 242, 0.92);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* layered soft shadows: readable over bright mist, never outlined */
  text-shadow:
    0 1px 2px rgba(45, 32, 18, 0.34),
    0 3px 9px rgba(45, 32, 18, 0.30),
    0 10px 28px rgba(45, 32, 18, 0.26);
}
.btn-liquid {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  /* Settles deeper inside the bridge arch, clear of the figures above. */
  margin-top: clamp(11rem, calc(10vh + 125px), 15rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
  padding: 0.74rem 1.6rem;
  border-radius: 100px;
  /* frosted fill is opaque enough to keep the liquid-glass look even when
     scroll transforms kill backdrop-filter on this stacking context */
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.20) 52%, rgba(255,255,255,0.15) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(0.82) brightness(1.1);
  backdrop-filter: blur(12px) saturate(0.82) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 7px 20px -12px rgba(0, 0, 0, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.64);
  /* white copy stays readable via layered soft shadow, not weight */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 3px 10px rgba(0, 0, 0, 0.26);
  transition: background 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.3s ease;
}
/* crisp refractive rim, brightest at top and bottom, fading mid-edge */
.btn-liquid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.25) 22%,
    rgba(255,255,255,0) 45%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.3) 82%, rgba(255,255,255,0.7) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.btn-liquid:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.48) 0%, rgba(255,255,255,0.28) 52%, rgba(255,255,255,0.22) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px -12px rgba(0, 0, 0, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
.btn-liquid__arrow {
  width: 0.8em;
  height: 0.8em;
  transition: transform 0.3s ease;
}
.btn-liquid:hover .btn-liquid__arrow { transform: translate(2px, -2px); }

/* scroll cue pinned near the fold's bottom edge */
.vhero__scrollhint {
  position: absolute;
  left: 50%;
  bottom: 3vh;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  animation: scrollBob 2.6s ease-in-out infinite;
  pointer-events: none;
}
.vhero__scrollhint svg { width: 16px; height: 58px; display: block; }
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* two independent layers generated from the single clouds.png */
.vhero__clouds {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  will-change: transform;
  transform: translateY(102%); /* parked below the fold until scroll */
}
.vhero__clouds img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px; /* no seam between clouds and white block */
}
.vhero__clouds i {
  display: block;
  height: 130vh;
  background: #ffffff; /* merges into the white document below */
}
.vhero__clouds--back {
  left: -14%;
  width: 126%;
  z-index: 4;
}
.vhero__clouds--front {
  left: -24%;
  width: 152%;
  z-index: 5;
}

@media (max-width: 860px) {
  .vhero { height: 185vh; }
  .shelf {
    --panel-w: min(19vh, 172px);
    --gap: calc(var(--panel-w) * 1.14 - 10px);
  }
  .vhero__emblem {
    width: clamp(4.25rem, 19vw, 5.25rem);
    margin-top: clamp(6.2rem, 12vh, 7.2rem);
  }
  .vhero__title {
    margin-top: 0.7rem;
    font-size: clamp(3.25rem, 15vw, 5rem);
  }
  .vhero__tag {
    max-width: 92%;
    letter-spacing: 0.14em;
  }
  .btn-liquid { margin-top: clamp(7.5rem, calc(8vh + 82px), 10rem); }
  /* portrait screens need wider layers to keep cloud texture in frame */
  .vhero__clouds--back { left: -60%; width: 220%; }
  .vhero__clouds--front { left: -90%; width: 280%; }
}

@media (prefers-reduced-motion: reduce) {
  .vhero { height: 100vh; }
  .vhero__clouds { display: none; }
  .paint-underline path { stroke-dashoffset: 0; }
}
