/* stacja paliw k2 */

:root {
    /* Surfaces - layered dark */
    --bg-0:        #06080b;
    --bg-2:        #0f1319;
    --line:        #1c2230;
    --line-hi:     #283042;

    /* Text */
    --text:        #e8ecf3;
    --text-mute:   #95a0b3;
    --text-dim:    #5d6779;

    /* Brand colors (K2 logo) - blue / silver / black */
    --accent:      #4a90c4;
    --accent-2:    #6ba8d6;
    --accent-3:    #2c5a8a;
    --silver:      #b8c2d1;
    /* States */
    --danger:      #ef4444;
    --ok:          #22c55e;

    /* glass layers */
    --glass-1:     rgba(20, 24, 33, 0.55);
    --glass-2:     rgba(28, 34, 48, 0.42);
    --glass-3:     rgba(16, 20, 27, 0.7);
    --glass-edge:  rgba(255, 255, 255, 0.06);
    --glass-edge-hi: rgba(255, 255, 255, 0.10);
    /* Neumorphism shadows (raised) */
    --neu-rise:
        -6px -6px 14px rgba(255,255,255,0.018),
         8px  8px 20px rgba(0,0,0,0.55);
    --neu-rise-sm:
        -3px -3px 8px rgba(255,255,255,0.02),
         4px  4px 10px rgba(0,0,0,0.5);
    --neu-press:
        inset  4px  4px 8px rgba(0,0,0,0.55),
        inset -4px -4px 8px rgba(255,255,255,0.025);
    --neu-press-sm:
        inset 2px 2px 4px rgba(0,0,0,0.5),
        inset -2px -2px 4px rgba(255,255,255,0.025);

    /* Layout */
    --sidebar-w:   260px;
    --topbar-h:    64px;
    --radius-sm:   8px;
    --radius:      14px;
    --radius-lg:   20px;
    --font-display:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body:   'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --ease:        cubic-bezier(.2,.7,.2,1);
}

/* ----------- Reset ----------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* AURORA - drifting blue blobs behind everything (over body bg, under content)
   Two layers, different speeds, blurred → continuous ambient glow throughout
   the entire page. Subtle but visibly tints the dark background blue. */
body::before {
    content: '';
    position: fixed;
    inset: -15vh -15vw;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55vw 42vh at 22% 18%,  rgba(107, 168, 214, 0.32) 0%, transparent 62%),
        radial-gradient(ellipse 50vw 38vh at 86% 68%,  rgba(44, 90, 138, 0.36) 0%, transparent 62%),
        radial-gradient(ellipse 65vw 45vh at 50% 105%, rgba(74, 144, 196, 0.24) 0%, transparent 65%);
    filter: blur(80px);
    animation: auroraDrift 42s ease-in-out infinite alternate;
    will-change: transform;
}
body::after {
    content: '';
    position: fixed;
    inset: -15vh -15vw;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 45vw 32vh at 72% 22%, rgba(74, 144, 196, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 55vw 38vh at 8% 78%,  rgba(107, 168, 214, 0.26) 0%, transparent 65%);
    filter: blur(90px);
    animation: auroraDrift 56s ease-in-out infinite alternate-reverse;
    will-change: transform;
}
@keyframes auroraDrift {
    0%   { transform: translate(0, 0)    scale(1); }
    50%  { transform: translate(5%, -4%) scale(1.08); }
    100% { transform: translate(-4%, 5%) scale(.94); }
}
@media (prefers-reduced-motion: reduce) {
    body::before, body::after { animation: none; }
}

/* All page content sits ABOVE the aurora */
.sidebar, .topbar, .main, .footer, .mobile-menu, .preloader,
.cookie-banner, .scroll-top, .modal, .lightbox {
    position: relative;
    z-index: 1;
}

.br-mobile { display: none; }
img.is-loading { opacity: 0; }
img.is-loaded {
    opacity: 1;
    transition: opacity .45s var(--ease);
}
/* iOS-safe scroll lock: position:fixed prevents the rubber-band scroll
   on Safari that "overflow: hidden" alone doesn't catch. JS pairs this
   with body.style.top = -scrollY to keep visual position stable. */
body.no-scroll {
    position: fixed;
    inset-inline: 0;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

img, video { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* typography */

h1, h2, h3, h4, h5, h6,
.hero__title, .hero__tagline,
.lede__title,
.section__title,
.story__title,
.partnership__title,
.tribute__quote p,
.page-header__title,
.final-cta__title,
.feature h3, .room-feature h4,
.info-card h3,
.tile__title, .index-list__title,
.modal__content h2, .modal__content h3 {
    text-wrap: balance;
    -webkit-hyphens: none;
            hyphens: none;
}
p, .prose p, .info-card p, .story__text p, .tribute__line,
.hero__lead, .section__lead, .page-header__lead, .final-cta__lead,
.footer__col p, .index-list__desc, .feature p, .room-feature p,
.tile__desc, .modal__content p {
    text-wrap: pretty;
}
p, h1, h2, h3, h4, h5, h6,
.lede__title, .section__title, .story__title, .page-header__title,
.section__lead, .hero__lead, .partnership__title, .final-cta__title {
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-hyphens: manual;
            hyphens: manual;
}

/* GLASSMORPHISM v2 */
.glass {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012) 60%);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border-radius: var(--radius);
    box-shadow:
        0 10px 36px rgba(0,0,0,0.32),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
/* gradient border via mask trick - subtle highlight that mimics light hitting an edge */
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.04) 30%,
        transparent 55%,
        rgba(74,144,196,0.16) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.glass-soft {
    background: rgba(20,24,33,0.42);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.06);
}
.neu-rise   { box-shadow: var(--neu-rise); }
.neu-rise-sm{ box-shadow: var(--neu-rise-sm); }
.neu-press  { box-shadow: var(--neu-press); }

/* preloader */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-0);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
html.preloader-skip .preloader { display: none !important; }

.preloader__inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 28px;
}
/* Old centered logo above the map - kept for fallback but hidden now */
.preloader__inner > .preloader__logo {
    display: none;
}

/* MAP ROUTE - dotted route, speeding pin, K2 waypoint at the end
   Timeline:
     0.0s  - container fades in
     0.15s - route starts drawing, pin starts traveling
     2.15s - pin arrives at end of dotted line
     2.15s - K2 logo bounces into view (off to the right of the line, with a gap)
     2.50s - logo settles into continuous pulse + bounce
     ~4.5s - JS hides preloader (full pulse held for 2 seconds) */
.preloader__map {
    position: relative;
    width: 420px;
    max-width: 86vw;
    height: 130px;
    opacity: 0;
    animation: preFadeUp .6s var(--ease) forwards;
}
.preloader__svg {
    width: 100%;
    height: 110px;
    overflow: visible;
    display: block;
}

/* The progress overlay path - draws as the dot travels */
.preloader__progress {
    fill: none;
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    filter: drop-shadow(0 0 4px rgba(74,144,196,.5));
    animation: routeDraw 2s cubic-bezier(.55,0,.15,1) .15s forwards;
}
@keyframes routeDraw {
    to { stroke-dashoffset: 0; }
}

/* The speeding pin - moves along the path via offset-path */
.preloader__pin {
    offset-path: path("M 12 80 Q 80 80 120 50 Q 160 20 220 30 Q 270 40 300 55");
    offset-rotate: 0deg;
    fill: #fff;
    filter: drop-shadow(0 0 8px rgba(255,255,255,.85)) drop-shadow(0 0 16px rgba(107,168,214,.7));
    animation: routeRun 2s cubic-bezier(.55,0,.15,1) .15s forwards;
}
@keyframes routeRun {
    0%   { offset-distance: 0%;   r: 4; opacity: 0; }
    8%   { opacity: 1; }
    50%  { r: 5; }                                  /* slight pulse mid-route */
    98%  { opacity: 1; r: 4; }
    100% { offset-distance: 100%; r: 4; opacity: 0; } /* arrives, fades */
}

/* Destination waypoint - K2 logo OFFSET to the right of the path's end.
   Path ends at (300, 55) within a 420x110 viewBox.
   Logo center placed at (370, 50) - ~40px right + slight Y shift = visible gap. */
.preloader__waypoint {
    position: absolute;
    left: calc(370 / 420 * 100%);
    top: calc(50 / 110 * 100%);
    transform: translate(-50%, -50%) scale(.4);
    opacity: 0;
    width: 76px; height: 76px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    /* Two-stage animation:
       1) waypointArrive: appears with bounce when pin reaches end (~2.15s)
       2) waypointBounce: continuous gentle bounce, kicks in after arrival
       Hold for ~2 extra seconds before JS fades the preloader. */
    animation:
        waypointArrive 2.45s cubic-bezier(.34, 1.56, .64, 1) forwards,
        waypointBounce 1.4s cubic-bezier(.4, 0, .2, 1) 2.45s infinite;
}
.preloader__waypoint img {
    width: 100%; height: 100%;
    object-fit: contain;
    /* No glow filter - clean logo, only the bounce + scale animation */
}
/* Radial halo "glow under logo" removed per design request */
.preloader__waypoint-pulse { display: none; }

