/* ============================================
   BLANK STUDIO v2 - INSPIRED BY VRRB
   Clean, Bold, Minimal
   ============================================ */

:root {
    --bg: #f5f3ef;
    --bg-white: #ffffff;
    --text: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --accent: #ff5a45;
    --accent-hover: #e8492f;
    --accent-soft: rgba(255, 90, 69, 0.08);
    --accent-rgb: 255, 90, 69;
    --border: #e5e2dc;
    --border-light: #f0eeea;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

::selection { background: var(--accent); color: white; }

/* ===== SPLASHSCREEN ===== */
.splashscreen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.6s var(--transition), visibility 0.6s;
    /* Safety net: auto-hide even if JS fails to load */
    animation: splash-force-hide 0s linear 4s forwards;
}
@keyframes splash-force-hide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.splashscreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash-logo {
    width: 64px;
    animation: splash-pulse 1.8s ease-in-out infinite;
}
.splash-logo img { width: 100%; display: block; }
.splash-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}
.splash-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: splash-blink 1s ease-in-out infinite;
}
@keyframes splash-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes splash-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .splash-logo, .splash-dot { animation: none; }
    .splashscreen { transition: opacity 0.15s linear, visibility 0.15s; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s var(--transition);
}

.navbar.scrolled {
    background: rgba(245, 243, 239, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 40px;
    border-bottom: 1px solid var(--border);
}

/* Small floating CTA tab under the hamburger: a dot + vertical label */
.nav-side-cta {
    position: fixed;
    top: 108px;
    right: 40px;
    z-index: 999;
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: opacity 0.3s var(--transition), transform 0.3s var(--transition);
}
.nav-side-cta:hover {
    transform: translateY(-2px);
}
.nav-side-cta-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s var(--transition-bounce);
}
.nav-side-cta:hover .nav-side-cta-dot {
    transform: scale(1.25);
}
.nav-side-cta-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text);
    white-space: nowrap;
    transition: color 0.3s var(--transition);
}
.nav-side-cta:hover .nav-side-cta-label {
    color: var(--accent);
}

/* Flip the label to white when the fixed tab drifts over a dark section */
.nav-side-cta--on-dark .nav-side-cta-label {
    color: #f5f3ef;
}
.nav-side-cta--on-dark:hover .nav-side-cta-label {
    color: var(--accent);
}

body.menu-open .nav-side-cta {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-side-cta {
        top: 92px;
        right: 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .nav-side-cta,
    .nav-side-cta-dot,
    .nav-side-cta-label {
        transition: none;
    }
}

/* While the menu is open the navbar must stay transparent, whatever the
   scroll state, so only the black overlay shows behind the logo/X */
body.menu-open .navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.logo img { height: 40px; width: auto; }

/* Hamburger Button */
.hamburger {
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 50%;
    transition: background 0.3s var(--transition);
}

.hamburger:hover {
    background: rgba(26, 26, 26, 0.06);
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.45s var(--transition-bounce),
                opacity 0.3s var(--transition),
                width 0.3s var(--transition);
}

/* Playful hover: outer lines stretch slightly */
.hamburger:hover .hamburger-line:nth-child(1),
.hamburger:hover .hamburger-line:nth-child(3) {
    width: 32px;
}

/* Morph into an X */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 30px;
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 30px;
}

/* Flip to light so the X reads against the black overlay behind it */
.hamburger.active .hamburger-line {
    background: #f5f3ef;
}
.logo img {
    transition: filter 0.3s var(--transition);
}
body.menu-open .logo img {
    filter: invert(1);
}

/* Full Screen Menu Overlay - circular reveal from the hamburger */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: #0c0c0c;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: clamp(40px, 9vw, 160px);
    visibility: hidden;
    clip-path: circle(0% at calc(100% - 62px) 46px);
    transition: clip-path 1.25s cubic-bezier(0.86, 0, 0.07, 1),
                visibility 0s linear 1.25s;
}

