/* ==========================================================================
   Happy Vision — Pro layer
   Additive design + motion on top of the base redesign. Everything here is
   opt-in through classes the pro-layer script adds, so removing the two
   <link>/<script> tags restores the base page exactly.
   ========================================================================== */

:root {
  --pro-ink: #282b2c;
  --pro-cream: #f3f1ec;
  --pro-clay: #864b2b;
  --pro-burgundy: #3e1f1c;
  --pro-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Lock the page while the intro loader plays ------------------------------ */
html:has(body.is-loader) { overflow: hidden; }

/* Colorways: pinned horizontal travel ------------------------------------- */
.colorways-section.is-pinned { padding: 0; }
.pro-cw-pin {
  position: sticky; top: 0; height: 100svh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 6vw, 108px) clamp(28px, 3.35vw, 62px);
}
.colorways-section.is-pinned .colorways-track { overflow: hidden; }
/* Every photo shares one height; width follows each image's own ratio. */
.colorways-section .colorways-grid { align-items: stretch; }
.colorways-section .colorways-grid__item { flex: 0 0 auto; width: auto; height: clamp(240px, 56svh, 580px); }
.colorways-section .colorways-mask { height: 100%; }
.colorways-section .colorways-grid__item img { width: auto; height: 100%; max-width: none; object-fit: cover; }
@media (max-width: 760px) {
  .colorways-section .colorways-grid__item { height: clamp(200px, 48svh, 420px); }
}

/* Header: palette colors only, flips to cream over dark sections ---------- */
.site-header { color: var(--pro-ink); transition: color .35s ease; }
.site-header.is-inverted { color: var(--pro-ink); }
.site-header__word { transition: color .35s ease; }
.site-header .pro-on-dark { color: var(--pro-cream); }

/* Scroll progress hairline ------------------------------------------------ */
.pro-progress {
  position: fixed; inset: 0 0 auto 0; z-index: 1001; height: 2px;
  background: var(--pro-clay); transform-origin: 0 50%;
  transform: scaleX(var(--pro-progress, 0)); pointer-events: none;
}

/* Film grain -------------------------------------------------------------- */
.pro-grain {
  position: fixed; inset: -50%; z-index: 9998; pointer-events: none;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: pro-grain 1s steps(6) infinite;
}
@keyframes pro-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* Masked word reveal ------------------------------------------------------ */
.pro-split .pro-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pro-split .pro-w > span {
  display: inline-block; transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1.15s var(--pro-ease); transition-delay: calc(var(--i, 0) * 45ms);
}
.pro-split.is-in .pro-w > span { transform: none; }

/* Clip-path image reveal -------------------------------------------------- */
.pro-reveal { clip-path: inset(14% 10% 14% 10% round 2px); transition: clip-path 1.5s var(--pro-ease); }
.pro-reveal.is-in { clip-path: inset(0 0 0 0 round 0); }

/* Scroll-lit sentence ----------------------------------------------------- */
.pro-lit .pro-lw { opacity: var(--lit, .14); transition: opacity .2s linear; }

/* Eye-chart focus --------------------------------------------------------- */
.type-specimen { position: relative; }
.type-specimen__sample > span { filter: blur(var(--blur, 0px)); will-change: filter; }
.pro-acuity {
  position: absolute; right: clamp(18px, 4vw, 64px); bottom: clamp(18px, 3vw, 44px);
  display: flex; align-items: baseline; gap: .6em;
  font: 700 clamp(11px, .85vw, 14px)/1 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #6d6660;
}
.pro-acuity b { font-size: clamp(22px, 2.2vw, 40px); letter-spacing: -.02em; color: var(--pro-ink); font-variant-numeric: tabular-nums; }