/* Logo appears small, then pops to full size right when the pin arrives at path end */
@keyframes waypointArrive {
    0%, 85%   { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
    92%       { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }  /* IMPACT */
    100%      { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* Continuous gentle bounce after arrival */
@keyframes waypointBounce {
    0%, 100% { transform: translate(-50%, -50%) translateY(0)    scale(1); }
    50%      { transform: translate(-50%, -50%) translateY(-6px) scale(1.04); }
}
/* Legacy keyframes - kept for backwards-compat, no longer applied */
@keyframes waypointGlow {
    0%, 100% { filter: none; }
}
@keyframes waypointPulse {
    0%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .preloader__progress, .preloader__pin, .preloader__waypoint, .preloader__waypoint img, .preloader__waypoint-pulse {
        animation: none !important;
    }
    .preloader__waypoint { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    .preloader__progress { stroke-dashoffset: 0; }
}

/* WARP - legacy fallback (hidden, in case old markup remains anywhere) */
.preloader__warp {
    position: relative;
    width: 220px; height: 220px;
    opacity: 0;
    animation: preFadeUp .6s var(--ease) .15s forwards;
}

/* concentric "destination" rings at the center (where the journey ends) */
.preloader__target {
    position: absolute;
    left: 50%; top: 50%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 6px rgba(74,144,196,.18),
        0 0 0 14px rgba(74,144,196,.10),
        0 0 0 24px rgba(74,144,196,.05),
        0 0 18px rgba(74,144,196,.7);
    z-index: 2;
}

/* the traveller - a bright point that emerges from infinity (tiny, blurred)
   and zooms to the target destination, then warps past */
.preloader__traveler {
    position: absolute;
    left: 50%; top: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 8px rgba(255,255,255,.85), 0 0 24px rgba(107,168,214,.6);
    z-index: 3;
    animation: warpArrive 2.6s cubic-bezier(.55, 0, .15, 1) infinite;
}
@keyframes warpArrive {
    /* Far away: tiny, dim, blurred (depth of field) */
    0%   { transform: translate(-50%, -50%) scale(.05); opacity: 0; filter: blur(3px); }
    8%   { opacity: .4; }
    /* Approaching: getting larger and sharper */
    50%  { transform: translate(-50%, -50%) scale(.6); opacity: 1; filter: blur(.5px); }
    /* Arrived at K2 destination: full size, focused */
    78%  { transform: translate(-50%, -50%) scale(1.2); opacity: 1; filter: blur(0); }
    /* Pass through camera and disappear */
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; filter: blur(2px); }
}

/* speed streaks - 8 lines flying outward from centre, simulating warp motion */
.preloader__streak {
    position: absolute;
    left: 50%; top: 50%;
    width: 1px; height: 0;
    background: linear-gradient(180deg, transparent, rgba(107,168,214,.6) 60%, rgba(107,168,214,0));
    transform-origin: center top;
    pointer-events: none;
    z-index: 1;
}
/* Distribute 8 streaks at 0°, 45°, 90°, ... 315° with staggered delays */
.preloader__streak:nth-child(1) { transform: translate(-50%, 0) rotate(0deg);   animation: warpStreak 1.4s ease-out infinite 0s;   }
.preloader__streak:nth-child(2) { transform: translate(-50%, 0) rotate(45deg);  animation: warpStreak 1.4s ease-out infinite .1s;  }
.preloader__streak:nth-child(3) { transform: translate(-50%, 0) rotate(90deg);  animation: warpStreak 1.4s ease-out infinite .2s;  }
.preloader__streak:nth-child(4) { transform: translate(-50%, 0) rotate(135deg); animation: warpStreak 1.4s ease-out infinite .3s;  }
.preloader__streak:nth-child(5) { transform: translate(-50%, 0) rotate(180deg); animation: warpStreak 1.4s ease-out infinite .4s;  }
.preloader__streak:nth-child(6) { transform: translate(-50%, 0) rotate(225deg); animation: warpStreak 1.4s ease-out infinite .5s;  }
.preloader__streak:nth-child(7) { transform: translate(-50%, 0) rotate(270deg); animation: warpStreak 1.4s ease-out infinite .6s;  }
.preloader__streak:nth-child(8) { transform: translate(-50%, 0) rotate(315deg); animation: warpStreak 1.4s ease-out infinite .7s;  }
@keyframes warpStreak {
    0%   { height: 0;   opacity: 0; }
    25%  { opacity: .9; }
    100% { height: 110px; opacity: 0; }
}

.preloader__tagline {
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--text-mute);
    opacity: 0;
    animation: preFadeUp .6s var(--ease) .3s forwards;
}
@keyframes preFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* legacy aliases - keep so old markup variations don't break */
.preloader__journey, .preloader__route, .preloader__dot,
.preloader__road, .preloader__rail, .preloader__lanes, .preloader__marker, .preloader__bar {
    display: none;
}

/* scroll progress bar */
.progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 200;                    /* above sidebar/topbar */
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.progress-bar__fill {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-2));
    box-shadow: 0 0 12px rgba(74,144,196,.7), 0 0 6px rgba(107,168,214,.9);
    transition: width .12s linear;
    transform-origin: left center;
}

/* sidebar */
.sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--sidebar-w);
    z-index: 100;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-right: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* TOP: logo centred horizontally, anchored at top */
.sidebar__logo {
    flex-shrink: 0;
    align-self: center;
    width: 78px; height: 78px;
    margin: 28px 0 22px;
    display: flex; align-items: center; justify-content: center;
    transition: transform .4s var(--ease);
}
.sidebar__logo img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.sidebar__logo:hover { transform: scale(1.05); }
/* hairline below the logo - subtle separator */
.sidebar__logo::after {
    content: '';
    position: absolute;
    left: 32px; right: 32px;
    margin-top: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
    pointer-events: none;
}

/* NAV: vertical scroll if too tall */
.sidebar__nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 0 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.10) transparent;
}
.sidebar__nav::-webkit-scrollbar { width: 4px; }
.sidebar__nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.10); border-radius: 2px; }
.sidebar__nav::-webkit-scrollbar-track { background: transparent; }

/* Group block - subtle highlight when contains active item */
.sidebar__group {
    position: relative;
    padding: 10px 0;
    margin: 0;
    transition: background .35s var(--ease);
}
.sidebar__group + .sidebar__group {
    border-top: 1px solid rgba(255,255,255,.04);
}
.sidebar__group.is-active {
    background: linear-gradient(90deg, rgba(74,144,196,.06) 0%, rgba(74,144,196,.02) 60%, transparent 100%);
}
.sidebar__group.is-active::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74,144,196,.5);
}

.sidebar__group-title {
    display: block;
    padding: 6px 28px 8px;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(232,236,243,.40);
    transition: color .3s var(--ease);
}
.sidebar__group.is-active .sidebar__group-title {
    color: var(--accent);
}

.sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; flex-direction: column;
    gap: 1px;
}

/* Each link: number · label · animated underline */
.sidebar__link {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 10px 28px;
    font-family: var(--font-display);
    color: rgba(232,236,243,.65);
    text-decoration: none;
    transition: color .3s var(--ease);
}
.sidebar__num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
    color: rgba(232,236,243,.30);
    transition: color .3s var(--ease);
    font-variant-numeric: tabular-nums;
}
.sidebar__label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
}
/* All clickable standalone images get a zoom cursor + subtle hover hint */
[data-clickable-img] { cursor: zoom-in; }
[data-clickable-img] img { transition: filter .35s var(--ease); }
[data-clickable-img]:hover img { filter: brightness(.95); }

/* eyebrow */
.section__eyebrow,
.lede__eyebrow,
.story__eyebrow,
.partnership__eyebrow,
.page-header__eyebrow,
.final-cta__eyebrow,
.tribute__eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    padding: 0 !important;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    line-height: 1;
    margin-bottom: 24px;
    overflow: visible;
    position: relative;
}
/* Hairline that draws-in from 0 to 32px when revealed */
.section__eyebrow::before,
.lede__eyebrow::before,
.story__eyebrow::before,
.partnership__eyebrow::before,
.page-header__eyebrow::before,
.final-cta__eyebrow::before,
.tribute__eyebrow::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74,144,196,.45);
    flex-shrink: 0;
    transition: width .9s cubic-bezier(.65,0,.35,1) .1s;
    animation: none;
}
/* Subtle scan shimmer along the line - extra "alive" feel */
.section__eyebrow::after,
.lede__eyebrow::after,
.story__eyebrow::after,
.partnership__eyebrow::after,
.page-header__eyebrow::after,
.final-cta__eyebrow::after,
.tribute__eyebrow::after { display: none; }

/* When IntersectionObserver adds .in to .reveal parent, OR the eyebrow
   itself is .reveal -> animate the line out to its full width.  */
.section__eyebrow.reveal::before,
.lede__eyebrow.reveal::before,
.story__eyebrow.reveal::before,
.partnership__eyebrow.reveal::before,
.page-header__eyebrow.reveal::before,
.final-cta__eyebrow.reveal::before,
.tribute__eyebrow.reveal::before { width: 0; }

.section__eyebrow.reveal.in::before,
.lede__eyebrow.reveal.in::before,
.story__eyebrow.reveal.in::before,
.partnership__eyebrow.reveal.in::before,
.page-header__eyebrow.reveal.in::before,
.final-cta__eyebrow.reveal.in::before,
.tribute__eyebrow.reveal.in::before { width: 32px; }

/* Default state when JS isn't ready - line is visible at 32px */
html:not(.js-ready) .section__eyebrow::before,
html:not(.js-ready) .lede__eyebrow::before,
html:not(.js-ready) .story__eyebrow::before,
html:not(.js-ready) .partnership__eyebrow::before,
html:not(.js-ready) .page-header__eyebrow::before,
html:not(.js-ready) .final-cta__eyebrow::before,
html:not(.js-ready) .tribute__eyebrow::before { width: 32px; }