.menu-overlay.active {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 62px) 46px);
    transition: clip-path 1.25s cubic-bezier(0.86, 0, 0.07, 1),
                visibility 0s;
}

/* Giant faint logo watermark behind the menu links, Vrrb-style */
.menu-bg-mark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: clamp(20px, 6vw, 100px);
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.9s var(--transition) 0.2s;
}
.menu-overlay.active .menu-bg-mark {
    opacity: 1;
}
.menu-bg-mark img {
    width: min(55vw, 640px);
    height: auto;
}

/* Video clipped to the logo's letterforms, playing behind the menu links */
.menu-bg-video {
    width: min(55vw, 640px);
    aspect-ratio: 73.146 / 67.688;
    object-fit: cover;
    -webkit-mask-image: url('../images/logo.svg');
    mask-image: url('../images/logo.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.menu-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.menu-item {
    display: block;
    position: relative;
    font-size: clamp(1.75rem, 4.2vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #f5f3ef;
    text-decoration: none;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.5s var(--transition),
                transform 0.6s var(--transition-bounce),
                color 0.1s ease;
}

.menu-overlay.active .menu-item {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance (delay list matches the 3 transitioned properties above:
   opacity, transform, color — color must stay at 0s so hover stays snappy) */
.menu-overlay.active .menu-item:nth-child(1) { transition-delay: 0.15s, 0.15s, 0s; }
.menu-overlay.active .menu-item:nth-child(2) { transition-delay: 0.22s, 0.22s, 0s; }
.menu-overlay.active .menu-item:nth-child(3) { transition-delay: 0.29s, 0.29s, 0s; }
.menu-overlay.active .menu-item:nth-child(4) { transition-delay: 0.36s, 0.36s, 0s; }
.menu-overlay.active .menu-item:nth-child(5) { transition-delay: 0.43s, 0.43s, 0s; }
.menu-overlay.active .menu-item:nth-child(6) { transition-delay: 0.50s, 0.50s, 0s; }

/* Animated underline sweeping in from the left edge of the word */
.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.12em;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s var(--transition-bounce);
}

.menu-item:hover {
    color: var(--accent);
}

.menu-item:hover::after {
    width: 44%;
}

/* Editorial focus: dim the items you are not pointing at */
.menu-content:hover .menu-item:not(:hover) {
    opacity: 0.35;
}

.menu-cta {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--transition) 0.55s,
                transform 0.5s var(--transition) 0.55s;
}

.menu-overlay.active .menu-cta {
    opacity: 1;
    transform: translateY(0);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.navbar-lang-switch a {
    display: inline-block;
    color: var(--text);
    opacity: 0.7;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    transition: opacity 0.3s var(--transition), border-color 0.3s var(--transition), color 0.3s var(--transition);
}
.navbar-lang-switch a:hover {
    opacity: 1;
    border-color: var(--accent);
    color: var(--accent);
}
body.menu-open .navbar-lang-switch a {
    color: #f5f3ef;
    border-color: rgba(245, 243, 239, 0.3);
}
@media (max-width: 480px) {
    .navbar-lang-switch a { padding: 5px 11px; font-size: 0.75rem; }
    .navbar-right { gap: 10px; }
}

/* Mobile: centre everything (placed after the rules above so it wins the cascade) */
@media (max-width: 768px) {
    .menu-bg-mark {
        justify-content: center;
        padding-right: 0;
    }
    .menu-overlay {
        justify-content: center;
        padding-left: 0;
    }
    .menu-content {
        text-align: center;
    }
    .menu-item::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .menu-bg-video {
        opacity: 0.4;
    }
}

body.menu-open { overflow: hidden; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .menu-overlay {
        clip-path: none;
        opacity: 0;
        transition: opacity 0.2s linear, visibility 0s linear 0.2s;
    }
    .menu-overlay.active {
        opacity: 1;
        transition: opacity 0.2s linear, visibility 0s;
    }
    .hamburger-line,
    .menu-item,
    .menu-cta,
    .menu-bg-mark {
        transition-duration: 0.15s !important;
        transition-delay: 0s !important;
    }
    .menu-item { transform: none; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--text);
}
.btn-outline:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-lg { padding: 20px 48px; font-size: 1.0625rem; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 40px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(circle at 25% 35%, black, transparent 65%);
    mask-image: radial-gradient(circle at 25% 35%, black, transparent 65%);
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    top: 12%;
    right: 6%;
    width: min(38vw, 460px);
    height: min(38vw, 460px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--accent), transparent 70%);
    opacity: 0.14;
    pointer-events: none;
    animation: hero-shape-float 9s var(--transition) infinite;
}

.hero-shape--ring {
    position: absolute;
    bottom: 4%;
    right: 12%;
    width: min(24vw, 290px);
    height: min(24vw, 290px);
    border-radius: 50%;
    border: 1.5px dashed var(--border);
    pointer-events: none;
    animation: hero-shape-ring-spin 22s linear infinite;
}

.hero-shape-logo {
    position: absolute;
    bottom: 4%;
    right: 12%;
    width: min(24vw, 290px);
    height: min(24vw, 290px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.hero-shape-logo img {
    width: 66%;
    height: auto;
}

@keyframes hero-shape-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3%, -6%) scale(1.06); }
    66% { transform: translate(-4%, 4%) scale(0.96); }
}
@keyframes hero-shape-ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Small dots drifting behind the hero text, like they're bumping off each other */
.hero-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.3);
    opacity: 0.4;
}
.hero-dot-1 {
    top: 14%;
    left: 3%;
    width: 58px;
    height: 58px;
    background: radial-gradient(circle at 30% 26%, #ff9a83, var(--accent) 60%, var(--accent-hover) 100%);
    animation: hero-dot-bounce-a 4.6s ease-in-out infinite;
}
.hero-dot-2 {
    top: 46%;
    left: 9%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 26%, #4a4a4a, var(--text) 70%);
    animation: hero-dot-bounce-b 5.2s ease-in-out infinite 0.4s;
}
.hero-dot-3 {
    top: 8%;
    left: 30%;
    width: 46px;
    height: 46px;
    background: radial-gradient(circle at 30% 26%, #ffffff, #ece9e3 70%);
    border: 1px solid var(--border);
    animation: hero-dot-bounce-c 3.9s ease-in-out infinite 0.9s;
}
.hero-dot-4 {
    top: 30%;
    left: 22%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 26%, #ff9a83, var(--accent) 60%, var(--accent-hover) 100%);
    animation: hero-dot-bounce-a 5.5s ease-in-out infinite 1.7s;
}
.hero-dot-6 {
    top: 40%;
    left: 34%;
    width: 26px;
    height: 26px;
    background: radial-gradient(circle at 30% 26%, #ffffff, #ece9e3 70%);
    border: 1px solid var(--border);
    animation: hero-dot-bounce-c 4.7s ease-in-out infinite 3.1s;
}
/* Each animation carries the ball through a wider loop and squashes/stretches
   it right at the direction changes, faking the look of a real bounce off
   something rather than a smooth drift. */
@keyframes hero-dot-bounce-a {
    0%, 100% { transform: translate(0, 0) scale(1, 1); }
    18% { transform: translate(48px, -54px) scale(1, 1); }
    21% { transform: translate(48px, -54px) scale(1.3, 0.72); }
    27% { transform: translate(40px, -44px) scale(0.9, 1.08); }
    50% { transform: translate(-42px, 30px) scale(1, 1); }
    53% { transform: translate(-42px, 30px) scale(0.72, 1.32); }
    59% { transform: translate(-34px, 22px) scale(1.06, 0.92); }
    80% { transform: translate(30px, 38px) scale(1, 1); }
}
@keyframes hero-dot-bounce-b {
    0%, 100% { transform: translate(0, 0) scale(1, 1); }
    22% { transform: translate(-50px, 38px) scale(1, 1); }
    25% { transform: translate(-50px, 38px) scale(1.28, 0.75); }
    31% { transform: translate(-40px, 30px) scale(0.92, 1.06); }
    55% { transform: translate(44px, -46px) scale(1, 1); }
    58% { transform: translate(44px, -46px) scale(0.75, 1.3); }
    64% { transform: translate(36px, -38px) scale(1.05, 0.94); }
    85% { transform: translate(22px, 34px) scale(1, 1); }
}
@keyframes hero-dot-bounce-c {
    0%, 100% { transform: translate(0, 0) scale(1, 1); }
    28% { transform: translate(46px, 46px) scale(1, 1); }
    31% { transform: translate(46px, 46px) scale(1.3, 0.72); }
    37% { transform: translate(38px, 34px) scale(0.9, 1.08); }
    65% { transform: translate(-42px, 26px) scale(1, 1); }
    68% { transform: translate(-42px, 26px) scale(0.75, 1.3); }
    74% { transform: translate(-34px, 18px) scale(1.05, 0.92); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-shape, .hero-shape--ring, .hero-dot { animation: none; }
}

/* ===== AMBIENT DOTS - a small, quiet touch reused across the site ===== */
.ambient-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.ambient-dot--a {
    width: 14px;
    height: 14px;
    background: var(--accent);
    opacity: 0.12;
    animation: ambient-dot-float-a 7s ease-in-out infinite;
}
.ambient-dot--b {
    width: 20px;
    height: 20px;
    background: var(--text);
    opacity: 0.06;
    animation: ambient-dot-float-b 8.5s ease-in-out infinite 1.2s;
}
.ambient-dot--c {
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--accent);
    opacity: 0.2;
    animation: ambient-dot-float-a 6.2s ease-in-out infinite 2.4s;
}
/* Light variants for dark sections, like the footer */
.ambient-dot--footer-a {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    animation: ambient-dot-float-a 7.4s ease-in-out infinite 0.6s;
}
.ambient-dot--footer-b {
    width: 11px;
    height: 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    animation: ambient-dot-float-b 6.8s ease-in-out infinite 1.9s;
}
@keyframes ambient-dot-float-a {
    0%, 100% { transform: translate(0, 0); }
    30% { transform: translate(14px, -18px); }
    65% { transform: translate(-10px, 10px); }
}
@keyframes ambient-dot-float-b {
    0%, 100% { transform: translate(0, 0); }
    35% { transform: translate(-16px, 12px); }
    70% { transform: translate(12px, -14px); }
}
@media (prefers-reduced-motion: reduce) {
    .ambient-dot { animation: none; }
}

.hero-content { max-width: 900px; position: relative; }

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(2.5rem, 6.5vw, 5.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-mini-stats {
    display: flex;
    gap: 40px;
    margin-top: 72px;
    flex-wrap: wrap;
}
.hero-mini-stats .stat-item { text-align: left; }
.hero-mini-stats .stat-number { font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* Scroll hint, bottom-center */
.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.scroll-hint-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}
.scroll-hint-line {
    width: 1px;
    height: 48px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.scroll-hint-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scroll-hint-drop 1.8s ease-in-out infinite;
}
@keyframes scroll-hint-drop {
    0% { top: -100%; }
    60% { top: 100%; }
    100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-hint-line::after { animation: none; top: 0; }
}
@media (max-width: 640px) {
    .scroll-hint { display: none; }
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 40px;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin-bottom: 80px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== MANIFESTO (blank canvas intro block) ===== */
.manifesto {
    padding: 100px 40px;
    overflow: hidden;
}
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.manifesto-text h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.manifesto-text p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 480px;
}
.manifesto-text .btn { margin-top: 12px; }

.manifesto-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin: 0 auto;
}
.manifesto-canvas {
    position: absolute;
    inset: 6%;
    border: 1.5px dashed var(--border);
    border-radius: 28px;
}
.manifesto-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(var(--border-light) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}
.manifesto-blob {
    position: absolute;
    width: 46%;
    height: 46%;
    top: 12%;
    left: 10%;
    border-radius: 50%;
    background: var(--text);
    opacity: 0.06;
}
.manifesto-mark {
    position: absolute;
    width: 34%;
    height: 34%;
    bottom: 12%;
    right: 10%;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 30px 60px -20px rgba(var(--accent-rgb), 0.55);
}
.manifesto-mark::after {
    content: '';
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.35);
}

.manifesto-stats {
    display: flex;
    gap: 40px;
    margin-top: 44px;
    flex-wrap: wrap;
}
.manifesto-stats .stat-item { text-align: left; }
.manifesto-stats .stat-number { font-size: clamp(1.75rem, 3vw, 2.5rem); }

@media (max-width: 900px) {
    .manifesto-grid { grid-template-columns: 1fr; gap: 60px; }
    .manifesto-visual { order: -1; max-width: 320px; }
}

/* ===== MARQUEE BAND ===== */
.marquee-band {
    padding: 26px 0;
    background: var(--text);
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    width: max-content;
    animation: marquee-scroll 26s linear infinite;
}
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 0 28px;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}
.marquee-track span::after {
    content: '●';
    font-size: 0.6rem;
    color: var(--accent);
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .marquee-band { overflow-x: auto; }
}

/* ===== CAPABILITIES (big stacked service links) ===== */
.capabilities {
    padding: 100px 40px 120px;
    position: relative;
}
.capabilities-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.capabilities-list {
    list-style: none;
    border-top: 1px solid var(--border);
}
.capability-item {
    border-bottom: 1px solid var(--border);
}
.capability-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 4px;
    text-decoration: none;
    color: var(--text);
    transition: color 0.4s var(--transition), padding-left 0.4s var(--transition), opacity 0.4s var(--transition);
}
.capability-index {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 32px;
}
.capability-title {
    font-size: clamp(1.75rem, 5.5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    flex: 1;
}
.capability-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-16px) rotate(-45deg);
    transition: all 0.4s var(--transition-bounce);
}
.capability-item:hover .capability-link { color: var(--accent); padding-left: 20px; }
.capability-item:hover .capability-arrow {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}
.capabilities-list:hover .capability-item:not(:hover) .capability-link { opacity: 0.35; }

