/* ==========================================================================
   Parallax Starter - Free HTML CSS Template
   
TemplateMo 612 Parallax Starter

https://templatemo.com/tm-612-parallax-starter

   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --section-blend: #0a0a0a;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --nav-bg: rgba(0, 0, 0, 0.28);
    --nav-bg-scrolled: rgba(6, 6, 8, 0.92);
    --nav-border: rgba(255, 255, 255, 0.07);
    --nav-border-strong: rgba(255, 255, 255, 0.12);
    --nav-accent-line: rgba(255, 255, 255, 0.55);
    --transition-smooth: 0.3s ease;
}

/* --- Site preloader (index.html) --- */
html.has-site-preloader {
    overflow: hidden;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1rem, 4vh, 2.5rem) clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
    background: radial-gradient(ellipse 88% 72% at 50% 48%, rgba(32, 38, 70, 0.5) 0%, transparent 55%),
        linear-gradient(165deg, #040406 0%, #0a0a10 38%, #0c0c14 100%);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-preloader__layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.site-preloader__layer--vignette {
    background: radial-gradient(ellipse 90% 85% at 50% 50%, transparent 0%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
    opacity: 0.95;
}

.site-preloader__layer--glow {
    background:
        radial-gradient(circle at 50% 42%, rgba(185, 195, 255, 0.14) 0%, transparent 38%),
        radial-gradient(circle at 50% 58%, rgba(100, 120, 200, 0.08) 0%, transparent 45%);
    opacity: 0.9;
}

.site-preloader__layer--bloom {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 35%);
    animation: site-preloader-bloom 5s ease-in-out infinite;
}

.site-preloader__layer--grid {
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: 0 0;
    mask-image: radial-gradient(ellipse 78% 70% at 50% 50%, black 18%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 50%, black 18%, transparent 70%);
    animation: site-preloader-grid-drift 24s linear infinite;
}

.site-preloader__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: min(92vw, 420px);
    margin: 0 auto;
    text-align: center;
}

.site-preloader__logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(90vw, 300px);
    margin: 0 auto;
    animation: site-preloader-logo-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-preloader__halo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 135%;
    min-width: 220px;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    background: radial-gradient(
        circle,
        rgba(130, 145, 220, 0.22) 0%,
        rgba(80, 95, 180, 0.1) 38%,
        transparent 68%
    );
    filter: blur(36px);
    z-index: 0;
    pointer-events: none;
    animation: site-preloader-halo 4s ease-in-out infinite;
}

.site-preloader__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    pointer-events: none;
}

.site-preloader__ring--outer {
    width: min(132%, 360px);
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 0 1px rgba(200, 210, 255, 0.08) inset,
        0 0 60px rgba(90, 100, 180, 0.12);
    background: rgba(255, 255, 255, 0.02);
    z-index: 1;
    animation: site-preloader-ring-outer 5s ease-in-out infinite;
}

.site-preloader__ring--main {
    width: min(118%, 340px);
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
    box-shadow:
        0 0 0 1px rgba(200, 210, 255, 0.08) inset,
        0 0 40px rgba(120, 130, 200, 0.15);
    z-index: 3;
    animation: site-preloader-ring 2.4s ease-in-out infinite;
}

.site-preloader__svg-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(132%, 392px);
    height: auto;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    overflow: visible;
    animation: site-preloader-svg-spin 1.05s linear infinite;
    filter: drop-shadow(0 0 14px rgba(160, 180, 255, 0.45));
}

.site-preloader__logo-frame {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(72vw, 280px);
    max-width: 100%;
    animation: site-preloader-logo-breathe 3.1s ease-in-out infinite;
    will-change: transform;
}

.site-preloader__logo {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 32px rgba(100, 115, 200, 0.12));
    animation: site-preloader-logo-pulse 2s ease-in-out infinite;
    will-change: filter;
}

.site-preloader__bar-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    animation: site-preloader-bar-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.site-preloader__bar {
    position: relative;
    align-self: center;
    width: min(240px, 78vw);
    max-width: 100%;
    height: 4px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0.06) 100%);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 8px 28px rgba(0, 0, 0, 0.35);
}

.site-preloader__bar-fill {
    position: relative;
    z-index: 1;
    display: block;
    height: 100%;
    width: 45%;
    min-width: 48px;
    border-radius: 6px;
    background: linear-gradient(
        90deg,
        rgba(120, 140, 220, 0.5),
        rgba(255, 255, 255, 1),
        rgba(200, 215, 255, 0.85),
        rgba(160, 175, 255, 0.45)
    );
    background-size: 200% 100%;
    box-shadow:
        0 0 24px rgba(200, 210, 255, 0.55),
        0 0 8px rgba(255, 255, 255, 0.4);
    animation:
        site-preloader-bar 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite,
        site-preloader-bar-glow 1.5s ease-in-out infinite;
}

.site-preloader__bar-shimmer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 45%,
        transparent 55%
    );
    background-size: 200% 100%;
    animation: site-preloader-shimmer 2.2s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.site-preloader__kicker {
    margin: 0;
    width: 100%;
    max-width: 22rem;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-align: center;
    color: rgba(255, 255, 255, 0.48);
    animation: site-preloader-fade 1.8s ease-in-out infinite alternate;
}

.site-preloader__sub {
    margin: -0.35rem 0 0;
    width: 100%;
    max-width: 22rem;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-align: center;
    color: rgba(255, 255, 255, 0.28);
    animation:
        site-preloader-sub-in 1s ease 0.45s both,
        site-preloader-sub-glow 2.5s ease-in-out 1s infinite;
}

.site-preloader__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.site-preloader__dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(180, 195, 255, 0.5));
    box-shadow: 0 0 10px rgba(200, 210, 255, 0.45);
    animation: site-preloader-dot 1.05s ease-in-out infinite;
}

.site-preloader__dot:nth-child(1) {
    animation-delay: 0ms;
}

.site-preloader__dot:nth-child(2) {
    animation-delay: 0.18s;
}

.site-preloader__dot:nth-child(3) {
    animation-delay: 0.36s;
}

.site-preloader--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-preloader--hide .site-preloader__logo-wrap,
.site-preloader--hide .site-preloader__logo-frame,
.site-preloader--hide .site-preloader__logo,
.site-preloader--hide .site-preloader__bar-fill,
.site-preloader--hide .site-preloader__bar-shimmer,
.site-preloader--hide .site-preloader__ring--main,
.site-preloader--hide .site-preloader__ring--outer,
.site-preloader--hide .site-preloader__halo,
.site-preloader--hide .site-preloader__svg-ring,
.site-preloader--hide .site-preloader__dot,
.site-preloader--hide .site-preloader__layer--bloom,
.site-preloader--hide .site-preloader__layer--grid,
.site-preloader--hide .site-preloader__kicker,
.site-preloader--hide .site-preloader__sub {
    animation: none;
}

@keyframes site-preloader-logo-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes site-preloader-halo {
    0%,
    100% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(1.06);
    }
}

@keyframes site-preloader-logo-pulse {
    0%,
    100% {
        filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 32px rgba(100, 115, 200, 0.12)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 18px 56px rgba(40, 50, 90, 0.35)) drop-shadow(0 0 40px rgba(120, 135, 210, 0.2)) brightness(1.05);
    }
}