/* If JS IS ready but element isn't a reveal target, still show line */
.js-ready .section__eyebrow:not(.reveal)::before,
.js-ready .lede__eyebrow:not(.reveal)::before,
.js-ready .story__eyebrow:not(.reveal)::before,
.js-ready .partnership__eyebrow:not(.reveal)::before,
.js-ready .page-header__eyebrow:not(.reveal)::before,
.js-ready .final-cta__eyebrow:not(.reveal)::before,
.js-ready .tribute__eyebrow:not(.reveal)::before { width: 32px; }

.final-cta__eyebrow::after { display: none; }

/* hairline that grows from left edge on hover/active */
.sidebar__line {
    position: absolute;
    left: 0; top: 50%;
    width: 0; height: 1px;
    background: var(--accent);
    transform: translateY(-.5px);
    transition: width .35s var(--ease);
}
.sidebar__link:hover { color: var(--text); }
.sidebar__link:hover .sidebar__num { color: var(--accent); }
.sidebar__link:hover .sidebar__line { width: 16px; }
.sidebar__link.active { color: var(--text); }
.sidebar__link.active .sidebar__num { color: var(--accent); }
.sidebar__link.active .sidebar__line {
    width: 22px;
    box-shadow: 0 0 10px rgba(74,144,196,.6);
}

/* foot: a11y trigger above lang switcher */
.sidebar__foot {
    flex-shrink: 0;
    padding: 14px 24px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    border-top: 1px solid rgba(255,255,255,.05);
}

/* a11y */
.a11y {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}
.a11y__trigger {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 8px;
    background: transparent;
    border: 0;
    color: rgba(232,236,243,.38);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s var(--ease);
}
.a11y__trigger:hover,
.a11y.is-open .a11y__trigger { color: var(--text); }
.a11y__icon { color: var(--accent); opacity: .8; transition: opacity .25s var(--ease); }
.a11y__trigger:hover .a11y__icon,
.a11y.is-open .a11y__icon { opacity: 1; }
.a11y__label { white-space: nowrap; }

/* Floating panel - opens upward (drop-up) above the sidebar foot */
.a11y__panel {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    width: 230px;
    transform: translateX(-50%) translateY(8px);
    background: rgba(10, 13, 18, .85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px 12px 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.5);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .25s var(--ease);
    z-index: 12;
}
.a11y.is-open .a11y__panel {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Page-level low-opacity overlay when panel is open (very subtle scrim) */
.a11y::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 11, .12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), visibility .25s var(--ease);
    z-index: 11;
}
.a11y.is-open::before {
    opacity: 1; visibility: visible; pointer-events: auto;
}

.a11y__panel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4px 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.a11y__panel-title {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent);
}
.a11y__close {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(232,236,243,.5);
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.a11y__close:hover { color: var(--text); background: rgba(255,255,255,.05); }

.a11y__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; flex-direction: column;
    gap: 1px;
}
.a11y__opt {
    width: 100%;
    display: grid;
    grid-template-columns: 24px 1fr 20px;
    align-items: center;
    column-gap: 10px;
    padding: 8px 8px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: rgba(232,236,243,.7);
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.a11y__opt:hover { background: rgba(255,255,255,.04); color: var(--text); }
.a11y__opt[aria-checked="true"] { color: var(--text); }

.a11y__opt-icon {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    color: rgba(232,236,243,.4);
    text-align: center;
    transition: color .2s var(--ease);
}
.a11y__opt[aria-checked="true"] .a11y__opt-icon { color: var(--accent); }
.a11y__opt-label { letter-spacing: .02em; }

.a11y__opt-toggle {
    width: 20px; height: 12px;
    border-radius: 100px;
    background: rgba(255,255,255,.10);
    position: relative;
    transition: background .25s var(--ease);
}
.a11y__opt-toggle::after {
    content: '';
    position: absolute;
    left: 2px; top: 2px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    transition: left .25s var(--ease), background .25s var(--ease);
}
.a11y__opt[aria-checked="true"] .a11y__opt-toggle { background: var(--accent); }
.a11y__opt[aria-checked="true"] .a11y__opt-toggle::after { left: 10px; background: #fff; }

.a11y__reset {
    width: 100%;
    margin-top: 8px;
    padding: 7px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(232,236,243,.55);
    background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px;
    cursor: pointer;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.a11y__reset:hover { color: var(--text); border-color: rgba(255,255,255,.18); }

.a11y__note {
    margin: 10px 0 0;
    font-size: 9.5px;
    line-height: 1.5;
    letter-spacing: .04em;
    color: rgba(232,236,243,.4);
    text-align: center;
}

/* a11y effects */
/* High contrast - boost text and surfaces */
html.a11y-contrast {
    --text:        #ffffff;
    --text-mute:   #d8dee7;
    --text-dim:    #b8c2d1;
    --silver:      #ffffff;
    --line:        rgba(255,255,255,.32);
    --line-hi:     rgba(255,255,255,.45);
    --bg-0:        #000000;
    --accent:      #6cb1ff;
    --accent-2:    #92c8ff;
}
html.a11y-contrast body::before,
html.a11y-contrast body::after { display: none; }
html.a11y-contrast .hero__overlay,
html.a11y-contrast .page-header__overlay {
    background: rgba(0,0,0,.65) !important;
}

/* Larger text - bump font sizes 20% */
html.a11y-larger-text { font-size: 120%; }
html.a11y-larger-text body { font-size: 17px; line-height: 1.7; }

/* Readable font - swap display + body to high-legibility system stack */
html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
    letter-spacing: .01em !important;
    word-spacing: .05em !important;
}
html.a11y-readable-font * { line-height: 1.7 !important; }

/* Underline links - re-enable native underline on anchors */
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px; }

/* Reduced motion - kill animations everywhere */
html.a11y-reduced-motion *,
html.a11y-reduced-motion *::before,
html.a11y-reduced-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* Focus enhancement - always-on visible focus ring (better than default in WCAG) */
html.a11y-contrast :focus-visible,
html.a11y-larger-text :focus-visible,
html.a11y-readable-font :focus-visible,
html.a11y-underline-links :focus-visible,
html.a11y-reduced-motion :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* MOBILE TOPBAR (only visible ≤ 1024) */
.topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    min-height: var(--topbar-h);
    z-index: 95;
    padding: env(safe-area-inset-top) 18px 0;
    align-items: center; justify-content: flex-end;
    gap: 12px;
    background: linear-gradient(180deg, rgba(6,8,11,.7) 0%, rgba(6,8,11,.45) 100%);
    transition: background .35s var(--ease), opacity .35s var(--ease), visibility .35s var(--ease);
}
.topbar.scrolled {
    background: rgba(8, 11, 16, 0.88);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.topbar__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.topbar__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* When the fullscreen menu is open, hide the topbar logo (menu has its own
   centered logo) and the hamburger turns into an X inside the menu. */
body.menu-open .topbar__logo { opacity: 0; visibility: hidden; }
body.menu-open .topbar__hamburger { opacity: 0; visibility: hidden; }

.topbar__hamburger {
    width: 44px; height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    padding: 12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.topbar__hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all .3s var(--ease);
}
.topbar__hamburger span:nth-child(2) { width: 14px; }
.topbar__hamburger span:nth-child(3) { width: 18px; }
.topbar__hamburger:hover span,
.topbar__hamburger:focus-visible span { background: var(--accent); }
.topbar__hamburger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ----------- Lang switcher - subtle inline strip with sliding underline ----------- */
.lang-switcher {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 4px 6px 8px;
}
.lang-switcher__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-right: 8px;
    color: #fff;
    opacity: .85;
}
.lang-switcher__icon svg { display: block; }
.lang-switcher__opt {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 8px 0 10px;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .22em;
    color: rgba(232,236,243,.38);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: center;
    transition: color .3s var(--ease);
    white-space: nowrap;
}
.lang-switcher__opt:hover { color: rgba(232,236,243,.78); }
.lang-switcher__opt.active { color: var(--text); }

/* Sliding underline indicator - moves between active language */
.lang-switcher__indicator {
    position: absolute;
    z-index: 1;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74,144,196,.55);
    transition: left .4s cubic-bezier(.65, 0, .35, 1),
                width .4s cubic-bezier(.65, 0, .35, 1);
    pointer-events: none;
}

/* MAIN (offset by fixed sidebar) */
.main {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    overflow: hidden;
}

/* hero */
.hero {
    position: relative;
    width: 100%;
    margin: 0 0 -1px;
    min-height: 100vh;
    min-height: max(100vh, 720px);
    display: flex; align-items: flex-end;
    padding: 90px 0 80px;
    overflow: hidden;
    background: var(--bg-0);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
    animation: heroZoom 28s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.0); }
    to   { transform: scale(1.08); }
}
.hero__overlay {
    position: absolute; inset: 0;
    /* solid base tint - separate property so it actually applies */
    background-color: rgba(6, 8, 11, .45);
    /* Stacked image layers - top one paints first */
    background-image:
        /* Top vignette: extra darkening near header */
        linear-gradient(180deg,
            rgba(6,8,11,.55) 0%,
            rgba(6,8,11,.20) 35%,
            rgba(6,8,11,.40) 60%,
            rgba(6,8,11,.92) 90%,
            var(--bg-0) 100%),
        /* Diagonal mood */
        linear-gradient(120deg,
            rgba(6,8,11,.65) 0%,
            rgba(6,8,11,.30) 50%,
            rgba(6,8,11,.55) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 6vw;
    width: 100%;
    margin: 0 auto;
    align-self: center;
    margin-bottom: 60px;
}
.hero__content {
    /* keep editorial alignment - text doesn't centre when content is short */
    margin-left: 0;
    margin-right: auto;
    padding-left: 6vw;
    padding-right: 6vw;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.02;
    letter-spacing: -.02em;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #ecf0f6 70%, #d2d8e3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__tagline {
    font-size: clamp(12px, 1.4vw, 14px);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .28em;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.hero__lead {
    font-size: 16px;
    color: var(--silver);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.65;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
    position: absolute; left: 6vw; bottom: 60px;
    z-index: 3;
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    color: rgba(232,236,243,.55);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: .42em;
    text-transform: uppercase;
}
.hero__scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, rgba(232,236,243,.35), transparent);
    margin-left: 2px;
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    left: 0; top: -50%;
    width: 100%; height: 50%;
    background: var(--accent);
    animation: scrollLine 2.4s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes scrollLine {
    0%   { top: -50%; }
    100% { top: 100%; }
}

/* hero meta (coordinates / S61 / 24/7) - subtle right-side info */
.hero__meta {
    position: absolute;
    right: 6vw; bottom: 60px;
    z-index: 3;
    display: flex;
    gap: 36px;
    color: var(--text);
}
.hero__meta-item {
    display: flex; flex-direction: column; gap: 4px;
    text-align: right;
}
.hero__meta-num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--accent);
}
.hero__meta-lbl {
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(232,236,243,.5);
    font-weight: 500;
}

