/*
 * File:         home.7d9a659b.css
 * Path:         public_html/public/assets/css/home.7d9a659b.css
 * Last updated: 2026-12-04 12:55 IST
 * Change:       New. The style block from public_html/index.php (lines 437-1315 of the 3 Dec 2026 version),
 *               moved here unchanged so the page HTML is smaller and browsers cache it (homepage size
 *               work, 4 Dec 2026). The code in the name is a version: after editing, save the file under
 *               a new code and change its line in includes/assets.php, so visitors get the new version.
 * Previous:     none (new file)
 */
/* Scoped to .homepage-v2 only — the shared header/footer above and below <main>
   are siblings, not descendants, so this new palette never touches them. */
.homepage-v2 {
   --c-navy-deep: #1d204e;
   --c-navy-mid:  #474c84;
   --c-burgundy:  #6b1932;
   --c-rose:      #a8536b;
   --c-pale-sky:  #d4e9f1;
   --c-off-white: #f7fbfd;
   /* Featured card surface. The fill is plain white, matching the package cards
      on packages.php. The card edge is transparent there too: separation comes
      entirely from the layered navy shadow below, not from a border line. The
      foot divider is kept as its own token so it can be tuned without touching
      the card edge (packages.php uses #EEF6FA for the same rule).

      --c-card-edge is the brand navy #1d204e let down to 28% alpha, which flattens
      to about #C5C6D3 on the white fill. Deliberately the SAME colour as the drop
      shadow below, so the card outline and its shadow read as one object rather
      than as a blue line drawn around a grey glow. Kept as rgba, not a flat hex,
      so it stays correct if --c-card-fill ever changes again.
      TO REVERT the border: swap the two --c-card-edge lines below. This token is
      read in exactly one place (the featured card's inline style), so the revert
      cannot reach packages.php, destinations.php or any other card on the site. */
   --c-card-fill:    #FFFFFF;
   --c-card-edge:    rgba(29,32,78,.28);
/* --c-card-edge:    transparent;   PREVIOUS -- uncomment to revert, comment the line above */
   --c-card-divider: #FFFFFF;
   /* Matches the site-wide surface token in build/tailwind.site.config.js. The
      homepage paints its own <main> background from this variable, so if the two
      drift the homepage body sits a shade off its own header and footer. */
   --c-page-bg:   #F4F9FB;
}
/* Hero primary button. The colours are stated here rather than inline because a
   hover state cannot be written in a style attribute.

   History of this exact button's colour, kept for whoever touches this next:
   - Originally --c-rose background with NAVY text - measured close to 3:1,
     short of the 4.5:1 minimum for normal text.
   - Swapped to burgundy (#6b1932) to fix that failure.
   - Changed back to --c-rose, but kept white text rather than reverting to
     navy, so the earlier contrast failure was not repeated (white-on-rose
     measures ~5.1:1).
   - Now burgundy again (#6b1932), per explicit request - same value gold-btn
     itself already uses elsewhere on the site, so the two primary buttons
     match. White-on-burgundy measures 11.6:1, comfortably clearing AA (4.5:1)
     and AAA (7:1) both - an improvement over the rose version, not a
     reintroduction of the original navy-text failure two steps back.
   Hover stays --c-navy-deep, white text throughout: white-on-navy measures
   15.34:1, and navy is visually distinct enough from burgundy that the hover
   state still reads as a clear change. */
.homepage-v2 .btn-browse-packages {
   background: #6b1932;              /* burgundy - matches gold-btn */
   color: #ffffff;
   transition: background .18s ease, transform .18s ease;
}
.homepage-v2 .btn-browse-packages:hover,
.homepage-v2 .btn-browse-packages:focus-visible {
   background: var(--c-navy-deep);  /* #1d204e */
   color: #ffffff;
}
.homepage-v2 .btn-browse-packages:focus-visible {
   outline: 2px solid #6b1932;
   outline-offset: 2px;
}

/* ---- Hero call-to-action buttons (14 Sep 2026) --------------------------
   Replaced the solid burgundy + outline pair with three identical glass buttons:
   Explore Destinations / Browse Packages / Request a Custom Trip. Two-line
   labels with an icon tile keep each one ~150-180px wide so the row covers far
   less of the banner or video. Translucent navy fill + blur lets the picture
   show through; the hover state (25% white fill, solid white border, lift,
   brighter tile) is visible on any banner and never matches the hero
   background - the previous primary button's navy hover made it vanish on the
   navy hero. .btn-browse-packages above is kept for any other page using it. */
