/* =========================================================================
   Opti — shared front-end stylesheet
   Distilled from the wrap-style WP theme. Brand: orangered universal,
   --accent set per-Site as a CSS variable in the <head> of layouts/site.blade.php.
   ========================================================================= */

@font-face {
    font-family: 'Ethnocentric';
    src: url('/fonts/ethnocentric-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: orangered;
    --dark: #151515;            /* near-black, page background */
    --surface: #1f1f1f;          /* card / panel background, slightly raised from --dark */
    --surface-2: #2a2a2a;        /* hover or secondary surface */
    --muted: #9a9a9a;            /* secondary text on dark */
    --border: #2e2e2e;           /* subtle dividers */
    --swiper-theme-color: #eff7ff;
}

::selection {
    background: rgba(255, 68, 0, 0.4);
    color: #fff;
}

body {
    font-family: "Poppins", system-ui, sans-serif;
    background-color: var(--dark);
    color: #f0f0f0;
    line-height: 1.4;
}

/* Text + image 2-column band =============================================
   80vh desktop, stacks on mobile. Image as full-cover bg in its column. */
.text-image-band {
    width: 100%;
    overflow: hidden;
}
.text-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
}
@media (min-width: 992px) {
    .text-image-grid { grid-template-columns: 1fr 1fr; }
    .text-image-grid.image-left .text-image-media { order: 1; }
    .text-image-grid.image-left .text-image-text  { order: 2; }
    .text-image-grid.image-right .text-image-media { order: 2; }
    .text-image-grid.image-right .text-image-text  { order: 1; }
}
.text-image-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}
@media (min-width: 992px) {
    .text-image-text { padding: 6rem 4rem; }
}
.text-image-text-inner {
    max-width: 48ch;
    width: 100%;
}
.text-image-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.75rem;
}
.text-image-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}
.text-image-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
/* When the band is brand-coloured, lift everything to white */
.text-image-band.bg-brand .text-image-eyebrow,
.text-image-band.bg-brand .text-image-heading,
.text-image-band.bg-brand p { color: #fff; }
.text-image-band.bg-brand .text-image-eyebrow { color: rgba(255,255,255,0.85); }

.text-image-media {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}
@media (min-width: 992px) {
    .text-image-media { min-height: 80vh; }
}
/* Image layer overscans the panel vertically; the layout script nudges it
   with a subtle translateY as the section moves through the viewport. */
.text-image-parallax {
    position: absolute;
    left: 0;
    right: 0;
    top: -48px;
    bottom: -48px;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Site selector ============================================================
   Full-width row of tiles, each linking to a sister site. Used on apex home. */
/* Landing cards — apex homepage, one viewport on desktop ----------------- */
.landing-cards { background: #000; }
.landing-shell {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.5rem clamp(1rem, 3vw, 3rem) 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    min-height: 100vh;
}
.landing-heading {
    font-family: 'Ethnocentric', 'Poppins', sans-serif;
    font-weight: 300;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    letter-spacing: 0.06em;
    margin: 0.5rem 0 0.25rem;
}
.landing-heading .orange { color: var(--brand); }
.landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    flex: 1;
    min-height: 0;
}
.landing-card {
    display: flex;
    flex-direction: column;
    background: #121212;
    border: 1px solid #232323;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.35s ease, border-color 0.35s ease;
}
.landing-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
}
.landing-card-media {
    flex: 1;
    min-height: 0;
    background-size: cover;
    background-position: center;
    background-color: #1c1c1c;
    transition: transform 0.5s ease;
}
.landing-card-foot {
    padding: 1rem 1.25rem 1.1rem;
    text-align: center;
    background: #121212;
}
.landing-logotype {
    display: block;
    font-family: 'Ethnocentric', 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 1.7vw, 1.6rem);
    letter-spacing: 0.04em;
    color: var(--brand);
    line-height: 1.1;
}
/* Subheads reveal on hover (desktop); always visible where hover doesn't exist. */
.landing-sub {
    display: block;
    color: #cfcfcf;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.35s ease 0.05s, margin 0.4s ease;
}
.landing-card:hover .landing-sub,
.landing-card:focus-visible .landing-sub {
    max-height: 3.5rem;
    opacity: 1;
    margin-top: 0.45rem;
}
/* Wide card (Events): full-bleed image is the card background */
.landing-card-wide {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 24vh;
    background-size: cover;
    background-position: center;
    background-color: #121212;
}
.landing-wide-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.75rem clamp(1.5rem, 4vw, 3.5rem);
    width: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0) 75%);
    border-radius: inherit;
    text-align: left;
}
.landing-card-wide .landing-logotype { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
@media (pointer: coarse) {
    .landing-sub { max-height: 3.5rem; opacity: 1; margin-top: 0.45rem; }
}
/* Mobile: compact horizontal rows; whole page scans in a couple of scrolls. */
@media (max-width: 991px) {
    .landing-shell { min-height: 0; gap: 1rem; }
    .landing-grid { grid-template-columns: 1fr; gap: 1rem; flex: none; }
    .landing-card:not(.landing-card-wide) {
        display: grid;
        grid-template-columns: 45% 1fr;
    }
    .landing-card:not(.landing-card-wide) .landing-card-media { min-height: 130px; height: 100%; }
    .landing-card-foot {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        padding: 0.9rem 1rem;
    }
    .landing-sub { max-height: 3.5rem; opacity: 1; margin-top: 0.45rem; }
    .landing-card-wide { min-height: 200px; }
    .landing-wide-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 100%); }
}