/* Hero fade is handled by .hero__overlay's bottom gradient (down to bg-0).
   Empty marker kept for backwards-compat HTML. */
.hero__fade { display: none; }

/* Hero -> first section: subtle top fade so content emerges seamlessly */
.hero + .section {
    position: relative;
    padding-top: 100px;
}
.hero + .section::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 140px;
    background: linear-gradient(180deg, var(--bg-0) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.hero + .section .section__inner { position: relative; z-index: 1; }

/* page-header -> next section: same treatment */
.page-header + .section {
    border-top: 0;
    position: relative;
    padding-top: 100px;
}
.page-header + .section::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 140px;
    background: linear-gradient(180deg, var(--bg-0) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.page-header + .section .section__inner { position: relative; z-index: 1; }

/* PAGE HEADER (sub-pages) */
.page-header {
    position: relative;
    min-height: 70vh;
    min-height: max(70vh, 580px);
    display: flex;
    align-items: flex-end;
    padding: 130px 6vw 80px;
    overflow: hidden;
    margin-bottom: -1px;
}
.page-header__bg { position: absolute; inset: 0; z-index: 0; }
.page-header__bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.02);
}
.page-header__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(6,8,11,.50) 0%, rgba(6,8,11,.35) 40%, rgba(6,8,11,.85) 80%, var(--bg-0) 100%),
        linear-gradient(95deg, rgba(6,8,11,.55) 0%, rgba(6,8,11,.10) 60%, transparent 100%);
}

.page-header__inner {
    position: relative; z-index: 2;
    max-width: 920px;
}
.page-header__crumbs {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--text-mute);
    margin-bottom: 36px;
}
.page-header__crumbs a {
    color: var(--text-mute);
    transition: color .25s var(--ease);
}
.page-header__crumbs a:hover { color: var(--accent); }
.page-header__crumb-sep { color: var(--text-dim); opacity: .6; }
.page-header__crumb-current { color: var(--text); }

.page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0;
    background: transparent;
    border: 0;
    margin-bottom: 22px;
}
.page-header__eyebrow::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--accent);
}
.page-header__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(34px, 4.8vw, 60px);
    line-height: 1.05;
    letter-spacing: -.018em;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 22ch;
}
.page-header__lead {
    font-size: 17.5px;
    color: var(--silver);
    max-width: 68ch;
    line-height: 1.7;
}

/* buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px 13px 20px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 100px;            /* pill */
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    transition: gap .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
    text-decoration: none;
}

/* tech "status dot" before label - subtle indicator like an LED */
/* tech arrow after label - line-style, slides on hover */
.btn::after {
    content: '→';
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0;
    color: currentColor;
    margin-left: auto;
    transition: transform .35s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }
.btn:hover { gap: 16px; }

/* PRIMARY - solid blue pill with white interior */
.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(44, 90, 138, .28);
}
.btn--primary:hover {
    background: var(--accent-2);
    box-shadow: 0 10px 28px rgba(44, 90, 138, .4);
}
/* GHOST - hairline pill, stays transparent */
.btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,.16);
    color: rgba(232,236,243,.85);
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
/* utility variants */
.btn--full {
    width: 100%;
    padding: 15px 28px;
}
.btn--sm {
    padding: 9px 18px 9px 16px;
    font-size: 13px;
    letter-spacing: 0;
    gap: 8px;
}
.btn--sm::after { font-size: 13px; }

/* Buttons WITHOUT trailing arrow (used inline, e.g. in form submit) */
.btn--plain::after { display: none; }

/* SECTION TRANSITION (now invisible */
.section-transition { display: none; }

/* generic section */
.section {
    position: relative;
    padding: 88px 6vw;
    background: transparent;
}
.section--dark   { background: transparent; }
.section--intro  { padding-top: 88px; padding-bottom: 72px; }
.section--stats  { padding: 64px 6vw; }
.section--story  { padding: 72px 0; }
.section--cta    { padding: 96px 6vw 112px; }
/* .section--reel and .section--tribute keep their own (smaller) rhythm */
.section__inner  { max-width: 1440px; margin: 0 auto; position: relative; z-index: 2; }

/* No automatic separator between sections - cleaner vertical flow */
.section + .section::before { content: none; }

.section__head { margin-bottom: 38px; max-width: 780px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--glass-2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-edge);
    border-radius: 100px;
}
/* H2 - section heading scale (used everywhere) */
.section__title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.014em;
    margin-bottom: 22px;
    color: var(--text);
    max-width: 26ch;
}
.section__head--center .section__title { max-width: 28ch; margin-left: auto; margin-right: auto; }
.section__lead {
    font-size: 17px;
    color: var(--silver);
    line-height: 1.7;
    max-width: 68ch;
}
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

/* editorial homepage components */

/* lede + prose (intro section) */
.lede {
    max-width: 1040px;
    margin-bottom: 60px;
}
.lede__eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .44em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}
.lede__eyebrow::before {
    content: '';
    width: 36px; height: 1px;
    background: var(--accent);
}
/* H1 - lede / page-header heading scale */
.lede__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.06;
    letter-spacing: -.018em;
    color: var(--text);
    max-width: 24ch;
    background: linear-gradient(180deg, var(--text) 0%, rgba(232,236,243,.78) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.prose {
    columns: 2;
    column-gap: 72px;
    max-width: 100%;
    margin-top: 40px;
}
.prose p {
    color: var(--silver);
    line-height: 1.85;
    font-size: 16.5px;
    margin-bottom: 20px;
    break-inside: avoid;
}
.prose p:first-child {
    color: var(--text);
    font-size: 18.5px;
    line-height: 1.65;
    font-weight: 400;
}

/* stats ribbon */
.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stats-ribbon__item {
    position: relative;
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 1px solid var(--line);
    transition: background .35s var(--ease);
    overflow: hidden;
}
.stats-ribbon__item:last-child { border-right: 0; }
/* subtle "scan" highlight that sweeps across on hover */
.stats-ribbon__item::before {
    content: '';
    position: absolute;
    left: -100%; top: 0;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74,144,196,.06), transparent);
    transition: left .9s var(--ease);
    pointer-events: none;
}
.stats-ribbon__item:hover::before { left: 130%; }
.stats-ribbon__item:hover { background: rgba(74,144,196,.025); }

/* line-art icon - subtle, glows on hover */
.stats-ribbon__icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    opacity: .75;
    transition: opacity .35s var(--ease), transform .4s var(--ease), filter .35s var(--ease);
}
.stats-ribbon__icon svg { width: 100%; height: 100%; }
.stats-ribbon__item:hover .stats-ribbon__icon {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(74,144,196,.55));
}

.stats-ribbon__data {
    display: flex; flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.stats-ribbon__key {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.005em;
    color: var(--text);
    transition: color .3s var(--ease);
}
.stats-ribbon__item:hover .stats-ribbon__key { color: var(--accent); }
.stats-ribbon__lbl {
    font-family: var(--font-display);
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 500;
    line-height: 1.45;
}

/* legacy alias */
.stats-strip { display: contents; }

/* index-list - editorial numbered links, transparent */
.index-list {
    border-top: 1px solid var(--line);
    margin-top: 30px;
}
.index-list__item {
    border-bottom: 1px solid var(--line);
    transition: background .35s var(--ease);
}
.index-list__item:hover { background: rgba(74,144,196,.025); }
.index-list__item a {
    display: grid;
    grid-template-columns: 64px minmax(220px, 1.2fr) minmax(0, 1.6fr) 48px;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    color: var(--text);
    text-decoration: none;
    transition: gap .35s var(--ease);
}
.index-list__item:hover a { gap: 48px; }
.index-list__num {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    color: var(--accent);
}
.index-list__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1.2;
}
.index-list__desc {
    color: var(--silver);
    font-size: 15px;
    line-height: 1.55;
}
.index-list__arrow {
    justify-self: end;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--text-mute);
    transition: color .3s var(--ease), transform .3s var(--ease);
}
.index-list__item:hover .index-list__arrow {
    color: var(--accent);
    transform: translateX(6px);
}

/* story - clean grid, no overlap. Text sits in its own column. */
.story {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 6vw;
}
.story--right .story__media { grid-column: 2; grid-row: 1; }
.story--right .story__text  { grid-column: 1; grid-row: 1; }