@keyframes site-preloader-logo-breathe {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.03);
    }
}

@keyframes site-preloader-svg-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes site-preloader-grid-drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 56px 56px;
    }
}

@keyframes site-preloader-ring-outer {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.65;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.02);
        opacity: 0.95;
    }
}

@keyframes site-preloader-ring {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.035);
        opacity: 1;
    }
}

@keyframes site-preloader-bar {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(320%);
    }
}

@keyframes site-preloader-bar-glow {
    0%,
    100% {
        background-position: 0% 50%;
        opacity: 1;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.92;
    }
}

@keyframes site-preloader-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@keyframes site-preloader-bar-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-preloader-fade {
    from {
        opacity: 0.38;
    }
    to {
        opacity: 0.72;
    }
}

@keyframes site-preloader-sub-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-preloader-bloom {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes site-preloader-sub-glow {
    0%,
    100% {
        opacity: 1;
        color: rgba(255, 255, 255, 0.26);
    }
    50% {
        color: rgba(200, 210, 255, 0.45);
    }
}

@keyframes site-preloader-dot {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-7px) scale(1.15);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.has-site-preloader {
        overflow: auto;
    }

    .site-preloader__logo-wrap {
        animation: none;
    }

    .site-preloader__logo {
        animation: none;
    }

    .site-preloader__logo-ring,
    .site-preloader__ring--main,
    .site-preloader__ring--outer,
    .site-preloader__halo,
    .site-preloader__logo-frame {
        animation: none;
    }

    .site-preloader__svg-ring {
        animation: site-preloader-svg-spin 3.5s linear infinite;
    }

    .site-preloader__layer--bloom,
    .site-preloader__layer--grid {
        animation: none;
    }

    .site-preloader__dot {
        animation: none;
        opacity: 0.55;
    }

    .site-preloader__bar-wrap {
        animation: none;
    }

    .site-preloader__bar-fill {
        animation: none;
        width: 100%;
        opacity: 0.75;
    }

    .site-preloader__bar-shimmer {
        animation: none;
        opacity: 0;
    }

    .site-preloader__kicker {
        animation: none;
    }

    .site-preloader__sub {
        animation: none;
    }

    .site-preloader {
        transition: opacity 0.25s ease;
    }
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--section-blend);
}

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

img {
    max-width: 100%;
    display: block;
}

/* --- Navigation --- */
/*
 * Glass blur lives on ::before only. `backdrop-filter` on #templatemo-nav itself makes
 * `position: fixed` descendants (mobile full-screen .nav-links) use the nav strip as
 * their containing block, so the menu paints under page content.
 */
#templatemo-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow: visible;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

#templatemo-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

#templatemo-nav.scrolled::before {
    background: var(--nav-bg-scrolled);
    border-bottom-color: var(--nav-border-strong);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 36px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    overflow: visible;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    padding: 0.2rem 0;
    flex-shrink: 0;
}

.nav-logo:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-logo-img {
    display: block;
    height: clamp(36px, 5.5vw, 52px);
    width: auto;
    max-width: min(280px, 54vw);
    object-fit: contain;
    transform-origin: left center;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1),
        filter 0.35s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
    filter: brightness(1.12) drop-shadow(0 0 16px rgba(255, 255, 255, 0.22));
}

.nav-logo:active .nav-logo-img {
    transform: scale(1.03);
    filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .nav-logo-img {
        transition: opacity 0.2s ease;
    }

    .nav-logo:hover .nav-logo-img,
    .nav-logo:active .nav-logo-img {
        transform: none;
        filter: brightness(1.08);
    }
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Vertical separators between top-level items */
.nav-links > li {
    display: flex;
    align-items: center;
}

.nav-links > li + li::before {
    content: '';
    width: 1px;
    height: 1.2rem;
    margin-right: clamp(14px, 2.2vw, 26px);
    align-self: center;
    flex-shrink: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.22) 35%,
        rgba(255, 255, 255, 0.22) 65%,
        transparent 100%
    );
}

.nav-links > li > a.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    padding: 0.55rem 0.65rem;
    border-radius: 3px;
    transition:
        color 0.28s ease,
        background 0.28s ease,
        letter-spacing 0.28s ease;
}

/* ::before = underline (::after reserved for dropdown chevron on About) */
.nav-links > li > a.nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: translateX(-50%);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.nav-links > li > a.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links > li > a.nav-link:hover::before {
    width: 70%;
    opacity: 1;
}

.nav-links > li > a.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-links > li > a.nav-link.active::before {
    width: 65%;
    opacity: 1;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-dropdown-trigger::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.65;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
    transform: translateY(2px);
    opacity: 0.95;
}

.nav-dropdown-menu {
    position: absolute;
    /* Must touch trigger (top: 100%, no extra offset) so :hover is not lost between bar and menu */
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 232px;
    padding: 0.55rem 0;
    margin: 0;
    list-style: none;
    background: linear-gradient(165deg, rgba(18, 18, 22, 0.98) 0%, rgba(8, 8, 10, 0.99) 100%);
    border: 1px solid var(--nav-border-strong);
    border-radius: 6px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 56px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s ease, visibility 0.26s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1001;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    opacity: 0.9;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 0.7rem 1.35rem;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 0;
    transition: color 0.22s ease, background 0.22s ease, padding-left 0.22s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    padding-left: 1.5rem;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-smooth);
}

/* --- Parallax Sections --- */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--section-blend);
}

/* Clips the tall parallax layer; mask = fade image at true section edges (removes hard cuts between photos) */
.parallax-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.45) 7%,
        rgba(0, 0, 0, 0.95) 16%,
        #000 24%,
        #000 76%,
        rgba(0, 0, 0, 0.95) 84%,
        rgba(0, 0, 0, 0.45) 93%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.45) 7%,
        rgba(0, 0, 0, 0.95) 16%,
        #000 24%,
        #000 76%,
        rgba(0, 0, 0, 0.95) 84%,
        rgba(0, 0, 0, 0.45) 93%,
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Parallax Background Image Layer
   Height is 200% and starts at top: -50% to give
   maximum room for large vertical translations */
.parallax-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform, filter;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    transform-origin: center center;
    filter: blur(5px);
    -webkit-filter: blur(5px);
}

/* Dark overlay + top/bottom gradient to hide harsh lines between sections */
.parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.42) 18%,
        rgba(0, 0, 0, 0.42) 82%,
        rgba(0, 0, 0, 0.72) 100%
    );
}

.parallax-overlay.overlay-dark {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.55) 18%,
        rgba(0, 0, 0, 0.55) 82%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

.parallax-overlay.overlay-medium {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.50) 18%,
        rgba(0, 0, 0, 0.50) 82%,
        rgba(0, 0, 0, 0.78) 100%
    );
}

/* Content Layer */
.section-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 100%;
    padding: 100px 30px;
    text-align: center;
}

/* --- Typography --- */
.section-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(36px, 6vw, 64px);
    letter-spacing: 8px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title {
    font-weight: 400;
    letter-spacing: 12px;
}

