/* ═══════════════════════════════════════════════════════════════════════════
   xmas-2026.css — TEMPORARY Christmas theme for the embryolinks.com HOME PAGE
   ───────────────────────────────────────────────────────────────────────────
   Built 2026-11-24. Live window: 1 Dec 2026 → 31 Jan 2027.
   Offer: 20% off for parents.

   🔴 THIS FILE IS DISPOSABLE AND MUST STAY THAT WAY.
   Every rule is scoped under  html.xmas-on  , which only js/xmas-2026.js adds,
   and only inside the date window. With the class absent this stylesheet
   matches nothing and the page renders exactly as it did before the theme
   existed.

   TO REMOVE THE THEME COMPLETELY:
     1. delete the two lines in index.html that reference this file and
        js/xmas-2026.js  (they sit together, just above </head>)
     2. delete this file and js/xmas-2026.js
     3. the SHA-256 of index.html must then equal
        932B6760903B12142FC27F9A564164E820890979B03E82D7B4E705CFE90C0F46

   Nothing here is a Tailwind class, so css/tailwind.min.css is NOT rebuilt and
   the other 99 pages of the site are untouched. No fa-* icons are used: the
   FontAwesome build on this site is a hand-trimmed subset and a glyph that is
   not in it renders as blank space with no error. Every festive shape is
   inline SVG or pure CSS.
   ═══════════════════════════════════════════════════════════════════════════ */

html.xmas-on {
    --x-red:       #B81D24;
    --x-red-dk:    #8E1319;
    --x-green:     #0F6B3F;
    --x-green-dk:  #0A4D2E;
    --x-gold:      #F5A623;
    --x-gold-lt:   #FFD166;

    /* rewritten at runtime from the measured height of the nav's menu row */
    --xmas-nav-h:    148px;
    --xmas-strip-h:  64px;

    /* stops #anchor jumps landing underneath the nav + banner */
    scroll-padding-top: calc(var(--xmas-nav-h) + var(--xmas-strip-h) + 12px);
}

@media (max-width: 767px) {
    html.xmas-on { --xmas-strip-h: 56px; }
}

/* ── the visibility gate ─────────────────────────────────────────────────
   The injected elements are hidden unless html.xmas-on is present, so that
   removing the class leaves nothing rendering in a half-styled state — in
   particular the banner's marquee text, which would otherwise fall into the
   page as a plain block of copy. These class names appear nowhere else on
   the site, so the rule is inert on an untouched page. */

.xmas-snow, .xmas-tag, .xmas-hat, .xmas-terms, .xmas-pill-tree, .xmas-tree,
.xmas-strip {
    display: none !important;
}

html.xmas-on .xmas-snow,
html.xmas-on .xmas-tag,
html.xmas-on .xmas-terms,
html.xmas-on .xmas-strip,
html.xmas-on .xmas-tree       { display: block !important; }
html.xmas-on .xmas-hat,
html.xmas-on .xmas-pill-tree  { display: inline-block !important; }

/* ═══════════════════════════════════════════════════════════════
   1. THE OFFER BANNER
   Sits directly under the nav's menu row, above the hero.
   position:fixed because #navbar is  fixed top-0  and therefore out of
   document flow — a normal-flow element placed before the hero would be
   painted *behind* the nav instead of below it.
   z-index 40 deliberately: BELOW the nav (50) so the services dropdown, the
   language dropdown, the nav search results and the mobile menu all still
   open over the top of it.
   ═══════════════════════════════════════════════════════════════ */