.story__media {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 6px;
    background: var(--glass-1);
}
.story__media img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 45%;
    transition: opacity .55s var(--ease), transform 1.4s var(--ease), filter .6s var(--ease);
    filter: brightness(.96) saturate(1);
}
.story:hover .story__media img {
    transform: scale(1.03);
    filter: brightness(1.02) saturate(1.06);
}

.story__text {
    display: flex; flex-direction: column; justify-content: center;
    max-width: 520px;
}
.story--right .story__text { margin-left: auto; }

@media (max-width: 1100px) {
    .story, .story--right {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 32px;
    }
    .story__media, .story--right .story__media { grid-column: 1; grid-row: 1; }
    .story__text, .story--right .story__text {
        grid-column: 1; grid-row: 2;
        margin: 0;
        max-width: none;
    }
}
.story__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}
.story__eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--accent);
}
/* H3 - story / partnership scale */
.story__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.18;
    letter-spacing: -.012em;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 22ch;
}
.story__text p {
    color: var(--silver);
    font-size: 16.5px;
    line-height: 1.78;
    margin-bottom: 24px;
    max-width: 56ch;
}
.story__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--accent);
    transition: gap .3s var(--ease), color .25s var(--ease);
}
.story__cta:hover { gap: 16px; color: var(--accent-2); }

/* tribute */
/* Full-bleed photo background, heavy darken, content centered overlay. */
.section--tribute {
    position: relative;
    padding: 140px 6vw;
    margin: 56px 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-0);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tribute__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.tribute__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transition: opacity .55s var(--ease);
}
.tribute__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(6,8,11,.94) 0%,
            rgba(6,8,11,.88) 45%,
            rgba(6,8,11,.88) 55%,
            rgba(6,8,11,.96) 100%),
        radial-gradient(ellipse 70% 60% at 50% 50%,
            rgba(74,144,196,.08) 0%,
            transparent 60%);
}
.tribute {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
/* tribute eyebrow uses the unified eyebrow style defined earlier */

.tribute__quote {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}
.tribute__quote p {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.32;
    letter-spacing: -.006em;
    color: var(--text);
    margin: 0 0 22px;
}
.tribute__quote em {
    font-style: normal;
    color: var(--accent);
    font-weight: 600;
}
.tribute__line {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--silver) !important;
    font-weight: 400 !important;
    margin: 0 0 18px !important;
}
.tribute__hashtag {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--accent);
}

@media (max-width: 860px) {
    .tribute__quote p { font-size: 19px; }
}

/* final CTA - centered editorial (padding defined once above) */
.final-cta {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.final-cta__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}
.final-cta__eyebrow::before,
.final-cta__eyebrow::after {
    content: '';
    width: 32px; height: 1px;
    background: var(--accent);
}
.final-cta__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(26px, 3.4vw, 42px);
    line-height: 1.1;
    letter-spacing: -.014em;
    color: var(--text);
    margin-bottom: 20px;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}
.final-cta__lead {
    font-size: 17.5px;
    color: var(--silver);
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.final-cta__actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* legacy intro-grid (kept for backwards compat with subpages) */
.intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: start;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.intro-text { padding-top: 8px; }
.intro-text .section__eyebrow { margin-bottom: 24px; }
.intro-text .section__title { margin-bottom: 28px; }
.intro-text p {
    color: var(--silver);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 16px;
}
.intro-text p:first-of-type { color: var(--text); font-size: 18px; line-height: 1.65; }

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.stat {
    position: relative;
    padding: 28px 26px 26px;
    background: transparent;
    border-radius: var(--radius);
    transition: transform .35s var(--ease);
    overflow: hidden;
}
.stat::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.04) 30%,
        transparent 55%,
        rgba(74,144,196,0.20) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.stat:hover { transform: translateY(-3px); }
.stat:hover .stat__num { color: var(--accent-2); }
.stat__num {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -.01em;
    transition: color .25s var(--ease);
}
.stat__label {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--text-mute);
    line-height: 1.45;
}

/* TILES (home services grid) */
/* TILES (home services) */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.tile {
    position: relative;
    display: flex; flex-direction: column;
    background: transparent;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    padding: 24px 24px 28px;
    transition: transform .35s var(--ease);
    overflow: hidden;
}
.tile::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.04) 30%,
        transparent 55%,
        rgba(74,144,196,0.16) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile:hover::after {
    background: linear-gradient(135deg,
        rgba(107,168,214,0.45) 0%,
        rgba(74,144,196,0.10) 30%,
        transparent 55%,
        rgba(74,144,196,0.36) 100%);
}

.tile__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 22px;
}
.tile__media img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 45%;
    transition: opacity .55s var(--ease), transform .9s var(--ease), filter .5s var(--ease);
    filter: brightness(.94) saturate(.98);
}
.tile:hover .tile__media img {
    transform: scale(1.04);
    filter: brightness(1.02) saturate(1.04);
}
.tile__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6,8,11,.55) 100%);
    pointer-events: none;
}

.tile__body {
    position: relative;
    display: flex; flex-direction: column;
    flex: 1;
}
.tile__num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    color: var(--accent);
    margin-bottom: 10px;
}
.tile__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.005em;
    margin-bottom: 10px;
    color: var(--text);
}
.tile__desc {
    color: var(--silver);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.tile__cta {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .3s var(--ease);
    margin-top: auto;
}
.tile:hover .tile__cta { gap: 14px; }

/* reel */
.section--reel { padding: 64px 6vw 72px; }
.reel {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
}
.reel__video {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: filter .6s var(--ease);
}
/* Dimmed overlay - covers the still video until the user presses play.
   Strong tint + subtle vignette so the play button stands out cleanly. */
.reel__overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(6,8,11,.45) 0%, rgba(6,8,11,.65) 100%),
        linear-gradient(180deg, rgba(6,8,11,.30) 0%, rgba(6,8,11,.55) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity .55s var(--ease);
}
.reel.is-playing .reel__overlay { opacity: 0; }
/* Custom controls - hide native (no seek bar) */
.reel__video::-webkit-media-controls,
.reel__video::-webkit-media-controls-enclosure { display: none !important; }
.reel__video { pointer-events: none; }       /* prevent click-to-seek */

/* Center play/pause button */
.reel__play {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border: 1px solid rgba(255,255,255,.30);
    color: #fff;
    cursor: pointer;
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s var(--ease), background .25s var(--ease), border-color .25s var(--ease), opacity .3s var(--ease);
}
.reel__play .reel__icon-play  { margin-left: 2px; display: block; }
.reel__play .reel__icon-pause { display: none; }
.reel__play.playing .reel__icon-play { display: none; }
.reel__play.playing .reel__icon-pause { display: block; }
.reel__play:hover {
    transform: translate(-50%,-50%) scale(1.08);
    background: rgba(74,144,196,.5);
    border-color: var(--accent);
}
/* Hide play button while playing - reveal on reel hover */
.reel__play.playing { opacity: 0; }
.reel:hover .reel__play.playing { opacity: 1; }

/* Mute toggle - bottom-right corner */
.reel__mute {
    position: absolute;
    right: 14px; bottom: 14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(20,23,28,.55);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    cursor: pointer;
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.reel:hover .reel__mute,
.reel__mute:focus-visible { opacity: 1; }
.reel__mute:hover { background: rgba(74,144,196,.5); border-color: var(--accent); transform: scale(1.05); }
.reel__mute .reel__icon-off { display: none; }
.reel__mute.muted .reel__icon-on { display: none; }
.reel__mute.muted .reel__icon-off { display: block; }

/* Subtle hover tweak only on the play button - overlay stays until play */

@media (max-width: 860px) {
    .section--reel { padding: 40px 22px; }
    .reel { border-radius: 10px; }
    .reel__play { width: 48px; height: 48px; }
}

/* legacy fallback */
.video-section { padding: 0 6vw 100px; }
.video-section__wrap { max-width: 1320px; margin: 0 auto; }

/* cta strip */
.cta-strip__inner {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 50px;
    align-items: end;
    padding: 60px 0 10px;
    border-top: 1px solid var(--line);
    position: relative;
}
.cta-strip__inner::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 96px; height: 1px;
    background: var(--accent);
}
.cta-strip__inner > div:first-child .section__title { margin-bottom: 16px; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* info cards */
.cards-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 80px;
}
.info-card {
    position: relative;
    padding: 38px 36px 34px;
    background: transparent;
    border-radius: var(--radius);
    transition: transform .35s var(--ease);
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.04) 30%,
        transparent 55%,
        rgba(74,144,196,0.18) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}
.info-card:hover { transform: translateY(-2px); }
.info-card:hover::before {
    background: linear-gradient(135deg,
        rgba(107,168,214,0.42) 0%,
        rgba(74,144,196,0.10) 30%,
        transparent 55%,
        rgba(74,144,196,0.36) 100%);
}

.info-card--accent {
    background: transparent;
}
.info-card--accent::before {
    background: linear-gradient(135deg,
        rgba(107,168,214,0.40) 0%,
        rgba(74,144,196,0.16) 30%,
        transparent 60%,
        rgba(74,144,196,0.24) 100%);
}
.info-card--full {
    grid-column: 1 / -1;
    margin: 0 0 40px;
}
.info-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--text);
    letter-spacing: -.005em;
}
.info-card p {
    color: var(--silver);
    margin-bottom: 14px;
    line-height: 1.75;
    font-size: 15.5px;
}
.info-card p:last-of-type { margin-bottom: 0; }
.info-card .btn { margin-top: 22px; }

