/* ==========================================================================
   Ayuvani — rotating banner looks
   --------------------------------------------------------------------------
   Twelve palettes and twelve motions, paired one to one, driving both
   homepage banners. A look changes every five minutes, and the hero and
   the secondary banner are never wearing the same one.

   The pairing is what makes that guarantee cheap: because palette N
   always comes with motion N, getBannerTheme() only has to avoid
   repeating the number to guarantee a different colour AND a different
   movement. (An earlier version had six motions shared across twelve
   palettes, and had to special-case an offset of 6 — which otherwise
   gave two panels moving identically in different colours.)

   WHY TWELVE AND NOT RANDOM COLOUR
   A hue picked at random is how a brand stops looking like itself. These
   twelve are drawn from where the shop actually sits: forest, turmeric,
   teal, clay, plum, moss, indigo, saffron, rosewood. All deep, all
   warm-leaning, all able to carry white text at AA. Rotating between
   them reads as a brand with range. Rotating between random hues reads
   as a broken stylesheet.

   EVERY PALETTE IS THE SAME SIX TOKENS, so motion and layout never need
   to know which one is on:
     --ayv-bg-1/2/3   the base gradient
     --ayv-bg-wash    the corner light
     --ayv-glow-1/2/3 mesh blobs (rgba, they stack)
     --ayv-accent     headline accent, badge, primary button
     --ayv-accent-2   the far end of the accent gradient
     --ayv-accent-ink text ON the accent, which must stay readable
     --ayv-motif-ink  the motion layer

   CONTRAST. Every --ayv-accent-ink below is a near-black drawn from its
   own palette rather than pure black, and every background is dark
   enough for white body text. The one to watch when editing is
   accent/accent-ink on the primary button: that pair is the only place
   where two theme colours meet each other instead of meeting white.

   Loaded AFTER home-hero.css, which carries the structure and a forest
   fallback, so a failure here degrades to the original look.
   ========================================================================== */

/* --------------------------------------------------------------------------
   The twelve palettes
   -------------------------------------------------------------------------- */

/* WHAT CHANGED AND WHY (2026-11-07)
   The first twelve were saturated jewel tones — indigo, plum, rosewood,
   neon lime. They passed contrast and still looked wrong: nothing about
   them said wellness, and twelve loud panels is not range, it is noise.

   These are rebuilt on the palette families that current writing on
   wellness and organic branding keeps converging on: sage, moss, fern,
   matcha, clay, flax, umber, cream. Muted, warm-leaning, dusty. The
   accents are soft rather than fluorescent.

   FOUR OF THE TWELVE ARE LIGHT PANELS. That is the biggest change and
   the reason the set now has real variety: eight deep panels with white
   type, four cream panels with dark type. A page that sometimes greets
   you dark and sometimes bright reads as designed; twelve shades of dark
   reads as one design with the hue nudged.

   Light panels need four extra tokens, so every theme declares them:
     --ayv-text       body and headline colour
     --ayv-text-dim   the supporting line
     --ayv-card-bg    product cards / logo tiles
     --ayv-card-line  their borders
     --ayv-veil       the vignette, which must invert on light panels or
                      it drops a dirty grey ring around a cream card
*/

/* ---------- Deep panels, white type ------------------------------------ */