html.xmas-on .xmas-strip {
    position: fixed;
    left: 0; right: 0;
    top: var(--xmas-nav-h);
    z-index: 40;
    height: var(--xmas-strip-h);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;

    /* 🔴 TRANSPARENCY HAS A FLOOR, AND IT IS SET BY THE WHITE SECTIONS.
       The banner is fixed, so it stays on screen over the white Services and
       Blog bands as well as over the dark hero. A purely red/green wash at
       low alpha turns pale pink there and the white text stops being
       readable. The navy background-colour underneath is what holds the
       contrast: measured over pure white the composite lands near 4.4:1,
       which carries this weight of text. Lower either alpha and check the
       banner over the Services section, not just over the hero.

       The red and green now live in the TYPE, not here, so the background is
       plain tinted glass with no colour of its own.

       The navy base is NOT fixed — it follows where the banner is. Over the
       hero it is almost absent, which is the glassy look that was asked for,
       and the coloured type still clears 3.3:1 there because the hero behind
       it is dark. Once the banner scrolls off the hero and over the white
       bands, the script adds .xmas-past-hero and the base comes up far
       enough to keep that same type at about 4:1.
       ⚠ Coloured text needs MORE background than white text did: pale red
       and mint sit much closer to a light background than white does, so the
       past-hero value had to go from .54 to .75 when the type stopped being
       white. Re-measure if either colour changes.
       Only the background-COLOUR changes, so it can transition smoothly;
       background-image does not interpolate. */
    background-color: rgba(10, 38, 71, .10);
    /* more blur than before: it cannot darken what is behind the banner, but
       it does take the busy detail out of it, which is most of what makes
       text over glass hard to read */
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
            backdrop-filter: blur(14px) saturate(1.2);

    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 6px 20px rgba(10, 38, 71, .16);

    /* No transition on `top`. A ResizeObserver on the nav's menu row rewrites
       --xmas-nav-h on every frame of the nav's own .35s shrink, so the banner
       already tracks it exactly; easing `top` as well made it lag the nav by
       ~17px for a third of a second on every scroll. */
    transition: opacity .25s ease, background-color .3s ease;
}

/* past the hero, where the page turns white behind the banner */
html.xmas-on.xmas-past-hero .xmas-strip {
    background-color: rgba(10, 38, 71, .75);
}

/* The mobile menu opens *inside* the nav with mt-4, so it would appear
   underneath the banner. The script adds this class while it is open. */
html.xmas-on.xmas-menu-open .xmas-strip {
    opacity: 0;
    pointer-events: none;
}