@media (max-width: 640px) {
    .capability-link { gap: 14px; padding: 24px 2px; }
    .capability-index { width: 22px; font-size: 0.8125rem; }
    .capability-arrow { width: 36px; height: 36px; }
}

/* ===== SERVICE DETAIL ROWS ===== */
.service-list { list-style: none; border-top: 1px solid var(--border); }
.service-row {
    border-bottom: 1px solid var(--border);
    padding: 56px 4px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 32px;
    align-items: start;
    transition: opacity 0.4s var(--transition);
}
.service-row-index {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-top: 6px;
}
.service-row-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    transition: color 0.3s var(--transition);
}
.service-row-desc {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 640px;
}
.service-row-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.service-row-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    white-space: nowrap;
    transition: color 0.3s var(--transition);
}
.service-row-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--transition-bounce);
}
.service-row:hover .service-row-title,
.service-row:hover .service-row-link { color: var(--accent); }
.service-row:hover .service-row-arrow {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
    transform: translateX(4px);
}
.service-list:hover .service-row:not(:hover) { opacity: 0.5; }

@media (max-width: 768px) {
    .service-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 2px; }
    .service-row-index { padding-top: 0; }
    .service-row-link { justify-self: start; }
}

/* ===== PROJECTS SLIDER ===== */
.projects-slider { padding: 100px 0 120px 40px; overflow: hidden; }
.projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-right: 40px;
    margin-bottom: 48px;
}
.projects-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    padding-right: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.projects-track::-webkit-scrollbar { display: none; }
.project-slide {
    flex: 0 0 auto;
    width: min(340px, 78vw);
    scroll-snap-align: start;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-white);
}
.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition);
}
.project-slide:hover img { transform: scale(1.06); }
.project-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}
.project-slide-tag {
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: white;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: auto;
}
.project-slide h3 { color: white; font-size: 1.375rem; margin-bottom: 6px; }
.project-slide p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 16px; }
.project-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}
.project-slide-link svg { transition: transform 0.3s var(--transition); }
.project-slide:hover .project-slide-link svg { transform: translateX(4px); }