.site-selector-row { min-height: 100vh; }
.site-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    padding: 3rem 2rem;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: flex-grow 0.5s ease;
}
.site-tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
    transition: background 0.4s ease;
}
.site-tile:hover .site-tile-overlay {
    background: linear-gradient(180deg, rgba(255,68,0,0.15) 0%, rgba(255,68,0,0.45) 100%);
}
.site-tile-content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
    width: 100%;
}
.site-tile:hover .site-tile-content { transform: translateY(-8px); }
.site-tile-eyebrow {
    display: block;
    color: var(--brand);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.site-tile-name {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin: 0 0 1rem;
    color: #fff;
}
.site-tile-tagline {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    max-width: 28ch;
}
.site-tile-arrow {
    display: inline-block;
    font-size: 1.5rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
    color: var(--brand);
}
.site-tile:hover .site-tile-arrow { transform: translateX(8px); }
/* Borders between tiles */
@media (min-width: 768px) {
    .site-tile + .site-tile { border-left: 1px solid rgba(255,255,255,0.05); }
}
/* Mobile: all three site tiles share one viewport instead of 3 full screens. */
@media (max-width: 767px) {
    .site-selector-row { min-height: 100vh; }
    .site-tile {
        min-height: 33.34vh;
        padding: 1.1rem 1.25rem;
    }
    .site-tile + .site-tile { border-top: 1px solid rgba(255,255,255,0.08); }
    .site-tile-name { font-size: 2.1rem; margin-bottom: 0.35rem; }
    .site-tile-eyebrow { font-size: 0.7rem; margin-bottom: 0.25rem; }
    .site-tile-tagline { font-size: 0.85rem; margin-bottom: 0.35rem; }
    .site-tile-arrow { font-size: 1.2rem; }
    /* Full-bleed photos read cleaner with a stronger, flatter scrim. */
    .site-tile-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.8) 100%);
    }
}

/* Wash tiers — full-screen expanding 3-column panels ---------------------- */
.wash-tiers {
    display: flex;
    min-height: 100vh;
    background: #000;
}
.wash-tier {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 3.5rem 2.5rem;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.wash-tier:hover { flex: 1.7; }
/* Divider as an inset shadow, not a border: the cover background paints the
   border box, but the overlay's inset resolved to the padding box — leaving a
   1px undarkened strip at the edge. Shadow + overspill overlay closes it. */
.wash-tier + .wash-tier { box-shadow: inset 1px 0 0 rgba(255,255,255,0.08); }
.wash-tier-overlay {
    position: absolute; inset: -1px;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.9) 100%);
    transition: background 0.5s ease;
}
.wash-tier:hover .wash-tier-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.92) 100%);
}
.wash-tier-content { position: relative; z-index: 2; width: 100%; min-width: 240px; }
.wash-tier-name {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0 0 0.75rem;
}
.wash-tier-price {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: var(--brand);
}
.wash-tier-price small { font-size: 0.45em; font-weight: 600; opacity: 0.8; color: #fff; }
.wash-tier-washes { opacity: 0.85; margin: 0.25rem 0 0; font-size: 0.95rem; }
.wash-tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.55s ease, opacity 0.4s ease 0.15s, margin 0.55s ease;
}
.wash-tier:hover .wash-tier-features {
    max-height: 560px;
    opacity: 1;
    margin: 1.25rem 0 0;
}
.wash-tier-features li {
    padding: 0.3rem 0 0.3rem 1.6rem;
    position: relative;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wash-tier-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}