html.xmas-on .xmas-strip-vp {
    /* leaves the lower strip of the banner to the string lights */
    height: calc(var(--xmas-strip-h) - 20px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

html.xmas-on .xmas-strip-track {
    display: flex;
    flex: none;
    width: max-content;
    /* Fallback only. The real duration is set inline by js/xmas-2026.js from
       the measured sequence width, so the banner travels at a fixed number
       of pixels per second whatever the screen is. A fixed duration here
       would mean a wide screen scrolls faster than a narrow one — same loop
       time, more distance — which is how it ended up too fast to read on a
       large monitor. */
    animation: xmasMarquee 90s linear infinite;
}

/* Two identical sequences + a -50% translate = a seamless loop. */
@keyframes xmasMarquee {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(-50%,0,0); }
}

html.xmas-on .xmas-strip:hover        .xmas-strip-track,
html.xmas-on .xmas-strip:focus        .xmas-strip-track,
html.xmas-on .xmas-strip:focus-within .xmas-strip-track {
    animation-play-state: paused;
}

html.xmas-on .xmas-seq {
    display: flex;
    flex: none;
    align-items: center;
}

html.xmas-on .xmas-msg {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 0 2rem;
    white-space: nowrap;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .005em;
    /* Two shadows, not one: the tight dark one gives the glyph edges a hard
       border against a pale background, the wide soft one puts a dim halo
       round the whole word. This is what keeps the line readable now that
       the background behind it is mostly whatever the page is showing. */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 10px rgba(0, 0, 0, .45);
}

/* ── THE RED AND THE GREEN, NOW IN THE TYPE ──────────────────────────────
   Deliberately pale, not the brand's own #B81D24 and #0F6B3F: those are dark
   colours chosen to sit UNDER white text, and as type on a translucent dark
   bar they disappear. These are the same two hues lifted to where they read
   against the glass. */
html.xmas-on .xmas-c-red   { color: #FFB4B4; }
html.xmas-on .xmas-c-green { color: #7FE9AD; }

html.xmas-on .xmas-msg b {
    color: var(--x-gold-lt);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 0 10px rgba(0, 0, 0, .5);
}

html.xmas-on .xmas-msg svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
}

html.xmas-on .xmas-msg .xi-tree  { color: #7FE9AD; }
html.xmas-on .xmas-msg .xi-gift  { color: #FFB4B4; }
html.xmas-on .xmas-msg .xi-flake { color: #CFE6FF; }

html.xmas-on .xmas-msg svg {
    flex: none;
    width: 16px; height: 16px;
    opacity: .95;
}

@media (max-width: 767px) {
    html.xmas-on .xmas-msg { font-size: .83rem; padding: 0 1.2rem; gap: .45rem; }
    html.xmas-on .xmas-msg svg { width: 14px; height: 14px; }
}

/* ── STRING LIGHTS along the banner's lower edge ───────────────────────
   A real strand: a wire that swags between fixings, with bulbs hanging below
   it on their sockets, each with a glow and a highlight.

   🔑 THE WIRE IS A TILED BACKGROUND, THE BULBS ARE REAL ELEMENTS, and that
   split is the whole point. The bulbs were in the tile too until they had to
   flash at random — a background image animates as one picture, so every
   bulb on the page necessarily blinks in lockstep, which is exactly what
   made the first version look like a warning light. Each bulb is now its own
   element with its own duration and its own delay, both randomised in
   js/xmas-2026.js, so no two are in step. The wire never animates, so it
   stays a cheap tiled background. */

html.xmas-on .xmas-lights {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 20px;
    pointer-events: none;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: 120px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='20' viewBox='0 0 120 20'%3E%3Cpath d='M0 3Q60 13 120 3' fill='none' stroke='%23ffffff' stroke-opacity='.4' stroke-width='1.3'/%3E%3C/svg%3E");
}

html.xmas-on .xmas-bulb {
    position: absolute;
    width: 6.4px;
    height: 8.2px;
    margin-left: -3.2px;
    border-radius: 50% 50% 52% 52% / 44% 44% 56% 56%;
    animation-name: xmasBulbTwinkle;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    /* background, box-shadow glow, left, top, duration and delay are all set
       per bulb by the script */
}

/* the socket, clipping the bulb onto the wire above it */
html.xmas-on .xmas-bulb::before {
    content: '';
    position: absolute;
    left: 50%; top: -3.2px;
    margin-left: -1.1px;
    width: 2.2px; height: 3.4px;
    border-radius: 1px;
    background: rgba(255, 255, 255, .5);
}

/* No separate highlight dot any more: the bulb's own fill is a radial
   gradient with a near-white centre, which is what makes it read as lit from
   the inside rather than as a coloured blob with a spot painted on it. */

@keyframes xmasBulbTwinkle {
    0%, 100% { opacity: 1; }
    /* was .22 — the bulbs went almost black at the bottom of the cycle,
       which made the whole strand read dimmer than the bulbs actually are */
    50%      { opacity: .5; }
}

/* ── hero clearance ──────────────────────────────────────────────────
   The hero is  min-h-screen flex items-center pt-20  and its inner wrapper
   carries  py-12 md:py-24 . Adding the banner's height to that inner padding
   is what guarantees the banner never lands on the "UK · Europe · Worldwide"
   pill — additive padding works on a tall viewport (where the block simply
   moves down) and on a short one (where centring has already bottomed out).
   Done here, in the theme stylesheet, so index.html keeps its own classes. */

/* 🔴 THE PADDING MUST CLEAR THE NAV PLUS THE BANNER, NOT JUST THE BANNER.
   The first version added the banner's height to the hero's own py-12/py-24
   and that is not the same thing: the hero section's pt-20 is only 80px,
   while the nav's menu row actually ends at ~148px because the logo is
   128px tall. On desktop the larger py-24 hid the shortfall; on a phone,
   with py-12, the banner sat 20px ON TOP of the "UK · Europe · Worldwide"
   pill. Found by rendering the live page in a 390px same-origin iframe.
   The second term is the real requirement — nav row bottom + banner + a
   gap, less the 5rem the section already contributes. The first term is
   kept as a floor so the spacing never collapses below the original
   design. */

html.xmas-on section.hero-bg > .max-w-7xl {
    padding-top: max(
        calc(3rem + var(--xmas-strip-h)),
        calc(var(--xmas-nav-h) + var(--xmas-strip-h) + 1rem - 5rem)
    );
}

@media (min-width: 768px) {
    html.xmas-on section.hero-bg > .max-w-7xl {
        padding-top: max(
            calc(6rem + var(--xmas-strip-h)),
            calc(var(--xmas-nav-h) + var(--xmas-strip-h) + 1.5rem - 5rem)
        );
    }
}

/* ═══════════════════════════════════════════════════════════════
   2. SNOW
   Real six-spoke snowflakes, not dots. Each layer is one tiled SVG holding
   several flakes at different sizes and angles, so the scatter reads as
   natural rather than as a grid. Every flake is drawn twice — a pale blue
   halo under a white core — which is what lets them show on the white
   sections as well as on the navy hero; plain white vanishes on white.
   Flakes are kept clear of the tile edges so the repeat never clips one.
   Each layer travels exactly one tile per cycle, so the loop is seamless
   even on the two that drift sideways.
   ═══════════════════════════════════════════════════════════════ */

html.xmas-on .xmas-snow {
    position: fixed;
    top: -560px;
    left: -560px;
    width:  calc(100% + 1120px);
    height: calc(100% + 560px);
    pointer-events: none;
    z-index: 1;
    background-repeat: repeat;
    /* Big flakes need a big tile. At 420px the same flake count put ~170 of
       them on a 1920px screen, which read as a blizzard over the hero copy;
       560px with fewer per tile gives ~50 — snow you notice, text you can
       still read. */
    background-size: 560px 560px;
    will-change: transform;
}

html.xmas-on .xmas-snow-a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cdefs%3E%3Cpath id='p' d='M12 2V22M3.3 7L20.7 17M20.7 7L3.3 17M12 6L9.4 3.4M12 6L14.6 3.4M12 18L9.4 20.6M12 18L14.6 20.6M7.2 9.1L3.7 8.5M7.2 14.9L3.7 15.5M16.8 9.1L20.3 8.5M16.8 14.9L20.3 15.5'/%3E%3Cg id='f' fill='none' stroke-linecap='round'%3E%3Cuse href='%23p' stroke='%23A8C8EC' stroke-width='3.2' opacity='.55'/%3E%3Cuse href='%23p' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(70 90) scale(1.4) rotate(14 12 12)' opacity='.95'/%3E%3Cuse href='%23f' transform='translate(330 250) scale(1.5) rotate(-22 12 12)' opacity='.9'/%3E%3Cuse href='%23f' transform='translate(180 440) scale(1.25) rotate(28 12 12)' opacity='.9'/%3E%3C/svg%3E");
    animation: xmasFallA 18s linear infinite;
}

html.xmas-on .xmas-snow-b {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cdefs%3E%3Cpath id='p' d='M12 2V22M3.3 7L20.7 17M20.7 7L3.3 17M12 6L9.4 3.4M12 6L14.6 3.4M12 18L9.4 20.6M12 18L14.6 20.6M7.2 9.1L3.7 8.5M7.2 14.9L3.7 15.5M16.8 9.1L20.3 8.5M16.8 14.9L20.3 15.5'/%3E%3Cg id='f' fill='none' stroke-linecap='round'%3E%3Cuse href='%23p' stroke='%23A8C8EC' stroke-width='3.2' opacity='.5'/%3E%3Cuse href='%23p' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(420 120) scale(.85) rotate(18 12 12)' opacity='.8'/%3E%3Cuse href='%23f' transform='translate(90 320) scale(.9) rotate(26 12 12)' opacity='.8'/%3E%3Cuse href='%23f' transform='translate(360 480) scale(.8) rotate(-14 12 12)' opacity='.75'/%3E%3C/svg%3E");
    animation: xmasFallB 26s linear infinite;
}

html.xmas-on .xmas-snow-c {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cdefs%3E%3Cpath id='p' d='M12 2V22M3.3 7L20.7 17M20.7 7L3.3 17M12 6L9.4 3.4M12 6L14.6 3.4M12 18L9.4 20.6M12 18L14.6 20.6M7.2 9.1L3.7 8.5M7.2 14.9L3.7 15.5M16.8 9.1L20.3 8.5M16.8 14.9L20.3 15.5'/%3E%3Cg id='f' fill='none' stroke-linecap='round'%3E%3Cuse href='%23p' stroke='%23A8C8EC' stroke-width='3' opacity='.4'/%3E%3Cuse href='%23p' stroke='%23ffffff' stroke-width='1.3'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(150 60) scale(1.85) rotate(10 12 12)' opacity='.45'/%3E%3Cuse href='%23f' transform='translate(430 400) scale(2) rotate(-18 12 12)' opacity='.4'/%3E%3C/svg%3E");
    animation: xmasFallC 36s linear infinite;
}

@keyframes xmasFallA { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,      560px, 0); } }
@keyframes xmasFallB { from { transform: translate3d(0,0,0); } to { transform: translate3d(560px,  560px, 0); } }
@keyframes xmasFallC { from { transform: translate3d(0,0,0); } to { transform: translate3d(-560px, 560px, 0); } }

/* ═══════════════════════════════════════════════════════════════
   3. THE GIFT-TAG DISCOUNT BADGE
   Injected into the hero's "Live tracking card" wrapper, which is already
   position:relative and already  hidden md:block , so the tag inherits that
   and disappears on phones by itself — where the banner carries the offer.
   ═══════════════════════════════════════════════════════════════ */

html.xmas-on .xmas-tag {
    position: absolute;
    top: -30px;
    right: -16px;
    z-index: 6;
    width: 120px;
    padding: 24px 10px 13px;
    box-sizing: border-box;
    border-radius: 11px;
    border: 2px solid var(--x-gold);
    background: linear-gradient(145deg, var(--x-green) 0%, var(--x-green-dk) 100%);
    text-align: center;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transform: rotate(8deg);
    transform-origin: 50% -22px;
    animation: xmasSway 6s ease-in-out infinite;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,.34));
    transition: filter .2s ease;
}