.slider-nav { display: flex; gap: 10px; }
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--transition);
}
.slider-dot.active { background: var(--accent); width: 28px; border-radius: 6px; }

@media (max-width: 640px) {
    .projects-slider { padding: 80px 0 80px 24px; }
    .projects-head { padding-right: 24px; }
    .projects-track { padding-right: 24px; }
}

/* ===== QUOTE SLIDER ===== */
.quote-slider {
    padding: 120px 40px;
    background: var(--text);
    color: white;
    position: relative;
    overflow: hidden;
}
.quote-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(circle at 80% 20%, black, transparent 60%);
    mask-image: radial-gradient(circle at 80% 20%, black, transparent 60%);
}
.quote-slider-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.quote-slider-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 32px;
    display: inline-block;
}
.quote-track {
    position: relative;
    min-height: 200px;
}
.quote-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
    pointer-events: none;
}
.quote-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.quote-slide h3 {
    font-size: clamp(1.375rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}
.quote-author { font-weight: 700; font-size: 1rem; }
.quote-role { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.quote-dots { display: flex; gap: 10px; justify-content: center; margin-top: 48px; }
.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--transition);
}
.quote-dot.active { background: var(--accent); width: 26px; border-radius: 5px; }

/* ===== CARDS ===== */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--transition);
}
.card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===== GRID ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 80px 24px; }
    .hero { padding: 120px 24px 60px; }
    .navbar { padding: 20px 24px; }
    .navbar.scrolled { padding: 14px 24px; }
}