/* --- Hero (home) — framed panel + description --- */
.hero-section .hero-content {
    max-width: 820px;
    padding-top: 120px;
    padding-bottom: 110px;
}

.hero-section .parallax-overlay.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 20%,
        rgba(0, 0, 0, 0.5) 80%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

.hero-card {
    margin: 0 auto;
    max-width: 680px;
    padding: clamp(2rem, 5vw, 3.25rem) clamp(1.6rem, 4vw, 2.85rem);
    text-align: center;
    background: rgba(10, 10, 14, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.35rem;
}

.hero-section .hero-title {
    margin-bottom: 1.1rem;
    font-size: clamp(30px, 6.5vw, 54px);
    letter-spacing: 0.42em;
    line-height: 1.12;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(11px, 1.45vw, 14px);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.55;
    color: var(--white-70);
    margin: 0 auto 1.65rem;
    max-width: 36em;
}

.hero-divider {
    width: 80px;
    height: 1px;
    margin: 0 auto 1.65rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.38),
        transparent
    );
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.55vw, 17px);
    font-weight: 300;
    line-height: 1.82;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.6vw, 16px);
    letter-spacing: 4px;
    color: var(--white-70);
    margin-bottom: 40px;
}

.caps {
    text-transform: uppercase;
}

.content-block {
    max-width: 680px;
    margin: 0 auto;
}

.content-block p {
    font-size: 17px;
    color: var(--white-90);
    margin-bottom: 20px;
    line-height: 1.85;
}

/* --- Legal inner pages (privacy, terms) --- */
.legal-page {
    position: relative;
    background: var(--section-blend);
    min-height: 100vh;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.legal-page::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 85% 55% at 15% -5%, rgba(100, 120, 200, 0.12), transparent 52%),
        radial-gradient(ellipse 60% 45% at 92% 65%, rgba(130, 85, 170, 0.07), transparent 48%),
        radial-gradient(ellipse 50% 35% at 50% 100%, rgba(255, 255, 255, 0.02), transparent 50%);
}

.legal-page-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-top: clamp(5.5rem, 11vw, 7rem);
}