html.xmas-on .xmas-tag:hover { filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)) brightness(1.06); }

/* the punched hole */
html.xmas-on .xmas-tag::before {
    content: '';
    position: absolute;
    top: 9px; left: 50%;
    width: 9px; height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: #0A2647;
    box-shadow: 0 0 0 2px var(--x-gold-lt);
}

/* the string it hangs from */
html.xmas-on .xmas-tag::after {
    content: '';
    position: absolute;
    top: -28px; left: 50%;
    width: 2px; height: 32px;
    margin-left: -1px;
    background: linear-gradient(var(--x-gold-lt), rgba(245,166,35,.25));
    transform: rotate(14deg);
    transform-origin: bottom center;
}

html.xmas-on .xmas-tag-pc {
    display: block;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}

html.xmas-on .xmas-tag-off {
    display: block;
    color: var(--x-gold-lt);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-top: 2px;
}

html.xmas-on .xmas-tag-sub {
    display: block;
    color: rgba(255,255,255,.82);
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.35;
    margin-top: 5px;
}

@keyframes xmasSway {
    0%,100% { transform: rotate(8deg);   }
    50%     { transform: rotate(3.5deg); }
}

/* ═══════════════════════════════════════════════════════════════
   4. THE TREE AND THE GIFTS
   Stands in the hero's empty left-hand margin. The left offset is the gap
   between the screen edge and the max-w-7xl content column.
   The tree's viewBox is 200 x 440, so its height is 2.2x these widths.
   ═══════════════════════════════════════════════════════════════ */