.wash-tier-cta { margin-top: 1.5rem; }
.wash-tier-btn.is-disabled { border-color: var(--muted); color: var(--muted); cursor: not-allowed; }
/* Mobile: stack the columns, show everything, no hover dependence. */
@media (max-width: 991px) {
    .wash-tiers { flex-direction: column; min-height: auto; }
    .wash-tier { min-height: auto; padding: 2.5rem 1.5rem; }
    .wash-tier:hover { flex: 1; }
    .wash-tier + .wash-tier { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
    .wash-tier-features { max-height: none; opacity: 1; margin: 1.25rem 0 0; }
}

/* Section bands — opt in for emphasis. */
.bg-brand { background-color: var(--brand); color: #fff; }
.bg-dark-section { background-color: var(--dark); color: #f0f0f0; }
.bg-surface { background-color: var(--surface); color: #f0f0f0; }

/* Hero band — needs to be above content layer for video positioning */
.hero-menu-band { position: relative; overflow: hidden; min-height: 90vh; padding: 5.5rem 0 3rem; }
.hero-menu-band > video { will-change: transform; }
.menu-item.has-bg { will-change: background-position; transition: background-position 0.1s linear, transform 0.25s ease, border-left-width 0.2s ease; }

/* Hero video band — full-bleed video + oversized headline + optional CTA. */
.hero-video-band {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    background-color: var(--dark);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 5.5rem 0 3rem; /* clears the fixed logo; content centres in the rest */
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.hero-video-band.is-dark .hero-video-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
}
.hero-video-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    width: 100%;
}
.hero-video-headline {
    font-family: 'Ethnocentric', 'Poppins', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #fff;
    margin: 0 0 1.5rem;
    max-width: 16ch;
}
.hero-video-subhead {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255,255,255,0.85);
    max-width: 50ch;
    margin: 0 0 2.5rem;
}
.hero-video-cta { margin-top: 1rem; }

.hero-video-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    animation: scrollBob 2s ease-in-out infinite;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-video-scroll-hint span { display: block; margin-bottom: 0.4rem; }
.hero-video-scroll-hint i { font-size: 1rem; }
@keyframes scrollBob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
    50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* Text overlay band — flush below the hero (overlap treatment retired). */
.text-overlay-band {
    position: relative;
    z-index: 5;
    padding: 4rem 0;
}
.text-overlay-band .overlay-headline {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.8rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
    max-width: 14ch;
}
/* When the overlay band sits on the brand colour, headline + eyebrow flip to white. */
.text-overlay-band.bg-brand .overlay-headline,
.text-overlay-band.bg-brand .overlay-eyebrow { color: #fff; }

/* Animated rotating headline — fixed prefix, phrases cycle beneath it.
   Sized down from the standard overlay headline to fit two lines; the
   rotator script shrinks the stage further if a phrase would overflow. */
.text-overlay-band .overlay-headline.overlay-rotator {
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 1.08;
}
.rotator-prefix { display: block; }
.rotator-stage {
    display: block;
    position: relative;
    height: 1.15em;
    overflow: hidden;
}
.rotator-word {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    color: #fff;
    opacity: 0;
    transform: translateY(70%);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.rotator-word.is-active { opacity: 1; transform: translateY(0); }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-70%); }

.text-overlay-band .overlay-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1rem;
    font-weight: 700;
}
.text-overlay-band .overlay-body {
    color: #f0f0f0;
    padding-top: 1rem;
}
.text-overlay-band .introtext {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
}
@media (min-width: 992px) {
    .text-overlay-band .introtext { font-size: 1.25rem; }
}

.desktop-only { display: block; }
.mobile-only  { display: none; }
@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only  { display: block; }
}