.legal-page-header {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    padding-bottom: clamp(1.35rem, 3vw, 1.85rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page-header::after {
    content: '';
    display: block;
    width: 4.5rem;
    height: 2px;
    margin-top: 1.25rem;
    background: linear-gradient(90deg, rgba(200, 210, 255, 0.75), rgba(255, 255, 255, 0.08), transparent);
    border-radius: 1px;
}

.legal-page-inner .legal-page-title {
    font-size: clamp(28px, 4.5vw, 44px);
    letter-spacing: 0.26em;
    text-align: left;
    margin-bottom: 0.65rem;
    line-height: 1.15;
}

.legal-page-kicker {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
}

.legal-prose-card {
    margin: 0;
    max-width: none;
    text-align: left;
    padding: clamp(1.65rem, 4.2vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.15rem);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 14, 0.65);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.legal-lead {
    font-size: clamp(15px, 1.45vw, 17px);
    font-weight: 300;
    line-height: 1.82;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 2rem !important;
    padding: 0 0 0 1.1rem;
    border-left: 3px solid rgba(185, 195, 255, 0.55);
    box-shadow: inset 8px 0 16px -8px rgba(200, 210, 255, 0.12);
}

.legal-lead strong {
    font-weight: 600;
    color: var(--white);
}

.legal-page-inner .legal-prose {
    margin: 0;
    max-width: none;
    text-align: left;
}

.legal-page-inner .legal-prose p,
.legal-page-inner .legal-prose li {
    font-size: clamp(14px, 1.35vw, 16px);
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
}

.legal-page-inner .legal-prose p {
    margin-bottom: 1.05rem;
    line-height: 1.82;
}

.legal-page-inner .legal-prose p:last-child {
    margin-bottom: 0;
}

.legal-address-block {
    margin: 0 0 1.75rem;
    padding: 1.1rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.legal-address-block p {
    margin-bottom: 0.5rem !important;
}

.legal-address-block p:last-of-type {
    margin-bottom: 0 !important;
}

.legal-address-mail {
    margin: 0.85rem 0 0 !important;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-address-mail a {
    font-weight: 500;
    letter-spacing: 0.04em;
}

.legal-contact-note {
    padding: 1rem 1.15rem;
    margin-bottom: 0 !important;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page-inner .legal-prose strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
}

.legal-page-inner .legal-prose ul {
    margin: 0.35rem 0 1.5rem 0;
    padding: 0.35rem 0 0.35rem 0.15rem;
    list-style: none;
}

.legal-page-inner .legal-prose ul li {
    position: relative;
    margin-bottom: 0.85rem;
    padding-left: 1.35rem;
    line-height: 1.78;
}

.legal-page-inner .legal-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: linear-gradient(135deg, rgba(200, 210, 255, 0.75), rgba(255, 255, 255, 0.25));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.legal-page-inner .legal-prose h2 {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin: 2.35rem 0 0.95rem;
    padding: 0 0 0.5rem 0.85rem;
    border-left: 3px solid rgba(200, 210, 255, 0.45);
    line-height: 1.45;
}

.legal-page-inner .legal-prose h2:first-of-type {
    margin-top: 0;
}

.legal-page-inner .legal-prose a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(200, 210, 255, 0.45);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-page-inner .legal-prose a:hover {
    color: var(--white);
    text-decoration-color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .legal-prose-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(14, 14, 18, 0.92);
    }
}

/* --- Contact page (contact.html) --- */
.legal-page-inner .legal-prose .legal-contact-note.contact-mail-highlight {
    text-align: center;
    margin-bottom: 1rem !important;
}

.legal-page-inner .legal-prose .contact-mail-highlight a {
    font-size: clamp(15px, 1.45vw, 17px);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.legal-page-inner .legal-prose .contact-hours-intro {
    margin-top: 0.35rem !important;
    margin-bottom: 1rem !important;
}

.legal-page-inner .legal-prose .contact-hours-block {
    max-width: 22rem;
    margin: 0 0 1rem;
}

.legal-page-inner .legal-prose .contact-hours-footnote {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Business hours block — centered (contact.html) */
.legal-page-inner .legal-prose .contact-hours-centered {
    max-width: 22rem;
    margin: 2.35rem auto 0;
    text-align: center;
}

.legal-page-inner .legal-prose .contact-hours-centered h2 {
    display: block;
    text-align: center;
    border-left: none;
    padding-left: 0;
    margin: 0 0 0.95rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(200, 210, 255, 0.28);
}

.legal-page-inner .legal-prose .contact-hours-centered .contact-hours-block {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.legal-page-inner .legal-prose .contact-hours-centered .site-footer-hours-zone {
    margin-left: auto;
    margin-right: auto;
}

.legal-page-inner .legal-prose .contact-hours-centered .contact-hours-footnote {
    text-align: center;
}

.legal-page-inner .legal-prose .contact-hours-centered .site-footer-hours-row:hover {
    padding-left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
}

/* Registered address — centered (contact.html) */
.legal-page-inner .legal-prose .contact-address-centered {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.legal-page-inner .legal-prose .contact-address-centered h2 {
    display: inline-block;
    text-align: left;
    margin-top: 2.35rem;
    margin-bottom: 0.95rem;
}

.legal-page-inner .legal-prose .contact-address-centered .legal-address-block {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
    text-align: center;
}

.legal-page-inner .legal-prose .contact-address-centered .contact-address-box {
    background: rgba(255, 255, 255, 0.045);
}

.legal-page-inner .legal-prose .contact-address-centered .contact-address-lines {
    margin: 0 !important;
}

.legal-page-inner .legal-prose .contact-address-name {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(12px, 1.15vw, 13px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.75;
}

.legal-page-inner .legal-prose .contact-address-line {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(11px, 1.05vw, 12px);
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.85;
}

.legal-page-inner > .content-block.legal-prose-card + .content-block.legal-prose-card {
    margin-top: clamp(1.15rem, 3vw, 1.85rem);
}

.contact-form-hint {
    margin: 0 0 1.15rem !important;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.68);
}

.contact-form-hint a {
    color: rgba(255, 255, 255, 0.88);
}

.contact-form-required-mark {
    color: rgba(255, 200, 120, 0.95);
    font-weight: 600;
}

.contact-form-optional {
    font-weight: 400;
    font-size: 0.92em;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.45);
}

.contact-form {
    margin: 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.contact-form-field {
    margin: 0 0 1rem;
}

.contact-form-field:last-of-type {
    margin-bottom: 0;
}

.contact-form-grid .contact-form-field {
    margin-bottom: 0;
}

.contact-form-field label {
    display: block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 0.45rem;
}

.contact-input {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 0.68rem 0.85rem;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-input:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.contact-input:focus {
    outline: none;
    border-color: rgba(200, 210, 255, 0.55);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 1px rgba(200, 210, 255, 0.2);
}

.contact-textarea {
    resize: vertical;
    min-height: 9.5rem;
}

.contact-form-actions {
    margin-top: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-map-intro {
    margin: 0 0 1rem !important;
    font-size: clamp(14px, 1.35vw, 16px);
}

.contact-map-wrap {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    aspect-ratio: 16 / 10;
    min-height: 220px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.contact-map-wrap iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map-link {
    margin: 0.85rem 0 0 !important;
    font-size: clamp(13px, 1.25vw, 15px);
}

@media (max-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-actions .contact-form-submit,
    .contact-form-actions .cookie-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-map-wrap {
        min-height: 200px;
        aspect-ratio: 4 / 3;
    }
}

/* --- Services page (services.html) --- */
#services .legal-page-inner {
    max-width: min(1240px, 94vw);
}

#services .legal-prose-card {
    max-width: none;
}

.legal-page-inner .legal-prose ul.services-grid {
    margin: 0;
    padding: 0;
}

.legal-page-inner .legal-prose ul.services-grid > li {
    margin: 0;
    padding-left: 0;
}

.legal-page-inner .legal-prose ul.services-grid > li::before {
    display: none;
    content: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(1.15rem, 2.2vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 14, 0.72);
    backdrop-filter: blur(16px) saturate(1.05);
    -webkit-backdrop-filter: blur(16px) saturate(1.05);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    transition:
        border-color 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-5px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48);
}

.service-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card__img {
    transform: scale(1.06);
}

.service-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0.85rem;
    padding: clamp(1.35rem, 2.2vw, 1.6rem) clamp(1.4rem, 2.4vw, 1.75rem) clamp(1.4rem, 2.2vw, 1.65rem);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    margin: 0;
    line-height: 1.4;
}

.legal-page-inner .legal-prose .service-card__title {
    margin: 0;
    padding: 0;
    border-left: none;
    border-bottom: none;
}

.legal-page-inner .legal-prose .service-card__btn {
    text-decoration: none;
}

.legal-page-inner .legal-prose .service-card__btn:hover {
    text-decoration: none;
}

.service-card__text {
    margin: 0;
    font-size: clamp(13px, 1.22vw, 15px);
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
    flex: 1 1 auto;
    min-height: 0;
}

.service-card__actions {
    margin-top: auto;
    padding-top: 0.35rem;
    flex-shrink: 0;
}

.service-card__btn.cookie-banner-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .service-card:hover {
        transform: none;
    }

    .service-card:hover .service-card__img {
        transform: none;
    }
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Service calculator page (service-calculator.html) --- */
#service-calculator .legal-page-inner {
    max-width: min(1240px, 94vw);
}

#service-calculator .legal-prose-card {
    max-width: none;
}

.calc-shell {
    padding: clamp(1.35rem, 1rem + 1vw, 2rem);
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: clamp(1rem, 1.5vw, 1.4rem);
    align-items: stretch;
}

.calc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 100%;
    padding: clamp(1rem, 0.75rem + 0.9vw, 1.4rem);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(13, 17, 31, 0.84), rgba(8, 12, 24, 0.66));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 32px rgba(0, 0, 0, 0.32);
}

.calc-card--result {
    justify-content: flex-start;
}

.calc-title {
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: 0.24em;
    font-size: clamp(10px, 0.45vw + 8px, 12px);
    color: rgba(255, 255, 255, 0.95);
}

.calc-help {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(220, 226, 255, 0.78);
}

.calc-options {
    display: grid;
    gap: 0.55rem;
}

.calc-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.62rem 0.7rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.22s ease, background-color 0.22s ease;
}

.calc-option:hover,
.calc-option:focus-within {
    border-color: rgba(170, 186, 255, 0.45);
    background: rgba(170, 186, 255, 0.08);
}

.calc-option input {
    margin: 0;
    width: 17px;
    height: 17px;
    accent-color: #b9c8ff;
}

.calc-option span {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(241, 245, 255, 0.92);
}

.calc-option strong {
    font-size: 13px;
    color: rgba(206, 220, 255, 0.92);
    letter-spacing: 0.04em;
}

.calc-controls {
    display: grid;
    gap: 0.75rem;
}

.calc-control {
    display: grid;
    gap: 0.45rem;
}

.calc-control span {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(227, 234, 255, 0.82);
    font-family: var(--font-heading);
}

.calc-control select,
.calc-control input[type="range"] {
    width: 100%;
}

.calc-control select {
    min-height: 42px;
    padding: 0.58rem 0.72rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 7, 15, 0.56);
    color: rgba(247, 249, 255, 0.95);
    font-size: 14px;
}

.calc-control select:focus-visible,
.calc-control input[type="range"]:focus-visible,
.calc-option input:focus-visible {
    outline: 2px solid rgba(184, 198, 255, 0.75);
    outline-offset: 2px;
}

.calc-control--range {
    margin-top: 0.1rem;
}

.calc-control output {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.calc-summary {
    margin: 0;
    display: grid;
    gap: 0.48rem;
}

.calc-summary div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(223, 230, 255, 0.84);
}

.calc-summary dd,
.calc-summary dt {
    margin: 0;
}