.dot-list { display: flex; flex-direction: column; gap: 12px; }
.dot-list li {
    position: relative;
    padding-left: 22px;
    color: var(--silver);
    font-size: 15.5px;
    line-height: 1.6;
}
.dot-list li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 12px; height: 1px;
    background: var(--accent);
}

.card-tags { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.card-tags span {
    padding: 0 0 4px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--accent);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text);
    font-family: var(--font-display);
}

/* features & room-features */
.features, .rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.feature, .room-feature {
    position: relative;
    padding: 32px 28px;
    background: transparent;
    border-radius: var(--radius);
    transition: transform .35s var(--ease);
    overflow: hidden;
}
.feature::before, .room-feature::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.04) 30%,
        transparent 55%,
        rgba(74,144,196,0.16) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}
.feature:hover, .room-feature:hover { transform: translateY(-3px); }
.feature:hover::before, .room-feature:hover::before {
    background: linear-gradient(135deg,
        rgba(107,168,214,0.40) 0%,
        rgba(74,144,196,0.10) 30%,
        transparent 55%,
        rgba(74,144,196,0.32) 100%);
}

.feature__icon, .room-feature__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--line-hi);
    border-radius: 4px;
    color: var(--accent);
    margin-bottom: 22px;
    transition: all .3s var(--ease);
}
.feature:hover .feature__icon,
.room-feature:hover .room-feature__icon {
    border-color: var(--accent);
    background: rgba(74,144,196,.05);
}
.feature h3, .room-feature h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -.005em;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.25;
}
.feature p, .room-feature p {
    color: var(--silver);
    font-size: 14.5px;
    line-height: 1.65;
}

/* currency cards */
.exchange-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.currency-card {
    position: relative;
    padding: 24px 16px 22px;
    text-align: center;
    transition: transform .35s var(--ease);
    display: flex; flex-direction: column; gap: 4px;
    background: transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.currency-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.04) 30%,
        transparent 55%,
        rgba(74,144,196,0.16) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.currency-card:hover { transform: translateY(-3px); }
.currency-card:hover .currency-card__code { color: var(--accent-2); }
.currency-card__code {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -.01em;
    transition: color .25s var(--ease);
}
.currency-card__name {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-mute);
}

/* gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
}
.gallery--big { grid-template-columns: repeat(4, 1fr); gap: 14px; }

.gallery__item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--glass-1);
    border: 1px solid var(--glass-edge);
    transition: all .4s var(--ease);
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transition: opacity .55s var(--ease), transform .8s var(--ease), filter .4s var(--ease);
    filter: brightness(.96) saturate(.96);
}
.gallery__item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6) 100%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.gallery__item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 14px 42px rgba(44, 90, 138, .25);
}
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.05); }
.gallery__item:hover::after { opacity: 1; }

.gallery__item-zoom {
    position: absolute;
    right: 12px; top: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--glass-3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-edge);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    opacity: 0;
    transform: translateY(-6px);
    transition: all .35s var(--ease);
    z-index: 2;
}
.gallery__item:hover .gallery__item-zoom { opacity: 1; transform: translateY(0); }

/* gallery tabs (galeria.php) */
.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: var(--glass-1);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid var(--glass-edge);
    border-radius: 100px;
    width: fit-content;
}
.gallery-tab {
    padding: 9px 18px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-mute);
    border-radius: 100px;
    transition: all .25s var(--ease);
}
.gallery-tab:hover { color: var(--text); }
.gallery-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
    box-shadow: 0 4px 12px rgba(44, 90, 138, .3);
}

/* contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block h4 {
    font-family: var(--font-display);
    font-size: 12.5px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-block p { color: var(--text); font-size: 16px; line-height: 1.7; }
.contact-block a {
    color: var(--text);
    border-bottom: 1px solid var(--line-hi);
    transition: color .25s var(--ease), border-color .25s var(--ease);
}
.contact-block a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
    background: var(--glass-1);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--glass-edge);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    box-shadow:
        0 12px 42px rgba(0,0,0,.4),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label {
    display: flex; flex-direction: column; gap: 7px;
    margin-bottom: 14px;
}
.contact-form label > span {
    font-family: var(--font-display);
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.contact-form input, .contact-form textarea, .contact-form select {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text);
    font-size: 15px;
    box-shadow: var(--neu-press-sm);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2395a0b3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow:
        var(--neu-press-sm),
        0 0 0 3px rgba(74, 144, 196, .15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-check {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 13px;
    color: var(--text-mute);
    cursor: pointer;
    line-height: 1.5;
}
.form-check input[type="checkbox"] {
    appearance: none;
    width: 18px; height: 18px;
    background: var(--bg-2);
    border: 1px solid var(--line-hi);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all .25s var(--ease);
    box-shadow: var(--neu-press-sm);
}
.form-check input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.form-check input[type="checkbox"]:checked::before {
    content: ''; position: absolute;
    left: 5px; top: 2px;
    width: 5px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); color: var(--ok); }
.form-status.error   { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: var(--danger); }

.hp-field { position: absolute !important; left: -9999px !important; height: 0 !important; width: 0 !important; opacity: 0 !important; pointer-events: none; }

/* map */
.map {
    position: relative;
    height: 520px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 50px rgba(0,0,0,.5);
    background: var(--bg-2);
}
.map__canvas {
    width: 100%; height: 100%;
    background: var(--bg-2);
}

/* Override Leaflet defaults to match dark theme */
.leaflet-container { background: #0a0d12; outline: 0; font-family: var(--font-body); }
.leaflet-tile-pane { filter: brightness(1.18) contrast(.95); }
.leaflet-control-zoom {
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.5) !important;
}
.leaflet-control-zoom a {
    background: rgba(10,13,18,.85) !important;
    color: var(--text) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    transition: background .2s, color .2s;
}
.leaflet-control-zoom a:last-child { border-bottom: 0 !important; }
.leaflet-control-zoom a:hover {
    background: rgba(74,144,196,.2) !important;
    color: var(--accent) !important;
}
.leaflet-control-attribution {
    background: rgba(10,13,18,.85) !important;
    color: rgba(232,236,243,.5) !important;
    font-size: 10px !important;
    padding: 4px 8px !important;
    border-radius: 6px 0 0 0 !important;
}
.leaflet-control-attribution a { color: rgba(232,236,243,.7) !important; }

.leaflet-popup-content-wrapper {
    background: rgba(10,13,18,.94) !important;
    color: var(--text) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 36px rgba(0,0,0,.6) !important;
}
.leaflet-popup-content { font-family: var(--font-body); font-size: 13px; line-height: 1.5; margin: 12px 16px !important; }
.leaflet-popup-content strong { color: var(--accent); font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; }
.leaflet-popup-tip { background: rgba(10,13,18,.94) !important; border: 1px solid rgba(255,255,255,.10); }
.leaflet-popup-close-button { color: var(--text-mute) !important; }

/* Custom K2 marker - glued to coordinates by Leaflet */
.k2-pin {
    width: 56px; height: 56px;
    pointer-events: auto;
}
.k2-pin__pulse {
    position: absolute;
    left: 50%; top: calc(100% - 18px);
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: k2PinPulse 2.4s ease-out infinite;
    pointer-events: none;
}
.k2-pin__pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    opacity: .35;
    animation: k2PinPulse 2.4s ease-out infinite 1.2s;
}
@keyframes k2PinPulse {
    0%   { transform: translate(-50%, -50%) scale(.4); opacity: .55; }
    80%  { opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(2.0); opacity: 0; }
}
.k2-pin__dot {
    position: absolute;
    left: 50%; top: calc(100% - 18px);
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -50%) rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(44,90,138,.6);
    cursor: pointer;
    transition: transform .25s var(--ease);
}
.k2-pin__dot img {
    width: 20px; height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transform: rotate(45deg);
}
.k2-pin:hover .k2-pin__dot { transform: translate(-50%, -50%) rotate(-45deg) scale(1.1); }

/* address caption in bottom-left of map */
.map__caption {
    position: absolute;
    left: 22px; bottom: 22px;
    z-index: 3;
    padding: 14px 18px 14px 18px;
    background: rgba(10, 13, 18, 0.86);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    display: flex; flex-direction: column; gap: 4px;
    pointer-events: auto;
    max-width: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.map__caption-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent);
}
.map__caption-addr {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}
.map__caption-link {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    transition: color .25s var(--ease), gap .3s var(--ease);
    display: inline-flex; align-items: center; gap: 8px;
}
.map__caption-link:hover { color: var(--accent-2); gap: 12px; }

/* Mobile-only navigation CTA below the map */
.map__nav-mobile { display: none; }
@media (max-width: 860px) {
    .map__nav-mobile {
        display: inline-flex;
        margin-top: 16px;
        gap: 10px;
    }
    .map__nav-mobile svg {
        flex-shrink: 0;
    }
}

/* footer */
.footer {
    margin-left: var(--sidebar-w);
    background: rgba(8, 11, 15, 0.5);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-top: 1px solid var(--glass-edge);
    padding: 70px 6vw 0;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1320px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.footer__col h5 {
    font-family: var(--font-display);
    font-size: 12.5px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}
.footer__col p { color: var(--text-mute); font-size: 14.5px; line-height: 1.7; margin-bottom: 8px; }
.footer__col a { color: var(--text-mute); }
.footer__col a:hover { color: var(--accent); }
.footer__logo { width: 70px; height: 70px; margin-bottom: 14px; }
.footer__tag {
    font-family: var(--font-display);
    font-size: 13px !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text) !important;
    margin-bottom: 14px !important;
}
.footer__addr { font-size: 13.5px !important; }
.footer__nav { display: flex; flex-direction: column; gap: 7px; }
.footer__nav a { font-size: 14px; }