.homepage-v2 .hero-cta-row { position: relative; z-index: 10; display: flex; flex-wrap: wrap; gap: .75rem; width: max-content; max-width: 100%; }
.homepage-v2 .hero-cta {
   display: inline-flex; align-items: center; gap: .7rem;
   padding: .7rem 1.1rem .7rem .85rem; border-radius: .9rem;
   border: 1.5px solid rgba(212,233,241,.7);
   background: rgba(29,32,78,.35); color: var(--c-off-white);
   backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
   box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 14px 28px -8px rgba(0,0,0,.55), 0 28px 48px -16px rgba(29,32,78,.7);
   transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.homepage-v2 .hero-cta .ico { width: 34px; height: 34px; border-radius: .6rem; display: inline-flex; align-items: center; justify-content: center;
   background: rgba(255,255,255,.12); flex-shrink: 0; transition: background-color .2s ease, transform .2s ease; }
.homepage-v2 .hero-cta .ico .material-symbols-outlined { font-size: 18px; color: var(--c-off-white); }
.homepage-v2 .hero-cta .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.homepage-v2 .hero-cta .txt small  { font-size: 8.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #d4a2b2; }
.homepage-v2 .hero-cta .txt strong { font-size: 11px;  font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--c-off-white); }
.homepage-v2 .hero-cta:hover, .homepage-v2 .hero-cta:focus-visible {
   transform: translateY(-2px);
   background: rgba(255,255,255,.25); border-color: #ffffff; color: var(--c-off-white);
   box-shadow: 0 3px 6px rgba(0,0,0,.28), 0 20px 40px -10px rgba(0,0,0,.6), 0 40px 64px -20px rgba(29,32,78,.75);
}
.homepage-v2 .hero-cta:hover .ico, .homepage-v2 .hero-cta:focus-visible .ico { background: rgba(255,255,255,.32); transform: scale(1.08); }
.homepage-v2 .hero-cta:focus-visible { outline: 2px solid #a8536b; outline-offset: 2px; }
/* Phones (< md): the three CTAs sit in one row as equal-width compact tiles -
   icon above a two-line label, centred. Fits 360px and up (verified). Above
   md the desktop pill layout is untouched. */
@media (max-width: 767px) {
   .homepage-v2 .hero-cta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; width: 100%; }
   .homepage-v2 .hero-cta { width: auto; min-width: 0; flex-direction: column; align-items: center; justify-content: flex-start; gap: .45rem; padding: .7rem .25rem .65rem; }
   .homepage-v2 .hero-cta .txt { text-align: center; align-items: center; }
   .homepage-v2 .hero-cta .txt small  { font-size: 7.5px; letter-spacing: .14em; }
   .homepage-v2 .hero-cta .txt strong { font-size: 9px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) { .homepage-v2 .hero-cta, .homepage-v2 .hero-cta .ico { transition: none; } .homepage-v2 .hero-cta:hover { transform: none; } }

/* Featured package cards - same 3D treatment as packages.php / destinations.php:
   lift + deeper shadow, image zoom with a bottom gradient, title warms and the
   CTA flips to burgundy - all on ONE hover.
   
   The card used to carry `border-color: transparent !important`, which overruled
   the `var(--c-pale-sky)` its own style attribute asks for - so the computed
   border was rgba(0,0,0,0) and the card was held together by shadow alone. That
   line is gone; the edge is now drawn, at 2px so a low-contrast tint still reads
   as a deliberate line rather than a rendering artefact.
   
   The shadow came down to match. Three stacked layers reaching 64px at 42% were
   doing ALL the separating while there was no edge; kept alongside a visible
   border the card looked outlined and floating at once. Two layers reaching 22px
   leave enough lift for the hover transform to register. */
/* Card lift. Shorter offsets and tighter blurs than packages.php, with higher
   alphas: that is what actually reads as "more shadow" -- a wider blur only makes
   a bigger, weaker smudge. It also reaches LESS far, which matters here because
   #featuredScroll is a scroll container and clips anything past its padding box
   (44px below the card). Measured: rest reaches 30px, hover 41px after the -8px
   lift, so neither clips. The packages.php shadow this replaces reached 56px on
   hover and WAS being clipped.
   TO REVERT to the packages.php shadow, restore these two values:
     rest   0 1px 3px rgba(29,32,78,.10), 0 14px 28px -10px rgba(29,32,78,.32), 0 32px 64px -24px rgba(29,32,78,.42)
     hover  0 2px 6px rgba(29,32,78,.10), 0 24px 48px -14px rgba(29,32,78,.42), 0 48px 96px -32px rgba(29,32,78,.50) */
.homepage-v2 .v2-card {
   border-width: 1px;
   box-shadow: 0 2px 4px rgba(29,32,78,.18), 0 10px 20px -6px rgba(29,32,78,.50), 0 24px 44px -16px rgba(29,32,78,.62);
   transition: transform .25s ease, box-shadow .25s ease;
}
.homepage-v2 .v2-card:hover, .homepage-v2 .v2-card:focus-within {
   transform: translateY(-8px);
   box-shadow: 0 3px 6px rgba(29,32,78,.20), 0 16px 32px -8px rgba(29,32,78,.56), 0 36px 66px -20px rgba(29,32,78,.68);
}
.homepage-v2 .v2-card .card-media { position: relative; overflow: hidden; }
.homepage-v2 .v2-card .card-media img { transition: transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.homepage-v2 .v2-card:hover .card-media img, .homepage-v2 .v2-card:focus-within .card-media img { transform: scale(1.06); }
.homepage-v2 .v2-card .card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
   background: linear-gradient(to top, rgba(29,32,78,.55) 0%, rgba(29,32,78,.15) 40%, rgba(29,32,78,0) 65%);
   opacity: 0; transition: opacity .35s ease; }
.homepage-v2 .v2-card:hover .card-media::after, .homepage-v2 .v2-card:focus-within .card-media::after { opacity: 1; }
.homepage-v2 .v2-card .card-media > :not(img):not(a) { z-index: 1; } /* type / days badges stay above the gradient */
.homepage-v2 .v2-card .card-title { transition: color .25s ease; }
.homepage-v2 .v2-card:hover .card-title, .homepage-v2 .v2-card:focus-within .card-title { color: var(--c-burgundy) !important; }
/* View CTA - same states as .card-cta on packages.php / destinations.php: navy pill
   at rest, burgundy on hover, keyboard focus AND tap (:active), so phones get the
   colour change too. The inline rose text colour on the <a> is overridden here. */
.homepage-v2 .v2-card .card-cta { background-color: var(--c-navy-deep); color: #fff !important; padding: .5rem 1rem; border-radius: .5rem; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.homepage-v2 .v2-card:hover .card-cta, .homepage-v2 .v2-card:focus-within .card-cta, .homepage-v2 .v2-card:active .card-cta { background-color: var(--c-burgundy); color: #fff !important; box-shadow: 0 6px 14px -6px rgba(107,25,50,.55); text-decoration: none; }
.homepage-v2 .v2-card .card-arrow { display: inline-block; transition: transform .25s ease; }
.homepage-v2 .v2-card:hover .card-arrow, .homepage-v2 .v2-card:focus-within .card-arrow, .homepage-v2 .v2-card:active .card-arrow { transform: translateX(4px); }

/* Countries-covered chips on the featured cards. Reserve two lines of height so
   every card in the row lines up whether it covers one country or seven; the
   PHP caps the count at 6 (+N) so it never exceeds three lines. */
.homepage-v2 .v2-card .card-chips { min-height: 2.6rem; align-items: flex-start; }   /* without this a single row of chips stretches to fill the two-line min-height (42px-tall pills overlapping the title) */
.homepage-v2 .v2-card .card-chip { display: inline-block; font-size: 9px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
   padding: .3rem .5rem; border-radius: 999px; background: rgba(107,25,50,.09); color: var(--c-burgundy); white-space: nowrap; }
.homepage-v2 .v2-card .card-chip--more { background: var(--c-burgundy); color: #fff; }

/* Destination tiles - full-bleed photo tiles, so they keep their own scale-up
   hover and their overlaid country label. Padding is deliberately NOT brought in
   line with .v2-card: the label is positioned against the CARD, not the photo, so
   inset padding drops white-on-white text onto the frame. Shadow and border are
   matched instead.

   The border is LIGHT, not the navy rgba(29,32,78,.28) used on .v2-card. These
   tiles sit directly on a photograph rather than on a white fill, so a dark edge
   disappears into the image; a white edge at 35% reads as a highlight and lifts
   the tile away from the page. It brightens to 55% on hover, in step with the
   shadow.
   TO REVERT, restore:
     (no border)
     rest   0 1px 3px rgba(29,32,78,.10), 0 14px 28px -10px rgba(29,32,78,.32), 0 32px 64px -24px rgba(29,32,78,.42)
     hover  0 2px 6px rgba(29,32,78,.10), 0 24px 48px -14px rgba(29,32,78,.42), 0 48px 96px -32px rgba(29,32,78,.50) */
.homepage-v2 .dest-card {
   border: 1px solid rgba(255,255,255,.35);
   box-shadow: 0 2px 4px rgba(29,32,78,.18), 0 10px 20px -6px rgba(29,32,78,.50), 0 24px 44px -16px rgba(29,32,78,.62);
   transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s ease;
}
.homepage-v2 .dest-card:hover, .homepage-v2 .dest-card:focus-visible {
   transform: scale(1.08);
   border-color: rgba(255,255,255,.55);
   box-shadow: 0 3px 6px rgba(29,32,78,.20), 0 16px 32px -8px rgba(29,32,78,.56), 0 36px 66px -20px rgba(29,32,78,.68);
   z-index: 10;
}
@media (prefers-reduced-motion: reduce) {
   .homepage-v2 .v2-card, .homepage-v2 .dest-card, .homepage-v2 .v2-card .card-media img, .homepage-v2 .v2-card .card-media::after,
   .homepage-v2 .v2-card .card-title, .homepage-v2 .v2-card .card-cta, .homepage-v2 .v2-card .card-arrow { transition: none; }
   .homepage-v2 .v2-card:hover, .homepage-v2 .dest-card:hover, .homepage-v2 .v2-card:hover .card-media img { transform: none; }
}

/* Hero tag line (the page H1) - 150% of the old 10px and extra-bold, 16 Oct 2026.
   Sized here only (the old text-[10px] utility is removed from the tag - app.css forces
   it to 12.5px !important on phones). Phones get 14px with tighter tracking: a straight
   150% (~19px) would break the line into three above the headline. */
h1.hero-kicker { font-size: 18px; font-weight: 800; letter-spacing: .2em; line-height: 1.4; color: #ffffff; }
@media (max-width: 767px) { h1.hero-kicker { font-size: 12px; letter-spacing: .2em; } }
/* 16 Oct 2026, 14:00: 18px desktop / 12px phone, white (owner's sizes). */

/* Testimonial quotes from Admin > Testimonials: justified, both edges straight.
   hyphens:auto (page is lang="en") keeps the narrow cards from opening wide gaps. */
.testi-quote { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* Testimonials headline - text exactly as typed in Admin > Testimonials (no forced
   capitals), full section width, left-aligned. A headline long enough to wrap is
   justified; its last line stays left (forcing the last line too was tried and
   spreads a one-line headline edge to edge with very wide gaps). */
.testi-headline { text-align: justify; text-align-last: left; hyphens: none; }
/* 6 Nov 2026: tighter testimonials box, smaller heading (35% smaller), no watermark. */
.testi-box { padding: 1.5rem; }
.testi-box .testi-headline { font-size: 15.6px; line-height: 1.2; margin-bottom: .875rem; }
@media (min-width: 768px) {
   .testi-box { padding: 1.75rem 3.5rem; }
   .testi-box .testi-headline { font-size: 23.4px; }
}
.homepage-v2 #testimonialsScroll { padding-bottom: .25rem; }

/* Country flag on each "Choose Your Destination" tile - replaces the small text
   code ("FR") that used to sit above the name. 32x22: legible on the 150-200px
   tiles, secondary to the country name. Pinned top-left so it never collides
   with the name block at the bottom. */
.homepage-v2 .dest-card .dest-photo { filter: saturate(1.15) contrast(1.06) brightness(1.04); }   /* 28 Oct 2026: livelier tile photos */
.homepage-v2 .dest-card .tile-flag { position: absolute; top: .75rem; left: .75rem; z-index: 2; width: 32px; height: 22px; border-radius: 5px; object-fit: cover;
   box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 3px 8px rgba(0,0,0,.4); }
@media (min-width: 768px) { .homepage-v2 .dest-card .tile-flag { top: 1rem; left: 1rem; } }

.homepage-v2 .auto-scroll-row {
   padding-top: .75rem;      /* room for the lifted card */
   padding-bottom: 2.75rem;  /* room for the drop shadow - overflow-x:auto would otherwise clip it */
   margin-bottom: -1.5rem;   /* keep the section rhythm unchanged */
   scrollbar-width: none;
   -ms-overflow-style: none;
   -webkit-overflow-scrolling: touch;
}
.homepage-v2 .auto-scroll-row::-webkit-scrollbar { display: none; }

.homepage-v2 .scroll-arrow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   z-index: 20;
   width: 40px;
   height: 40px;
   border-radius: 999px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--c-off-white);
   color: var(--c-navy-deep);
   box-shadow: 0 4px 16px rgba(29,32,78,0.25);
   border: none;
   cursor: pointer;
   transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.homepage-v2 .scroll-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 20px rgba(29,32,78,0.35); }
.homepage-v2 .scroll-arrow-left { left: -8px; }
.homepage-v2 .scroll-arrow-right { right: -8px; }
.homepage-v2 .scroll-arrow-dark { background: var(--c-off-white); color: var(--c-navy-deep); }

/* ---- Brand ghost -------------------------------------------------------
   The SAS monogram, once per dark band, as a faint watermark.

   Deliberately the monogram and NOT the full logo: the wordmark is 400x78, a
   5:1 strip only 400px wide. Blown up to watermark size it is both blurry and
   awkward - a long thin band of text lying across a page reads as a stamp on a
   leaked document, not as branding. The SAS block is nearly square, carries the
   same mark, and stays crisp.

   Only on the navy bands: the light sections are already full of cards and
   photographs, and anything behind them turns to mud.

   Behind the copy (z-index), never over it - a watermark that sits on top of
   text is the thing that makes a site look pirated. Hidden under 1024px, where
   the bands are too tight to carry it. */
.brand-ghost { position: relative; overflow: hidden; }
.brand-ghost > * { position: relative; z-index: 1; }
.brand-ghost::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    /* Sized off the BAND's height, not a fixed pixel width: these two sections are
       very different heights, and a fixed size that sat neatly in one was clipped
       top and bottom by the other. */
    height: 58%;
    aspect-ratio: 136 / 78;
    background: url('/public/uploads/branding/sas-monogram.png') center / contain no-repeat;
    /* The monogram is navy and rose; on a navy band it would disappear, so it is
       flattened to a pale ghost of itself. */
    filter: grayscale(1) brightness(2.8);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 1023px) { .brand-ghost::after { display: none; } }
@media (prefers-reduced-motion: no-preference) { .brand-ghost::after { transition: opacity .4s ease; } }
@media (min-width: 768px) {
   .homepage-v2 .scroll-arrow-left { left: -20px; }
   .homepage-v2 .scroll-arrow-right { right: -20px; }
}

/* ---- Hover motion on the two navy bands (stats, features) ----------------
   transform / opacity / colour only - GPU-composited, no layout work, no JS, no
   assets, so it costs nothing on load. A rose spotlight comes up behind the
   hovered cell, its icon lifts into it with a small spring, and the headline
   warms. Feature icon tiles rest at a slight tilt and settle level on hover.
   Touch devices simply see the resting state; reduced-motion keeps the colour
   change and drops the movement. */
.homepage-v2 .stat-cell { position: relative; overflow: hidden; }
/* Stats bar: every stat on one row on desktop (16 Oct 2026). --stat-cols is set inline
   from the number of stats, so the row adapts when one is added or removed. */
@media (min-width: 1024px) {
   .homepage-v2 .stats-row { grid-template-columns: repeat(var(--stat-cols, 4), minmax(0, 1fr)); }
   .homepage-v2 .stats-row .stat-cell { padding: 1.5rem 1.1rem; gap: .75rem; }
   .homepage-v2 .stats-row .stat-icon { font-size: 2.25rem; }
   .homepage-v2 .stats-row .stat-num { font-size: 1.6rem; }
}
.homepage-v2 .stat-cell::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
   background: radial-gradient(120% 140% at 15% 50%, rgba(168,83,107,.22) 0%, rgba(168,83,107,0) 60%); }
.homepage-v2 .stat-cell:hover::before { opacity: 1; }
.homepage-v2 .stat-cell::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(255,255,255,.45); opacity: 0; transition: opacity .3s ease; }
.homepage-v2 .stat-cell:hover::after { opacity: 1; }
.homepage-v2 .stat-icon { display: inline-block; transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .3s ease, filter .3s ease; will-change: transform; }
.homepage-v2 .stat-cell:hover .stat-icon { transform: translateY(-3px) scale(1.12); color: #d4a2b2 !important; filter: drop-shadow(0 6px 10px rgba(168,83,107,.45)); }
.homepage-v2 .stat-num { transition: color .3s ease; }
.homepage-v2 .stat-cell:hover .stat-num { color: #d4a2b2 !important; }

.homepage-v2 .feat-cell { position: relative; border-radius: 1rem; padding: .75rem; margin: -.75rem; transition: background-color .3s ease; }
/* The feature cells are also .reveal-up (scroll fade-in). Both rules set
   `transition`, so this combined one keeps the fade AND the hover glow. */
.homepage-v2 .feat-cell.reveal-up { transition: opacity .7s ease, transform .7s ease, background-color .3s ease; }
.homepage-v2 .feat-cell:hover { background: radial-gradient(120% 140% at 10% 40%, rgba(168,83,107,.18) 0%, rgba(168,83,107,0) 65%); }
.homepage-v2 .feat-icon { transform: rotate(-6deg); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease; will-change: transform; }
.homepage-v2 .feat-cell:hover .feat-icon { transform: rotate(0deg) translateY(-3px) scale(1.08); box-shadow: 0 10px 20px -8px rgba(168,83,107,.6); }
.homepage-v2 .feat-cell h3 { transition: color .3s ease; }
.homepage-v2 .feat-cell:hover h3 { color: #d4a2b2 !important; }
@media (prefers-reduced-motion: reduce) {
   .homepage-v2 .stat-icon, .homepage-v2 .feat-icon { transition: none; transform: none !important; filter: none; }
   .homepage-v2 .stat-cell::before, .homepage-v2 .stat-cell::after, .homepage-v2 .feat-cell { transition: none; }
}

/* Scroll-triggered fade-up — used on the Why Book With Us cards and the tagline banner.
   Starts hidden; JS adds .is-visible via IntersectionObserver once each element scrolls
   into view (see script near the closing </main>). Respects reduced-motion. */
.homepage-v2 .reveal-up {
   opacity: 0;
   transform: translateY(24px);
   transition: opacity 0.7s ease, transform 0.7s ease;
}
.homepage-v2 .reveal-up.is-visible {
   opacity: 1;
   transform: translateY(0);
}

/* One-time light sweep across "Across Europe" once the tagline has scrolled into view —
   gradient-clipped text is the standard technique for this; needs the -webkit- prefix
   for Safari, both included. */
/* ---- Banner hover: navy -> maroon (16 Oct 2026) --------------------------------
   Tagline banner, destination tagline banner, counter bar, feature highlights
   (class hb-maroon). On hover the banner turns maroon and every rose accent turns
   WHITE (owner's choice, 16 Oct 2026 14:00 - was dark blue #1D204E, 1.0:1 on maroon;
   white on #4C0D1F is 14:1). Feature icon tiles go white with a maroon icon.
   Change the two variables to restyle all four banners at once. !important beats
   the inline style="" colours. */
.homepage-v2 .hb-maroon { --hb-bg: #4C0D1F; --hb-accent: #FFFFFF;
   transition: background-color .35s ease, box-shadow .35s ease; }
.homepage-v2 .hb-maroon:hover { background-color: var(--hb-bg) !important; box-shadow: 0 18px 44px -14px rgba(76,13,31,.55); }
.homepage-v2 .hb-maroon:hover .shimmer-text { background-image: linear-gradient(100deg, var(--hb-accent) 40%, var(--c-off-white) 50%, var(--hb-accent) 60%) !important; }
.homepage-v2 .hb-maroon:hover [style*="--c-rose"] { color: var(--hb-accent) !important; }
.homepage-v2 .hb-maroon:hover .stat-cell:hover .stat-icon,
.homepage-v2 .hb-maroon:hover .stat-cell:hover .stat-num,
.homepage-v2 .hb-maroon:hover .feat-cell:hover h3 { color: var(--hb-accent) !important; }
.homepage-v2 .hb-maroon:hover .stat-cell:hover .stat-icon { filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.homepage-v2 .hb-maroon:hover .feat-icon { background: var(--hb-accent) !important; }
.homepage-v2 .hb-maroon:hover .feat-icon .material-symbols-outlined { color: var(--hb-bg) !important; }   /* maroon icon on the white tile */
.homepage-v2 .hb-maroon:hover .feat-cell:hover .feat-icon { box-shadow: 0 10px 20px -8px rgba(255,255,255,.45); }
.homepage-v2 .hb-maroon:hover .feat-cell:hover { background: radial-gradient(120% 140% at 10% 40%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 65%); }
.homepage-v2 .hb-maroon:hover .stat-cell::before { background: radial-gradient(120% 140% at 15% 50%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 65%) !important; }
@media (prefers-reduced-motion: reduce) { .homepage-v2 .hb-maroon { transition: none; } }

/* ---- Destination Tagline Banner: reversed (6 Nov 2026, option B) ------------------
   Light banner (off-white, navy text, logo dark-red accents); hover -> navy with
   off-white text and pink accents. Selectors carry .hb-maroon.hb-light so they beat
   the shared hover rules above; !important beats the inline style="" colours. */
.homepage-v2 .hb-maroon.hb-light { background: #F6F1EC !important; box-shadow: inset 0 0 0 1.5px rgba(74,17,36,.18); }
.homepage-v2 .hb-maroon.hb-light > p { color: #141532 !important; transition: color .35s ease; }
.homepage-v2 .hb-maroon.hb-light .shimmer-text { background-image: linear-gradient(100deg, #4A1124 40%, #B04A68 50%, #4A1124 60%) !important; }
.homepage-v2 .hb-maroon.hb-light [style*="--c-rose"] { color: #4A1124 !important; }
.homepage-v2 .hb-maroon.hb-light:hover { background-color: #141532 !important; box-shadow: 0 18px 44px -14px rgba(20,21,50,.55); }
.homepage-v2 .hb-maroon.hb-light:hover > p { color: #F6F1EC !important; }
.homepage-v2 .hb-maroon.hb-light:hover .shimmer-text { background-image: linear-gradient(100deg, #E8A3B5 40%, #FFFFFF 50%, #E8A3B5 60%) !important; }
.homepage-v2 .hb-maroon.hb-light:hover [style*="--c-rose"] { color: #E8A3B5 !important; }
@media (prefers-reduced-motion: reduce) {
   .homepage-v2 .hb-maroon.hb-light .shimmer-text { color: #4A1124; }
   .homepage-v2 .hb-maroon.hb-light:hover .shimmer-text { color: #E8A3B5; }
   .homepage-v2 .hb-maroon.hb-light > p { transition: none; }
}

.homepage-v2 .shimmer-text {
   display: inline-block;
   background: linear-gradient(100deg, var(--c-rose) 40%, var(--c-off-white) 50%, var(--c-rose) 60%);
   background-size: 250% 100%;
   background-position: 200% 0;
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
}
.homepage-v2 .shimmer-text.is-visible {
   animation: shimmerSweep 1.6s ease-out 0.5s 1 forwards;
}
@keyframes shimmerSweep {
   to { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
   .homepage-v2 .reveal-up { opacity: 1; transform: none; transition: none; }
   .homepage-v2 .shimmer-text { background-position: 0 0; animation: none; color: var(--c-rose); }
}

/* ===== Homepage hero carousel =====
   Slides cross-fade rather than slide sideways: the hero is a rounded card with
   two gradient overlays sitting on top of it, and a horizontal translate would
   have to move those too or they would visibly detach. A fade needs neither. */

/* Widens the hero toward a video-friendly shape (roughly 21:9-ish at the
   largest breakpoint) instead of leaving its height purely up to the tagline
   text + padding, which is what was making a landscape video render small and
   heavily letterboxed under object-fit: contain - the video was correctly
   avoiding cropping, the container just wasn't shaped anything like a video.
   min-height, deliberately NOT aspect-ratio: the header has overflow-hidden
   on it (needed elsewhere), so a rigid aspect-ratio would silently CLIP the
   tagline/paragraph/buttons on a screen where they need more room than the
   ratio allows. min-height can only make the box taller than these numbers
   if content demands it - it can never force it shorter and clip anything.
   Below md, left at its natural content height - a phone screen needs the
   text to have its own room far more than it needs the hero to be
   video-shaped, and a portrait/narrow viewport is the case a wide ratio suits
   worst anyway. Values are a considered starting point for a 21:9 video, not
   a guarantee - if content still feels tight (or the video still feels small)
   once the new video is live, these are the numbers to adjust first. */
@media (min-width: 768px)  { .hero-carousel { min-height: 420px; } }
@media (min-width: 1024px) { .hero-carousel { min-height: 480px; } }
@media (min-width: 1280px) { .hero-carousel { min-height: 540px; } }
@media (min-width: 1536px) { .hero-carousel { min-height: 600px; } }

.hero-slide {
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   opacity: 0;
   transition: opacity .9s ease-in-out;
   pointer-events: none;
}
.hero-slide.is-active { opacity: 1; }   /* 9 Oct 2026: was .9 - the new full-photo banners looked washed out through the navy behind them */

/* Hero shade (9 Oct 2026). The banners are now full photographs with the
   subject on the right, so the navy only needs to sit behind the headline.
   Desktop (>= 1100px): solid behind the copy, clear by ~64%. Tablets
   (768-1099px): the copy runs further across, so the solid part goes further
   right. The inline styles on .hero-ov-x/.hero-ov-y in the markup hold the
   desktop values; phones (< 768px) keep their own rules further down. */
@media (min-width: 768px) and (max-width: 1099px) {
   #heroCarousel .hero-ov-x { background: linear-gradient(90deg, var(--c-navy-deep) 0%, rgba(29,32,78,.93) 45%, rgba(29,32,78,.55) 62%, rgba(29,32,78,0) 82%) !important; }
}

/* Video layer, only ever created by JS (see the script near the closing </header>
   below) and only when prefers-reduced-motion, connection speed and format
   support have all already been checked - never present in the server-rendered
   HTML at all. Stacking below the two gradient overlays and the text (both of
   which have no z-index of their own, only DOM order) comes from the JS
   inserting it directly after the LAST .hero-slide image - later than the
   images (so it covers them) but still before the gradients that follow in the
   markup (so their darkening still applies on top of it). No z-index is set
   here on purpose, since one would lift it above the gradients regardless of
   DOM order and defeat the text-legibility darkening they provide. */
.hero-video-bg {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   /* contain, not cover, and deliberately different from .hero-slide's
      background-size: cover above. The hero has no fixed aspect ratio of its
      own - its height comes purely from the tagline text + padding, not from
      the video or images - so on a wide desktop screen it renders as a wide,
      comparatively short rectangle that rarely matches a video's actual
      aspect ratio. cover fills that mismatched shape completely by cropping
      whatever doesn't fit, which was cutting into the frames. contain shows
      the complete, uncropped video instead, aligned to the right edge (see
      object-position below), with the header's own
      navy background (see its inline style two elements up) filling
      whatever gap is left on the sides or top/bottom - a deliberate,
      on-brand letterbox rather than lost picture content. Static images keep
      cover as before; this wasn't flagged as an issue for them, and they were
      left unchanged. */
   object-fit: contain;
   object-position: right center;   /* pushes the video to the right edge instead of centring it - any letterbox gap now sits on the left only, not split evenly on both sides */
   background-color: var(--c-navy-deep);
   opacity: 0;
   transition: opacity 1s ease-in-out;
   pointer-events: none;
}
.hero-video-bg.is-playing { opacity: 1; }   /* full opacity - nothing sits behind it once #heroCarousel.video-active hides the image below, so unlike .hero-slide there is no blend risk in going brighter than .9 */

/* FIX: the image slide underneath was never actually hidden while the video
   played on top of it - only ever covered by a video sitting at its own .9
   opacity. Two things at .9 opacity, stacked, blend: roughly 90% video + 10%
   of whatever the still-fully-rendered image underneath was showing. That 10%
   is subtle for most photo content, but bold high-contrast text (a location
   caption baked into the image, for instance) stays visible even at a 10%
   blend - which is what made it look like a fixed "watermark" sitting on top
   of the video regardless of which scene was actually playing. It was never
   part of the video at all; it was the banner image directly underneath it,
   showing through the whole time.
   #heroCarousel.video-active forces every .hero-slide fully transparent for
   as long as the video is genuinely in charge - added right before the video
   is inserted, removed the moment it hands back to the image carousel (either
   because its replays finished, or because it failed and fell back) - see the
   script below. */
#heroCarousel.video-active .hero-slide { opacity: 0 !important; }

/* Only one headline is in the layout at a time. display:none rather than opacity
   so the <h1> takes the height of the current tagline and the buttons below it
   do not shift when a longer or shorter line comes round. */
.hero-tagline { display: none; }
.hero-tagline.is-active { display: block; animation: heroTaglineIn .6s ease both; }
@keyframes heroTaglineIn {
   from { opacity: 0; transform: translateY(8px); }
   to   { opacity: 1; transform: none; }
}
.hero-accent { color: var(--c-rose); }

.hero-arrow {
   width: 44px; height: 44px;            /* 44px is the accessible minimum touch target */
   display: inline-flex; align-items: center; justify-content: center;
   border-radius: 9999px;
   color: var(--c-off-white);
   background: rgba(255,255,255,.12);
   border: 1px solid rgba(255,255,255,.25);
   transition: background .2s ease, transform .2s ease;
   /* The chevron is an icon-font ligature. If that font is blocked or slow the
      browser paints the ligature NAME instead - "chevron_right" is far wider than
      44px and the two arrows overlap each other and the dots. Clipping keeps the
      control the size it claims to be whatever happens to the font. */
   overflow: hidden;
   flex-shrink: 0;
}
.hero-arrow:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.hero-arrow:focus-visible { outline: 2px solid var(--c-rose); outline-offset: 2px; }

.hero-dot {
   width: 26px; height: 6px; border-radius: 9999px;
   background: rgba(255,255,255,.35);
   transition: background .25s ease, width .25s ease;
   /* The visible dot is small, so an invisible padded hit area is added around it
      rather than making the dot itself finger-sized. */
   position: relative;
}
.hero-dot::before { content: ''; position: absolute; inset: -19px -6px; }
.hero-dot.is-active { background: var(--c-rose); width: 38px; }
.hero-dot:focus-visible { outline: 2px solid var(--c-rose); outline-offset: 4px; }

/* Someone who has asked their system for less motion gets the first banner,
   still switchable by hand, with no automatic rotation and no fades. The video
   script checks this same preference before ever creating the element at all
   (so no video bytes are requested for them either), but the display:none here
   is a second, CSS-only layer of the same protection either way. */
@media (prefers-reduced-motion: reduce) {
   .hero-slide { transition: none; }
   .hero-tagline.is-active { animation: none; }
   .hero-video-bg { display: none !important; }
}

/* Phone layout (< md): stacked hero instead of text-over-image.
   The banners are 2400x1000 with text panels baked into the artwork, so any
   portrait crop of them behind the headline cuts the artwork AND fights the
   copy for contrast. Below 768px the image is confined to a 16rem band at the
   top (centre crop, full opacity), the horizontal navy gradient becomes a
   vertical fade from the band into the header's navy background, the bottom
   gradient is dropped, and the copy starts just under the band. Nothing here
   applies from md up - the desktop hero is unchanged. The overlay classes
   .hero-ov-x/.hero-ov-y only exist so these rules can target the two inline-
   styled gradient divs; !important is needed to beat their inline styles. */
@media (max-width: 767px) {
   #heroCarousel { padding-top: 15.5rem !important; }
   #heroCarousel .hero-slide,
   #heroCarousel .hero-video-bg { bottom: auto; height: 16rem; }
   #heroCarousel .hero-slide { background-position: center; }
   #heroCarousel .hero-slide.is-active { opacity: 1; }
   #heroCarousel .hero-ov-x {
      background: linear-gradient(180deg, rgba(29,32,78,0) 0%, rgba(29,32,78,.08) 9rem, rgba(29,32,78,.85) 14.5rem, var(--c-navy-deep) 16rem) !important;
   }
   #heroCarousel .hero-ov-y { background: none !important; }
}

/* ---- Hero Photo Sets (admin/hero-banners.php > Hero Photo Sets) -----------
   Three photos per set, shown once the background video hands back
   (#heroCarousel.trip-on, added by the script below). Approved layout:
     >= 1100px  beside the headline, right-hand column
     768-1099   NOT shown - tablets keep the banner image (option 3b)
     < 768px    in the 16rem photo strip at the top, replacing the banner
   visibility (not just opacity) while off, so the pause button can never be
   tabbed to while the photos are hidden. Photos are 332x297 originals, so
   tiles are kept at or below that size and never upscaled. */
.hero-trip {
   position: absolute; z-index: 5; pointer-events: none;
   opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
#heroCarousel.trip-on .hero-trip { opacity: 1; visibility: visible; transition: opacity .9s ease; }
#heroCarousel.video-active .hero-trip { opacity: 0; visibility: hidden; }
.hero-trip-sets { position: relative; }
.hero-trip-set { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 1vw, .9rem); opacity: 0; transition: opacity .9s ease; }
.hero-trip-set.is-active { position: relative; opacity: 1; }
.hero-trip-set figure {
   margin: 0; aspect-ratio: 332 / 297; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.06);
   border: 1px solid rgba(255,255,255,.55); box-shadow: 0 18px 40px -12px rgba(0,0,0,.55);
   transform: translateY(14px); opacity: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease;
}
.hero-trip-set.is-active figure { transform: none; opacity: 1; }
.hero-trip-set.is-active figure:nth-child(2) { transition-delay: .12s; }
.hero-trip-set.is-active figure:nth-child(3) { transition-delay: .24s; }
.hero-trip-set figure:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.2rem); }
.hero-trip-set img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-trip-cap { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.hero-trip-pill {
   border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .45rem .8rem; white-space: nowrap;
   font: 700 10px/1 Inter, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--c-pale-sky);
}
.hero-trip-bars { display: flex; gap: 6px; margin-left: auto; }
.hero-trip-bars i { width: 22px; height: 4px; border-radius: 9px; background: rgba(255,255,255,.3); transition: width .3s ease, background .3s ease; }
.hero-trip-bars i.is-active { background: var(--c-rose); width: 34px; }
.hero-trip-pause {
   pointer-events: auto; position: relative; flex-shrink: 0; overflow: hidden;
   width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
   color: var(--c-off-white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
   transition: background .2s ease;
}
.hero-trip-pause::before { content: ''; position: absolute; inset: -7px; }   /* 44px hit area */
.hero-trip-pause:hover { background: rgba(255,255,255,.24); }
.hero-trip-pause:focus-visible { outline: 2px solid var(--c-rose); outline-offset: 2px; }
.hero-trip-pause .material-symbols-outlined { font-size: 18px; width: 18px; overflow: hidden; }
.hero-trip-bars:empty, .hero-trip--single .hero-trip-bars { display: none; }
.hero-trip--single .hero-trip-pill { margin-right: auto; }

@media (min-width: 1100px) {
   .hero-trip { top: 50%; right: clamp(1.5rem, 4vw, 4rem); transform: translateY(-50%); width: clamp(320px, calc(100% - 46rem), 660px); }
}
@media (min-width: 768px) and (max-width: 1099px) {
   .hero-trip { display: none !important; }
}
@media (max-width: 767px) {
   .hero-trip { top: 2.4rem; left: 1rem; right: 1rem; }
   .hero-trip-set figure:nth-child(2) { margin-top: 1.2rem; }
   .hero-trip-cap { margin-top: .6rem; }
   .hero-trip-pill { font-size: 8px; letter-spacing: .18em; padding: .4rem .7rem; }
   .hero-trip-bars i { width: 14px; } .hero-trip-bars i.is-active { width: 22px; }
}
/* The photos replace the banner image only where they are actually shown. */
@media (max-width: 767px), (min-width: 1100px) {
   #heroCarousel.trip-on .hero-slide { opacity: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
   .hero-trip, .hero-trip-set, .hero-trip-set figure, .hero-trip-bars i { transition: none !important; }
   .hero-trip-set figure { transform: none; }
}

/* ---- Video-only intro (5 Oct 2026) ----------------------------------------
   While the hero video plays, the hero shows the video ONLY: headline, intro,
   buttons, arrows/dots, both dark gradients and the photo sets are hidden, and
   the hero widens edge-to-edge (full browser width) at the video's own shape,
   starting right under the menu bar. It always fills the full width (cover):
   on a screen too short for the whole 16:9 picture, the top and bottom are
   trimmed equally - never more than 30% in total; on an even shorter window
   the hero is allowed to run below the fold instead of cropping further.
   Keep burned-in captions inside the middle 70% of the frame height.
   - The text stays in the HTML (search engines, no-JS) and is visible on first
     paint; it fades out only once the video is actually PLAYING, so a visitor
     whose video never starts keeps the normal hero.
   - .video-only and the inline height/margins are set by the script below;
     a "Skip video" button (keyboard reachable) ends it early.
   - When the video ends, the hero animates back to the card + text layout. If
     the visitor has scrolled past the hero, it changes instantly and the
     scroll position is corrected so the page does not jump. */
#heroCarousel.hv-anim { transition: height .7s ease, margin .7s ease, border-radius .7s ease; }
#heroCarousel .hero-copy, #heroCarousel .hero-controls, #heroCarousel .hero-ov-x, #heroCarousel .hero-ov-y { transition: opacity .6s ease .3s; }
#heroCarousel.video-only { min-height: 0 !important; padding: 0 !important; border-radius: 0 !important; border-color: transparent !important; box-shadow: none !important; }
#heroCarousel.video-only .hero-copy,
#heroCarousel.video-only .hero-controls,
#heroCarousel.video-only .hero-ov-x,
#heroCarousel.video-only .hero-ov-y,
#heroCarousel.video-only .hero-trip { opacity: 0 !important; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s linear .4s; }
#heroCarousel.video-only .hero-video-bg { top: 0; bottom: 0; height: 100% !important; object-fit: cover; object-position: center center; }
.hero-skip {
   display: none; position: absolute; z-index: 20; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);   /* left: the chat bubble sits bottom-right */
   align-items: center; gap: .35rem; padding: .55rem .6rem .55rem .95rem; border-radius: 999px;
   font: 800 10px/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #fff;
   background: rgba(29,32,78,.55); border: 1px solid rgba(255,255,255,.35);
   -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; transition: background .2s ease;
}
.hero-skip svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-skip::before { content: ''; position: absolute; inset: -6px; }   /* 44px+ hit area */
.hero-skip:hover { background: rgba(29,32,78,.8); }
.hero-skip:focus-visible { outline: 2px solid var(--c-rose); outline-offset: 2px; }
#heroCarousel.video-only .hero-skip { display: inline-flex; }
@media (max-width: 767px) { .hero-skip { font-size: 9px; padding: .45rem .5rem .45rem .8rem; } }
@media (prefers-reduced-motion: reduce) { #heroCarousel.hv-anim { transition: none; } }

/* ---- Homepage background: pale sky-blue (7 Oct 2026) -------------------------
   Homepage only: this <style> block is printed by index.php, so the shared
   header, footer and mobile menu change colour here and nowhere else.
   - The page gets a radial gradient, #D6E9F0 at the centre of the screen to
     #BADAE5 at the edges. It is drawn on a fixed layer behind everything
     (body::before), not with background-attachment: fixed, which iPhones and
     iPads ignore (they would stretch one gradient down the whole page).
   - "closest-side" makes the gradient reach exactly #BADAE5 at the top,
     bottom and side edges of the screen, so the header and the phone menu
     panel (solid #BADAE5, at rest AND scrolled) join it with no visible seam.
   - The footer is transparent: it shows the same fixed gradient as the page
     above it, so there is no band or line where the footer starts (a flat
     #BADAE5 footer would show a seam against the lighter centre). "html body" makes these rules outrank header.php's own
     !important header colour (header.brand-v2.nav-solid.header-scrolled),
     which otherwise turned the header back to #F4F9FB once scrolled.
   - The 1px line above the footer is removed; dividers inside the footer
     become a faint navy instead of near-white.
   - Grey text that sits straight on the new background is darkened to keep a
     4.5:1 contrast ratio or better (WCAG AA): #64748B / #94A3B8 -> #475569
     (5.1:1 on #BADAE5), and the two section sub-lines lose their 70% fade. */
html body { background-color: #BADAE5 !important; isolation: isolate; }   /* !important: beats the body's bg-surface class */
html body::before {
   content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
   background: radial-gradient(ellipse closest-side at center, #D6E9F0 0%, #BADAE5 100%);
}
html body main.homepage-v2 { background: transparent !important; }

html body header.brand-v2.nav-solid,
html body header.brand-v2.nav-solid.header-scrolled { background-color: #BADAE5 !important; }
html body #mobileMenu { background-color: #BADAE5 !important; }

html body footer.brand-v2 { background: transparent !important; border-top-color: transparent !important; }
html body footer.brand-v2 .footer-brand,
html body footer.brand-v2 .border-slate-100 { border-color: rgba(29, 32, 78, .12) !important; }

html body footer.brand-v2 .text-slate-500,
html body footer.brand-v2 .text-slate-400,
html body footer.brand-v2 .footer-subtag,
html body footer.brand-v2 .footer-intro { color: #475569 !important; }
html body footer.brand-v2 ul a:hover,
html body footer.brand-v2 ul a:focus-visible { color: #6b1932 !important; }
.homepage-v2 .section-subline { opacity: 1 !important; }
/* ---- Hero v2 (28 Oct 2026, approved) -----------------------------------
   Bright, full-width banner. Overrides the older hero rules above (kept so a
   rollback is just deleting this block). !important is only used where an
   inline style in the markup, or an earlier !important rule, must be beaten.
   Logo colours: navy #141532, dark red #4A1124; buttons keep the site's
   button blue #474C84 for borders and icon tiles. */
#heroCarousel {
   --hv2-navy: #141532; --hv2-red: #4A1124; --hv2-blue: #474C84;
   background: #ffffff !important;              /* inline navy on the element */
}
#heroCarousel .hero-ov-x,
#heroCarousel .hero-ov-y { display: none !important; }   /* no fade over the photo */
#heroCarousel .hero-slide.is-active { opacity: 1; }
#heroCarousel .hero-video-bg { background-color: var(--hv2-navy); }

/* Copy colours (all widths) */
#heroCarousel h1.hero-kicker { color: var(--hv2-red); text-shadow: none; }
#heroCarousel .hero-headline { color: var(--hv2-navy) !important; text-shadow: none !important; }   /* inline white + shadow */
#heroCarousel .hero-accent { color: var(--hv2-red); }
#heroCarousel .hero-copy > p:not(.hero-headline) { color: #3a3f5c !important; opacity: 1 !important; }   /* inline pale-sky */

/* Buttons: white, blue border and icon tile, dark red small label, navy main label */
#heroCarousel .hero-cta { background: #ffffff; border: 1.5px solid var(--hv2-navy); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 6px 16px rgba(20,21,50,.16); }
#heroCarousel .hero-cta .ico { background: var(--hv2-navy); }
#heroCarousel .hero-cta .ico .material-symbols-outlined { color: #ffffff; }
#heroCarousel .hero-cta .txt small  { color: var(--hv2-red); font-weight: 900; }
#heroCarousel .hero-cta .txt strong { color: var(--hv2-navy); }
#heroCarousel .hero-cta:hover,
#heroCarousel .hero-cta:focus-visible { background: #f1f2f8; border-color: var(--hv2-red); }   /* outline is navy already, so hover shows dark red */
#heroCarousel .hero-cta:focus-visible { outline: 2px solid var(--hv2-navy); outline-offset: 2px; }

/* Supporting line per banner (28 Oct 2026): only the current one is shown,
   like the headline. One card height for every banner: the script after the
   hero sets the card's min-height to its tallest banner, and the buttons sit
   at the bottom, so any spare space falls just above them and the card never
   jumps as the banners turn. */
.hero-sub { display: none; }
.hero-sub.is-active { display: block; animation: heroTaglineIn .6s ease both; }
#heroCarousel .hero-copy { display: flex; flex-direction: column; }
#heroCarousel .hero-cta-row { margin-top: auto; }
#heroCarousel.hv2-measuring .hero-tagline.is-active,
#heroCarousel.hv2-measuring .hero-sub.is-active { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero-sub.is-active { animation: none; } }

/* Arrows and dots */
#heroCarousel .hero-arrow { color: var(--hv2-navy); background: #ffffff; border: 1px solid #c9cbe0; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
#heroCarousel .hero-arrow:hover { background: #f1f2f8; }
#heroCarousel .hero-arrow:focus-visible,
#heroCarousel .hero-dot:focus-visible { outline-color: var(--hv2-navy); }
/* 29 Oct 2026: bars are the only banner control now, so larger. The padded
   ::before hit area (index.php above) keeps them easy to tap. */
#heroCarousel .hero-dot { width: 32px; height: 8px; }
#heroCarousel .hero-dot.is-active { width: 46px; }
#heroCarousel .hero-pause { width: 32px; height: 32px; margin-left: .35rem; }
#heroCarousel .hero-pause .material-symbols-outlined { font-size: 18px; width: 18px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { #heroCarousel .hero-pause { display: none; } }

@media (min-width: 768px) {
   /* Some old browsers count the scrollbar in 100vw; clip stops a sideways scroll. */
   body { overflow-x: hidden; overflow-x: clip; }
   #heroCarousel {
      /* Edge to edge. !important also wins over the intro video's inline margins,
         which would otherwise pull the banner back inside the page column. */
      margin: 0 calc(50% - 50vw) 2rem !important;
      max-width: none;
      border: 0; border-radius: 0; box-shadow: none;
      /* No !important: the intro video sets its own inline height while it plays. */
      min-height: 0;
      height: clamp(560px, calc(100vh - var(--hv2-hdr, 72px)), 760px);
      padding: 0 0 4.6rem max(3rem, calc(50vw - 660px));
      display: flex; flex-direction: column; justify-content: flex-end;
      /* Dark, not white, behind the photo: it shows for a moment while the intro
         video fades out and the first banner fades in (a white flash otherwise). */
      background: #141532 !important;
   }
   #heroCarousel .hero-video-bg { object-fit: cover; object-position: center center; }

   /* The frosted card */
   #heroCarousel .hero-copy {
      width: 470px; max-width: calc(100vw - 6rem);
      background: rgba(255,255,255,.80);
      -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
      border: 1px solid rgba(255,255,255,.6); border-radius: 1.25rem;
      padding: 1.6rem 1.75rem 1.5rem;
      box-shadow: 0 14px 40px rgba(15,18,40,.20);
   }
   @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      #heroCarousel .hero-copy { background: rgba(255,255,255,.94); }
   }
   #heroCarousel h1.hero-kicker { font-size: 13.5px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; margin-bottom: .7rem; }
   #heroCarousel .hero-headline { font-size: 2.35rem; line-height: 1.08; margin-bottom: .8rem; }
   #heroCarousel .hero-copy > p:not(.hero-headline) { font-size: 13.5px; line-height: 1.55; margin-bottom: 1.1rem; }
   #heroCarousel .hero-cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; width: 100%; }
   #heroCarousel .hero-cta { padding: .5rem .55rem; gap: .45rem; border-radius: .75rem; min-width: 0; }
   #heroCarousel .hero-cta .ico { width: 26px; height: 26px; border-radius: .45rem; flex: none; }
   #heroCarousel .hero-cta .ico .material-symbols-outlined { font-size: 15px; }
   #heroCarousel .hero-cta .txt small  { font-size: 7.5px; letter-spacing: .14em; }
   #heroCarousel .hero-cta .txt strong { font-size: 9.5px; letter-spacing: .06em; }

   /* Arrows and dots: centred under the card */
   #heroCarousel .hero-controls {
      position: absolute; z-index: 10;
      left: max(3rem, calc(50vw - 660px)); bottom: 1.15rem;
      width: 470px; max-width: calc(100vw - 6rem);
      justify-content: center; gap: .6rem; margin: 0;
   }
   #heroCarousel .hero-arrow { width: 32px; height: 32px; border: 0; background: rgba(255,255,255,.9); }
   #heroCarousel .hero-dot { background: rgba(255,255,255,.85); box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 0 1px rgba(20,21,50,.18); }
   #heroCarousel .hero-dot.is-active { background: #ffffff; }
}

@media (max-width: 767px) {
   /* Phones: photo strip on top (unchanged), copy on white below it. The copy
      used to start under the strip's navy fade; on white it needs clear space. */
   #heroCarousel { padding-top: 17.5rem !important; }
   #heroCarousel { border: 1px solid #e3e6f2 !important; box-shadow: 0 10px 30px rgba(20,21,50,.08) !important; }
   #heroCarousel .hero-dot { background: #c9cbe0; }
   #heroCarousel .hero-dot.is-active { background: var(--hv2-navy); }
}