html.xmas-on { --xmas-tree-w: 180px; }
@media (min-width: 1820px) { html.xmas-on { --xmas-tree-w: 215px; } }
@media (min-width: 1980px) { html.xmas-on { --xmas-tree-w: 250px; } }

/* The tree now stands in the Services section — the first full section below
   the hero — rather than in the hero itself. Its host needs a positioning
   context, and the section's own content is lifted above it so the tree can
   never cover a card. */
html.xmas-on #services { position: relative; overflow: hidden; }
html.xmas-on #services > div { position: relative; z-index: 2; }

html.xmas-on .xmas-tree {
    position: absolute;
    /* centred in the section rather than stood on its floor: the section is
       comfortably taller than the tree, and centring means the tree cannot
       hang out of either end whatever the cards do to the height */
    top: 50%;
    transform: translateY(-50%);
    left: calc((100% - 1280px) / 2 - var(--xmas-tree-w) - 12px);
    width: var(--xmas-tree-w);
    height: auto;
    z-index: 1;
    pointer-events: none;
    /* a much lighter shadow than the hero needed: this section is bg-gray-50,
       and the heavy black drop shadow built for the dark hero reads as grime
       on a light background */
    filter: drop-shadow(0 14px 24px rgba(10, 38, 71, .20));
}

/* 🔴 The empty left margin only exists on a wide screen. The content column
   is 1280px plus its own gutters, so below about 1700px there is no room
   beside it and the tree would stand on the hero copy instead. Measured, not
   guessed: at 1280px the copy starts 24px from the edge and a 180px tree
   would cover the headline. */
@media (max-width: 1699px) {
    html.xmas-on .xmas-tree { display: none !important; }
}