.footer__legal {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 0;
    display: flex; gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid var(--line);
}
.footer__legal-link {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-mute);
    background: transparent;
    border: 0;
    padding: 6px 4px;
    cursor: pointer;
    transition: color .25s var(--ease);
}
.footer__legal-link:hover { color: var(--accent); }
.footer__legal-sep { color: var(--text-dim); font-size: 12px; align-self: center; }

.footer__bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 0 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.footer__copy {
    font-size: 12.5px;
    color: var(--text-dim);
    flex: 0 1 auto;
    min-width: 0;
}

/* Lightbyte credit - heavily dimmed by default, logo lights up on hover */
.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
    font-size: 12.5px;
    letter-spacing: .03em;
    white-space: nowrap;
}
.footer__credit > span {
    color: rgba(232,236,243,.20);
    white-space: nowrap;
    transition: none;
}
.footer__lb {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    opacity: .20;
    transition: opacity .3s var(--ease);
}
.footer__credit:hover .footer__lb { opacity: 1; }
.footer__lb-svg {
    display: block;
    width: 97px;
    height: 22px;
}
.footer__lb-svg path { fill: #ffffff; }

/* MOBILE MENU DRAWER (glass) */
.mobile-menu {
    position: fixed; inset: 0;
    z-index: 200;
    background: rgba(6, 8, 11, 0.86);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    overscroll-behavior: contain;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__inner {
    height: 100%;
    max-height: 100dvh;
    display: flex; flex-direction: column;
    padding: max(30px, env(safe-area-inset-top)) 28px max(40px, env(safe-area-inset-bottom));
    transform: translateY(-12px);
    transition: transform .45s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.mobile-menu.open .mobile-menu__inner { transform: translateY(0); }

/* mobile menu mirrors the desktop sidebar: top logo, grouped nav with
   numbers, group titles in caps, subtle accent on active group/link */
.mobile-menu__logo {
    display: flex; align-items: center; justify-content: flex-start;
    width: 56px; height: 56px;
    margin: 0 0 8px;
    transition: opacity .3s var(--ease);
}
.mobile-menu__logo img { width: 100%; height: 100%; object-fit: contain; }

.mobile-menu__close {
    position: absolute; top: 22px; right: 22px;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(232,236,243,.65);
    transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.mobile-menu__close:hover {
    color: var(--accent);
    border-color: rgba(74,144,196,.35);
    background: rgba(74,144,196,.06);
}

.mobile-menu__nav {
    flex: 1;
    margin-top: 16px;
}
.mobile-menu__group {
    position: relative;
    padding: 14px 0;
    transition: background .35s var(--ease);
}
.mobile-menu__group + .mobile-menu__group {
    border-top: 1px solid rgba(255,255,255,.05);
}
.mobile-menu__group.is-active {
    background: linear-gradient(90deg, rgba(74,144,196,.06) 0%, rgba(74,144,196,.02) 60%, transparent 100%);
}
.mobile-menu__group.is-active::before {
    content: '';
    position: absolute;
    left: -28px; top: 0; bottom: 0;
    width: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74,144,196,.5);
}
.mobile-menu__group-title {
    display: block;
    padding: 4px 4px 10px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(232,236,243,.40);
    transition: color .3s var(--ease);
}
.mobile-menu__group.is-active .mobile-menu__group-title { color: var(--accent); }

.mobile-menu__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 1px;
}
.mobile-menu__link {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr 24px;
    align-items: center;
    column-gap: 16px;
    padding: 11px 4px;
    font-family: var(--font-display);
    color: rgba(232,236,243,.7);
    text-decoration: none;
    transition: color .25s var(--ease);
}
.mobile-menu__num {
    font-size: 12px;
    font-weight: 500;
    color: rgba(232,236,243,.30);
    font-variant-numeric: tabular-nums;
    transition: color .25s var(--ease);
}
.mobile-menu__label {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}
.mobile-menu__line {
    justify-self: end;
    width: 0; height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74,144,196,.45);
    transition: width .35s var(--ease);
}
.mobile-menu__link:hover { color: var(--text); }
.mobile-menu__link:hover .mobile-menu__num { color: var(--accent); }
.mobile-menu__link:hover .mobile-menu__line { width: 14px; }
.mobile-menu__link.active { color: var(--text); }
.mobile-menu__link.active .mobile-menu__num { color: var(--accent); }
.mobile-menu__link.active .mobile-menu__line { width: 18px; }

.mobile-menu__lang {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 22px;
}
.mobile-menu__lang-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    margin-right: 6px;
    color: #fff;
    opacity: .85;
    flex-shrink: 0;
}
.mobile-menu__lang-icon svg { display: block; }
.mobile-menu__lang button {
    min-width: 46px;
    height: 34px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 100px;
    color: rgba(232,236,243,.5);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.mobile-menu__lang button:hover {
    color: var(--text);
    border-color: rgba(255,255,255,.18);
}
.mobile-menu__lang button.active {
    color: var(--accent);
    border-color: rgba(74,144,196,.45);
    background: rgba(74,144,196,.08);
}

/* lightbox */
.lightbox {
    position: fixed; inset: 0;
    z-index: 500;
    visibility: hidden;
    opacity: 0;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    display: flex; align-items: center; justify-content: center;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__backdrop {
    position: absolute; inset: 0;
    background: rgba(3,4,6,.85);
    backdrop-filter: blur(28px) saturate(1.2);
    -webkit-backdrop-filter: blur(28px) saturate(1.2);
}
.lightbox__close, .lightbox__nav {
    position: absolute;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--glass-3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-edge-hi);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    transition: all .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.05);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox__stage {
    position: relative;
    max-width: 90vw;
    max-height: 86vh;
    z-index: 2;
    overflow: hidden;
}
.lightbox__track {
    position: relative;
    display: flex;
    transition: transform .5s var(--ease);
}
.lightbox__slide {
    flex: 0 0 100%;
    width: 90vw;
    height: 86vh;
    display: flex; align-items: center; justify-content: center;
}
.lightbox__slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0,0,0,.6);
    user-select: none;
    -webkit-user-drag: none;
}
.lightbox__counter {
    position: absolute;
    bottom: 132px; left: 50%; transform: translateX(-50%);
    z-index: 3;
    font-family: var(--font-display);
    font-size: 12.5px;
    letter-spacing: .25em;
    color: var(--text);
    background: rgba(20,23,28,.7);
    backdrop-filter: blur(10px);
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.12);
}

/* ----- thumbnail strip ----- */
.lightbox__thumbs {
    position: absolute;
    bottom: 22px; left: 50%; transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(20,23,28,.6);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    max-width: min(720px, calc(100vw - 32px));
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumb {
    flex: 0 0 64px;
    width: 64px; height: 48px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: .55;
    transition: opacity .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    border: 1px solid transparent;
    background: #000;
}
.lightbox__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    pointer-events: none;
}
.lightbox__thumb:hover { opacity: .9; transform: translateY(-2px); }
.lightbox__thumb.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(44, 90, 138, .4);
}

/* scroll to top */
.scroll-top {
    position: fixed;
    right: 28px; bottom: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--glass-3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-edge-hi);
    color: var(--accent);
    z-index: 80;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(.85);
    transition: all .35s var(--ease);
}
.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.scroll-top:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

/* COOKIE BANNER (glass) */
.cookie-banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    bottom: 28px;
    width: calc(100% - 56px);
    z-index: 70;
    background: var(--glass-3);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid var(--glass-edge-hi);
    border-radius: var(--radius);
    box-shadow:
        0 20px 60px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transform: translateY(140%);
    opacity: 0;
    transition: all .55s var(--ease);
    max-width: 720px;
    margin-left: auto;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-banner__inner {
    display: flex; align-items: center; gap: 22px;
    padding: 18px 22px;
}
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong {
    font-family: var(--font-display);
    font-size: 12.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}
.cookie-banner__text p { font-size: 13px; color: var(--silver); line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* MODALS (glass) */
.modal {
    position: fixed; inset: 0;
    z-index: 600;
    visibility: hidden;
    opacity: 0;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    display: flex; align-items: center; justify-content: center;
    padding: 32px;
}
.modal.open { visibility: visible; opacity: 1; }
.modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(3,4,6,.78);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.modal__panel {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: calc(100vh - 64px);
    background: rgba(10, 13, 18, 0.94);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    box-shadow:
        0 30px 80px rgba(0,0,0,.6),
        inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
    display: flex; flex-direction: column;
    transform: translateY(20px) scale(.96);
    transition: transform .45s var(--ease);
}
.modal.open .modal__panel { transform: translateY(0) scale(1); }
.modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    background: var(--glass-2);
    border: 1px solid var(--glass-edge);
    border-radius: 50%;
    color: var(--text);
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s var(--ease);
}
.modal__close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.modal__content {
    padding: 56px 60px 50px;
    overflow-y: auto;
    color: var(--silver);
    font-size: 15px;
    line-height: 1.78;
}
.modal__content::-webkit-scrollbar { width: 8px; }
.modal__content::-webkit-scrollbar-thumb { background: var(--line-hi); border-radius: 4px; }
.modal__content::-webkit-scrollbar-track { background: transparent; }
.modal__content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: -.005em;
}
.modal__content h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin: 36px 0 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.modal__content p { margin-bottom: 16px; }
.modal__content p + p { margin-top: -2px; }
.modal__content ul {
    padding-left: 4px;
    margin: 10px 0 18px;
    list-style: none;
}
.modal__content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    line-height: 1.65;
}
.modal__content ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 12px; height: 1px;
    background: var(--accent);
}
.modal__content a {
    color: var(--accent);
    border-bottom: 1px solid rgba(74,144,196,.3);
    transition: border-color .2s var(--ease);
}
.modal__content a:hover { border-color: var(--accent); }
.modal__content strong { color: var(--text); font-weight: 600; }
.modal__lead {
    font-size: 16px !important;
    color: var(--text) !important;
    padding: 18px 22px;
    background: rgba(74,144,196,.06);
    border: 1px solid rgba(74,144,196,.16);
    border-radius: var(--radius-sm);
    margin-bottom: 32px !important;
    line-height: 1.65 !important;
}
.modal__date {
    margin-top: 36px !important;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12.5px !important;
    color: var(--text-dim) !important;
    letter-spacing: .04em;
}