/* Bootstrap overrides for dark mode --------------------------------------- */
.bg-white { background-color: var(--surface) !important; color: #f0f0f0; }
.bg-light { background-color: var(--surface-2) !important; color: #f0f0f0; }
.text-muted { color: var(--muted) !important; }
.border, .border-bottom { border-color: var(--border) !important; }
hr { border-color: var(--border); opacity: 1; }

/* Forms inside dark cards */
.form-control, .form-select {
    background-color: var(--dark);
    border-color: var(--border);
    color: #f0f0f0;
}
.form-control:focus, .form-select:focus {
    background-color: var(--dark);
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(255, 68, 0, 0.25);
    color: #f0f0f0;
}
.form-control::placeholder { color: var(--muted); }

/* Outline-dark buttons need light borders on a dark page */
.btn-outline-dark {
    color: #f0f0f0;
    border-color: var(--border);
}
.btn-outline-dark:hover {
    color: var(--dark);
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}
.btn-dark {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.btn-dark:hover {
    background-color: #e03e00;
    border-color: #e03e00;
    color: #fff;
}

/* Badges remain readable */
.badge.bg-light { color: var(--dark) !important; }

a {
    color: inherit;
    text-decoration: none;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: disc;
}

/* Backgrounds ============================================================ */
.bg {
    background-size: cover;
    background-position: center;
}

.orange { color: var(--brand); }
.white  { color: #fff !important; }
.subtitle { color: #fbfbfb; }


/* Typography ============================================================= */
.headline {
    font-size: 1.7em;
    font-weight: 900;
    line-height: 90%;
    text-transform: uppercase;
    z-index: 1001;
    overflow: visible;
    max-width: 98vw;
}

.footerheadline {
    font-size: 4em;
    font-weight: 900;
    line-height: 80%;
    text-transform: uppercase;
    max-width: 98vw;
    z-index: 900;
    overflow: visible;
}

.introtext { font-size: 1em; }
.introbox  { margin-top: -10px; }
.site-footer { background-color: #000; color: #fff; overflow-x: clip; }
body { overflow-x: clip; }
.footertext { font-size: 1.2em; font-weight: normal; }
.footertext a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footertext a:hover { color: var(--brand); }


/* Header / hamburger / nav modal ========================================== */
.logoheader {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 20000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sticky-button:hover,
.sticky-button:focus {
    transform: scale(1.1);
}
.sticky-button.focused .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sticky-button.focused .hamburger span:nth-child(2) { opacity: 0; }
.sticky-button.focused .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}
.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--brand);
    border-radius: 3px;
    left: 0;
    transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.sticky-button:hover .hamburger span:nth-child(1),
.sticky-button:focus .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sticky-button:hover .hamburger span:nth-child(2),
.sticky-button:focus .hamburger span:nth-child(2) { opacity: 0; }
.sticky-button:hover .hamburger span:nth-child(3),
.sticky-button:focus .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.modal-fullscreen { background-color: var(--dark); }
.modal-fullscreen .modal-content {
    background-color: transparent;
    border: none;
    height: 100%;
}

.nav-list { list-style: none; padding: 0; }
.nav-list li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}
.nav-list a {
    color: black !important;
    font-size: 0.8em;
    font-weight: 900;
    text-transform: uppercase;
}

.social-media {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
}
.social-media a {
    color: black;
    font-size: 24px;
    margin: 0 10px;
    transition: all 0.1s;
}
.social-media a:hover { font-size: 28px; }

.logo-space {
    height: 100px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}


/* Menu cards ============================================================== */
.menugrid { margin-top: 0; }

.menu-item {
    font-family: "Poppins", sans-serif;
    position: relative;
    background-color: var(--surface);
    color: #f0f0f0;
    padding: 1rem;
    margin-bottom: 1rem;
    min-height: 25vh;
    border-left-style: solid;
    border-left-color: var(--brand);
    border-left-width: 0px;
    z-index: 1;
    transition: all 0.2s ease;
    overflow: hidden;
}

/* Frosted glass treatment, only when sitting over the hero video. */
.hero-menu-band .menu-item {
    background-color: rgba(31, 31, 31, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.menu-item.has-bg {
    background-size: cover;
    background-position: center;
}
.menu-item.has-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    transition: all 0.3s ease;
}
.has-bg:hover::before {
    background-color: rgba(0, 0, 0, 0.1);
}
.menu-item:hover {
    transform: scale(1.05);
    border-left-width: 5px;
}
/* Inside the hero band, hover keeps the revealed translateY(0) and adds a subtle scale. */
.hero-menu-band.is-visible .menu-item:hover {
    transform: translateY(0) scale(1.015);
}

.temperature {
    color: #f0f0f0;
    font-size: 1.8rem;
    font-weight: 200;
}
.menu-item .fa { margin-top: 40px; }
.menu-sublabel { margin-bottom: 120px; }
.menu-icon { font-size: 5em; }

/* Mobile: the whole hero menu must fit inside one viewport. */
@media (max-width: 767px) {
    .hero-menu-band, .hero-video-band { padding: 4rem 0 1.5rem; }
    .menugrid { margin-top: 0; }
    .hero-menu-band .menu-item {
        min-height: 12vh;
        padding: 0.75rem 0.9rem;
        margin-bottom: 0.25rem;
    }
    .hero-menu-band .temperature { font-size: 1.05rem; }
    .menu-sublabel { margin-bottom: 0.5rem; font-size: 0.8rem; opacity: 0.85; }
    .menu-icon { font-size: 1.6em; }
    .menu-item .fa { margin-top: 8px; }
}

/* Fixed logo: keep it legible and off the physical screen edge on mobile. */
@media (max-width: 767px) {
    .site-logo-fixed {
        padding-top: max(0.75rem, env(safe-area-inset-top)) !important;
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
        pointer-events: none;
    }
    .site-logo-fixed a { pointer-events: auto; }
    .site-logo-fixed .logotype { font-size: 1.35rem; margin: 0; }
}

/* Scroll-triggered reveal — applied to .reveal blocks and their children. */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Inside hero menu, stagger children when the band reveals.
   `border-left-width` listed so the hover bar still tweens. */
.hero-menu-band .menu-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease, border-left-width 0.2s ease; }
.hero-menu-band.is-visible .menu-item { opacity: 1; transform: translateY(0); }
.hero-menu-band.is-visible .row:nth-child(1) .menu-item:nth-child(1) { transition-delay: 0.10s; }
.hero-menu-band.is-visible .row:nth-child(1) .menu-item:nth-child(2) { transition-delay: 0.20s; }
.hero-menu-band.is-visible .row:nth-child(2) .menu-item:nth-child(1) { transition-delay: 0.30s; }
.hero-menu-band.is-visible .row:nth-child(2) .menu-item:nth-child(2) { transition-delay: 0.40s; }
.hero-menu-band.is-visible .row:nth-child(2) .menu-item:nth-child(3) { transition-delay: 0.50s; }
.hero-menu-band.is-visible .row:nth-child(2) .menu-item:nth-child(4) { transition-delay: 0.60s; }


/* Layout / page sections ================================================== */
.page-header {
    background-size: cover;
    background-position: center;
    background-color: #000;
    min-height: 40vh;
}
[class*="page-header"] {
    background-attachment: scroll;
    background-position: center -100px;
    will-change: background-position;
}

.swiper-slide { min-height: 70vh; }
.content { padding-bottom: 0; }

.footer { background-color: var(--brand); }

/* Booking week-grid date picker ---------------------------------------- */
.date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}
button.date-cell {
    /* Override <button> browser defaults so our spacing is honoured. */
    appearance: none;
    font: inherit;
    line-height: 1;
}
.date-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    background: var(--surface-2);
    color: #f0f0f0;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
    text-align: center;
    min-height: 88px;
    width: 100%;
}
.date-cell:hover:not(:disabled):not(.is-disabled) {
    border-color: var(--brand);
    transform: translateY(-1px);
}
.date-cell.is-selected {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}
.date-cell.is-today:not(.is-selected) {
    border-color: var(--brand);
}
.date-cell.is-disabled,
.date-cell:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: transparent;
}
.date-cell-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.date-cell-day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}
.date-cell-meta {
    font-size: 0.68rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    line-height: 1;
    min-height: 0.7rem;
}
.date-cell.is-selected .date-cell-meta,
.date-cell.is-selected .date-cell-label { opacity: 0.9; }
/* Narrow phones: 7 cells across ~330px — tighten so nothing overflows. */
@media (max-width: 480px) {
    .date-grid { gap: 0.25rem; }
    .date-cell { padding: 0.6rem 0.15rem; }
    .date-cell-day { font-size: 1.1rem; }
    .date-cell-label { font-size: 0.62rem; letter-spacing: 0.04em; }
    .date-cell-meta { font-size: 0.58rem; }
}