/* 1 — Deep forest. The house colour, muted down from the original. */
.ayv-t1 {
    --ayv-bg-1: #101d14; --ayv-bg-2: #1b3024; --ayv-bg-3: #14261b; --ayv-bg-wash: #284834;
    --ayv-glow-1: rgba(216,232,180,.26); --ayv-glow-2: rgba(58,104,74,.5); --ayv-glow-3: rgba(196,212,184,.22);
    --ayv-accent: #d8e8b4; --ayv-accent-2: #f2f6e2; --ayv-accent-ink: #101d14;
    --ayv-motif-ink: rgba(216,232,180,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 2 — Moss. Olive-grey, sage accent. */
.ayv-t2 {
    --ayv-bg-1: #171b10; --ayv-bg-2: #272e1c; --ayv-bg-3: #1d2315; --ayv-bg-wash: #3c4629;
    --ayv-glow-1: rgba(196,212,184,.26); --ayv-glow-2: rgba(84,98,52,.5); --ayv-glow-3: rgba(238,243,228,.18);
    --ayv-accent: #c4d4b8; --ayv-accent-2: #eef3e4; --ayv-accent-ink: #171b10;
    --ayv-motif-ink: rgba(196,212,184,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 3 — Deep clay. Warm brown, dried-petal accent. */
.ayv-t3 {
    --ayv-bg-1: #201410; --ayv-bg-2: #37221a; --ayv-bg-3: #291a14; --ayv-bg-wash: #553529;
    --ayv-glow-1: rgba(217,187,160,.26); --ayv-glow-2: rgba(120,70,48,.5); --ayv-glow-3: rgba(243,229,215,.2);
    --ayv-accent: #d9bba0; --ayv-accent-2: #f3e5d7; --ayv-accent-ink: #201410;
    --ayv-motif-ink: rgba(217,187,160,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 4 — Charcoal fern. Nearly neutral, one green note. */
.ayv-t4 {
    --ayv-bg-1: #13150f; --ayv-bg-2: #212419; --ayv-bg-3: #191c13; --ayv-bg-wash: #333824;
    --ayv-glow-1: rgba(143,192,122,.24); --ayv-glow-2: rgba(70,84,52,.5); --ayv-glow-3: rgba(223,240,212,.18);
    --ayv-accent: #8fc07a; --ayv-accent-2: #dff0d4; --ayv-accent-ink: #13150f;
    --ayv-motif-ink: rgba(143,192,122,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 5 — Umber. The warmest deep panel, terracotta accent. */
.ayv-t5 {
    --ayv-bg-1: #1c1611; --ayv-bg-2: #30251d; --ayv-bg-3: #241c16; --ayv-bg-wash: #4a382c;
    --ayv-glow-1: rgba(197,126,82,.26); --ayv-glow-2: rgba(110,66,38,.5); --ayv-glow-3: rgba(239,216,196,.2);
    --ayv-accent: #c57e52; --ayv-accent-2: #efd8c4; --ayv-accent-ink: #1c1611;
    --ayv-motif-ink: rgba(197,126,82,.32);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 6 — Deep eucalyptus. Cool green-grey. */
.ayv-t6 {
    --ayv-bg-1: #0f1b1a; --ayv-bg-2: #1a2d2b; --ayv-bg-3: #142321; --ayv-bg-wash: #284442;
    --ayv-glow-1: rgba(168,207,196,.26); --ayv-glow-2: rgba(44,88,84,.5); --ayv-glow-3: rgba(230,242,238,.18);
    --ayv-accent: #a8cfc4; --ayv-accent-2: #e6f2ee; --ayv-accent-ink: #0f1b1a;
    --ayv-motif-ink: rgba(168,207,196,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 7 — Dusk mauve. The one cool-purple note, kept dusty. */
.ayv-t7 {
    --ayv-bg-1: #1a151d; --ayv-bg-2: #2b2231; --ayv-bg-3: #211a25; --ayv-bg-wash: #413349;
    --ayv-glow-1: rgba(205,179,212,.24); --ayv-glow-2: rgba(80,58,92,.5); --ayv-glow-3: rgba(239,228,242,.18);
    --ayv-accent: #cdb3d4; --ayv-accent-2: #efe4f2; --ayv-accent-ink: #1a151d;
    --ayv-motif-ink: rgba(205,179,212,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* 8 — Night olive. Deep khaki, flax accent. */
.ayv-t8 {
    --ayv-bg-1: #15180e; --ayv-bg-2: #242917; --ayv-bg-3: #1b1f11; --ayv-bg-wash: #383f22;
    --ayv-glow-1: rgba(221,214,168,.26); --ayv-glow-2: rgba(78,88,44,.5); --ayv-glow-3: rgba(245,241,220,.18);
    --ayv-accent: #ddd6a8; --ayv-accent-2: #f5f1dc; --ayv-accent-ink: #15180e;
    --ayv-motif-ink: rgba(221,214,168,.30);
    --ayv-text: #fff; --ayv-text-dim: rgba(255,255,255,.76);
    --ayv-card-bg: rgba(255,255,255,.1); --ayv-card-line: rgba(255,255,255,.16);
    --ayv-veil: rgba(0,0,0,.34);
}

/* ---------- Light panels, dark type -------------------------------------
   The four below invert everything. Note --ayv-veil goes to a near-white
   so the shared vignette lifts the edges instead of dirtying them, and
   the cards become solid white with a hairline rather than frosted glass,
   which disappears on a pale background.
   ------------------------------------------------------------------------ */

/* 9 — Cream and fern. */
.ayv-t9 {
    --ayv-bg-1: #f7f4e8; --ayv-bg-2: #efeada; --ayv-bg-3: #e7e1cb; --ayv-bg-wash: #fffdf6;
    --ayv-glow-1: rgba(74,124,89,.18); --ayv-glow-2: rgba(203,190,150,.45); --ayv-glow-3: rgba(255,255,255,.6);
    --ayv-accent: #3c6b4a; --ayv-accent-2: #24411c; --ayv-accent-ink: #fff;
    --ayv-motif-ink: rgba(74,124,89,.26);
    --ayv-text: #233018; --ayv-text-dim: rgba(35,48,24,.72);
    --ayv-card-bg: #fff; --ayv-card-line: rgba(35,48,24,.14);
    --ayv-veil: rgba(255,255,255,.3);
}

/* 10 — Matcha mist. */
.ayv-t10 {
    --ayv-bg-1: #f0f5e6; --ayv-bg-2: #e4edd6; --ayv-bg-3: #d8e4c7; --ayv-bg-wash: #fbfdf5;
    --ayv-glow-1: rgba(74,107,58,.16); --ayv-glow-2: rgba(186,206,160,.5); --ayv-glow-3: rgba(255,255,255,.6);
    --ayv-accent: #3f5f2f; --ayv-accent-2: #26391a; --ayv-accent-ink: #fff;
    --ayv-motif-ink: rgba(74,107,58,.26);
    --ayv-text: #1f2d16; --ayv-text-dim: rgba(31,45,22,.72);
    --ayv-card-bg: #fff; --ayv-card-line: rgba(31,45,22,.14);
    --ayv-veil: rgba(255,255,255,.3);
}

/* 11 — Pale flax. Warm paper, rust accent. */
.ayv-t11 {
    --ayv-bg-1: #f6eee2; --ayv-bg-2: #ece0cf; --ayv-bg-3: #e2d3bd; --ayv-bg-wash: #fdf9f3;
    --ayv-glow-1: rgba(163,86,46,.16); --ayv-glow-2: rgba(214,190,160,.5); --ayv-glow-3: rgba(255,255,255,.6);
    --ayv-accent: #96502b; --ayv-accent-2: #6b3418; --ayv-accent-ink: #fff;
    --ayv-motif-ink: rgba(163,86,46,.26);
    --ayv-text: #35231a; --ayv-text-dim: rgba(53,35,26,.72);
    --ayv-card-bg: #fff; --ayv-card-line: rgba(53,35,26,.14);
    --ayv-veil: rgba(255,255,255,.3);
}

/* 12 — Dusty sage. The coolest light panel. */
.ayv-t12 {
    --ayv-bg-1: #edf2ea; --ayv-bg-2: #dfe8da; --ayv-bg-3: #d2ddcb; --ayv-bg-wash: #f8fbf6;
    --ayv-glow-1: rgba(63,107,87,.16); --ayv-glow-2: rgba(178,200,182,.5); --ayv-glow-3: rgba(255,255,255,.6);
    --ayv-accent: #35604d; --ayv-accent-2: #1f4034; --ayv-accent-ink: #fff;
    --ayv-motif-ink: rgba(63,107,87,.26);
    --ayv-text: #1d2b23; --ayv-text-dim: rgba(29,43,35,.72);
    --ayv-card-bg: #fff; --ayv-card-line: rgba(29,43,35,.14);
    --ayv-veil: rgba(255,255,255,.3);
}

/* --------------------------------------------------------------------------
   Text and surfaces follow the palette
   The structural stylesheet hardcodes white type and frosted cards, which
   is right for eight of the twelve and unreadable on the other four.
   -------------------------------------------------------------------------- */

.ayv-hero,
.ayv-promo { color: var(--ayv-text); }

.ayv-hero__title,
.ayv-promo__title { color: var(--ayv-text); }

.ayv-hero__sub,
.ayv-promo__sub { color: var(--ayv-text-dim); }

.ayv-hero__eyebrow {
    color: var(--ayv-text);
    border-color: var(--ayv-card-line);
    background: var(--ayv-card-bg);
}

.ayv-hero__link {
    color: var(--ayv-text);
    border-color: var(--ayv-card-line);
}

.ayv-hero__link:hover,
.ayv-hero__link:focus-visible {
    color: var(--ayv-text);
    background: var(--ayv-card-bg);
}

.ayv-hero__card {
    color: var(--ayv-text);
    background: var(--ayv-card-bg);
    border-color: var(--ayv-card-line);
}

.ayv-hero__card:hover,
.ayv-hero__card:focus-visible { color: var(--ayv-text); }

.ayv-hero__trust {
    background: var(--ayv-card-bg);
    border-block-start-color: var(--ayv-card-line);
}

.ayv-hero__trust li { color: var(--ayv-text-dim); }
.ayv-hero__trust svg { color: var(--ayv-accent); }

.ayv-promo__track a {
    background: var(--ayv-card-bg);
    border-color: var(--ayv-card-line);
}

/* The vignette is shared by both panels and must invert on light ones. */
.ayv-hero::after,
.ayv-promo::after {
    background: radial-gradient(120% 90% at 50% 45%, transparent 40%, var(--ayv-veil) 100%);
}

/* Grain reads as dirt on a pale panel, so it is dialled back there.
   Light themes are 9-12. */
.ayv-t9::before, .ayv-t10::before, .ayv-t11::before, .ayv-t12::before {
    opacity: 0.18;
    mix-blend-mode: multiply;
}


/* --------------------------------------------------------------------------
   Tokenising the colour-bearing rules
   These restate declarations from home-hero.css that were written with
   fixed colours, so the palettes above can reach them. Declared once
   here rather than twelve times, and they inherit every other property
   from the original rule.
   -------------------------------------------------------------------------- */

.ayv-promo {
    background:
        radial-gradient(130% 150% at 92% 50%, var(--ayv-bg-wash) 0%, transparent 58%),
        linear-gradient(100deg, var(--ayv-bg-1) 0%, var(--ayv-bg-2) 60%, var(--ayv-bg-3) 100%);
}

.ayv-hero__mesh span:nth-child(1),
.ayv-promo__wash span:nth-child(1) {
    background: radial-gradient(circle, var(--ayv-glow-1), transparent 70%);
}

.ayv-hero__mesh span:nth-child(2),
.ayv-promo__wash span:nth-child(2) {
    background: radial-gradient(circle, var(--ayv-glow-2), transparent 70%);
}

.ayv-hero__mesh span:nth-child(3) {
    background: radial-gradient(circle, var(--ayv-glow-3), transparent 70%);
}

.ayv-hero__title strong,
.ayv-promo__title strong {
    background: linear-gradient(94deg, var(--ayv-accent) 0%, var(--ayv-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ayv-accent);
}

.ayv-hero__cta {
    background: linear-gradient(120deg, var(--ayv-accent) 0%, var(--ayv-accent-2) 100%);
    color: var(--ayv-accent-ink);
    box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--ayv-accent) 60%, transparent);
}

.ayv-hero__cta:hover,
.ayv-hero__cta:focus-visible { color: var(--ayv-accent-ink); }

.ayv-hero__dot,
.ayv-promo__badge { background: var(--ayv-accent); }
.ayv-promo__badge { color: var(--ayv-accent-ink); }
.ayv-promo__badge-dot { background: var(--ayv-accent-ink); }

.ayv-hero__eyebrow { color: var(--ayv-accent-2); }
.ayv-hero__card-price { color: var(--ayv-accent); }

.ayv-promo__cta {
    border-color: color-mix(in srgb, var(--ayv-accent) 55%, transparent);
    background: color-mix(in srgb, var(--ayv-accent) 10%, transparent);
    color: var(--ayv-accent);
}

.ayv-promo__cta:hover,
.ayv-promo__cta:focus-visible {
    background: var(--ayv-accent);
    color: var(--ayv-accent-ink);
}

.ayv-hero__card:hover,
.ayv-hero__card:focus-visible,
.ayv-promo__track a:hover,
.ayv-promo__track a:focus-visible { border-color: var(--ayv-accent); }
/* --------------------------------------------------------------------------
   The twelve motions

   REBUILT 2026-11-07. The first set leaned on line work — a conic fan of
   thin rays, diagonal stripe bands, a ruled grid, dashed rings, horizontal
   streaks. On a large panel behind type, every one of those read as
   texture or as a rendering artefact rather than as light. The fan in
   particular looked like a starburst clip-art.

   So: no hard strokes anywhere in this set. All twelve are soft gradient
   forms, blurred, differing in SHAPE and PATH rather than in line
   pattern. They are told apart by where the light is and how it travels:
   a point that blooms, a band that sweeps, a tide that rises, a swirl
   that turns.

   One slot element does all twelve — `.ayv-hero__rays` /
   `.ayv-promo__rays`. Each block resets size, radius, filter and mask,
   because they share an element and a leftover mask from one motif
   silently clips the next.

   The `grid` layer from the old set is gone with its motif; the rule
   that hid it stays, so the element in the markup renders nothing.
   -------------------------------------------------------------------------- */

.ayv-hero__grid { display: none; }

/* Shared: the slot is always a soft, blurred, non-repeating form. */
.ayv-hero__rays,
.ayv-promo__rays {
    border: 0;
    background-repeat: no-repeat;
}

/* --- 1 bloom: a single point of light opening and closing, off-centre
       so it never looks like a spotlight aimed at the middle. --------- */
.ayv-motif--bloom .ayv-hero__rays,
.ayv-motif--bloom .ayv-promo__rays {
    width: 120%; height: 160%; border-radius: 50%;
    background: radial-gradient(closest-side, var(--ayv-motif-ink), transparent 70%);
    filter: blur(40px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-bloom 15s ease-in-out infinite;
}
@keyframes ayv-m-bloom {
    0%, 100% { transform: translate3d(-6%, 4%, 0) scale(0.72); opacity: .7; }
    50%      { transform: translate3d(6%, -4%, 0) scale(1.18); opacity: 1; }
}

/* --- 2 aurora: two broad fields of light breathing against each other.
       The quietest of the twelve. ------------------------------------- */
.ayv-motif--aurora .ayv-hero__rays,
.ayv-motif--aurora .ayv-promo__rays {
    width: 76%; height: 110%; border-radius: 50%;
    inset-inline-end: 8%;
    background: radial-gradient(closest-side, var(--ayv-glow-1), transparent 72%);
    filter: blur(44px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-aurora-a 18s ease-in-out infinite;
}

/* The second field. A pseudo-element with its own transform rather than
   a second background layer, because animating background-position on a
   panel-sized gradient repaints it every frame, while transforming a
   blurred layer is composited once and then just moved. Same look,
   fraction of the cost. */
.ayv-motif--aurora .ayv-hero__rays::after,
.ayv-motif--aurora .ayv-promo__rays::after {
    content: ""; position: absolute; inset: -20% -30% -30% -40%;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--ayv-glow-3), transparent 72%);
    animation: ayv-m-aurora-b 23s ease-in-out infinite;
}

@keyframes ayv-m-aurora-a {
    0%, 100% { transform: translate3d(-6%, -4%, 0) scale(1); }
    50%      { transform: translate3d(8%, 6%, 0) scale(1.16); }
}
@keyframes ayv-m-aurora-b {
    0%, 100% { transform: translate3d(6%, 8%, 0) scale(1.08); }
    50%      { transform: translate3d(-8%, -6%, 0) scale(.92); }
}

/* --- 3 ribbon: one wide soft band crossing on the diagonal. Replaces
       the striped beams; a single band reads as light, many read as
       corduroy. -------------------------------------------------------- */
.ayv-motif--ribbon .ayv-hero__rays,
.ayv-motif--ribbon .ayv-promo__rays {
    width: 200%; height: 70%; border-radius: 50%;
    background: linear-gradient(90deg, transparent, var(--ayv-motif-ink) 45%, transparent);
    filter: blur(36px);
    transform-origin: 50% 50%;
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-ribbon 16s ease-in-out infinite;
}
@keyframes ayv-m-ribbon {
    0%, 100% { transform: rotate(-16deg) translate3d(-22%, 10%, 0); }
    50%      { transform: rotate(-10deg) translate3d(22%, -10%, 0); }
}

/* --- 4 waves: an organic blob slowly changing its own outline. Filled
       and blurred now, where the old one was a 1px border. ------------ */
.ayv-motif--waves .ayv-hero__rays,
.ayv-motif--waves .ayv-promo__rays {
    width: 150%; height: 150%;
    background: radial-gradient(closest-side, var(--ayv-motif-ink), transparent 72%);
    border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%;
    filter: blur(34px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-waves 22s ease-in-out infinite;
}
@keyframes ayv-m-waves {
    0%, 100% { border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%; transform: rotate(0deg) scale(1); }
    50%      { border-radius: 58% 42% 56% 44% / 44% 58% 42% 56%; transform: rotate(16deg) scale(1.08); }
}

/* --- 5 dust: many small soft points drifting upward. Fine enough to
       read as atmosphere rather than as dots. --------------------------- */
.ayv-motif--dust .ayv-hero__rays,
.ayv-motif--dust .ayv-promo__rays {
    width: 140%; height: 200%; border-radius: 0;
    background:
        radial-gradient(circle 4px at 12% 86%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 3px at 28% 54%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 5px at 44% 78%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 3px at 58% 32%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 4px at 72% 66%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 3px at 86% 44%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 5px at 34% 18%, var(--ayv-motif-ink), transparent 60%),
        radial-gradient(circle 3px at 66% 92%, var(--ayv-motif-ink), transparent 60%);
    filter: blur(2px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 76%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 76%);
    animation: ayv-m-dust 20s linear infinite;
}
@keyframes ayv-m-dust {
    from { transform: translate3d(0, 6%, 0); }
    to   { transform: translate3d(-3%, -16%, 0); }
}

/* --- 6 ripple: soft concentric glows opening outward. Replaces the
       dashed orbit rings; same idea, no stroke. ------------------------ */
.ayv-motif--ripple .ayv-hero__rays,
.ayv-motif--ripple .ayv-promo__rays {
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(closest-side, transparent 58%, var(--ayv-motif-ink) 76%, transparent 86%);
    filter: blur(14px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-ripple 6s ease-out infinite;
}
.ayv-motif--ripple .ayv-hero__rays::after,
.ayv-motif--ripple .ayv-promo__rays::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(closest-side, transparent 58%, var(--ayv-motif-ink) 76%, transparent 86%);
    animation: ayv-m-ripple 6s ease-out 2s infinite;
}
@keyframes ayv-m-ripple {
    0%   { transform: scale(.4); opacity: 0; }
    20%  { opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* --- 7 spotlight: a narrow soft beam crossing the panel. ------------- */
.ayv-motif--spotlight .ayv-hero__rays,
.ayv-motif--spotlight .ayv-promo__rays {
    width: 40%; height: 240%; border-radius: 50%;
    background: radial-gradient(closest-side, var(--ayv-glow-1), transparent 72%);
    filter: blur(30px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-spot 12s ease-in-out infinite;
}
@keyframes ayv-m-spot {
    0%, 100% { transform: translate3d(-70%, 0, 0) rotate(-8deg); }
    50%      { transform: translate3d(70%, 0, 0) rotate(8deg); }
}

/* --- 8 bokeh: large out-of-focus discs drifting. ---------------------- */
.ayv-motif--bokeh .ayv-hero__rays,
.ayv-motif--bokeh .ayv-promo__rays {
    width: 150%; height: 190%; border-radius: 0;
    background:
        radial-gradient(circle 64px at 16% 78%, var(--ayv-motif-ink), transparent 62%),
        radial-gradient(circle 40px at 38% 28%, var(--ayv-motif-ink), transparent 62%),
        radial-gradient(circle 86px at 62% 68%, var(--ayv-motif-ink), transparent 62%),
        radial-gradient(circle 30px at 82% 22%, var(--ayv-motif-ink), transparent 62%),
        radial-gradient(circle 54px at 90% 62%, var(--ayv-motif-ink), transparent 62%);
    filter: blur(12px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 28%, transparent 78%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 28%, transparent 78%);
    animation: ayv-m-bokeh 17s ease-in-out infinite;
}
@keyframes ayv-m-bokeh {
    0%, 100% { transform: translate3d(0, 5%, 0) scale(1); }
    50%      { transform: translate3d(-5%, -7%, 0) scale(1.12); }
}

/* --- 9 mesh: a four-point gradient whose points wander. --------------- */
/* Same correction as aurora: transform-driven, not background-position.
   Four points come from this element plus its ::after plus the two
   blobs the shared .ayv-hero__mesh layer already contributes, so the
   mesh is still four-point without four animated gradient stops. */
.ayv-motif--mesh .ayv-hero__rays,
.ayv-motif--mesh .ayv-promo__rays {
    width: 84%; height: 120%; border-radius: 50%;
    background: radial-gradient(closest-side, var(--ayv-glow-1), transparent 72%);
    filter: blur(42px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-mesh-a 15s ease-in-out infinite;
}

.ayv-motif--mesh .ayv-hero__rays::after,
.ayv-motif--mesh .ayv-promo__rays::after {
    content: ""; position: absolute; inset: -25% -35% -20% -25%;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--ayv-motif-ink), transparent 72%);
    animation: ayv-m-mesh-b 19s ease-in-out infinite;
}

@keyframes ayv-m-mesh-a {
    0%, 100% { transform: translate3d(-10%, -8%, 0) scale(.95); }
    33%      { transform: translate3d(10%, 4%, 0) scale(1.14); }
    66%      { transform: translate3d(-4%, 10%, 0) scale(1.02); }
}
@keyframes ayv-m-mesh-b {
    0%, 100% { transform: translate3d(8%, 10%, 0) scale(1.1); }
    33%      { transform: translate3d(-8%, -6%, 0) scale(.9); }
    66%      { transform: translate3d(6%, -10%, 0) scale(1.05); }
}

/* --- 10 halo: one soft ring of light pulsing outward from behind the
        content. Blurred, so there is no edge to it. -------------------- */
.ayv-motif--halo .ayv-hero__rays,
.ayv-motif--halo .ayv-promo__rays {
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(closest-side, transparent 52%, var(--ayv-motif-ink) 74%, transparent 88%);
    filter: blur(22px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-halo 9s ease-in-out infinite;
}
@keyframes ayv-m-halo {
    0%, 100% { transform: scale(.85); opacity: .55; }
    50%      { transform: scale(1.65); opacity: 1; }
}

/* --- 11 tide: a broad swell rising and falling across the full width.
        Replaces the horizontal streaks. --------------------------------- */
.ayv-motif--tide .ayv-hero__rays,
.ayv-motif--tide .ayv-promo__rays {
    width: 190%; height: 120%; border-radius: 50% 50% 0 0 / 70% 70% 0 0;
    background: linear-gradient(0deg, var(--ayv-motif-ink), transparent 75%);
    filter: blur(32px);
    -webkit-mask-image: none; mask-image: none;
    animation: ayv-m-tide 19s ease-in-out infinite;
}
@keyframes ayv-m-tide {
    0%, 100% { transform: translate3d(-8%, 16%, 0) scaleY(.9); }
    50%      { transform: translate3d(8%, 2%, 0) scaleY(1.15); }
}

/* --- 12 swirl: a soft conic blur turning. Conic for the rotation, 50px
        of blur so none of the wedge edges survive as lines. ------------ */
.ayv-motif--swirl .ayv-hero__rays,
.ayv-motif--swirl .ayv-promo__rays {
    width: 150%; height: 150%; border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--ayv-motif-ink) 0deg 70deg,
        transparent 70deg 180deg,
        var(--ayv-motif-ink) 180deg 250deg,
        transparent 250deg 360deg
    );
    filter: blur(50px);
    -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 74%);
    mask-image: radial-gradient(circle, #000 20%, transparent 74%);
    animation: ayv-m-swirl 30s linear infinite;
}
@keyframes ayv-m-swirl {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* --------------------------------------------------------------------------
   Reduced motion
   Palettes stay — colour is not motion, and a rotating look is still a
   look. Every motif stops where it is.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .ayv-hero__rays,
    .ayv-promo__rays,
    .ayv-hero__rays::after,
    .ayv-promo__rays::after {
        animation: none !important;
    }
}

/* ==========================================================================
   Twelve button treatments, one per look
   --------------------------------------------------------------------------
   The palette and the motion changed every five minutes while the button
   stayed the same pill throughout, which made the whole rotation read as
   a recolour. Shape is what sells it as a different design.

   WHAT DOES NOT CHANGE, in any of the twelve:
     - the hit area stays at least 44px tall
     - the label keeps its palette's accent-ink/accent contrast pair,
       already measured at 7.4:1 or better across all twelve
     - :focus-visible keeps a visible ring
   Those are the parts a visitor depends on; everything else is decoration
   and is fair game.

   Both buttons are themed together — the hero's filled CTA and the promo
   banner's outline one — so a look is consistent across both panels even
   though the two panels never share a look.
   ========================================================================== */

/* 1 — Pill, solid. The baseline. */
.ayv-t1 .ayv-hero__cta { border-radius: 999px; }

/* 2 — Sharp rectangle. No radius at all, wide tracking. */
.ayv-t2 .ayv-hero__cta,
.ayv-t2 .ayv-promo__cta {
    border-radius: 2px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 13px;
}

/* 3 — Outline only. The accent becomes the border and the label; the
       fill arrives on hover. */
.ayv-t3 .ayv-hero__cta {
    border-radius: 999px;
    background: transparent;
    border: 2px solid var(--ayv-accent);
    color: var(--ayv-accent);
    box-shadow: none;
}
.ayv-t3 .ayv-hero__cta:hover,
.ayv-t3 .ayv-hero__cta:focus-visible {
    background: var(--ayv-accent);
    color: var(--ayv-accent-ink);
}
/* The sweep is a highlight across a filled surface; on a transparent
   one it is a bright smear across the panel behind. */
.ayv-t3 .ayv-hero__cta::after { display: none; }

/* 4 — Soft square with a weight bar under the label. */
.ayv-t4 .ayv-hero__cta,
.ayv-t4 .ayv-promo__cta {
    border-radius: 10px;
    border-block-end: 4px solid var(--ayv-accent-ink);
}
.ayv-t4 .ayv-promo__cta { border-block-end-color: var(--ayv-accent); }

/* 5 — Pill with an offset ring, floating just clear of the button. */
.ayv-t5 .ayv-hero__cta {
    border-radius: 999px;
    box-shadow: 0 0 0 2px var(--ayv-bg-2), 0 0 0 4px var(--ayv-accent);
}
.ayv-t5 .ayv-hero__cta:hover,
.ayv-t5 .ayv-hero__cta:focus-visible {
    box-shadow: 0 0 0 3px var(--ayv-bg-2), 0 0 0 6px var(--ayv-accent);
}

/* 6 — Pill with the arrow in its own disc. */
.ayv-t6 .ayv-hero__cta {
    border-radius: 999px;
    padding-inline-end: 8px;
}
.ayv-t6 .ayv-hero__cta .ayv-hero__cta-arrow {
    box-sizing: content-box;
    width: 15px;
    height: 15px;
    padding: 7px;
    border-radius: 50%;
    background: var(--ayv-accent-ink);
    color: var(--ayv-accent);
}

/* 7 — Notched. One corner cut away, which reads as deliberate rather
       than broken because the opposite corner is cut to match. */
.ayv-t7 .ayv-hero__cta,
.ayv-t7 .ayv-promo__cta {
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

/* 8 — Hard offset shadow. No blur, no transition on the shadow itself,
       so pressing it genuinely looks like pressing it. */
.ayv-t8 .ayv-hero__cta {
    border-radius: 6px;
    box-shadow: 4px 4px 0 0 var(--ayv-accent-ink);
}
.ayv-t8 .ayv-hero__cta:hover,
.ayv-t8 .ayv-hero__cta:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 var(--ayv-accent-ink);
}

/* 9 — Gradient hairline around a dark core. Two backgrounds clipped to
       different boxes: the gradient to the border, the fill to the
       padding box. */
.ayv-t9 .ayv-hero__cta {
    border-radius: 999px;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--ayv-bg-2), var(--ayv-bg-2)) padding-box,
        linear-gradient(120deg, var(--ayv-accent), var(--ayv-accent-2)) border-box;
    color: var(--ayv-accent);
    box-shadow: none;
}
.ayv-t9 .ayv-hero__cta:hover,
.ayv-t9 .ayv-hero__cta:focus-visible { color: var(--ayv-accent); }
.ayv-t9 .ayv-hero__cta::after { display: none; }

/* 10 — Wide block. Generous, quiet, slightly tracked. */
.ayv-t10 .ayv-hero__cta,
.ayv-t10 .ayv-promo__cta {
    border-radius: 4px;
    padding-inline: 38px;
    letter-spacing: 0.03em;
}

/* 11 — Capsule outline with a filled dot where the arrow was. */
.ayv-t11 .ayv-hero__cta {
    border-radius: 999px;
    background: transparent;
    border: 1.5px solid var(--ayv-accent);
    color: var(--ayv-accent);
    box-shadow: none;
}
.ayv-t11 .ayv-hero__cta .ayv-hero__cta-arrow {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ayv-accent);
    /* The arrow glyph is an <svg>; hiding its stroke leaves the box,
       which is the dot. */
    stroke: transparent;
}
.ayv-t11 .ayv-hero__cta:hover,
.ayv-t11 .ayv-hero__cta:focus-visible {
    background: var(--ayv-accent);
    color: var(--ayv-accent-ink);
}
.ayv-t11 .ayv-hero__cta:hover .ayv-hero__cta-arrow { background: var(--ayv-accent-ink); }
.ayv-t11 .ayv-hero__cta::after { display: none; }

/* 12 — Squircle with an inner highlight along the top edge. */
.ayv-t12 .ayv-hero__cta {
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, .55),
        0 10px 22px -12px var(--ayv-accent);
}

/* --------------------------------------------------------------------------
   The same twelve treatments on the SECONDARY banner's button
   --------------------------------------------------------------------------
   Gap found 2026-11-07: only four of the twelve above reached
   `.ayv-promo__cta`, so on the other eight the secondary banner kept one
   outline pill no matter which look was on. Palette, motion and headline
   all rotated around a button that never moved.

   These are not copies of the hero rules. The hero's button is FILLED and
   the promo's is an OUTLINE, so each treatment is re-expressed for an
   outline control — and where the hero variant is itself an outline
   (3, 11), the promo takes the inverse and fills, so the two panels
   complement rather than repeat.
   -------------------------------------------------------------------------- */

/* 1 — Pill. The promo's resting state, stated explicitly so it is a
       choice rather than whatever the base rule left behind. */
.ayv-t1 .ayv-promo__cta { border-radius: 999px; }

/* 3 — Hero is outline here, so the promo inverts and fills. */
.ayv-t3 .ayv-promo__cta {
    border-radius: 999px;
    background: var(--ayv-accent);
    border-color: var(--ayv-accent);
    color: var(--ayv-accent-ink);
}
.ayv-t3 .ayv-promo__cta:hover,
.ayv-t3 .ayv-promo__cta:focus-visible {
    background: transparent;
    color: var(--ayv-accent);
}

/* 5 — Offset ring, sized for an outline control. */
.ayv-t5 .ayv-promo__cta {
    border-radius: 999px;
    box-shadow: 0 0 0 2px var(--ayv-bg-2), 0 0 0 3px var(--ayv-accent);
}
.ayv-t5 .ayv-promo__cta:hover,
.ayv-t5 .ayv-promo__cta:focus-visible {
    box-shadow: 0 0 0 3px var(--ayv-bg-2), 0 0 0 5px var(--ayv-accent);
}

/* 6 — Arrow in its own disc. The promo's arrow is a plain svg child
       rather than the hero's .ayv-hero__cta-arrow, so it is targeted by
       element. */
.ayv-t6 .ayv-promo__cta {
    border-radius: 999px;
    padding-inline-end: 7px;
}
.ayv-t6 .ayv-promo__cta svg {
    box-sizing: content-box;
    width: 14px;
    height: 14px;
    padding: 6px;
    border-radius: 50%;
    background: var(--ayv-accent);
    color: var(--ayv-accent-ink);
}

/* 8 — Hard offset shadow, in the accent since there is no filled
       surface to throw a dark one from. */
.ayv-t8 .ayv-promo__cta {
    border-radius: 6px;
    box-shadow: 4px 4px 0 0 var(--ayv-accent);
}
.ayv-t8 .ayv-promo__cta:hover,
.ayv-t8 .ayv-promo__cta:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 var(--ayv-accent);
}

/* 9 — Gradient hairline. Same two-background trick as the hero, with
       the panel colour as the core. */
.ayv-t9 .ayv-promo__cta {
    border-radius: 999px;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--ayv-bg-2), var(--ayv-bg-2)) padding-box,
        linear-gradient(120deg, var(--ayv-accent), var(--ayv-accent-2)) border-box;
    color: var(--ayv-accent);
}
.ayv-t9 .ayv-promo__cta:hover,
.ayv-t9 .ayv-promo__cta:focus-visible {
    color: var(--ayv-accent);
    background:
        linear-gradient(var(--ayv-bg-3), var(--ayv-bg-3)) padding-box,
        linear-gradient(120deg, var(--ayv-accent-2), var(--ayv-accent)) border-box;
}

/* 11 — Hero is a capsule outline with a dot, so the promo fills and
        keeps the dot. */
.ayv-t11 .ayv-promo__cta {
    border-radius: 999px;
    background: var(--ayv-accent);
    border-color: var(--ayv-accent);
    color: var(--ayv-accent-ink);
}
.ayv-t11 .ayv-promo__cta svg {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ayv-accent-ink);
    stroke: transparent;
}
.ayv-t11 .ayv-promo__cta:hover,
.ayv-t11 .ayv-promo__cta:focus-visible {
    background: transparent;
    color: var(--ayv-accent);
}
.ayv-t11 .ayv-promo__cta:hover svg { background: var(--ayv-accent); }

/* 12 — Squircle with a top-edge highlight. */
.ayv-t12 .ayv-promo__cta {
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 0 color-mix(in srgb, var(--ayv-accent) 35%, transparent),
        0 10px 22px -14px var(--ayv-accent);
}

/* Shared: a visible focus ring survives every variant above. Declared
   last so no treatment can quietly remove it. */
.ayv-hero__cta:focus-visible,
.ayv-promo__cta:focus-visible,
.ayv-hero__link:focus-visible {
    outline: 2px solid var(--ayv-accent);
    outline-offset: 3px;
}