/* animations / reveal */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.js-ready .reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    html { scroll-behavior: auto; }
    .js-ready .reveal { opacity: 1; transform: none; }
}

/* underline accent on section title */
.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}
.section__head--center .section__title::after { margin-left: auto; margin-right: auto; }

/* responsive */
@media (max-width: 1280px) {
    /* tighten header padding & menu spacing for medium-wide screens */
    .header__inner { padding: 0 22px; gap: 12px; }
    .header__menu a { padding: 9px 10px; font-size: 12.5px; letter-spacing: .1em; }
    .header__logo { width: 54px; height: 54px; }
}

@media (max-width: 1100px) {
    .prose { columns: 1; }
    .index-list__item a { grid-template-columns: 56px 1fr 40px; gap: 24px; }
    .index-list__desc { display: none; }
    .story { padding: 0 6vw; }
    .story__text, .story--right .story__text { padding: 30px 0 0; max-width: none; }

    .features, .rooms-grid, .tiles { grid-template-columns: repeat(2, 1fr); }
    .features .feature, .rooms-grid .room-feature, .tiles .tile { padding-left: 28px; padding-right: 28px; }
    .features .feature:nth-child(2n+1), .rooms-grid .room-feature:nth-child(2n+1), .tiles .tile:nth-child(2n+1) { padding-left: 0; }
    .features .feature:nth-child(2n),   .rooms-grid .room-feature:nth-child(2n),   .tiles .tile:nth-child(2n)   { padding-right: 0; }
    .features .feature::before, .rooms-grid .room-feature::before, .tiles .tile::before { left: 28px; }
    .features .feature:nth-child(2n+1)::before, .rooms-grid .room-feature:nth-child(2n+1)::before, .tiles .tile:nth-child(2n+1)::before { left: 0; }
    .exchange-row { grid-template-columns: repeat(3, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
    .intro-grid { grid-template-columns: 1fr; gap: 50px; }
    .cta-strip__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ----- SIDEBAR COLLAPSE: hide sidebar, show mobile topbar ----- */
@media (max-width: 1024px) {
    :root { --sidebar-w: 0px; }
    .sidebar { display: none; }
    .topbar { display: flex; }
    .main, .footer { margin-left: 0; }
}

@media (max-width: 860px) {
    .topbar__logo { height: 38px; }

    /* HERO mobile - topbar overlaps hero from top */
    .hero {
        margin: 0 0 -1px;
        min-height: max(85vh, 600px);
        padding: calc(var(--topbar-h) + 24px) 0 70px;
    }
    .hero__content { padding: 0 22px; }
    .hero__meta { display: none; }
    .hero__scroll {
        left: 50%;
        bottom: 28px;
        transform: translateX(-50%);
        align-items: center;
        gap: 8px;
        font-size: 9px;
        letter-spacing: .32em;
    }
    .hero__scroll-line { height: 32px; }
    .hero__title { font-size: clamp(38px, 11vw, 64px); }
    .hero__tagline { font-size: 11px; letter-spacing: .22em; }
    .hero__lead { font-size: 14.5px; }

    /* editorial mobile */
    .stats-ribbon { grid-template-columns: 1fr; }
    .stats-ribbon__item { border-right: 0; border-bottom: 1px solid var(--line); }
    .stats-ribbon__item:last-child { border-bottom: 0; }
    .stats-ribbon__item { padding: 22px 16px; gap: 14px; }
    .stats-ribbon__icon { width: 30px; height: 30px; }
    .stats-ribbon__key { font-size: 18px; }
    .stats-ribbon__lbl { font-size: 9.5px; letter-spacing: .16em; line-height: 1.4; }

    .index-list__item a { grid-template-columns: 50px 1fr 40px; gap: 16px; padding: 22px 4px; }
    .index-list__title { font-size: 19px; }

    .story { grid-template-columns: 1fr; }
    .story--right .story__media { grid-column: 1; grid-row: 1; }
    .story--right .story__text  { grid-column: 1; grid-row: 2; }
    .story__text, .story--right .story__text { padding: 28px 22px 0; max-width: none; margin: 0; }
    .story__media { aspect-ratio: 16 / 10; }

    /* mobile section rhythm */
    .section { padding: 64px 22px; }
    .section--intro  { padding: 64px 22px 56px; }
    .section--stats  { padding: 44px 22px; }
    .section--story  { padding: 56px 0; }
    .section--reel   { padding: 48px 22px 56px; }
    .section--tribute{ padding: 96px 22px; margin: 40px 0; }
    .section--cta    { padding: 80px 22px 96px; }

    .section + .section::before { left: 22px; right: 22px; }
    .section__title { font-size: 26px; }
    .section__head { margin-bottom: 28px; }
    .section__lead { font-size: 15px; }

    .lede__title { font-size: 28px; }
    .final-cta__title { font-size: 26px; }
    .story__title { font-size: 22px; }
    .tribute__quote p { font-size: 19px; }

    /* Hero -> first section: tighter on mobile */
    .hero + .section { padding-top: 70px; }
    .hero + .section::before { height: 100px; }
    .page-header + .section { padding-top: 70px; }
    .page-header + .section::before { height: 100px; }

    .page-header { padding: calc(var(--topbar-h) + 50px) 22px 44px; min-height: max(50vh, 420px); }
    .page-header__title { font-size: 28px; line-height: 1.1; max-width: none; }
    .page-header__lead { font-size: 15px; }
    .page-header__crumbs { font-size: 11px; margin-bottom: 24px; }

    /* On mobile cards become full-width single column with proper inner
       padding so the hairline border renders correctly and content has
       breathing room. */
    .features, .rooms-grid, .tiles, .cards-2col, .intro-stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .feature, .room-feature { padding: 30px 26px; text-align: center; }
    .info-card { padding: 30px 26px; text-align: center; }
    .tile { padding: 22px 22px 26px; }
    .stat { padding: 26px 24px; text-align: center; }
    /* Mobile: drop the icon-box border, center the SVG, center text. */
    .feature__icon, .room-feature__icon {
        width: auto; height: auto;
        border: 0;
        background: transparent;
        justify-content: center;
        align-items: center;
        margin: 0 auto 16px;
        padding: 0;
    }
    .feature__icon svg, .room-feature__icon svg {
        width: 30px; height: 30px;
        display: block;
    }
    .feature h3, .room-feature h4 { font-size: 18px; }
    .feature p, .room-feature p { font-size: 14px; line-height: 1.6; }
    .info-card h3, .info-card p { text-align: center; }
    .info-card .btn { margin-left: auto; margin-right: auto; }

    .exchange-row { grid-template-columns: repeat(2, 1fr); }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery--big { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 26px 22px; }

    .cta-strip__inner { padding: 36px 0 10px; }

    .footer { padding: 50px 22px 0; text-align: center; }
    .footer__inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; justify-items: center; }
    .footer__col { display: flex; flex-direction: column; align-items: center; }
    .footer__col p, .footer__col ul, .footer__col li { text-align: center; }
    .footer__logo { margin-left: auto; margin-right: auto; }
    .footer__addr, .footer__contact, .footer__hours { justify-content: center; }
    .footer__legal { justify-content: center; flex-wrap: wrap; }
    .footer__bottom { flex-direction: column; align-items: center; padding: 20px 0; gap: 16px; }
    .footer__credit { justify-content: center; font-size: 9.5px; gap: 6px; letter-spacing: .04em; }
    .footer__lb-svg { width: 64px; height: 14px; }
    .br-mobile { display: inline; }

    .video-section { padding: 0 22px 60px; }
    .video-section__play { width: 70px; height: 70px; }

    .modal { padding: 14px; }
    .modal__content { padding: 38px 22px 28px; }
    .modal__content h2 { font-size: 24px; }

    .lightbox__close, .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__close { top: 14px; right: 14px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }

    .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; width: auto; transform: translateY(140%); }
    .cookie-banner.show { transform: translateY(0); }
    .cookie-banner__inner { flex-direction: column; gap: 14px; padding: 16px; align-items: stretch; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions .btn { flex: 1; }

    .scroll-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
    .gallery-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .gallery-tab { white-space: nowrap; }
}
@media (max-width: 480px) {
    .tribute__quote p { font-size: 16px; }
}

@media print {
    .header, .mobile-menu, .lightbox, .preloader, .video-section, .scroll-top, .cookie-banner { display: none !important; }
    body { background: #fff; color: #000; }
}

/* PERFORMANCE: defer painting of off-screen sections */
.section,
.video-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}
/* gallery items: keep their aspect ratio reserved while paint deferred */
.gallery__item {
    contain-intrinsic-size: 240px 180px;
}
/* avoid forcing layout work on always-visible chrome */
.header, .preloader, .scroll-top, .cookie-banner, .modal { content-visibility: visible; }