.date-nav .btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.date-nav .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 480px) {
    .date-cell { padding: 0.5rem 0.15rem; min-height: 70px; }
    .date-cell-day { font-size: 1.15rem; }
    .date-cell-label { font-size: 0.6rem; }
    .date-cell-meta { display: none; }
    .date-grid { gap: 0.25rem; }
}

/* Account page tabs + order stage tracker ============================== */
.account-tabs { border-bottom: 1px solid var(--border); }
.account-tab {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    padding: 0.6rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.account-tab:hover { color: #f0f0f0; }
.account-tab.is-active {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

/* Hide Alpine elements until JS initialises */
[x-cloak] { display: none !important; }

/* Order stage tracker — flex pipe of dots with connecting lines */
.order-stages {
    gap: 0;
    align-items: flex-start;
}
.order-stage {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 0;
}
.order-stage:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 7px;
    left: calc(50% + 8px);
    right: calc(-50% + 8px);
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.order-stage.is-done:not(:last-child)::after { background: var(--brand); }
.order-stage-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border);
    margin: 0 auto 0.4rem;
    position: relative;
    z-index: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}
.order-stage.is-done .order-stage-dot { background: var(--brand); }
.order-stage.is-current .order-stage-dot {
    background: var(--brand);
    transform: scale(1.35);
    box-shadow: 0 0 0 4px rgba(255, 68, 0, 0.2);
}
.order-stage-label {
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.2;
}
.order-stage.is-done .order-stage-label { color: #f0f0f0; }
.order-stage.is-current .order-stage-label { color: var(--brand); font-weight: 600; }

/* Form helpers ============================================================ */
.border-brand { border-color: var(--brand) !important; }
.interest-tile:has(input:checked) { border-color: var(--brand) !important; background: rgba(255, 68, 0, 0.08); }
.interest-tile:hover { border-color: rgba(255, 68, 0, 0.5); }

/* Custom radio + checkbox — only inside auth forms / interest-tile / vehicle slots
   so we don't trample Filament's admin styling. */
.opti-form input[type="radio"],
.opti-form input[type="checkbox"],
.interest-tile input[type="radio"],
.interest-tile input[type="checkbox"],
label > input[type="radio"][name="account_type"],
label > input[type="radio"][name="interests[]"],
label.interest-tile > input,
label.d-block.p-3.rounded.border > input[type="radio"],
label.d-block.p-3.rounded.border > input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid var(--muted);
    background: transparent;
    vertical-align: -3px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}
label > input[type="radio"][name="account_type"],
label.d-block.p-3.rounded.border > input[type="radio"] {
    border-radius: 50%;
}
label > input[type="checkbox"][name="interests[]"],
label.interest-tile > input[type="checkbox"],
label.d-block.p-3.rounded.border > input[type="checkbox"] {
    border-radius: 3px;
}

/* Checked state — brand fill, white tick / dot drawn with inner shadow */
label > input[type="radio"][name="account_type"]:checked,
label.d-block.p-3.rounded.border > input[type="radio"]:checked {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: inset 0 0 0 3px var(--surface);
}
label > input[type="checkbox"][name="interests[]"]:checked,
label.interest-tile > input[type="checkbox"]:checked,
label.d-block.p-3.rounded.border > input[type="checkbox"]:checked {
    border-color: var(--brand);
    background: var(--brand)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 5'/></svg>")
        center / 70% no-repeat;
}

/* Hover */
label > input[type="radio"][name="account_type"]:hover,
label > input[type="checkbox"][name="interests[]"]:hover,
label.interest-tile > input:hover,
label.d-block.p-3.rounded.border > input:hover {
    border-color: var(--brand);
}

/* Focus ring */
label > input[type="radio"][name="account_type"]:focus-visible,
label > input[type="checkbox"][name="interests[]"]:focus-visible,
label.interest-tile > input:focus-visible,
label.d-block.p-3.rounded.border > input:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Form-check (Bootstrap remember-me checkbox) — same brand colour */
.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}
.form-check-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(255, 68, 0, 0.25);
}