html.xmas-on .xmas-tree .xmas-star { animation: xmasStarGlow 3.4s ease-in-out infinite; transform-origin: 100px 24px; }
html.xmas-on .xmas-tree .xmas-l1   { animation: xmasBulb 2.2s ease-in-out infinite; }
html.xmas-on .xmas-tree .xmas-l2   { animation: xmasBulb 2.9s ease-in-out infinite .4s; }
html.xmas-on .xmas-tree .xmas-l3   { animation: xmasBulb 3.5s ease-in-out infinite .9s; }

@keyframes xmasStarGlow {
    0%,100% { opacity: 1;   transform: scale(1);    }
    50%     { opacity: .82; transform: scale(1.07); }
}
@keyframes xmasBulb {
    0%,100% { opacity: 1;  }
    50%     { opacity: .35; }
}

/* ═══════════════════════════════════════════════════════════════
   5. SANTA HAT ON THE NAV LOGO
   ═══════════════════════════════════════════════════════════════ */

html.xmas-on .xmas-logo-rel { position: relative; }

html.xmas-on .xmas-hat {
    position: absolute;
    top: 14px;
    left: 2px;
    width: 42px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.3));
    transform: rotate(-16deg);
}

@media (max-width: 767px) {
    html.xmas-on .xmas-hat { width: 27px; top: 8px; left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   6. SEASONAL ACCENTS ON EXISTING SECTIONS
   Overrides only. Every one disappears with the html.xmas-on class.
   ═══════════════════════════════════════════════════════════════ */

/* ── a small tree in the hero's status pill, beside the headline ── */
html.xmas-on .xmas-pill-tree {
    flex: none;
    width: 14px; height: 14px;
    margin-right: -1px;
}

/* ── trust bar: candy stripe on top, icon tiles alternating red/green ── */
html.xmas-on .xmas-trust { position: relative; }

html.xmas-on .xmas-trust::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: repeating-linear-gradient(135deg,
                var(--x-red) 0 14px, #ffffff 14px 28px);
    opacity: .85;
}

html.xmas-on .xmas-trust .flex-wrap > div:nth-child(odd)  .bg-sky   { background: #FBE9EA !important; }
html.xmas-on .xmas-trust .flex-wrap > div:nth-child(odd)  .bg-sky i { color: var(--x-red) !important; }
html.xmas-on .xmas-trust .flex-wrap > div:nth-child(even) .bg-sky   { background: #E6F4EC !important; }
html.xmas-on .xmas-trust .flex-wrap > div:nth-child(even) .bg-sky i { color: var(--x-green) !important; }

/* ── service cards: a red/gold/green hairline along the top edge ── */
html.xmas-on .service-card { position: relative; overflow: hidden; }

html.xmas-on .service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--x-red), var(--x-gold), var(--x-green));
}

/* ── the corridors band turns a frostier blue ── */
html.xmas-on #corridors {
    background: linear-gradient(180deg, #EAF4FF 0%, #DCEBFB 100%) !important;
}

/* ── the offer's small print, injected above the footer copyright ── */
html.xmas-on .xmas-terms {
    color: rgba(147,197,253,.75);
    font-size: 11px;
    line-height: 1.6;
    padding: 0 0 14px;
    margin: 0;
    max-width: 760px;
}

/* ═══════════════════════════════════════════════════════════════
   7. ACCESSIBILITY AND PRINT
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    html.xmas-on .xmas-strip-track {
        animation: none;
        /* with the marquee stopped, show one message centred rather than a
           frozen half-scrolled line */
        justify-content: center;
        width: 100%;
    }
    html.xmas-on .xmas-strip-track .xmas-seq:nth-child(2)   { display: none; }
    html.xmas-on .xmas-strip-track .xmas-seq                { justify-content: center; width: 100%; }
    html.xmas-on .xmas-strip-track .xmas-msg:nth-child(n+2) { display: none; }

    html.xmas-on .xmas-snow { display: none !important; }
    html.xmas-on .xmas-bulb,
    html.xmas-on .xmas-tag,
    html.xmas-on .xmas-tree .xmas-star,
    html.xmas-on .xmas-tree .xmas-l1,
    html.xmas-on .xmas-tree .xmas-l2,
    html.xmas-on .xmas-tree .xmas-l3 { animation: none; }
}

@media print {
    html.xmas-on .xmas-strip,
    html.xmas-on .xmas-snow,
    html.xmas-on .xmas-tag,
    html.xmas-on .xmas-tree,
    html.xmas-on .xmas-hat { display: none !important; }
    html.xmas-on section.hero-bg > .max-w-7xl { padding-top: 3rem; }
}