.calc-summary div:last-child {
    padding-top: 0.45rem;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.calc-note {
    margin: 0.2rem 0 0;
    font-size: 14px;
    line-height: 1.58;
    color: rgba(207, 217, 255, 0.82);
}

.calc-line-items {
    margin: 0.35rem 0 0;
    padding: 0 0 0 1rem;
    display: grid;
    gap: 0.42rem;
}

.calc-line-items li {
    margin: 0;
    padding: 0;
    color: rgba(232, 238, 255, 0.9);
    font-size: 13.5px;
    line-height: 1.48;
}

.calc-actions {
    margin-top: auto;
    padding-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.calc-actions .cookie-banner-btn {
    min-width: 132px;
}

.legal-page-inner .legal-prose .calc-actions .cookie-banner-btn--primary,
.legal-page-inner .legal-prose .calc-actions .cookie-banner-btn--primary:hover,
.legal-page-inner .legal-prose .calc-actions .cookie-banner-btn--primary:focus-visible {
    color: #08080c;
    text-decoration: none;
}

.legal-page-inner .legal-prose .service-detail-actions .cookie-banner-btn--primary,
.legal-page-inner .legal-prose .service-detail-actions .cookie-banner-btn--primary:hover,
.legal-page-inner .legal-prose .service-detail-actions .cookie-banner-btn--primary:focus-visible {
    color: #08080c;
    text-decoration: none;
}

.calc-disclaimer {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.52;
    color: rgba(201, 210, 241, 0.72);
}

.calc-error {
    margin: 0.25rem 0 0;
    font-size: 13px;
    color: rgba(255, 186, 186, 0.95);
}

@media (max-width: 1180px) {
    .calc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calc-card--result {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .calc-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .calc-option {
        grid-template-columns: auto 1fr;
    }

    .calc-option strong {
        grid-column: 2;
    }
}

/* --- Service detail pages (service-*.html) --- */
#service-detail .legal-page-inner {
    max-width: min(1180px, 94vw);
}

#service-detail .legal-prose-card {
    max-width: none;
}

.service-detail-shell {
    display: grid;
    gap: clamp(1rem, 1.4vw, 1.4rem);
}

.service-detail-hero {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.service-detail-hero img {
    width: 100%;
    height: clamp(230px, 34vw, 380px);
    object-fit: cover;
    display: block;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
    gap: clamp(0.85rem, 1.2vw, 1.2rem);
}

.service-detail-section {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(0.95rem, 0.9rem + 0.45vw, 1.25rem);
}

.service-detail-side-title {
    margin: 0 0 0.45rem;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
}

.service-detail-list {
    margin: 0;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    margin-top: 0.8rem;
}

@media (max-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* --- About family pages (about.html, what-we-do.html, how-it-works.html) --- */
#about-detail .legal-page-inner {
    max-width: min(1180px, 94vw);
}

#about-detail .legal-prose-card {
    max-width: none;
}

.about-detail-shell {
    display: grid;
    gap: clamp(1rem, 1.4vw, 1.45rem);
}

.about-detail-hero {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.about-detail-hero img {
    width: 100%;
    height: clamp(230px, 35vw, 380px);
    object-fit: cover;
    display: block;
}

.about-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
    gap: clamp(0.9rem, 1.1vw, 1.2rem);
}

.about-detail-section {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: clamp(0.95rem, 0.9rem + 0.45vw, 1.25rem);
    background: rgba(255, 255, 255, 0.02);
}

.about-detail-label {
    margin: 0 0 0.45rem;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.about-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    margin-top: 0.75rem;
}

.legal-page-inner .legal-prose .about-detail-actions .cookie-banner-btn--primary,
.legal-page-inner .legal-prose .about-detail-actions .cookie-banner-btn--primary:hover,
.legal-page-inner .legal-prose .about-detail-actions .cookie-banner-btn--primary:focus-visible {
    color: #08080c;
    text-decoration: none;
}

@media (max-width: 920px) {
    .about-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQs page (faqs.html) — accordions inside legal card --- */
.legal-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.15rem 0 1.75rem;
}

.legal-page-inner .legal-prose .faq-item {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition:
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.legal-page-inner .legal-prose .faq-item[open] {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.faq-summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 2.85rem 1rem 1.15rem;
    position: relative;
    user-select: none;
    transition: color 0.22s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '';
    position: absolute;
    right: 1.05rem;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.45);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.legal-page-inner .legal-prose .faq-item[open] .faq-summary::after {
    transform: rotate(180deg);
}

.faq-summary:hover {
    color: var(--white);
}

.faq-summary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-answer {
    padding: 0 1.15rem 1.15rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-answer p {
    margin: 0.85rem 0 0 !important;
    font-size: clamp(14px, 1.35vw, 16px);
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.78);
}

.faq-answer p:last-child {
    margin-bottom: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .faq-summary::after {
        transition: none;
    }

    .legal-page-inner .legal-prose .faq-item {
        transition: none;
    }
}

@media (max-width: 480px) {
    .faq-summary {
        font-size: 11px;
        letter-spacing: 0.12em;
        padding: 0.9rem 2.5rem 0.9rem 0.95rem;
    }
}

/* --- Gallery (#gallery) — publishing standards, not generic “visual stories” --- */
.gallery-section .parallax-overlay.gallery-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.62) 22%,
        rgba(0, 0, 0, 0.62) 78%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.gallery-section .section-content.gallery-shell {
    max-width: 1040px;
    text-align: left;
    padding-top: 96px;
    padding-bottom: 110px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gallery-eyebrow {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.75rem;
}

.gallery-title {
    margin-bottom: 1.25rem;
    letter-spacing: 0.22em;
}

.gallery-intro {
    max-width: 46rem;
    margin: 0 auto;
}

.gallery-intro p {
    font-size: 15px;
    line-height: 1.88;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 1rem;
}

.gallery-intro p:last-child {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.gallery-card {
    position: relative;
    padding: 1.5rem 1.4rem 1.45rem;
    /* Opaque matte panel so background image does not bleed through unevenly between cards */
    background: rgba(12, 12, 16, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(16, 16, 22, 0.96);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .gallery-card:hover {
        transform: none;
    }
}

.gallery-card-icon {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
}

.gallery-card-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--white);
    margin: 0 0 0.65rem;
    line-height: 1.35;
}

.gallery-card-text {
    font-size: 14px;
    line-height: 1.78;
    color: var(--white-70);
    margin: 0;
}

.gallery-rules {
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 2vw, 2rem);
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.gallery-rules-kicker {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.26em;
    color: var(--white-70);
    margin: 0 0 1.25rem;
    text-align: center;
}

.gallery-rule {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-rule:last-child {
    border-bottom: none;
}

.gallery-rule-summary {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--white-90);
    padding: 1rem 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-rule-summary::-webkit-details-marker {
    display: none;
}

.gallery-rule-summary::after {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.45);
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.gallery-rule[open] .gallery-rule-summary::after {
    transform: rotate(225deg);
    margin-top: 4px;
}

.gallery-rule-summary:hover {
    color: var(--white);
}

.gallery-rule-summary:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

.gallery-rule-body {
    padding: 0 0 1.15rem;
}

.gallery-rule-body p {
    font-size: 14px;
    line-height: 1.82;
    color: var(--white-70);
    margin: 0;
}

.gallery-rule-body a {
    color: var(--white-90);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gallery-rule-body a:hover {
    color: var(--white);
}

/* --- Hero Button --- */
.btn-scroll {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--white);
    border: 1px solid var(--white-40);
    padding: 14px 45px;
    transition: all var(--transition-smooth);
}

.btn-scroll:hover {
    background: var(--white);
    color: #111;
    border-color: var(--white);
}

/* --- About (WHO WE ARE) — layout, tabs, accordion --- */
.about-section .section-content.about-shell {
    max-width: 1040px;
    text-align: left;
    padding-top: 96px;
    padding-bottom: 110px;
}

.about-shell > .about-heading,
.about-shell > .about-kicker {
    text-align: center;
}

.about-kicker {
    font-family: var(--font-body);
    font-size: clamp(11px, 1.35vw, 13px);
    letter-spacing: 0.22em;
    color: var(--white-70);
    margin: 0 auto 2.75rem;
    max-width: 38em;
    line-height: 1.65;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    margin-bottom: 3rem;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.about-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.about-graphic-ring {
    position: relative;
    width: min(100%, 240px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.about-intro-grid:hover .about-graphic-ring {
    transform: scale(1.03);
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.12));
}

.about-graphic-svg {
    width: 100%;
    height: auto;
}

.about-lead-copy p {
    font-size: clamp(15px, 1.55vw, 17px);
    color: var(--white-90);
    line-height: 1.88;
    margin: 0 0 1.15rem;
}

.about-lead-copy p:last-child {
    margin-bottom: 0;
}

.about-tabs-wrap {
    margin-bottom: 3rem;
}

.about-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.about-tab {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white-70);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.85rem 1.35rem;
    cursor: pointer;
    transition: color var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-tab:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.about-tab[aria-selected="true"] {
    color: #0a0a0a;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.about-tab:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.about-panel-shell {
    position: relative;
    min-height: 12rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: rgba(6, 6, 10, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.about-panel-shell:focus-within {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 48px rgba(0, 0, 0, 0.35);
}

.about-panel {
    animation: aboutFade 0.35s ease;
}

@keyframes aboutFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-panel p {
    font-size: 15px;
    line-height: 1.88;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1rem;
}

.about-panel p:last-child {
    margin-bottom: 0;
}

.about-panel a {
    color: var(--white-90);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-smooth);
}

.about-panel a:hover {
    color: var(--white);
}

.about-subhead {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--white);
    margin: 0 0 0.65rem;
    text-align: center;
}

.about-acc-intro {
    font-size: 14px;
    color: var(--white-70);
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 40em;
    line-height: 1.65;
}

.about-accordion {
    max-width: 820px;
    margin: 0 auto;
}

.about-acc-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    background: rgba(0, 0, 0, 0.35);
}

.about-acc-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 4px 4px;
}

.about-acc-item:first-of-type {
    border-radius: 4px 4px 0 0;
}

.about-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white-90);
    background: rgba(255, 255, 255, 0.04);
    border: none;
    padding: 1.15rem 1.35rem;
    cursor: pointer;
    transition: background var(--transition-smooth), color var(--transition-smooth);
}