/* ===== STATS ===== */
.stat-item { text-align: center; }
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
    gap: 24px;
}
.portfolio-item {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-white);
    text-decoration: none;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.4s var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: white; font-size: 1.5rem; margin-bottom: 4px; }
.portfolio-overlay p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}
.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--text);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}
.testimonial-author h4 { font-size: 1rem; margin-bottom: 2px; }
.testimonial-author p { font-size: 0.875rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--transition), padding 0.4s;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 16px;
}
.faq-answer p { color: var(--text-light); line-height: 1.7; }

/* ===== PROCESS ===== */
.process-step {
    display: flex;
    gap: 28px;
    padding: 32px 0;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 72px;
    width: 2px;
    height: calc(100% - 40px);
    background: var(--border);
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    flex-shrink: 0;
    z-index: 1;
}
.step-content h4 { font-size: 1.125rem; margin-bottom: 8px; }
.step-content p { color: var(--text-light); font-size: 0.9375rem; }

/* ===== FORM ===== */
input, textarea, select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9375rem;
    transition: all 0.2s;
    outline: none;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
textarea { min-height: 140px; resize: vertical; }

.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-feedback {
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    min-height: 1px;
}
.form-feedback--success { color: #16a34a; }
.form-feedback--error { color: #ef4444; }

/* ===== TAG ===== */
.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.breadcrumb a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    color: white;
    /* Top padding keeps pages without .footer-cta from looking cramped;
       extra bottom padding keeps footer-bottom clear of the fixed cookie banner at full scroll */
    padding: 80px 40px 130px;
    position: relative;
    overflow: hidden;
}
.footer-cta {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 0 100px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-cta h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 640px;
}
.footer-cta p {
    color: rgba(255,255,255,0.6);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 480px;
    margin-top: 16px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.7; }
.footer-links h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; color: rgba(255,255,255,0.4); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer { padding: 60px 24px 30px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 20px 40px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.cookie-banner.show { display: block; }
.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.875rem; margin: 0; color: var(--text-light); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating slide-in from off-screen left/right, e.g. for capability rows */
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.reveal-left { transform: translateX(-140px); }
.reveal-right { transform: translateX(140px); }
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-left,
    .reveal-right {
        transform: none;
        transition-duration: 0.15s;
    }
}

/* ===== PARALLAX ===== */
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
    [data-parallax] { transform: none !important; }
}