/* Footer ================================================================ */
.site-footer { color: #fff; }
.site-footer a { color: #fff; transition: color 0.2s ease; }
/* Brand-orange hover — the old dark hover disappears on the black footer. */
.site-footer a:hover { color: var(--brand); }
.site-footer .contact-detail { font-size: 1rem; line-height: 1.6; }
.site-footer .contact-detail .col-1 { color: #fff; }
.site-footer iframe {
    background: rgba(0,0,0,0.2);
    filter: grayscale(0.4) contrast(0.95);
}


/* Accordion (details/summary) ============================================ */
details {
    background: var(--surface);
    border-bottom: 3px solid var(--brand);
    color: #f0f0f0;
    padding: 10px;
    margin: 15px 0;
    transition: all 0.3s ease;
}
details:hover { background: var(--surface-2); }
details[open] { background: var(--surface-2); }

details li {
    color: #f0f0f0;
    list-style: circle;
    font-size: 1rem;
}
details p {
    margin: 15px 0 5px;
    line-height: 1.6;
    color: #f0f0f0;
    font-size: 1rem;
}

summary {
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    list-style: none;
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 900;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    font-weight: 900;
    color: var(--brand);
    transition: transform 0.3s ease;
}
details[open] summary::after { content: '−'; }


/* Buttons — two variants split by background context.
     .bigbtn   = on dark surface  → orange at rest, white on hover
     .bigbtn-2 = on light/orange  → orange at rest, black on hover */
.bigbtn,
.bigbtn-2,
.pmpro_btn-select {
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: normal;
    text-transform: uppercase !important;
    text-decoration: none !important;
    background: transparent;
    border: 4px solid var(--brand);
    border-radius: 0 !important;
    padding: 20px 38px !important;
    font-weight: 800;
    color: var(--brand);
    transition: all 0.2s ease;
    cursor: pointer;
}
.bigbtn:hover {
    color: #fff;
    background: transparent;
    border: 4px solid #fff;
}
.bigbtn-2:hover,
.pmpro_btn-select:hover {
    color: #000;
    background: transparent;
    border: 4px solid #000;
}

/* Orange/brand bands: the default orange .bigbtn is invisible against the
   orange background, so render it white at rest and invert to a solid white
   fill (orange text) on hover. The background is known from the ancestor
   .bg-brand band, so no JS detection is needed here. */
.bg-brand .bigbtn {
    color: #fff;
    border-color: #fff;
}
.bg-brand .bigbtn:hover {
    color: var(--brand);
    background: #fff;
    border-color: #fff;
}

/* Primary filled CTA — solid orange at rest, darkens on hover. */
.bigbtn-primary {
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--brand);
    border: 4px solid var(--brand);
    border-radius: 0 !important;
    padding: 20px 38px !important;
    font-weight: 800;
    transition: all 0.2s ease;
    cursor: pointer;
}
.bigbtn-primary:hover { background: #e03e00; border-color: #e03e00; color: #fff; }
.bigbtn-primary:disabled { opacity: 0.5; cursor: not-allowed; }


/* Animations ============================================================= */
@keyframes menuItemAppear {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes cascadeIn {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.modal.show .logo-space   { animation: cascadeIn 0.5s ease forwards; }
.modal.show .nav-list li  { animation: cascadeIn 0.5s ease forwards; }
.modal.show .social-media { animation: cascadeIn 0.5s ease forwards; animation-delay: 0.6s; }
.modal.show .nav-list li:nth-child(1) { animation-delay: 0.1s; }
.modal.show .nav-list li:nth-child(2) { animation-delay: 0.2s; }
.modal.show .nav-list li:nth-child(3) { animation-delay: 0.3s; }
.modal.show .nav-list li:nth-child(4) { animation-delay: 0.4s; }
.modal.show .nav-list li:nth-child(5) { animation-delay: 0.5s; }


/* Video hero ============================================================= */
video {
    filter: brightness(0.6);
    width: 100vw !important;
    min-height: 200vh !important;
    height: 200% !important;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}


/* Swiper overrides ======================================================= */
.swiper-button-next,
.swiper-button-prev,
.swiper-container-rtl .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    fill: #000 !important;
}

/* Gallery (full-bleed swiper used on /events) ----------------------------- */
/* Gallery slider — title overlaid on the full-bleed slides */
.opti-gallery-title {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    z-index: 3;
    pointer-events: none;
    color: #fff;
}
.opti-gallery-eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.opti-slide-caption {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
@media (max-width: 991px) {
    .opti-gallery-title { bottom: 40px; left: 30px; right: 30px; }
}

/* Case studies — shared between the detail page hero and gallery slides */
.cs-hero {
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    color: #fff;
}
.cs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.35) 100%);
}
.cs-hero .container { position: relative; z-index: 1; padding-bottom: 4rem; }
.cs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.25);
    margin-top: 2rem;
    color: #fff;
}
.cs-meta .label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.65;
}
.cs-body p { max-width: 65ch; font-size: 1.1rem; line-height: 1.75; }
.cs-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cs-gallery figure { margin: 0; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.5rem; aspect-ratio: 4 / 3; }
.cs-gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.cs-gallery figure:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 9; }
@media (max-width: 767px) {
    .cs-gallery { grid-template-columns: 1fr; }
}