.about-acc-item.is-open .about-acc-trigger {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.about-acc-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.about-acc-trigger:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -2px;
}

.about-acc-title {
    flex: 1;
}

.about-acc-icon {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    opacity: 0.75;
}

.about-acc-item.is-open .about-acc-icon {
    transform: rotate(225deg);
    margin-top: 4px;
}

.about-acc-panel {
    padding: 0 1.35rem 1.25rem;
}

.about-acc-panel[hidden] {
    display: none !important;
}

.about-acc-panel p {
    font-size: 14px;
    line-height: 1.82;
    color: var(--white-70);
    margin: 0;
    padding-top: 0.25rem;
}

/* --- WHAT WE OFFER (distinct from About: split + bento spotlight + pipeline) --- */
.offer-section .section-content.offer-shell {
    max-width: 1080px;
    text-align: left;
    padding-top: 96px;
    padding-bottom: 110px;
}

.offer-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.offer-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.offer-heading {
    margin-bottom: 1rem;
}

.offer-standfirst {
    font-size: clamp(15px, 1.65vw, 17px);
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.82);
    max-width: 46rem;
    margin: 0 auto;
}

.offer-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: stretch;
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.offer-split-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--white-70);
    margin-bottom: 1rem;
}

.offer-split-col--hex .offer-split-label {
    color: rgba(255, 255, 255, 0.88);
}

.offer-split-list {
    margin: 0;
    padding: 0 0 0 1.15rem;
    font-size: 14px;
    line-height: 1.75;
    color: var(--white-70);
}

.offer-split-list li {
    margin-bottom: 0.55rem;
}

.offer-split-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.22), transparent);
    align-self: stretch;
    min-height: 12rem;
}

.offer-transition {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--white-40);
    text-align: center;
    margin: 0 0 1.25rem;
}

.offer-transition em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.58);
}

.offer-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 3rem;
}

.offer-tile {
    position: relative;
    padding: 1.35rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.offer-bento:hover .offer-tile {
    opacity: 0.4;
    transform: scale(0.985);
}

.offer-bento .offer-tile:hover {
    opacity: 1;
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(12, 12, 18, 0.88);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .offer-bento:hover .offer-tile,
    .offer-bento .offer-tile:hover {
        transform: none;
    }
}

.offer-tile--span2 {
    grid-column: span 2;
}

.offer-tile--board {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: calc(1.2rem - 2px);
}

.offer-tile--partner {
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    padding-left: calc(1.2rem - 2px);
}

.offer-tile--accent {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.offer-tile-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--white);
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.offer-tile p {
    font-size: 14px;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.offer-pipeline {
    margin-bottom: 2.5rem;
    padding: clamp(1.5rem, 2vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.28);
}

.offer-pipeline-heading {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-align: center;
    color: var(--white);
    margin: 0 0 1.75rem;
}

.offer-pipeline-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
}

.offer-step {
    flex: 1 1 20%;
    min-width: 11rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-step-marker {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1;
}

.offer-step-body {
    font-size: 14px;
    line-height: 1.72;
    color: var(--white-70);
}

.offer-step-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white-90);
    margin-bottom: 0.25rem;
}

.offer-footnote {
    font-size: 14px;
    line-height: 1.75;
    color: var(--white-40);
    text-align: center;
    max-width: 38rem;
    margin: 0 auto;
}

.offer-footnote a {
    color: var(--white-70);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.offer-footnote a:hover {
    color: var(--white);
}

/* --- Stats Row --- */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 45px;
    padding-top: 40px;
    border-top: 1px solid var(--white-20);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--white-70);
}

/* --- Footer --- */
#templatemo-footer.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0c0c10 0%, #08080b 48%, #060609 100%);
    color: var(--white-70);
    text-align: left;
    padding: 0;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(200, 210, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: site-footer-ribbon-flow 10s ease-in-out infinite;
    opacity: 0.85;
    pointer-events: none;
}