/* ===== CURSOR DOT ===== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 10050;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s var(--transition),
                width 0.3s var(--transition-bounce),
                height 0.3s var(--transition-bounce);
    will-change: transform;
}
.cursor-dot.visible { opacity: 1; }
.cursor-dot.hover { width: 44px; height: 44px; }
.cursor-dot.pressed { width: 10px; height: 10px; }

body.has-cursor-dot,
body.has-cursor-dot a,
body.has-cursor-dot button,
body.has-cursor-dot .hamburger,
body.has-cursor-dot .slider-dot,
body.has-cursor-dot .quote-dot {
    cursor: none;
}

@media (pointer: coarse) {
    .cursor-dot { display: none !important; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== HERO SUBPAGES ===== */
.hero-sub {
    min-height: auto;
    padding: 160px 40px 80px;
}
.hero-sub h1 { font-size: clamp(2.5rem, 5vw, 4rem); }

/* ===== TEAM ===== */
.team-member { transition: transform 0.4s var(--transition); }
.team-member:hover { transform: translateY(-6px); }
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    transition: box-shadow 0.4s var(--transition);
}
.team-member:hover .team-avatar { box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3); }

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}
.filter-btn {
    padding: 10px 24px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    color: var(--text-light);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ===== ARTICLE ===== */
.article-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; font-size: 0.875rem; color: var(--text-muted); }
.article-content { max-width: 720px; margin: 0 auto; }
.article-content h2 { margin: 48px 0 20px; font-size: 1.75rem; }
.article-content h3 { margin: 32px 0 16px; font-size: 1.375rem; }
.article-content p { margin-bottom: 20px; font-size: 1.0625rem; color: var(--text-light); }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; color: var(--text-light); }
.article-toc { background: var(--bg-white); border: 1px solid var(--border); border-radius: 20px; padding: 32px; margin-bottom: 48px; }
.article-toc h4 { margin-bottom: 16px; font-size: 1rem; }
.article-toc ul { list-style: none; padding: 0; }
.article-toc li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.article-toc li:last-child { border-bottom: none; }
.article-toc a { color: var(--text-light); font-size: 0.9375rem; }
.article-toc a:hover { color: var(--accent); }