/* Velocity marquee -------------------------------------------------------- */
.pro-marquee {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 120px) 0;
  background: var(--pro-cream); color: var(--pro-burgundy); font-family: Lato, sans-serif;
}
.pro-marquee__row { display: flex; width: max-content; will-change: transform; }
.pro-marquee__row + .pro-marquee__row { margin-top: clamp(4px, .6vw, 10px); }
.pro-marquee__item {
  display: flex; align-items: center; gap: .35em; padding-right: .35em; white-space: nowrap;
  font-size: clamp(56px, 9.5vw, 180px); font-weight: 900; line-height: .95; letter-spacing: -.045em; text-transform: uppercase;
}
.pro-marquee__item em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--pro-burgundy); }
.pro-marquee__item svg { width: .62em; height: .31em; flex: none; fill: var(--pro-clay); }

/* Brand deck polish ------------------------------------------------------- */
.brand-slide::before {
  content: attr(data-num); position: absolute; top: clamp(16px, 2.6vw, 44px); right: clamp(20px, 3vw, 52px);
  font: 900 clamp(64px, 9vw, 170px)/.8 Lato, sans-serif; letter-spacing: -.06em; opacity: .14;
}
.brand-slide::after {
  content: ""; position: absolute; left: clamp(24px, 3.4vw, 56px); top: clamp(24px, 3.4vw, 56px);
  width: clamp(54px, 5vw, 92px); aspect-ratio: 2 / 1; opacity: .7; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 172'%3E%3Cg fill='none' stroke='%23000' stroke-width='6'%3E%3Ccircle cx='86' cy='86' r='82'/%3E%3Ccircle cx='258' cy='86' r='82'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 172'%3E%3Cg fill='none' stroke='%23000' stroke-width='6'%3E%3Ccircle cx='86' cy='86' r='82'/%3E%3Ccircle cx='258' cy='86' r='82'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-slide .brand-slide__title .pro-w > span { transition-duration: 1s; }

/* Archive: panel entrance + floating frame -------------------------------- */
.archive-panel.pro-enter .archive-portrait { animation: pro-portrait 1.1s var(--pro-ease) both; }
.archive-panel.pro-enter .archive-entry h3 { animation: pro-rise 1s var(--pro-ease) .08s both; }
.archive-panel.pro-enter .archive-entry p { animation: pro-rise 1s var(--pro-ease) .16s both; }
.archive-panel.pro-enter .archive-entry img { animation: pro-frame 1.3s var(--pro-ease) .12s both; }
.archive-entry { perspective: 900px; }
.archive-entry img { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .6s var(--pro-ease); }
@keyframes pro-portrait { from { clip-path: inset(0 0 100% 0); transform: scale(1.06); } to { clip-path: inset(0); transform: none; } }
@keyframes pro-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes pro-frame { from { opacity: 0; filter: blur(14px); transform: translate3d(60px, 0, 0) rotate(-4deg); } to { opacity: 1; filter: none; transform: none; } }

/* Hello: letters rise ----------------------------------------------------- */
.hello__title.pro-split { white-space: nowrap; }
.hello__title.pro-split .pro-w > span { transition-duration: 1.4s; transition-delay: calc(var(--i, 0) * 70ms + .15s); }

/* Header waits until the hero is passed (avoids clashing with hero controls) */
.site-header:not(.is-visible) { opacity: 0; }
.site-header { transition: color .35s ease, opacity .4s ease; }

/* Keyboard focus ---------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--pro-clay); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 760px) {
  .pro-acuity { position: static; justify-content: center; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pro-grain { animation: none; }
  .pro-split .pro-w > span { transform: none; transition: none; }
  .pro-reveal { clip-path: none; transition: none; }
  .pro-lit .pro-lw { opacity: 1; }
  .type-specimen__sample > span { filter: none; }
}

/* Intro polish: logos slide into place, caption, corner meta, curtain exit */
.pro-slide { transform-box: fill-box; animation: pro-slide 1.4s 4.2s cubic-bezier(.16, 1, .3, 1) both; }
.pro-slide--l { --from: 18px; }
.pro-slide--r { --from: -18px; }
@keyframes pro-slide { from { transform: translateX(var(--from)); } to { transform: none; } }

.pro-loader-meta {
  position: absolute; inset: 0; pointer-events: none; color: #f3f1ec;
  font: 700 clamp(9px, .72vw, 12px)/1 Lato, sans-serif; letter-spacing: .22em; text-transform: uppercase;
}
.pro-loader-meta > span { position: absolute; opacity: 0; animation: pro-meta-in .9s .3s cubic-bezier(.16, 1, .3, 1) forwards; }
.pro-loader-meta__tl { left: clamp(20px, 3.05vw, 56px); top: clamp(20px, 2.4vw, 34px); }
.pro-loader-meta__tr { right: clamp(20px, 3.05vw, 56px); top: clamp(20px, 2.4vw, 34px); color: #788085; }
.pro-loader-meta__bl { left: clamp(20px, 3.05vw, 56px); bottom: clamp(22px, 3vw, 44px); color: #788085; }
.pro-loader-meta__br { right: clamp(20px, 3.05vw, 56px); bottom: clamp(22px, 3vw, 44px); }
.pro-loader-meta__br b { font-size: clamp(28px, 3.4vw, 56px); font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pro-loader-meta__bar {
  position: absolute; left: clamp(20px, 3.05vw, 56px); right: clamp(20px, 3.05vw, 56px); bottom: clamp(12px, 1.6vw, 24px);
  height: 1px; background: #864b2b; transform-origin: 0 50%; transform: scaleX(var(--load, 0));
}
.pro-loader-meta__bar::before { content: ""; position: absolute; inset: 0; background: #f3f1ec; opacity: .12; transform: scaleX(calc(1 / max(var(--load, 1), .001))); transform-origin: 0 50%; }
.pro-loader-caption {
  left: 50%; top: calc(50% + clamp(44px, 6vw, 84px)); transform: translate(-50%, 8px);
  color: #788085; letter-spacing: .32em; white-space: nowrap;
  animation: pro-caption 1s 5.6s cubic-bezier(.16, 1, .3, 1) forwards !important;
}
@keyframes pro-meta-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pro-caption { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Curtain: the overlay lifts away instead of fading */
.loader-overlay { transition: clip-path 1.05s cubic-bezier(.76, 0, .24, 1), visibility 0s linear 1.05s !important; clip-path: inset(0 0 0 0); }
.loader-overlay.done { opacity: 1 !important; clip-path: inset(0 0 100% 0); }
.loader-overlay.done .pro-intro, .loader-overlay.done .pro-loader-meta { transition: transform 1.05s cubic-bezier(.76, 0, .24, 1); transform: translateY(-60px); }

@media (max-width: 600px) {
  .pro-loader-meta__tr, .pro-loader-meta__bl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pro-slide { animation: none; }
  .pro-loader-caption { animation: none !important; opacity: 1; transform: translate(-50%, 0); }
  .loader-overlay { transition: opacity .3s ease, visibility 0s linear .3s !important; }
  .loader-overlay.done { opacity: 0 !important; clip-path: none; }
}


/* Intro ending. The original sketch sequence plays untouched; then the two
   lenses split, a separator draws, each lens unwinds and the logos are drawn
   in line (left: Candy Clan Studios, right: Happy Vision) before filling. */
.loader-drawing { width: clamp(300px, 92vw, 700px); animation: none; }
.loader-final-mark { display: none; }
.loader-lenses circle {
  --logo-cx: -8px;
  --draw-from: 1.05; stroke-dasharray: 1 1.2;
  animation:
    hv-draw-lens .88s 2.2s cubic-bezier(.45, 0, .2, 1) both,
    pro-lens-split .85s 3.3s cubic-bezier(.65, 0, .25, 1) both,
    pro-lens-unwind .6s 4.15s cubic-bezier(.65, 0, .35, 1) forwards;
}
.loader-lenses circle + circle { --logo-cx: 352px; --draw-from: -1.05; }
@keyframes pro-lens-split { from { cx: var(--lens-x); r: 60.5125px; } to { cx: var(--logo-cx); r: 40px; } }
@keyframes pro-lens-unwind { from { stroke-dashoffset: 0; opacity: 1; } to { stroke-dashoffset: -1.05; opacity: 0; } }

.pro-sep {
  stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .55;
  transform-box: fill-box; transform-origin: center; transform: scaleY(0);
  animation: pro-sep .7s 3.8s cubic-bezier(.65, 0, .25, 1) forwards;
}
@keyframes pro-sep { to { transform: scaleY(1); } }

.pro-logo { overflow: visible; }
.pro-logo > * {
  --i: 0;
  fill: currentColor; fill-opacity: 0;
  stroke: currentColor; stroke-width: 1px; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1 1.2; stroke-dashoffset: 1.05;
  animation:
    pro-logo-line 1s cubic-bezier(.65, 0, .35, 1) forwards,
    pro-logo-fill .7s ease forwards;
  animation-delay: calc(4.2s + var(--i) * .045s), calc(5.25s + var(--i) * .02s);
}
.pro-logo > :nth-child(1) { --i: 0; }
.pro-logo > :nth-child(2) { --i: 1; }
.pro-logo > :nth-child(3) { --i: 2; }
.pro-logo > :nth-child(4) { --i: 3; }
.pro-logo > :nth-child(5) { --i: 4; }
.pro-logo > :nth-child(6) { --i: 5; }
.pro-logo > :nth-child(7) { --i: 6; }
.pro-logo > :nth-child(8) { --i: 7; }
.pro-logo > :nth-child(9) { --i: 8; }
.pro-logo > :nth-child(10) { --i: 9; }
.pro-logo > :nth-child(11) { --i: 10; }
.pro-logo > :nth-child(12) { --i: 11; }
.pro-logo > :nth-child(13) { --i: 12; }
.pro-logo > :nth-child(14) { --i: 13; }
.pro-logo > :nth-child(15) { --i: 14; }
.pro-logo > :nth-child(16) { --i: 15; }
@keyframes pro-logo-line { to { stroke-dashoffset: 0; } }
@keyframes pro-logo-fill { to { fill-opacity: 1; stroke-opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .pro-sep { animation: none; transform: none; }
  .pro-logo > * { animation: none; fill-opacity: 1; stroke: none; }
  .loader-lenses circle { animation: none; opacity: 0; }
}

/* Hello: co-branded proposal letter ------------------------------------- */
.hello { align-items: start; }
.hello__lead { position: sticky; top: clamp(90px, 12vh, 140px); padding-top: 0; }
.hello__eyebrow { margin-bottom: clamp(18px, 2vw, 28px); color: var(--pro-clay); }
.hello__lockup {
  display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(36px, 4.5vw, 64px); padding: clamp(18px, 2vw, 26px) 0;
  border-top: 1px solid #3f302922; border-bottom: 1px solid #3f302922;
}
.hello__logo { display: block; height: auto; }
.hello__logo--cc { width: clamp(118px, 11vw, 176px); fill: var(--pro-ink); }
.hello__logo--hv { width: clamp(112px, 10.5vw, 168px); margin-top: -.35em; }
.hello__lockup-x { align-self: stretch; width: 1px; background: #3f302940; }
.hello__meta { display: grid; gap: 0; margin: clamp(20px, 2.4vw, 32px) 0 0; }
.hello__meta > div {
  display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 16px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid #3f302914;
}
.hello__meta dt { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #788085; }
.hello__meta dd { margin: 0; font-size: clamp(13px, .95vw, 15px); font-weight: 400; color: var(--pro-ink); }
.hello__copy p:first-child {
  font-size: clamp(19px, 1.65vw, 27px); line-height: 1.5; font-weight: 300; color: var(--pro-ink); letter-spacing: -.005em;
}
.hello__copy p:first-child::first-letter {
  float: left; margin: .06em .12em 0 0; font-size: 3.3em; line-height: .78; font-weight: 300; color: var(--pro-clay);
}
.hello__sign { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.hello__sign-note { font-size: clamp(14px, 1vw, 16px); font-style: italic; font-weight: 300; color: #51483f; }
.hello__sign-logo { width: clamp(150px, 13vw, 210px); height: auto; fill: var(--pro-ink); }
.hello.is-visible .hello__sign { transition-delay: .5s; }
@media (max-width: 760px) {
  .hello__lead { position: relative; top: auto; display: block; }
  .hello__eyebrow { position: static; margin-bottom: 14px; }
  .hello__title { padding-top: 0; }
  .hello__lockup { margin-top: 28px; }
  .hello__copy p:first-child { font-size: 18px; }
}

/* Brand principles: full-screen panels (order: burgundy, clay, cream, slate) */
.brand-story__pin { display: block; padding: 0; }
.brand-story__deck { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; align-self: stretch; justify-self: stretch; }
.brand-slide {
  inset: 0; border-radius: 0; box-shadow: none; overflow: hidden;
  flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(96px, 12vh, 140px) clamp(28px, 9vw, 160px);
}
.brand-slide::before, .brand-slide::after { display: none; }
.brand-slide__content { max-width: min(880px, 100%); }
.brand-slide__index { order: -1; margin-bottom: clamp(18px, 2vw, 30px); opacity: .8; }
.brand-slide__title {
  font-size: clamp(44px, 7.4vw, 140px); font-weight: 900; line-height: .92; letter-spacing: -.035em; text-transform: uppercase;
}
.brand-slide__text {
  max-width: 34ch; margin: clamp(22px, 2.6vw, 40px) 0 0;
  font-size: clamp(16px, 1.35vw, 22px); font-weight: 400; line-height: 1.55;
}
.brand-story [data-brand-slide]:nth-child(1) { background: #3e1f1c; color: #864b2b; }
.brand-story [data-brand-slide]:nth-child(2) { background: #864b2b; color: #f3f1ec; }
.brand-story [data-brand-slide]:nth-child(3) { background: #f3f1ec; color: #3f2e20; }
.brand-story [data-brand-slide]:nth-child(4) { background: #788085; color: #3f2e20; }
.brand-story [data-brand-slide]:nth-child(1) .brand-slide__text { color: #a8694a; }
.brand-steps {
  position: absolute; z-index: 5; left: clamp(28px, 9vw, 160px); bottom: clamp(26px, 5vh, 56px);
  flex-direction: row; flex-wrap: wrap; gap: .6em 1.8em; color: #f3f1ec; transition: color .5s ease;
}
.brand-story__pin[data-current="0"] .brand-steps { color: #a8694a; }
.brand-story__pin[data-current="2"] .brand-steps,
.brand-story__pin[data-current="3"] .brand-steps { color: #3f2e20; }
@media (max-width: 760px) {
  .brand-story__pin { padding: 0; }
  .brand-story__deck { width: 100%; align-self: stretch; }
  .brand-slide { padding: 110px 24px 120px; }
  .brand-steps { left: 24px; right: 24px; gap: .5em 1.1em; }
}
@media (prefers-reduced-motion: reduce), (max-height: 480px) {
  .brand-story__deck { position: relative; inset: auto; display: block; }
  .brand-slide { position: relative; min-height: 100svh; aspect-ratio: auto; }
  .brand-steps { position: relative; left: auto; bottom: auto; padding: 24px; background: #3e1f1c; }
}

/* Eye chart labels */
.type-specimen__note { text-align: right; font-size: clamp(10px, .63vw, 16px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #555e62; }

/* Thank you ---------------------------------------------------------------- */
.thanks {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(96px, 12vh, 160px) clamp(24px, 8vw, 140px) clamp(40px, 6vh, 72px);
  background: #282b2c; color: #f3f1ec; font-family: Lato, sans-serif; overflow: hidden;
}
.thanks::after {
  content: ""; position: absolute; right: -8vw; top: 50%; width: min(52vw, 760px); aspect-ratio: 2 / 1;
  transform: translateY(-50%); opacity: .06; background: #f3f1ec; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 172'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='86' cy='86' r='84'/%3E%3Ccircle cx='258' cy='86' r='84'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 344 172'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='86' cy='86' r='84'/%3E%3Ccircle cx='258' cy='86' r='84'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.thanks__eyebrow { margin: 0 0 clamp(18px, 2vw, 28px); font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #a8694a; }
.thanks__title { margin: 0; font-size: clamp(64px, 13vw, 240px); font-weight: 300; line-height: .86; letter-spacing: -.06em; }
.thanks__text { max-width: 40ch; margin: clamp(26px, 3vw, 44px) 0 0; font-size: clamp(16px, 1.35vw, 22px); font-weight: 300; line-height: 1.6; color: #ddd9d1; }
.thanks__lockup {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); width: max-content; max-width: 100%;
  margin-top: clamp(40px, 6vh, 72px); padding: clamp(18px, 2vw, 26px) 0; border-top: 1px solid #f3f1ec22; border-bottom: 1px solid #f3f1ec22;
}
.thanks__logo { display: block; height: auto; }
.thanks__logo--cc { width: clamp(130px, 12vw, 190px); fill: #f3f1ec; }
.thanks__logo--hv { width: clamp(124px, 11.5vw, 180px); margin-top: -.35em; filter: brightness(0) invert(.95) sepia(.08); }
.thanks__x { align-self: stretch; width: 1px; background: #f3f1ec40; }
.thanks__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: auto; padding-top: clamp(48px, 8vh, 96px);
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #788085;
}
.thanks__foot a { color: #f3f1ec; text-decoration: none; border-bottom: 1px solid #864b2b; padding-bottom: 3px; transition: color .3s ease; }
.thanks__foot a:hover { color: #a8694a; }
.thanks [data-thanks] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s ease, transform 1.1s var(--pro-ease); }
.thanks.is-in [data-thanks] { opacity: 1; transform: none; }
.thanks.is-in .thanks__text { transition-delay: .25s; }
.thanks.is-in .thanks__lockup { transition-delay: .4s; }
.thanks.is-in .thanks__foot { transition-delay: .55s; }
@media (prefers-reduced-motion: reduce) { .thanks [data-thanks] { opacity: 1; transform: none; transition: none; } }

/* Hello letter: tighter, smaller reading size */
.hello__copy p { font-size: clamp(13.5px, .95vw, 16px); line-height: 1.75; margin-bottom: clamp(16px, 1.8vw, 26px); }
.hello__copy p:first-child { font-size: clamp(15.5px, 1.2vw, 19px); line-height: 1.6; }
.hello__copy p:first-child::first-letter { font-size: 2.7em; }
.hello__sign-note { font-size: clamp(13px, .9vw, 15px); }
@media (max-width: 760px) {
  .hello__copy p { font-size: 14px; }
  .hello__copy p:first-child { font-size: 16px; }
}

/* Base intro sketches: same dot-free dash geometry */
.loader-sketch > * { stroke-dasharray: 1 1.2; }

/* Thank you motion ------------------------------------------------------- */
.thanks::after { display: none; }
.thanks__rings {
  position: absolute; right: -8vw; top: 50%; width: min(56vw, 820px); height: auto; pointer-events: none;
  transform: translate3d(0, calc(-50% + var(--rings-y, 0px)), 0) rotate(var(--rings-r, 0deg));
  fill: none; stroke: #f3f1ec; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .14;
}
.thanks__rings circle { stroke-dasharray: 1 1.2; stroke-dashoffset: 1.05; transition: stroke-dashoffset 2.4s cubic-bezier(.65, 0, .35, 1); }
.thanks__rings circle + circle { transition-delay: .35s; }
.thanks.is-in .thanks__rings circle { stroke-dashoffset: 0; }
.thanks__title.pro-split { white-space: nowrap; }
.thanks__title.pro-split .pro-w > span { transition-duration: 1.4s; transition-delay: calc(var(--i, 0) * 55ms + .1s); }
.thanks .thanks__lockup[data-thanks] { opacity: 1; transform: none; }
.thanks__lockup { position: relative; border-color: transparent; }
.thanks__lockup::before, .thanks__lockup::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #f3f1ec22;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.65, 0, .35, 1) .5s;
}
.thanks__lockup::before { top: 0; }
.thanks__lockup::after { bottom: 0; transition-delay: .65s; }
.thanks.is-in .thanks__lockup::before, .thanks.is-in .thanks__lockup::after { transform: scaleX(1); }
.thanks__x { transform: scaleY(0); transition: transform .8s cubic-bezier(.65, 0, .35, 1) .9s; }
.thanks.is-in .thanks__x { transform: scaleY(1); }
.thanks__logo--hv { filter: none; fill: #f3f1ec; }
.thanks__logo > * {
  fill-opacity: 0; stroke: #f3f1ec; stroke-width: 1px; vector-effect: non-scaling-stroke;
  stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.05;
}
.thanks.is-in .thanks__logo > * {
  animation: pro-logo-line 1.1s cubic-bezier(.65, 0, .35, 1) forwards, pro-logo-fill .7s ease forwards;
  animation-delay: calc(1s + var(--i, 0) * .04s), calc(2.1s + var(--i, 0) * .02s);
}
.thanks__logo > :nth-child(1) { --i: 0; }
.thanks__logo > :nth-child(2) { --i: 1; }
.thanks__logo > :nth-child(3) { --i: 2; }
.thanks__logo > :nth-child(4) { --i: 3; }
.thanks__logo > :nth-child(5) { --i: 4; }
.thanks__logo > :nth-child(6) { --i: 5; }
.thanks__logo > :nth-child(7) { --i: 6; }
.thanks__logo > :nth-child(8) { --i: 7; }
.thanks__logo > :nth-child(9) { --i: 8; }
.thanks__logo > :nth-child(10) { --i: 9; }
.thanks__logo > :nth-child(11) { --i: 10; }
.thanks__logo > :nth-child(12) { --i: 11; }
.thanks__logo > :nth-child(13) { --i: 12; }
.thanks__logo > :nth-child(14) { --i: 13; }
.thanks__logo > :nth-child(15) { --i: 14; }
.thanks__logo > :nth-child(16) { --i: 15; }

.thanks__foot a { border-bottom: 0; background: linear-gradient(#864b2b, #864b2b) 0 100% / 0 1px no-repeat; transition: background-size .9s cubic-bezier(.65, 0, .35, 1) 1.2s, color .3s ease; }
.thanks.is-in .thanks__foot a { background-size: 100% 1px; }
.thanks__top { display: inline-block; }
.thanks__top:hover { transform: translateY(-3px); transition: transform .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .thanks__rings circle { stroke-dashoffset: 0; transition: none; }
  .thanks__lockup::before, .thanks__lockup::after, .thanks__x { transform: none; transition: none; }
  .thanks__logo > * { stroke: none; fill-opacity: 1; animation: none !important; }
  .thanks__foot a { background-size: 100% 1px; transition: none; }
}
.thanks__logo { overflow: visible; }
/* The 2.8-unit pin circle on the first (monocle) sketch reads as a stray dot; hide it. */
.loader-sketch--first > circle { display: none; }

/* Section stack ------------------------------------------------------------ */
.pro-stack { position: sticky; isolation: isolate; }
.pro-stack__shade { position: absolute; inset: 0; z-index: 60; background: #1d1f20; opacity: 0; pointer-events: none; }
.editorial-sequence.pro-stack { background: #f3f1ec; }

/* Happy Vision logo colour: #788085 everywhere (intro, thank you) */
.pro-intro svg[viewBox^="650 570"].pro-logo,
.thanks__logo--hv { color: #788085; fill: #788085; }
.thanks__logo--hv > * { stroke: #788085; }