@keyframes site-footer-ribbon-flow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.site-footer-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 12% -10%, rgba(100, 120, 200, 0.09), transparent 52%),
        radial-gradient(ellipse 70% 45% at 92% 105%, rgba(140, 90, 180, 0.06), transparent 48%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 48px,
            rgba(255, 255, 255, 0.012) 48px,
            rgba(255, 255, 255, 0.012) 49px
        );
    pointer-events: none;
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 4.25rem) clamp(20px, 4vw, 36px) clamp(2rem, 4vw, 2.75rem);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.site-footer-col {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer.is-in-view .site-footer-col:nth-child(1) {
    transition-delay: 0.05s;
}

.site-footer.is-in-view .site-footer-col:nth-child(2) {
    transition-delay: 0.18s;
}

.site-footer.is-in-view .site-footer-col:nth-child(3) {
    transition-delay: 0.31s;
}

.site-footer.is-in-view .site-footer-col {
    opacity: 1;
    transform: translateY(0);
}

.site-footer-logo-link {
    display: inline-flex;
    line-height: 0;
    margin-bottom: 1.15rem;
    border-radius: 4px;
    transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), filter 0.35s ease;
}

.site-footer-logo-link:hover {
    transform: scale(1.04);
    filter: brightness(1.1) drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));
}

.site-footer-logo-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 4px;
}

.site-footer-logo {
    height: clamp(36px, 4.5vw, 44px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-footer-lead {
    margin: 0;
    max-width: 34rem;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 300;
}

.site-footer-heading {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--white);
    margin: 0 0 1.35rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.site-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(200, 210, 255, 0.55), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.site-footer.is-in-view .site-footer-heading::after {
    transform: scaleX(1);
}

.site-footer-col--contact .site-footer-heading::after {
    transition-delay: 0.28s;
}

.site-footer-col--hours .site-footer-heading::after {
    transition-delay: 0.4s;
}

.site-footer-blocks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-footer-block {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    margin: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition:
        border-color 0.35s ease,
        background 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

.site-footer-block:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
    box-shadow: -4px 0 0 rgba(200, 210, 255, 0.25);
}

.site-footer-block-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    transition: color 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.site-footer-block:hover .site-footer-block-icon {
    color: rgba(255, 255, 255, 0.75);
    transform: scale(1.06);
}

.site-footer-block-body {
    min-width: 0;
}

.site-footer-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--white-40);
    margin-bottom: 0.35rem;
}

.site-footer-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.65;
    color: var(--white-70);
}

.site-footer-mail {
    font-size: 15px;
    color: var(--white-90);
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.site-footer-mail:hover {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.site-footer-hours-zone {
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--white-40);
    margin: -0.35rem 0 1rem;
}

.site-footer-hours {
    margin: 0 0 1rem;
}

.site-footer-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, padding-left 0.35s ease;
}

.site-footer-hours-row:last-child {
    border-bottom: none;
}

.site-footer-hours-row:hover {
    padding-left: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
}

.site-footer-hours dt {
    font-size: 13px;
    color: var(--white-70);
    font-weight: 400;
}

.site-footer-hours dd {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--white);
}

.site-footer-hours-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--white-40);
    font-weight: 300;
}

.site-footer-bottom {
    margin-top: clamp(2.25rem, 4vw, 3rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

#templatemo-footer .footer-copyright {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin-top: 0.9rem;
}

.site-footer-legal a {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    transition: color 0.25s ease;
}

.site-footer-legal a:hover {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer-legal-sep {
    color: rgba(255, 255, 255, 0.22);
    font-weight: 300;
    user-select: none;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-ribbon {
        animation: none;
        background-position: 50% 50%;
    }

    .site-footer-col {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-footer-heading::after {
        transform: scaleX(1);
        transition: none;
    }

    .site-footer-block,
    .site-footer-block:hover,
    .site-footer-hours-row,
    .site-footer-hours-row:hover {
        transform: none;
        transition: none;
    }

    .site-footer-logo-link {
        transition: opacity 0.2s ease;
    }

    .site-footer-logo-link:hover {
        transform: none;
        filter: brightness(1.08);
    }
}

@media (max-width: 900px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-col--brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer-col--brand .site-footer-logo-link {
        align-self: center;
    }
}

@media (max-width: 600px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-block:hover {
        transform: none;
        box-shadow: none;
    }
}

/* --- Contact form modals (contact.html) --- */
html.contact-modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 980;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 1.75rem);
    box-sizing: border-box;
}

.contact-modal[hidden] {
    display: none !important;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 8, 0.72);
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    cursor: pointer;
}

.contact-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
    padding: clamp(1.35rem, 3.5vw, 2rem);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 14, 0.94);
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
    text-align: center;
    animation: contact-modal-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-modal--success .contact-modal__panel {
    border-color: rgba(140, 200, 165, 0.35);
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(140, 200, 165, 0.15) inset,
        0 0 24px rgba(100, 180, 130, 0.12);
}

.contact-modal--error .contact-modal__panel {
    border-color: rgba(255, 130, 110, 0.35);
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 120, 100, 0.12) inset,
        0 0 28px rgba(200, 80, 60, 0.12);
}