/* ===== BLOG CARD ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 32px; }
.blog-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all 0.4s var(--transition); }
.blog-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: 28px; }
.blog-card-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 0.8125rem; color: var(--text-muted); }
.blog-card h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.3; }
.blog-card p { font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; }

/* ===== LEGAL ===== */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin: 48px 0 20px; font-size: 1.75rem; }
.legal-content h3 { margin: 32px 0 16px; font-size: 1.375rem; }
.legal-content p, .legal-content li { margin-bottom: 16px; color: var(--text-light); line-height: 1.7; }
.legal-content ul { padding-left: 24px; margin-bottom: 20px; }
.legal-content a { color: var(--accent); }

/* ===== 404 ===== */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.error-code { font-size: clamp(8rem, 20vw, 16rem); font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 24px; opacity: 0.3; }
.error-page h2 { margin-bottom: 16px; }
.error-page p { margin-bottom: 32px; max-width: 500px; }

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder { width: 100%; height: 400px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-muted); }

/* ===== CONTACT INFO ===== */
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; }
.contact-info-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); font-size: 1.25rem; }
.contact-info-content h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-content p, .contact-info-content a { font-size: 0.9375rem; color: var(--text-light); }
.contact-info-content a:hover { color: var(--accent); }

/* ===== SOCIAL LINKS ===== */
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: white; transition: all 0.2s; }
.social-link:hover { background: var(--accent); transform: translateY(-2px); }

/* ===== DESKTOP NAV (replaced by the hamburger menu at all sizes) ===== */
.desktop-nav { display: none; }
.desktop-nav a {
    position: relative;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s var(--transition);
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--transition-bounce);
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--text); }
.desktop-nav a:hover::after,
.desktop-nav a.active::after { transform: scaleX(1); }

