/* Garden morning (core/hero/007) — INV-01 Garden Romance · Luxe (inv01_luxe w2). Fork of he001: the
   clouds, glow and veil stay; the two florals become watercolour rose sprays (scripts/garden_luxe_kit) that open once,
   half to full, as the garden gate opens (CSS, timed from the opening's reveal), then part on scroll. No
   monogram: the seal stays on the gate only (owner, 2026-10-16). The blessing, hosts, invite line and countdown
   live in the written card (iv004) and, from W3, the garden tags (cd005). INV-01 v2: dew on four open roses (a tap
   rolls a drop), a still butterfly for reduced motion and lite, and the breeze sways the foliage and roses. */
/*GLBLOOM-CSS>*/
.he020 { --he020-tint-a: var(--c-primary); --he020-tint-a-deep: color-mix(in oklab, var(--c-primary) 65%, var(--c-primary-deep)); --he020-tint-b: #5B4F80; --he020-tint-b-deep: #3D3460;
  --he020-tint-leaf: var(--c-secondary-dark); --he020-tint-leaf-deep: color-mix(in oklab, var(--c-secondary-dark) 60%, var(--c-secondary-deep)); --he020-tint-centre: #8F8045; }
.he020-rose { position: absolute; left: var(--he020-x); top: var(--he020-y); width: var(--he020-w); aspect-ratio: 1; translate: -50% -50%; pointer-events: auto; -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
.he020-rose__s { position: absolute; inset: 0; transform-origin: 50% 50%; }
.he020-ink { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.he020-rose--a .he020-ink--petal { background: var(--he020-tint-a); }
.he020-rose--a .he020-ink--deep { background: var(--he020-tint-a-deep); }
.he020-rose--b .he020-ink--petal { background: var(--he020-tint-b); }
.he020-rose--b .he020-ink--deep { background: var(--he020-tint-b-deep); }
.he020-ink--leaf { background: var(--he020-tint-leaf); }
.he020-ink--leafdeep { background: var(--he020-tint-leaf-deep); }
.he020-ink--centre { background: var(--he020-tint-centre); }
.he020-ink--body { background: var(--he020-ivory, var(--k-card)); }
.he020-ink--boost { background: transparent; }
@supports (color: oklch(from red l c h)) {
  .he020-rose--a .he020-ink--boost { background: oklch(from var(--he020-tint-a) l c h / clamp(0, (0.551 - l) * 6, .9)); }
}
.he020-rose__s1, .he020-rose__s2 { display: none; }
.he020.is-bloom .he020-rose__s1, .he020.is-bloom .he020-rose__s2 { display: block; }
@supports (mask-image: radial-gradient(#000, transparent)) or (-webkit-mask-image: radial-gradient(#000, transparent)) {
  .he020.is-bloom .he020-rose__s2 { -webkit-mask-image: radial-gradient(closest-side, #000 calc(var(--he020-r2, 0) * 100% - 18%), transparent calc(var(--he020-r2, 0) * 100%)); mask-image: radial-gradient(closest-side, #000 calc(var(--he020-r2, 0) * 100% - 18%), transparent calc(var(--he020-r2, 0) * 100%)); }
  .he020.is-bloom .he020-rose__s3 { -webkit-mask-image: radial-gradient(closest-side, #000 calc(var(--he020-r3, 0) * 100% - 18%), transparent calc(var(--he020-r3, 0) * 100%)); mask-image: radial-gradient(closest-side, #000 calc(var(--he020-r3, 0) * 100% - 18%), transparent calc(var(--he020-r3, 0) * 100%)); }
}
/*<GLBLOOM-CSS*/
/*HE007-MASKS>*/
/* masks wait for the tap; with no JS, at once. A tint with no mask would fill its box, so inks hide until then */
.he020 .he020-ink { display: none; }
html.kjy-opening .he020 .he020-ink, html:not(.js) .he020 .he020-ink { display: block; }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s2 .he020-ink--body, html:not(.js) .he020 .he020-rose--a .he020-rose__s2 .he020-ink--body { -webkit-mask-image: var(--glk-rose-a-2-body); mask-image: var(--glk-rose-a-2-body); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s2 .he020-ink--petal, html:not(.js) .he020 .he020-rose--a .he020-rose__s2 .he020-ink--petal { -webkit-mask-image: var(--glk-rose-a-2-petal); mask-image: var(--glk-rose-a-2-petal); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s2 .he020-ink--boost, html:not(.js) .he020 .he020-rose--a .he020-rose__s2 .he020-ink--boost { -webkit-mask-image: var(--glk-rose-a-2-petal); mask-image: var(--glk-rose-a-2-petal); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s2 .he020-ink--deep, html:not(.js) .he020 .he020-rose--a .he020-rose__s2 .he020-ink--deep { -webkit-mask-image: var(--glk-rose-a-2-deep); mask-image: var(--glk-rose-a-2-deep); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s3 .he020-ink--body, html:not(.js) .he020 .he020-rose--a .he020-rose__s3 .he020-ink--body { -webkit-mask-image: var(--glk-rose-a-3-body); mask-image: var(--glk-rose-a-3-body); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s3 .he020-ink--petal, html:not(.js) .he020 .he020-rose--a .he020-rose__s3 .he020-ink--petal { -webkit-mask-image: var(--glk-rose-a-3-petal); mask-image: var(--glk-rose-a-3-petal); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s3 .he020-ink--boost, html:not(.js) .he020 .he020-rose--a .he020-rose__s3 .he020-ink--boost { -webkit-mask-image: var(--glk-rose-a-3-petal); mask-image: var(--glk-rose-a-3-petal); }
html.kjy-opening .he020 .he020-rose--a .he020-rose__s3 .he020-ink--deep, html:not(.js) .he020 .he020-rose--a .he020-rose__s3 .he020-ink--deep { -webkit-mask-image: var(--glk-rose-a-3-deep); mask-image: var(--glk-rose-a-3-deep); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s2 .he020-ink--body, html:not(.js) .he020 .he020-rose--b .he020-rose__s2 .he020-ink--body { -webkit-mask-image: var(--glk-rose-b-2-body); mask-image: var(--glk-rose-b-2-body); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s2 .he020-ink--petal, html:not(.js) .he020 .he020-rose--b .he020-rose__s2 .he020-ink--petal { -webkit-mask-image: var(--glk-rose-b-2-petal); mask-image: var(--glk-rose-b-2-petal); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s2 .he020-ink--deep, html:not(.js) .he020 .he020-rose--b .he020-rose__s2 .he020-ink--deep { -webkit-mask-image: var(--glk-rose-b-2-deep); mask-image: var(--glk-rose-b-2-deep); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s2 .he020-ink--leaf, html:not(.js) .he020 .he020-rose--b .he020-rose__s2 .he020-ink--leaf { -webkit-mask-image: var(--glk-rose-b-2-leaf); mask-image: var(--glk-rose-b-2-leaf); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s2 .he020-ink--centre, html:not(.js) .he020 .he020-rose--b .he020-rose__s2 .he020-ink--centre { -webkit-mask-image: var(--glk-rose-b-2-centre); mask-image: var(--glk-rose-b-2-centre); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s3 .he020-ink--body, html:not(.js) .he020 .he020-rose--b .he020-rose__s3 .he020-ink--body { -webkit-mask-image: var(--glk-rose-b-3-body); mask-image: var(--glk-rose-b-3-body); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s3 .he020-ink--petal, html:not(.js) .he020 .he020-rose--b .he020-rose__s3 .he020-ink--petal { -webkit-mask-image: var(--glk-rose-b-3-petal); mask-image: var(--glk-rose-b-3-petal); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s3 .he020-ink--deep, html:not(.js) .he020 .he020-rose--b .he020-rose__s3 .he020-ink--deep { -webkit-mask-image: var(--glk-rose-b-3-deep); mask-image: var(--glk-rose-b-3-deep); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s3 .he020-ink--leaf, html:not(.js) .he020 .he020-rose--b .he020-rose__s3 .he020-ink--leaf { -webkit-mask-image: var(--glk-rose-b-3-leaf); mask-image: var(--glk-rose-b-3-leaf); }
html.kjy-opening .he020 .he020-rose--b .he020-rose__s3 .he020-ink--centre, html:not(.js) .he020 .he020-rose--b .he020-rose__s3 .he020-ink--centre { -webkit-mask-image: var(--glk-rose-b-3-centre); mask-image: var(--glk-rose-b-3-centre); }
html.kjy-opening .he020 .he020__spray--tl .he020__foliage .he020-ink--leaf, html:not(.js) .he020 .he020__spray--tl .he020__foliage .he020-ink--leaf { -webkit-mask-image: url("assets/hero-tl-leaf.webp"); mask-image: url("assets/hero-tl-leaf.webp"); }
html.kjy-opening .he020 .he020__spray--tl .he020__foliage .he020-ink--leafdeep, html:not(.js) .he020 .he020__spray--tl .he020__foliage .he020-ink--leafdeep { -webkit-mask-image: url("assets/hero-tl-leafdeep.webp"); mask-image: url("assets/hero-tl-leafdeep.webp"); }
html.kjy-opening .he020 .he020__spray--br .he020__foliage .he020-ink--leaf, html:not(.js) .he020 .he020__spray--br .he020__foliage .he020-ink--leaf { -webkit-mask-image: url("assets/hero-br-leaf.webp"); mask-image: url("assets/hero-br-leaf.webp"); }
html.kjy-opening .he020 .he020__spray--br .he020__foliage .he020-ink--leafdeep, html:not(.js) .he020 .he020__spray--br .he020__foliage .he020-ink--leafdeep { -webkit-mask-image: url("assets/hero-br-leafdeep.webp"); mask-image: url("assets/hero-br-leafdeep.webp"); }
/*<HE007-MASKS*/
.he020 { background: var(--k-light-ground); color: var(--k-ink); --he020-sw: min(64vw, 440px); }

/* hero entrance: CSS, timed from the opening's reveal (the garden gate's: 1150 ms, once its leaves have gone) */
html.js:not(.motion-reduce) .he020 [data-he020-hero] { opacity: 0; transform: translateY(24px); }
html.kjy-enter:not(.motion-reduce) .he020 [data-he020-hero] {
  opacity: 1; transform: none;
  transition: opacity .9s var(--k-ease), transform .9s var(--k-ease);
  transition-delay: calc(var(--kjy-reveal-at, 0ms) + var(--he020-i, 0) * 110ms);
}
html.kjy-instant .he020 [data-he020-hero],
html.kjy-instant .he020-sky { transition: none !important; }

.he020__hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(120px, 30vw, 180px) var(--k-gutter) calc(clamp(120px, 30vw, 180px) + 48px); text-align: center; /* +48 at the foot lifts the words off the lower spray (clearance) */
}
/* sprays: the wrapper is moved by GSAP on scroll; the roses inside open by CSS. The bottom one stops at the hero's
   foot, so it never lies over the card below. */
.he020__spray { position: absolute; z-index: 0; width: var(--he020-sw); aspect-ratio: 1; pointer-events: none; }
.he020__spray--tl { left: calc(var(--he020-sw) * -.22); top: calc(var(--he020-sw) * -.2); }
.he020__spray--br { right: calc(var(--he020-sw) * -.22); bottom: 0; }
.he020__foliage { position: absolute; inset: 0; }

/* sky: anchored to the names (large script, fine over clouds) so a cloud never drifts behind small text.
   .he020-sky fades in (CSS), .he020-sky__layer takes a 40 px scroll parallax (GSAP), each cloud drifts sideways (CSS).
   Sizes are width-driven; offsets use the art's aspect (bank 800x324, puff 357x220) so no transform is needed. */
.he020-names-wrap { position: relative; width: 100%; }
.he020-sky, .he020-sky__layer { position: absolute; inset: 0; pointer-events: none; }
.he020-cloud { position: absolute; height: auto; max-width: none; will-change: transform; }
.he020-cloud--a { width: min(140vw, 1000px); top: 50%; margin-top: calc(min(140vw, 1000px) * -.2025); left: calc(50% - min(140vw, 1000px) * .62); opacity: .85; }
.he020-cloud--b { width: min(80vw, 560px); top: calc(100% - min(80vw, 560px) * .2); left: calc(50% - min(80vw, 560px) * .15); opacity: .8; }
html.js:not(.motion-reduce) .he020-sky { opacity: 0; }
html.kjy-enter:not(.motion-reduce) .he020-sky { opacity: 1; transition: opacity 2.4s ease calc(var(--kjy-reveal-at, 0ms) - 850ms); } /* the sky shows through the opening gate; the words wait for the reveal */
html.kjy-opening:not(.motion-reduce):not(.kjy-lite) .he020-cloud--a { animation: he020-drift-a 44s ease-in-out infinite alternate; }
html.kjy-opening:not(.motion-reduce):not(.kjy-lite) .he020-cloud--b { animation: he020-drift-b 36s ease-in-out -9s infinite alternate; }
html.kjy-lite .he020-cloud { animation: none; }
html.kjy-opening:not(.motion-reduce) .he020.is-off .he020-cloud { animation-play-state: paused; } /* must out-rank the drift shorthand */
@keyframes he020-drift-a { to { transform: translate3d(10vw, 0, 0); } }
@keyframes he020-drift-b { to { transform: translate3d(-8vw, 0, 0); } }

/* a soft light behind the names, above the sky */
.he020__glow {
  position: absolute; left: 50%; top: 50%; width: min(130vw, 760px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 255 255 / .85), rgb(255 255 255 / .5) 50%, rgb(255 255 255 / 0));
}
.he020__inner { position: relative; z-index: 1; max-width: var(--k-measure); display: flex; flex-direction: column; align-items: center; gap: var(--k-s-4); }
.he020-names { position: relative; z-index: 1; margin: var(--k-s-2) 0 0; font: 400 min(clamp(3.5rem, 17vw, 6rem), calc(min(100vw - 2 * var(--k-gutter), var(--k-measure)) / (var(--he020-len, 8) * .5)))/1 var(--k-font-script); color: var(--c-primary); overflow-wrap: anywhere; }
.he020-names > span { display: block; }
.he020-names .k-amp { margin: .25em 0; font-size: .34em; }

.he020__date { font: 600 .875rem/1.4 var(--k-font-body); font-variant-numeric: lining-nums; letter-spacing: .2em; text-transform: uppercase; } /* lining figures in capitals (finish w1) */


/* cloud veil: a zero-height strip after the hero. The CSS position is the CLOSED state (banks overlap
   in the middle); it stays invisible unless section.js fades it in and parts it with the scroll. */
.he020-veil { position: relative; z-index: 2; height: 0; pointer-events: none; opacity: 0; }
.he020-veil__l, .he020-veil__r { position: absolute; width: min(120vw, 1300px); }
.he020-veil__l { top: 0; left: calc(35vw - min(60vw, 650px)); }
.he020-veil__r { top: 28px; left: calc(65vw - min(60vw, 650px)); }
.he020-veil img { width: 100%; height: auto; }
.he020-veil__r img { transform: scaleX(-1); }


/* the roses open once as the gate opens (CSS, from the reveal): half (stage 2) to full (stage 3), each rose delayed by
   its offset (--he020-d). Stage 3 grows out over stage 2 through a radial mask on a registered number (@property,
   guarded by lh units as op003); without it, a crossfade. Stage 2 fades over the last 30%. No JS, reduced motion,
   lite or a return visit: the full bloom at rest. */
@property --he020-r3 { syntax: '<number>'; inherits: false; initial-value: 0; }
html.js:not(.motion-reduce):not(.kjy-instant):not(.kjy-lite) .he020-rose__s2 { display: block; }
html.js:not(.motion-reduce):not(.kjy-instant):not(.kjy-lite) .he020-rose__s3 { opacity: 0; }
html.kjy-enter:not(.motion-reduce):not(.kjy-instant):not(.kjy-lite) .he020-rose__s2 { animation: he020-fade 1.6s linear calc(var(--kjy-reveal-at, 0ms) - 250ms + var(--he020-d, 0ms)) both; }
html.kjy-enter:not(.motion-reduce):not(.kjy-instant):not(.kjy-lite) .he020-rose__s3 { animation: he020-open 1.6s cubic-bezier(.45, 0, .55, 1) calc(var(--kjy-reveal-at, 0ms) - 250ms + var(--he020-d, 0ms)) both; }
@keyframes he020-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes he020-open { from { opacity: 0; transform: scale(.92) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes he020-grow { from { opacity: 1; --he020-r3: 0; transform: scale(.92) rotate(-6deg); } to { opacity: 1; --he020-r3: 1.65; transform: none; } }
@supports (width: 1lh) {
  html.kjy-enter:not(.motion-reduce):not(.kjy-instant):not(.kjy-lite) .he020-rose__s3 {
    -webkit-mask-image: radial-gradient(closest-side, #000 calc(var(--he020-r3) * 100% - 18%), transparent calc(var(--he020-r3) * 100%));
    mask-image: radial-gradient(closest-side, #000 calc(var(--he020-r3) * 100% - 18%), transparent calc(var(--he020-r3) * 100%));
    animation-name: he020-grow; }
}

/* dew on four open roses: shown once the bloom is done (section.js adds is-dew), at once with reduced motion, lite,
   a return visit or no JS. A tap rolls the nearest drop off the petal (section.js). No glint, no shine. */
.he020-dews { position: absolute; inset: 0; pointer-events: none; }
.he020-dew { position: absolute; left: var(--he020-dx); top: var(--he020-dy); width: var(--he020-ds); aspect-ratio: 1 / 1.1; translate: -50% -50%;
  border-radius: 50% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .95) 0 18%, rgb(255 255 255 / .35) 40%, rgb(255 255 255 / .08) 70%);
  box-shadow: 0 1px 1.5px rgb(60 46 90 / .25); opacity: 0; transition: opacity .4s ease; }
.he020.is-dew .he020-dew, html.motion-reduce .he020-dew, html.kjy-lite .he020-dew, html.kjy-instant .he020-dew, html:not(.js) .he020-dew { opacity: 1; }

/* the still butterfly on the top-left spray's second rose: what reduced motion, lite and no JS see (the moving one,
   from the petals layer, starts at the same point) */
.he020-bfly { display: none; position: absolute; z-index: 2; left: 54%; top: 43%; width: 40px; aspect-ratio: 192 / 144; translate: -50% -100%; pointer-events: none;
  perspective: 220px; filter: drop-shadow(0 2px 2px rgb(52 46 74 / .2)); }
html.motion-reduce .he020-bfly, html.kjy-lite .he020-bfly, html:not(.js) .he020-bfly { display: block; }
.he020-bfly__w { position: absolute; top: 0; width: 50%; height: 100%; background: no-repeat center / 100% 100%; }
.he020-bfly__w--l { left: 0; transform-origin: 100% 50%; transform: rotateY(30deg); }
.he020-bfly__w--r { right: 0; transform-origin: 0 50%; transform: rotateY(-30deg); }
.he020-bfly__b { position: absolute; left: 50%; top: 0; width: 9%; height: 100%; translate: -50% 0; background: no-repeat center / 100% 100%; }
html.kjy-opened .he020-bfly__w--l, html.motion-reduce .he020-bfly__w--l, html:not(.js) .he020-bfly__w--l { background-image: var(--glk-bf-wing-l); }
html.kjy-opened .he020-bfly__w--r, html.motion-reduce .he020-bfly__w--r, html:not(.js) .he020-bfly__w--r { background-image: var(--glk-bf-wing-r); }
html.kjy-opened .he020-bfly__b, html.motion-reduce .he020-bfly__b, html:not(.js) .he020-bfly__b { background-image: var(--glk-bf-body); }
@media (min-width: 820px) { .he020-bfly { width: 48px; } }

/* the breeze sways the foliage from the spray's corner (section.js) */
.he020__spray--tl .he020__foliage { transform-origin: 0 0; }
.he020__spray--br .he020__foliage { transform-origin: 100% 100%; }