@keyframes contact-modal-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-modal__title {
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-size: clamp(12px, 1.2vw, 13px);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.contact-modal__body {
    margin: 0;
    text-align: left;
    font-size: clamp(14px, 1.35vw, 16px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 300;
}

.contact-modal__message {
    margin: 0;
    text-align: center;
}

.contact-modal__lead {
    margin: 0 0 0.65rem;
    text-align: center;
    font-size: clamp(13px, 1.25vw, 15px);
    color: rgba(255, 255, 255, 0.72);
}

.contact-modal__list {
    margin: 0;
    padding: 0.35rem 0 0 1.2rem;
    list-style: disc;
    color: rgba(255, 255, 255, 0.86);
}

.contact-modal__list li {
    margin-bottom: 0.45rem;
    padding-left: 0.15rem;
}

.contact-modal__list li:last-child {
    margin-bottom: 0;
}

.contact-modal__actions {
    margin-top: 1.35rem;
    display: flex;
    justify-content: center;
}

.contact-modal__btn {
    min-width: 11rem;
}

@media (prefers-reduced-motion: reduce) {
    .contact-modal__panel {
        animation: none;
    }
}

@media (max-width: 480px) {
    .contact-modal__btn {
        width: 100%;
        min-width: 0;
    }
}

/* --- Cookie consent banner --- */
html.cookie-consent-stored .cookie-banner {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 0 clamp(16px, 3vw, 28px) calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease;
}

.cookie-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.75rem;
    padding: 1.05rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(7, 7, 10, 0.94);
    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    box-shadow:
        0 -20px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

html.js-cookie-open .cookie-banner .cookie-banner-inner {
    animation: cookie-banner-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cookie-banner-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-banner-main {
    flex: 1 1 260px;
    min-width: 0;
}

.cookie-banner-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-banner-copy a {
    color: var(--white-90);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.32);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cookie-banner-copy a:hover {
    color: var(--white);
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    flex-shrink: 0;
}

.cookie-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.68rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.22s ease;
}

.cookie-banner-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.cookie-banner-btn--primary {
    background: rgba(255, 255, 255, 0.95);
    color: #08080c;
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.cookie-banner-btn--primary:hover {
    background: var(--white);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
    transform: translateY(-1px);
}

.cookie-banner-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-banner-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
}

.cookie-banner--hiding {
    transform: translateY(calc(100% + 28px));
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    html.js-cookie-open .cookie-banner .cookie-banner-inner {
        animation: none;
    }

    .cookie-banner {
        transition: opacity 0.2s ease;
    }

    .cookie-banner--hiding {
        transform: none;
    }

    .cookie-banner-btn--primary:hover {
        transform: none;
    }
}

@media (max-width: 520px) {
    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-btn {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
}

/* --- Scroll to top (fixed) --- */
.scroll-to-top {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    box-shadow:
        0 6px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

html.js-cookie-open .scroll-to-top.is-visible {
    bottom: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-bottom, 0px) + 108px);
}

.scroll-to-top:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(18, 18, 24, 0.95);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scroll-to-top.is-visible:active {
    transform: translateY(2px);
}

.scroll-to-top:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.scroll-to-top-icon {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .scroll-to-top:not(.is-visible) {
        transform: none;
    }
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 991px) {
    .offer-split {
        grid-template-columns: 1fr;
    }

    .offer-split-divider {
        display: none;
    }

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

    .offer-tile--span2 {
        grid-column: span 2;
    }

    .stats-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Keep menu above page + cookie while open */
    #templatemo-nav.menu-open {
        z-index: 10050;
    }

    /* Mobile Navigation — overlay must sit *under* logo + menu button */
    #templatemo-nav .nav-logo {
        position: relative;
        z-index: 10;
    }

    #templatemo-nav .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10;
        align-items: center;
        justify-content: center;
        min-width: 48px;
        min-height: 48px;
        padding: 10px;
        flex-shrink: 0;
        border-radius: 10px;
        border: 1px solid transparent;
        transition:
            background 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease;
    }

    #templatemo-nav .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.18);
    }

    #templatemo-nav .nav-toggle.active {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.25),
            0 6px 24px rgba(0, 0, 0, 0.45);
    }

    #templatemo-nav .nav-toggle span {
        width: 22px;
        height: 2px;
        background: #ffffff;
        border-radius: 1px;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
    }

    #templatemo-nav .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 5;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
        padding: 100px 30px 60px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    /* Must beat #templatemo-nav .nav-links (ID + class > two classes alone) */
    #templatemo-nav .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links > li + li::before {
        display: none;
    }

    .nav-links > li > a.nav-link {
        font-size: 15px;
        letter-spacing: 0.22em;
        padding: 0.85rem 1.5rem;
    }

    .nav-links > li > a.nav-link::before {
        display: none;
    }

    /* Stack trigger + submenu (desktop keeps them in a row) */
    .nav-links > li.nav-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: min(340px, 100%);
    }

    .nav-dropdown .nav-dropdown-trigger {
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }

    /* About submenu: collapsed until .is-open (tap About); overrides desktop :hover */
    #templatemo-nav .nav-links .nav-dropdown .nav-dropdown-menu {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        min-width: 0;
        width: 100%;
        max-width: min(300px, 88vw);
        align-self: center;
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        pointer-events: none;
        border: none;
        box-shadow: none;
        background: transparent;
        transition:
            max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.28s ease,
            visibility 0.28s ease,
            margin 0.28s ease,
            padding 0.28s ease;
        z-index: 1;
    }

    #templatemo-nav .nav-links .nav-dropdown.is-open .nav-dropdown-menu {
        max-height: 520px;
        opacity: 1;
        visibility: visible;
        margin: 0.65rem 0 0;
        padding: 0.45rem 0;
        overflow: visible;
        pointer-events: auto;
        background: linear-gradient(165deg, rgba(22, 22, 28, 0.96) 0%, rgba(10, 10, 14, 0.98) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.04) inset,
            0 16px 40px rgba(0, 0, 0, 0.45);
    }

    .nav-links .nav-dropdown:not(.is-open):hover .nav-dropdown-menu,
    .nav-links .nav-dropdown:not(.is-open):focus-within .nav-dropdown-menu {
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        margin: 0;
        padding: 0;
        overflow: hidden;
        pointer-events: none;
        border: none;
        box-shadow: none;
        background: transparent;
        transform: none;
    }

    #templatemo-nav .nav-links .nav-dropdown.is-open .nav-dropdown-trigger::after {
        transform: rotate(180deg);
        opacity: 0.95;
    }

    .nav-dropdown-menu::before {
        display: block;
        left: 0.75rem;
        right: 0.75rem;
    }

    #templatemo-nav .nav-links .nav-dropdown:not(.is-open) .nav-dropdown-menu::before {
        opacity: 0;
    }

    @media (prefers-reduced-motion: reduce) {
        #templatemo-nav .nav-links .nav-dropdown .nav-dropdown-menu {
            transition: none;
        }
    }

    .nav-links .nav-dropdown-menu .nav-dropdown-link {
        display: block;
        width: 100%;
        box-sizing: border-box;
        font-family: var(--font-heading);
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        text-align: center;
        color: rgba(255, 255, 255, 0.68);
        padding: 0.75rem 1.15rem;
        border-radius: 4px;
        transition: color 0.22s ease, background 0.22s ease;
    }

    .nav-links .nav-dropdown-menu .nav-dropdown-link:hover,
    .nav-links .nav-dropdown-menu .nav-dropdown-link:focus-visible {
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
        padding-left: 1.15rem;
    }

    #templatemo-nav .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #templatemo-nav .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    #templatemo-nav .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Disable parallax on mobile — static bg */
    .parallax-bg {
        top: 0;
        height: 100%;
    }

    .section-title {
        letter-spacing: 4px;
    }

    .hero-title {
        letter-spacing: 6px;
    }

    .hero-section .hero-title {
        letter-spacing: 0.26em;
    }

    .hero-section .hero-content {
        padding-top: 100px;
        padding-bottom: 90px;
    }

    .hero-eyebrow {
        letter-spacing: 0.2em;
        font-size: 9px;
    }

    .section-subtitle {
        letter-spacing: 2px;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-graphic {
        min-height: 180px;
    }

    .about-tablist {
        flex-direction: column;
    }

    .about-tab {
        width: 100%;
        text-align: center;
    }

    .offer-bento {
        grid-template-columns: 1fr;
    }

    .offer-tile--span2 {
        grid-column: span 1;
    }

    .offer-pipeline-steps {
        flex-direction: column;
    }

    .offer-step {
        flex: none;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }

    .section-content {
        padding: 80px 20px;
    }

    .legal-page .section-content.legal-page-inner {
        padding-top: clamp(5rem, 15vw, 6.5rem);
    }

    .legal-prose-card {
        padding: 1.35rem 1.05rem;
        border-radius: 8px;
    }

    .legal-page-header::after {
        width: 3.25rem;
    }

    .hero-section .hero-content {
        padding-top: 88px;
        padding-bottom: 80px;
    }

    .hero-card {
        padding: 1.5rem 1.15rem;
    }

    .hero-section .hero-title {
        letter-spacing: 0.18em;
    }

    .section-title {
        letter-spacing: 3px;
    }

    .content-block p {
        font-size: 15px;
    }

    .stat-number {
        font-size: 34px;
    }
}