/* Case-study gallery slides reuse the .opti-slider full-bleed format —
   see blocks/gallery.blade.php (case_studies source). */

/* Partner logo strip — white logos on black, subtle hover zoom ----------- */
.logo-strip { background: #000; }
.logo-strip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem 5rem;
}
.hoverimg {
    max-height: 90px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transform: scale(1.0);
    transition: all 0.4s ease;
    mix-blend-mode: screen;
}
.hoverimg:hover {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .logo-strip-row { gap: 2rem 3rem; }
    .hoverimg { max-height: 60px; max-width: 160px; }
}

/* Nav modal cross-site strip — quiet, segregated from the main menu ------ */
.nav-cross-sites {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.nav-cross-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #6f6f6f;
    margin-bottom: 0.9rem;
}
.nav-cross-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
}
.nav-cross-links a {
    font-family: 'Ethnocentric', 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}
.nav-cross-links a:hover,
.nav-cross-links a:focus-visible {
    color: var(--brand);
    transform: translateY(-2px);
}
.nav-cross-links a span { opacity: 0.85; }

/* Hero header swap — centered logo inside heroes, corner logo after ------ */
.site-logo-hero {
    /* Full-width centred strip: a fixed element with only left:50% shrinks
       to the space right of that point, which squeezed "Opti events" onto
       two left-aligned lines on phones. */
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    padding: 0 1rem;
    text-align: center;
    z-index: 1031;
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.site-logo-hero a { pointer-events: auto; display: inline-block; }
.site-logo-hero .logotype { white-space: nowrap; }
@media (max-width: 767px) {
    .site-logo-hero { top: max(0.75rem, env(safe-area-inset-top)); }
    .site-logo-hero .logotype { font-size: 1.6rem; }
    .site-logo-hero .logotype span { font-size: 1.35rem; }
}
.site-logo-fixed,
.sticky-button {
    transition: opacity 0.35s ease;
}
body.has-hero-header .site-logo-hero { display: block; opacity: 1; }
body.has-hero-header .site-logo-fixed,
body.has-hero-header .sticky-button { opacity: 0; pointer-events: none; }
body.has-hero-header.past-hero .site-logo-hero { opacity: 0; pointer-events: none; }
body.has-hero-header.past-hero .site-logo-fixed,
body.has-hero-header.past-hero .sticky-button { opacity: 1; pointer-events: auto; }

/* Static landing card (e.g. Events while it's coming soon) --------------- */
.landing-card.is-static { cursor: default; }
.landing-card.is-static:hover { transform: none; border-color: #232323; }
.landing-card.is-static .landing-sub { max-height: 3.5rem; opacity: 1; margin-top: 0.45rem; }

/* Footer headline — oversized FIND US: banner like the original site ----- */
.footer-findus {
    font-size: clamp(2.4rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
}

/* Full-bleed creative-effect slider --------------------------------------- */
.opti-slider-band { background: #000; overflow: hidden; }
.opti-slider { width: 100%; }
.opti-slider .swiper-slide {
    min-height: 70vh;
    position: relative;
    text-align: left;
    background: #000;
    box-shadow: inset 0 4px 5px 0 rgba(0,0,0,0.75);
}
@media (min-width: 992px) {
    .opti-slider .swiper-slide { min-height: 100vh; }
}
.opti-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 60%; /* favours lower-frame subjects (cars) */
    transition: transform 8s ease;
}
.opti-slider .swiper-slide-active .opti-slide-bg { transform: scale(1.05); }
.opti-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
}
.opti-slide-text {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    max-width: 800px;
    color: #fff;
    z-index: 2;
}
.opti-slide-detail {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    max-width: 60ch;
}
@media (max-width: 768px) {
    .opti-slide-text { bottom: 30px; left: 30px; right: 30px; }
}
.opti-slider .swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.opti-slider .swiper-pagination-bullet-active { background: var(--brand); opacity: 1; }


/* Media queries ========================================================== */
@media (min-width: 576px) {
    .headline { font-size: 2em; line-height: calc(10vh); }
}

@media (min-width: 768px) {
    .headline { font-size: 2.5em; line-height: calc(10vh); }
    .introtext { font-size: 1.5em; }
    .menugrid  { margin-top: 0; }
    .introbox  { margin-top: -100px; }
    .page-header {
        background-size: cover;
        background-position: center;
        min-height: 60vh;
    }
}

@media (min-width: 992px) {
    .introtext { font-size: 2em; }
    video {
        min-height: 100vh !important;
        height: 100% !important;
    }
    .swiper-slide { min-height: 100vh; }
}

@media (min-width: 1200px) {
    .headline { font-size: 2.5em; line-height: calc(13vh); }
    .temperature { font-size: 2.5rem; font-weight: 200; }
    .sticky-button {
        top: 20px;
        bottom: auto;
    }
}

@media (min-width: 1400px) {
    .headline { font-size: 3em; line-height: 80%; }
    .footerheadline { font-size: 6em; }
}

/* Enquiry artwork drop zone ============================================= */
.file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 1.6rem 1.25rem;
    border: 2px dashed var(--border);
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.03);
    color: #f0f0f0;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover,
.file-drop.is-dragover,
.file-drop:focus-within { border-color: var(--brand); background: rgba(255,69,0,0.06); }
.file-drop.is-invalid { border-color: #dc3545; }
.file-drop-input {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0; overflow: hidden;
    clip: rect(0 0 0 0);
}
.file-drop-icon { font-size: 1.6rem; color: var(--brand); }
.file-drop-title { font-weight: 600; }
.file-drop-hint { font-size: 0.8rem; color: var(--muted); }
.file-drop-list { font-size: 0.85rem; color: var(--brand); word-break: break-word; }
.file-drop.has-files .file-drop-hint { display: none; }

/* Feature grid — icon / title / body cards for product & material ranges */
.feature-grid-head { max-width: 62ch; margin-bottom: 2.5rem; }
.feature-grid-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 0.75rem;
}
.feature-grid-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }
.feature-grid-band.bg-brand .feature-grid-heading,
.feature-grid-band.bg-brand .feature-grid-intro,
.feature-grid-band.bg-brand .text-image-eyebrow { color: #fff; }
.feature-card {
    position: relative;
    padding: 1.6rem 1.5rem 1.5rem;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    border-radius: 0.5rem;
    color: #f0f0f0;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.06); border-color: var(--brand); }
.feature-grid-band.bg-brand .feature-card { background: rgba(0,0,0,0.18); border-color: rgba(255,255,255,0.25); border-left-color: #fff; }
.feature-card-icon { display: block; font-size: 1.5rem; color: var(--brand); margin-bottom: 0.9rem; }
.feature-grid-band.bg-brand .feature-card-icon { color: #fff; }
.feature-card-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.feature-card-body { font-size: 0.95rem; line-height: 1.55; color: #d6d6d6; margin: 0; }
.feature-grid-band.bg-brand .feature-card-body { color: rgba(255,255,255,0.9); }

/* Hamburger menu grid — compact, consistent tile sizing on any screen ---- */
.nav-grid .menu-item {
    min-height: clamp(96px, 12vh, 150px);
    margin-bottom: 0;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0.35rem;
}
.nav-grid .menu-item.is-featured { min-height: clamp(150px, 22vh, 240px); }
.nav-grid .temperature {
    font-size: clamp(1.15rem, 1.5vw, 1.55rem);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
}
.nav-grid .menu-item.is-featured .temperature { font-size: clamp(1.4rem, 2vw, 2rem); }
.nav-grid .menu-item > div:not(.temperature) { font-size: 0.85rem; opacity: 0.85; margin-top: 0.3rem; }
.nav-grid .menu-item.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 0;
}
.nav-grid .menu-item.has-bg > * { position: relative; z-index: 1; }
.modal-fullscreen .modal-body .container-lg { max-width: 1100px; }
.nav-cross-sites { margin-top: 2.25rem; }

/* Hero quarter tiles share one label size (an 8-tile hero needs a notch
   below the featured size); genuinely long labels step down once more. */
.hero-menu-band .col-md-3 .menu-item .temperature { font-size: clamp(1.1rem, 1.7vw, 1.9rem); }
.hero-menu-band .col-md-3 .menu-item .temperature.label-long { font-size: clamp(1rem, 1.45vw, 1.6rem); }
