/* =========================================
   0. SELF-HOSTED FONTS (Safari Private Browsing blocks Google Fonts)
   ========================================= */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/poppins-900.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/roboto-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dmsans-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================
   1. CORE & RESET
   ========================================= */
:root {
    --bg-void: #050b14;
    --glass-surface: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* NEON PALETTE */
    --neon-cyan: #00E0FF;
    --neon-pink: #FF0099;
    --neon-purple: #BD00FF;
    --neon-blue: #0066FF;
    --accent-blue: #00A2FF;
    --card-max-width: 420px;
    /* Cards with image as heading (Review, About mobile) use this */
    --card-body-padding-x: 20px;
    /* Standard cards (About desktop, Clients, Services) — slightly more padding to centralize content */
    --card-body-padding-x-standard: 26px;
    /* Even spacing between top of card, icon, title, and body text */
    --card-inner-gap: 20px;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);

    /* INTERACTION TIMING */
    --hover-duration: 0.25s;

    /* SPACING SYSTEM */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    --hero-gap: 28px;
    --hero-padding-top: 120px;
    /* Hero marquee: scale with viewport width to match section marquees proportionally */
    --hero-marquee-logo: clamp(40px, 6vw, 72px);
    --hero-marquee-gap: clamp(12px, 2.5vw, 32px);
    --spacing-xl: 80px;

    /* Fluid card border-radius — scales 16px (mobile) → 24px (desktop) */
    --card-radius: clamp(16px, 0.82rem + 0.75vw, 24px);

    /* Shared easing curve */
    --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(189, 0, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(0, 224, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
a { text-decoration: none; color: inherit; transition: color var(--hover-duration) ease, opacity var(--hover-duration) ease; }

/* TYPOGRAPHY */
h1, h2, h3, h4, .btn-main, .nav-item, .clay-name, .review-name {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Heading — Poppins Black, uppercase, #F0F4F8, larger than card title, scales without breaking on mobile */
h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 2.8vw + 0.2rem, 1.9rem);
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: #F0F4F8;
    line-height: 1.15;
    white-space: nowrap;
}

/* Card Title — Poppins Black, uppercase, color matches icon/glow, slightly smaller than section heading */
h3 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: clamp(0.95rem, 1.1vw + 0.5rem, 1.15rem);
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    line-height: 1.2;
    text-align: center;
}
.card-glass.hover-cyan h3,
.card-glass.hover-cyan .card-header-inline h3,
.service-card.hover-cyan h3 { color: var(--neon-cyan); }
.card-glass.hover-pink h3,
.card-glass.hover-pink .card-header-inline h3,
.service-card.hover-pink h3 { color: var(--neon-pink); }
.card-glass.hover-purple h3,
.card-glass.hover-purple .card-header-inline h3,
.service-card.hover-purple h3 { color: var(--neon-purple); }
/* About header: only VISION/BUILD get neon; rest is #F0F4F8 */
#about .card-glass.hover-purple .about-header { color: #F0F4F8; }
p { font-size: clamp(0.875rem, 0.83rem + 0.19vw, 1rem); color: #fff; margin-bottom: 0; line-height: 1.6; }

/* NEON UTILITIES */
.text-cyan { color: var(--neon-cyan); }
.text-pink { color: var(--neon-pink); }
.text-purple { color: var(--neon-purple); }

/* Utility Classes */
.perfect-for-block { margin-bottom: 4px; }
.icon-service { font-size: 2rem; margin-bottom: 20px; display: inline-block; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 15px; }
.text-xs { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.text-label { font-size: 0.75rem; font-weight: 700; margin-bottom: 5px; }
/* Card body — single rule for all static + expanded body text (About, Clients, Services, Reviews) */
.card-glass p,
.card-glass .lead,
.expandable-content-inner p,
.review-card .quote-text,
.service-card p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 0.83rem + 0.19vw, 1rem);
    line-height: 1.6;
    color: #F0F4F8;
    text-align: left;
    margin-bottom: 0.75em;
}
.card-glass p:last-child,
.expandable-content-inner p:last-child,
.review-card .quote-text:last-child,
.service-card p:last-child { margin-bottom: 0; }


.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;
}

/* Focus visibility — keyboard users get a clear ring without changing mouse UX */
a:focus-visible,
button:focus-visible,
[role="link"]:focus-visible,
[role="button"]:focus-visible,
.expandable-toggle:focus-visible,
.nav-item:focus-visible,
.nav-mobile-item:focus-visible,
.marquee-logo-glass:focus-visible,
.nav-arrow-btn:focus-visible,
.footer-logo-glass:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}
button:focus { outline: none; }

.reveal-target {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-target.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Section heading — light fade/slide when section enters view (no scale) */
.reveal-heading.reveal-target {
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-heading.reveal-target.revealed { transform: translateY(0); }

/* =========================================
   2. LAYOUT ENGINE
   ========================================= */
.wrapper { width: 90%; max-width: 1100px; margin: 0 auto; }
.wrapper-tight { width: 90%; max-width: 960px; margin: 0 auto; }

section {
    min-height: 100vh;
    padding: clamp(100px, 3.17rem + 4.81vw, 120px) 0 clamp(70px, 2.84rem + 2.4vw, 80px);
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}
@supports (min-height: 100svh) { section { min-height: 100svh; } }

section > .wrapper,
section > .wrapper-tight {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grid-twin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(25px, 2vw + 15px, 40px);
    align-items: stretch;
    justify-content: center;
    width: 100%;
}
.grid-tri {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 1.5vw + 10px, 30px);
    align-items: stretch;
    justify-content: center;
    width: 100%;
}
/* =========================================
   3. LIQUID GLASS CARDS
   ========================================= */
.card-glass {
    background: var(--glass-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: clamp(24px, 1.32rem + 0.75vw, 32px) clamp(20px, 1.07rem + 0.75vw, 28px);
    height: 100%; width: 100%;
    display: flex; flex-direction: column; justify-content: center;
    transition: transform var(--hover-duration) cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow var(--hover-duration) ease,
                border-color var(--hover-duration) ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    cursor: default;
    position: relative;
    overflow: visible;
}

.card-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    opacity: 0;
    transition: opacity var(--hover-duration) ease;
    pointer-events: none;
}

.card-glass:hover,
.card-glass:active {
    transform: translateY(-5px);
}
.card-glass:hover::after,
.card-glass:active::after { opacity: 1; }

.hover-cyan:hover,
.hover-cyan:active {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.15), 0 0 24px rgba(0, 224, 255, 0.30), 0 20px 40px rgba(0, 0, 0, 0.45);
}
.hover-cyan::after { background: radial-gradient(circle at 50% 0%, rgba(0, 224, 255, 0.09) 0%, transparent 65%); }

.hover-pink:hover,
.hover-pink:active {
    border-color: var(--neon-pink);
    box-shadow: 0 0 0 2px rgba(255, 0, 153, 0.15), 0 0 24px rgba(255, 0, 153, 0.30), 0 20px 40px rgba(0, 0, 0, 0.45);
}
.hover-pink::after { background: radial-gradient(circle at 50% 0%, rgba(255, 0, 153, 0.09) 0%, transparent 65%); }

.hover-purple:hover,
.hover-purple:active {
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 2px rgba(189, 0, 255, 0.15), 0 0 24px rgba(189, 0, 255, 0.30), 0 20px 40px rgba(0, 0, 0, 0.45);
}
.hover-purple::after { background: radial-gradient(circle at 50% 0%, rgba(189, 0, 255, 0.09) 0%, transparent 65%); }

/* Standardized card glow (Contact Card style) — same hover/active for all cards */
.card-hover-cyan:hover,
.card-hover-cyan:active {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.15), 0 0 24px rgba(0, 224, 255, 0.30), 0 20px 40px rgba(0, 0, 0, 0.45);
}
.card-hover-pink:hover,
.card-hover-pink:active {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: 0 0 0 2px rgba(255, 0, 153, 0.15), 0 0 24px rgba(255, 0, 153, 0.30), 0 20px 40px rgba(0, 0, 0, 0.45);
}
.card-hover-purple:hover,
.card-hover-purple:active {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 2px rgba(189, 0, 255, 0.15), 0 0 24px rgba(189, 0, 255, 0.30), 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Expandable Card Wrapper — clean, tight dynamic cards */
.card-expand-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
}
.card-expand-wrap .card-glass {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--card-inner-gap) clamp(20px, 1.07rem + 0.75vw, 28px) 52px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.card-expand-wrap.is-expanded .card-glass {
    justify-content: flex-start;
    padding-top: var(--card-inner-gap);
    padding-bottom: 52px;
}

/* REVIEW CARD: prevent the global expanded padding from adding
   extra space above the photo. Review cards contain their
   own image at the top so we keep padding-top zero when expanded. */
.card-expand-wrap.is-expanded .card-glass.review-card {
    padding-top: 0;
}
.card-expand-wrap.is-expanded .review-card .review-photo-wrap {
    margin-top: 0;
}

/* About section card — even inner spacing */
#about .grid-twin > .card-expand-wrap > .card-glass {
    padding: var(--card-inner-gap) var(--card-body-padding-x-standard) 52px;
}
#about .grid-twin > .card-expand-wrap > .card-glass .about-header {
    margin-bottom: var(--card-inner-gap);
}
#clients .card-expand-wrap .card-header-inline h3 {
    margin-bottom: 0;
}

/* Photo card in About */
#about .grid-twin > .card-photo { min-height: 320px; border-radius: 24px; overflow: hidden; }
#about .grid-twin > .card-photo img {
    object-fit: cover;
    object-position: center 35%;
    width: 100%;
    height: 100%;
    transform: scale(1.4);
}
/* Desktop About pill: match card outline/glow (cyan), add shadow for legibility */
#about .grid-twin > .card-photo .photo-caption {
    border-color: rgba(0, 224, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 12px rgba(0, 224, 255, 0.08);
}
#about .grid-twin > .card-photo .clay-name {
    color: #F0F4F8;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 12px rgba(0, 0, 0, 0.6);
}
#about .grid-twin > .card-photo .clay-role {
    color: var(--neon-cyan);
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 12px rgba(0, 0, 0, 0.6);
}
.card-expand-wrap .card-glass:hover {
    transform: translateY(-5px);
}
/* Static block */
.card-expand-wrap .card-static {
    flex-shrink: 0;
    width: 100%;
}

/* header inline: icon above title — even gap between icon, title, and body */
.card-header-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--card-inner-gap);
    text-align: center;
    margin-bottom: var(--card-inner-gap);
}
.card-header-inline .icon-service { flex-shrink: 0; font-size: 2rem; margin-bottom: 0; }
.card-header-inline h3 { margin: 0; text-align: center; }
/* Expandable area — smooth max-height accordion */
.expandable-content-wrap {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.expandable-content-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding-top: 14px;
}
.expandable-content-inner .mt-3 { margin-top: 14px; }
.card-expand-wrap .card-glass .card-static,
.card-expand-wrap .card-glass .expandable-content-inner {
    width: 100%;
}
/* Override generic card p for specific utility classes (higher specificity) */
.card-glass .text-label { font-size: 0.75rem; font-weight: 700; margin-bottom: 5px; }
.card-glass .text-xs { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0; }
.card-expand-wrap.is-expanded .expandable-content-wrap {
    max-height: 1200px;
}
.card-expand-wrap.is-expanded .expandable-content-inner {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
/* Toggle button — pinned at bottom center of card */
.card-expand-wrap .expandable-toggle {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
}
.expandable-toggle {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), width 0.32s cubic-bezier(0.16, 1, 0.3, 1), height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}
/* Reveal after section has been visible for a delay */
.toggles-visible .expandable-toggle {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
/* Accent coloring (subtle) */
.hover-cyan .expandable-toggle:not(:hover) {
    border-color: rgba(0, 224, 255, 0.22);
    color: rgba(0, 224, 255, 0.6);
}
.hover-pink .expandable-toggle:not(:hover) {
    border-color: rgba(255, 0, 153, 0.22);
    color: rgba(255, 0, 153, 0.6);
}
.hover-purple .expandable-toggle:not(:hover) {
    border-color: rgba(189, 0, 255, 0.22);
    color: rgba(189, 0, 255, 0.6);
}
/* Card hover → intensify accent on toggle (single-state) */
.hover-cyan:hover .expandable-toggle:not(:hover),
.hover-cyan:active .expandable-toggle:not(:hover) {
    border-color: rgba(0, 224, 255, 0.6);
    color: var(--neon-cyan);
    background: rgba(0, 224, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 224, 255, 0.12);
}
.hover-pink:hover .expandable-toggle:not(:hover),
.hover-pink:active .expandable-toggle:not(:hover) {
    border-color: rgba(255, 0, 153, 0.6);
    color: var(--neon-pink);
    background: rgba(255, 0, 153, 0.06);
    box-shadow: 0 6px 18px rgba(255, 0, 153, 0.12);
}
.hover-purple:hover .expandable-toggle:not(:hover),
.hover-purple:active .expandable-toggle:not(:hover) {
    border-color: rgba(189, 0, 255, 0.6);
    color: var(--neon-purple);
    background: rgba(189, 0, 255, 0.06);
    box-shadow: 0 6px 18px rgba(189, 0, 255, 0.12);
}
.expandable-toggle i {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: clamp(13px, 1.4vw, 16px);
}
.card-expand-wrap.is-expanded .expandable-toggle i {
    transform: rotate(45deg);
}
/* Direct toggle hover — grow larger with glow */
.expandable-toggle:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.16);
    color: #fff;
    width: 38px;
    height: 38px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.6), 0 6px 18px rgba(0,0,0,0.35);
}
.hover-pink .expandable-toggle:hover {
    background: rgba(255, 0, 153, 0.06);
    border-color: rgba(255, 0, 153, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
}
.hover-purple .expandable-toggle:hover {
    background: rgba(189, 0, 255, 0.06);
    border-color: rgba(189, 0, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
}
.hover-cyan .expandable-toggle:hover {
    background: rgba(0, 224, 255, 0.06);
    border-color: rgba(0, 224, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
}
.expandable-toggle:active { transform: scale(0.9); transition-duration: 0.08s; }

/* =========================================
   4. NAVIGATION
   ========================================= */
.nav-desktop {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    height: 90px;
    pointer-events: none;
    display: flex; justify-content: center; align-items: center;
    transition: 0.4s ease;
}

body.footer-visible .nav-desktop,
body.footer-visible #floating-logo,
body.footer-visible #floating-cta {
    opacity: 0; pointer-events: none; transform: translateY(-20px);
}

.nav-capsule {
    pointer-events: auto;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 0 1px rgba(0, 224, 255, 0.1), 0 10px 30px rgba(0,0,0,0.5);
    padding: 0 clamp(25px, -0.75rem + 3.61vw, 40px);
    border-radius: 100px;
    height: 50px;
    display: flex; align-items: center; gap: clamp(25px, -0.75rem + 3.61vw, 40px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    animation: capsule-pulse 6s ease-in-out infinite;
}
@keyframes capsule-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(0, 224, 255, 0.1), 0 10px 30px rgba(0,0,0,0.5); }
    50%       { box-shadow: 0 0 0 1px rgba(0, 224, 255, 0.2), 0 10px 30px rgba(0,0,0,0.5), 0 0 18px rgba(0, 224, 255, 0.12); }
}
.nav-capsule:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 0 2px rgba(0, 224, 255, 0.15),
        0 0 24px rgba(0, 224, 255, 0.30),
        0 10px 30px rgba(0, 0, 0, 0.45);
    animation: none;
}

#floating-logo, #floating-cta {
    position: fixed; top: 0; z-index: 1001; pointer-events: auto;
    height: 90px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#floating-logo { left: 5%; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 50px; }
#floating-cta { right: 5%; display: flex; align-items: center; }

#floating-logo img {
    width: 100%; height: auto;
    transition: transform var(--hover-duration) ease, filter var(--hover-duration) ease;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.5));
    display: block;
}
#floating-logo:hover img { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(0, 224, 255, 0.5)); }

.logo-portal {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}
.logo-portal::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--neon-cyan);
    border-right-color: rgba(0, 224, 255, 0.3);
    opacity: 0;
    transform: rotate(0deg);
}
.logo-portal::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 224, 255, 0.55) 0%, rgba(0, 102, 255, 0.35) 35%, rgba(189, 0, 255, 0.2) 60%, transparent 80%);
    opacity: 0;
    transform: scale(0);
}
@keyframes sg-halo {
    0%   { opacity: 0; box-shadow: none; }
    15%  { opacity: 1; box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.7), 0 0 12px rgba(0, 224, 255, 0.5); }
    70%  { opacity: 0.8; box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.3), 0 0 20px rgba(189, 0, 255, 0.4); }
    100% { opacity: 0; box-shadow: 0 0 0 10px rgba(0, 224, 255, 0), 0 0 30px rgba(189, 0, 255, 0); }
}
@keyframes sg-ring {
    0%   { opacity: 0; transform: rotate(0deg); border-top-width: 2px; }
    10%  { opacity: 1; }
    60%  { opacity: 1; transform: rotate(540deg); border-top-width: 2.5px; }
    85%  { opacity: 0.6; transform: rotate(720deg); }
    100% { opacity: 0; transform: rotate(900deg); border-top-width: 0px; }
}
@keyframes sg-kawoosh {
    0%   { opacity: 0; transform: scale(0); }
    20%  { opacity: 0; transform: scale(0); }
    35%  { opacity: 0.9; transform: scale(0.3); }
    55%  { opacity: 1;   transform: scale(0.85); }
    75%  { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0;   transform: scale(0.2); }
}
#floating-logo.portal-active .logo-portal { animation: sg-halo 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
#floating-logo.portal-active .logo-portal::before { animation: sg-ring 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
#floating-logo.portal-active .logo-portal::after { animation: sg-kawoosh 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.logo-default { opacity: 1; }

#floating-cta .btn-floating {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    color: #F0F4F8 !important;
    padding: clamp(10px, 0.38rem + 0.56vw, 14px) clamp(25px, 0.69rem + 1.74vw, 32px); border-radius: 50px;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important; letter-spacing: 1px; font-size: clamp(0.8rem, 0.7rem + 0.15vw, 0.85rem);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.25); text-decoration: none;
    display: inline-block; transition: all var(--hover-duration) ease;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
    border: 2px solid rgba(0, 224, 255, 0.4);
    overflow: hidden;
    animation: primary-cta-glow 4s ease-in-out 1.5s infinite;
}
@keyframes primary-cta-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 224, 255, 0.25); }
    50% { box-shadow: 0 0 28px rgba(0, 224, 255, 0.4), 0 0 48px rgba(0, 224, 255, 0.15); }
}
#floating-cta .btn-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--neon-cyan), 0 0 36px rgba(0, 224, 255, 0.7);
    animation-play-state: paused;
}

body.scrolled #floating-logo { width: 40px; }
body.scrolled #floating-cta .btn-floating { padding: 12px; font-size: 1rem; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.cta-text-large { display: inline; } .cta-text-small { display: none; }
body.scrolled .cta-text-large { display: none; } body.scrolled .cta-text-small { display: inline-flex; align-items: center; justify-content: center; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-item { color: rgba(255,255,255,0.7); font-size: clamp(0.7rem, 0.45rem + 0.38vw, 0.8rem); cursor: pointer; transition: 0.3s; font-weight: 700; letter-spacing: 1px; }
.nav-item:hover { color: #fff; }
.nav-item.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 224, 255, 0.7);
}

#nav-arrows {
    position: fixed; bottom: 7vh; right: 2%; z-index: 1000;
    display: flex; flex-direction: column; gap: 15px;
    align-items: center;
}
.nav-arrow-btn {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border: 2px solid var(--neon-cyan);
    display: grid; place-items: center;
    transition: var(--hover-duration); cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
    opacity: 1; visibility: visible;
    animation: pulseHeartbeat 4s infinite;
}
.nav-arrow-btn.hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(0.8); }
.nav-arrow-btn:hover { background: rgba(0, 224, 255, 0.1); transform: scale(1.1); box-shadow: 0 0 30px rgba(0, 224, 255, 0.5); }
.nav-arrow-btn:active { transform: scale(0.95); transition-duration: 0.08s; }
.nav-arrow-btn img { grid-area: 1 / 1; width: 25px; height: auto; transition: opacity 0.3s ease; }
.arrow-default { opacity: 1; }
.arrow-active { opacity: 0; }
.nav-arrow-btn.swapped .arrow-default { opacity: 0; }
.nav-arrow-btn.swapped .arrow-active { opacity: 1; }

#arrow-down { transform: rotate(180deg); }
#arrow-up { transform: rotate(0deg); }
#arrow-down:hover { transform: rotate(180deg) scale(1.1); }
#arrow-up:hover { transform: rotate(0deg) scale(1.1); }

@keyframes pulseHeartbeat {
    0% { box-shadow: 0 0 20px rgba(0, 224, 255, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(0, 224, 255, 0), 0 0 25px rgba(0, 224, 255, 0.15); }
    100% { box-shadow: 0 0 20px rgba(0, 224, 255, 0.3); }
}

body.meet-page #arrow-down { transform: none !important; }
body.meet-page #arrow-down:hover { transform: scale(1.1) !important; }
body.meet-page #arrow-down .msc-arrow-img { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }

.nav-mobile {
    display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 94%; max-width: 500px; z-index: 1000;
    align-items: center; gap: 6px;
    padding: 0;
}
.nav-mobile-logo {
    flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; position: relative;
    background: rgba(10, 20, 35, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--glass-border);
    border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: 0.3s;
}
.nav-mobile-logo img { width: 24px; height: 24px; object-fit: contain; display: block; transition: transform 0.4s ease, filter 0.4s ease; }
.nav-mobile-logo:hover img { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.6)); }
.nav-mobile-logo:hover { border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 224, 255, 0.3); }

.nav-mobile-logo .logo-portal { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; }
.nav-mobile-logo .logo-portal::before {
    content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent;
    border-top-color: var(--neon-cyan); border-right-color: rgba(0, 224, 255, 0.3); opacity: 0; transform: rotate(0deg);
}
.nav-mobile-logo .logo-portal::after {
    content: ''; position: absolute; inset: 1px; border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 224, 255, 0.55) 0%, rgba(0, 102, 255, 0.35) 35%, rgba(189, 0, 255, 0.2) 60%, transparent 80%);
    opacity: 0; transform: scale(0);
}
.nav-mobile-logo.portal-active .logo-portal { animation: sg-halo 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.nav-mobile-logo.portal-active .logo-portal::before { animation: sg-ring 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.nav-mobile-logo.portal-active .logo-portal::after { animation: sg-kawoosh 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.mobile-track {
    flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-evenly;
    background: rgba(10, 20, 35, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 14px 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; transition: 0.3s;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.mobile-track::-webkit-scrollbar { display: none; }
.mobile-track:hover { border-color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0, 224, 255, 0.3); }

.nav-mobile-item { color: rgba(255,255,255,0.7); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; transition: 0.3s; scroll-snap-align: center; white-space: nowrap; }
.nav-mobile-item:hover { color: #fff; }
.nav-mobile-item.active { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.8); }

.nav-mobile-cta {
    flex-shrink: 0; background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan)); -webkit-background-clip: padding-box; background-clip: padding-box; color: #F0F4F8 !important;
    font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; font-size: 1rem;
    line-height: 1; width: 42px; height: 42px; padding: 0; border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.25), 0 10px 30px rgba(0,0,0,0.8); text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45); border: 2px solid rgba(0, 224, 255, 0.4); cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center; -webkit-appearance: none; appearance: none;
    animation: primary-cta-glow 4s ease-in-out 1.5s infinite;
}
.nav-mobile-cta:hover { transform: scale(1.05); box-shadow: 0 0 0 2px var(--neon-cyan), 0 0 30px rgba(0, 224, 255, 0.7); animation-play-state: paused; }

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: clamp(60px, 10vh, var(--hero-padding-top)) 0 clamp(20px, 3vh, var(--hero-gap)) 0;
    gap: clamp(12px, 2.5vmin, var(--hero-gap));
}
@supports (height: 100svh) { .hero { height: 100svh; min-height: 100svh; } }
.hero .hero-stack {
    flex: 1;
    min-height: 0;
    justify-content: center;
    overflow: visible;
}
.hero .marquee-after-hero {
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    width: 100%;
    align-self: stretch;
    padding-top: clamp(8px, 1.5vmin, var(--hero-gap));
    padding-bottom: clamp(12px, 2vmin, var(--hero-gap));
    min-height: clamp(48px, 10vmin, 100px);
}

#hero-bg { position: absolute; inset: 0; z-index: 0; }
.kenburns-slide {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1);
    transform-origin: center center;
    transition: opacity 1.8s ease-in-out, transform 10s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}
.kenburns-slide.active { opacity: 0.55; transform: scale(1.06); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 100% at 50% 40%, transparent 0%, rgba(5, 11, 20, 0.4) 50%, var(--bg-void) 85%); z-index: 1; }

.hero-stack {
    position: relative;
    z-index: 10;
    width: 88%;
    max-width: 860px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-glass-panel {
    position: relative;
    z-index: 10;
    background: rgba(5, 11, 20, 0.45);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: clamp(36px, 6vh, 56px) clamp(20px, 3vw, 48px);
    width: 100%;
    min-width: 0;
    max-width: clamp(540px, 52vw, 760px);
    margin: 0 auto;
    text-align: center;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 16px 48px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform var(--hover-duration) cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--hover-duration) ease, border-color var(--hover-duration) ease;
    box-sizing: border-box;
    overflow: visible;
    min-height: min-content;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Inner radiance — subtle top/bottom shimmer */
.hero-glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(0, 224, 255, 0.04) 0%, transparent 70%),
        radial-gradient(40% 30% at 50% 100%, rgba(189, 0, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-glass-panel > * { position: relative; z-index: 1; }

/* Hero hover: subtle shimmer boost */
.hero-glass-panel:hover::after {
    opacity: 1;
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(0, 224, 255, 0.06) 0%, transparent 70%),
        radial-gradient(40% 30% at 50% 100%, rgba(189, 0, 255, 0.04) 0%, transparent 70%);
}
/* Hero card: keep in place on hover/active so top is never clipped by .hero overflow */
.hero .hero-glass-panel.card-hover-cyan:hover,
.hero .hero-glass-panel.card-hover-cyan:active {
    transform: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hero Card: logo, tagline, CTAs — tight, premium, centered */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: min-content;
    text-align: center;
    gap: 0;
    box-sizing: border-box;
}
.hero-wordmark-inline { margin-bottom: clamp(8px, 1.5vh, 16px); max-width: 100%; }
.hero-wordmark-inline img { max-width: min(85%, 380px); width: clamp(200px, 32vw, 380px); height: auto; }

/* Tagline: scale with viewport, allow wrap at narrow widths */
.hero-tagline {
    display: flex;
    justify-content: center;
    max-width: min(760px, 100%);
    width: 100%;
    margin: 0 auto clamp(8px, 1.5vh, 14px);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
    box-sizing: border-box;
}
.hero-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: clamp(1.35rem, 4vw, 4rem);
    line-height: 1.1;
    margin: 0;
    text-align: center;
    width: 100%;
}
.hero-title .tagline-row { display: block; margin: 0; padding: 0; }
.hero-title .tagline-row-top { letter-spacing: 0.02em; margin-bottom: 6px; white-space: nowrap; }
@media (max-width: 600px) {
    .hero-title .tagline-row-top { white-space: normal; }
}
.hero-title .tagline-row-middle { white-space: nowrap; height: 1.15em; display: flex; align-items: center; justify-content: center; overflow: visible; }
@media (max-width: 600px) {
    .hero-title .tagline-row-middle { white-space: normal; height: auto; min-height: 1.15em; }
}
.hero-rotator-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 224, 255, 0.45), 0 0 32px rgba(0, 224, 255, 0.15);
    white-space: nowrap;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    transform: translateY(0);
}
.hero-rotator-text.hero-rotator-fade {
    opacity: 0;
    transform: translateY(-8px);
}

.hero-subheadline {
    max-width: min(680px, 100%);
    width: 100%;
    margin: 0 auto clamp(12px, 2vh, 20px);
    padding: 0 clamp(0.5rem, 2vw, 1.25rem);
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.78rem, 0.74rem + 0.2vw, 0.9rem);
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: rgba(240, 244, 248, 0.38);
    font-weight: 400;
    text-align: center;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Hero separator — subtle gradient line between hero content blocks */
.hero-separator {
    width: clamp(60px, 20vw, 140px);
    height: 1px;
    margin: clamp(8px, 2vh, 24px) auto;
    background: linear-gradient(90deg, transparent, rgba(240, 244, 248, 0.18), transparent);
}

.hero-buttons { display: flex; gap: clamp(8px, 1.5vw, 16px); justify-content: center; flex-wrap: wrap; }

/* Secondary A (Hero) — Ghost button: neon-pink outline + text */
.btn-hero-secondary {
    background: rgba(255, 0, 153, 0.04);
    color: #F0F4F8 !important;
    border: 2px solid rgba(255, 0, 153, 0.7);
    padding: clamp(8px, 1.2vw, 12px) clamp(20px, 3vw, 34px);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 900 !important;
    letter-spacing: 1.2px;
    box-shadow: 0 0 12px rgba(255, 0, 153, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    animation: hero-secondary-a-glow 4s ease-in-out 1.5s infinite;
}
@keyframes hero-secondary-a-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 0, 153, 0.12); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 153, 0.25), 0 0 40px rgba(255, 0, 153, 0.1); }
}
.btn-hero-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 0, 153, 0.1);
    box-shadow: 0 0 0 2px var(--neon-pink), 0 0 28px rgba(255, 0, 153, 0.45), 0 4px 16px rgba(0, 0, 0, 0.2);
    color: var(--neon-pink) !important;
    border-color: var(--neon-pink);
    animation-play-state: paused;
}
.btn-hero-secondary:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }

/* Secondary B (Hero) — Neon-purple to neon-blue gradient, purple glow */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-blue) 100%) !important;
    -webkit-background-clip: padding-box !important;
    background-clip: padding-box !important;
    color: #F0F4F8 !important;
    border: 1px solid var(--glass-border) !important;
    padding: clamp(10px, 1.2vw, 14px) clamp(24px, 3vw, 36px);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 900 !important;
    letter-spacing: 1.2px;
    box-shadow: 0 2px 8px rgba(189, 0, 255, 0.2), 0 4px 20px rgba(189, 0, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    overflow: hidden;
    animation: hero-secondary-b-glow 4s ease-in-out 1.5s infinite;
}
@keyframes hero-secondary-b-glow {
    0%, 100% { box-shadow: 0 2px 8px rgba(189, 0, 255, 0.2), 0 4px 20px rgba(189, 0, 255, 0.2); }
    50% { box-shadow: 0 4px 12px rgba(189, 0, 255, 0.35), 0 8px 28px rgba(189, 0, 255, 0.2), 0 0 40px rgba(189, 0, 255, 0.12); }
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    border-color: var(--neon-purple) !important;
    box-shadow: 0 0 0 2px var(--neon-purple), 0 0 28px rgba(189, 0, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #F0F4F8 !important;
    animation-play-state: paused;
}
.btn-hero-primary:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }

/* Hero CTA icon: calendar/clock crossfade */
.hero-cta-icons {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    margin-right: 6px;
    vertical-align: -0.08em;
}
.hero-cta-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease;
}
.hero-cta-icon-a {
    opacity: 1;
    animation: heroCTASwapA 5s ease-in-out 2s infinite;
}
.hero-cta-icon-b {
    opacity: 0;
    animation: heroCTASwapB 5s ease-in-out 2s infinite;
}
@keyframes heroCTASwapA {
    0%, 42% { opacity: 1; }
    50%, 92% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes heroCTASwapB {
    0%, 42% { opacity: 0; }
    50%, 92% { opacity: 1; }
    100% { opacity: 0; }
}

/* Meet page CTA icons — static, swap via .is-connect class */
.meet-cta-icon { margin-right: 5px; }
.meet-cta-icon-connect { display: none; }
.is-connect .meet-cta-icon-book { display: none; }
.is-connect .meet-cta-icon-connect { display: inline; }
/* Small (scrolled) icon variants */
.meet-cta-icon-sm-connect { display: none; }
.is-connect .meet-cta-icon-sm-book { display: none; }
.is-connect .meet-cta-icon-sm-connect { display: inline-flex; }

/* hero-wordmark-inline — static logo, no animation */
.hero-wordmark-inline { width: 100%; display: flex; justify-content: center; }
.hero-wordmark-chase {
    position: relative;
    display: inline-block;
}
.hero-wordmark-chase img {
    position: relative;
    z-index: 1;
    width: clamp(180px, 42vw, 360px);
    max-width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.35)) drop-shadow(0 0 18px rgba(0, 224, 255, 0.15)) drop-shadow(0 0 40px rgba(0, 224, 255, 0.06));
}

/* =========================================
   6. MARQUEE
   ========================================= */
.marquee-wrapper { position: relative; background: transparent; padding: var(--spacing-sm) 0; overflow-x: clip; overflow-y: visible; opacity: 1; transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
/* First marquee (after hero): no wrapper glass; per-icon glass and spacing handled below */
.marquee-wrapper.marquee-after-hero.section-focused { opacity: 1; pointer-events: auto; }
/* Strong side fades so logos fade in/out at edges (all marquees) */
.marquee-wrapper::before, .marquee-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(60px, -0.63rem + 14.58vw, 200px); z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-void) 0%, rgba(5,11,20,0.85) 25%, rgba(5,11,20,0.2) 60%, transparent 100%); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-void) 0%, rgba(5,11,20,0.85) 25%, rgba(5,11,20,0.2) 60%, transparent 100%); }
/* Hero marquee: uses same CSS animation as section marquees; inherits ::before/::after fades */
.hero .marquee-wrapper.marquee-after-hero { overflow-x: clip; overflow-y: visible; position: relative; }
/* Hero marquee: pause animation when a card is lifted */
.hero .marquee-wrapper.marquee-after-hero.is-paused .marquee-track { animation-play-state: paused !important; }
/* Per-icon liquid glass (all marquees): fluid size, tight to image; clickable for lift + neon */
.marquee-logo-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2px, 0.4vw, 4px) clamp(4px, 0.8vw, 6px);
    border-radius: clamp(5px, 1.2vw, 8px);
    background: rgba(5, 11, 20, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    transition: transform var(--hover-duration) cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--hover-duration) ease, border-color var(--hover-duration) ease;
}
.marquee-logo-glass img {
    width: auto;
    margin: 0;
    display: block;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: filter var(--hover-duration) ease, opacity var(--hover-duration) ease, transform var(--hover-duration) cubic-bezier(0.16, 1, 0.3, 1);
}
/* Hero marquee: smaller logos */
.marquee-wrapper.marquee-after-hero .marquee-logo-glass img { height: var(--hero-marquee-logo); max-height: var(--hero-marquee-logo); }
/* Section marquees: larger logos */
.marquee-wrapper:not(.marquee-after-hero) .marquee-logo-glass img { height: clamp(72px, 3.66rem + 3.57vw, 110px); max-height: clamp(72px, 3.66rem + 3.57vw, 110px); }
.marquee-logo-glass:hover img { filter: grayscale(0%); opacity: 0.95; transform: scale(1.08); }
/* Retrowave hover: alternating neon glow + lift for marquee cards */
.marquee-logo-glass:hover { transform: translateY(-8px); }
.marquee-logo-glass:nth-child(4n+1):hover { border-color: var(--neon-cyan); box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.3), 0 0 22px rgba(0, 224, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35); }
.marquee-logo-glass:nth-child(4n+2):hover { border-color: var(--neon-pink); box-shadow: 0 0 0 2px rgba(255, 0, 153, 0.3), 0 0 22px rgba(255, 0, 153, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35); }
.marquee-logo-glass:nth-child(4n+3):hover { border-color: var(--neon-purple); box-shadow: 0 0 0 2px rgba(189, 0, 255, 0.3), 0 0 22px rgba(189, 0, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35); }
.marquee-logo-glass:nth-child(4n+4):hover { border-color: var(--neon-blue); box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.3), 0 0 22px rgba(0, 102, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35); }
.marquee-wrapper.marquee-after-hero .marquee-track { gap: var(--hero-marquee-gap); }
/* Marquee card: lift + rotating neon when active (click/tap) — color set via data-neon attribute */
.marquee-glass-lifted {
    z-index: 20;
    transform: translateY(-12px);
}
.marquee-glass-lifted::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid transparent;
    pointer-events: none;
    animation: marquee-ring 1.2s linear infinite;
}
.marquee-glass-lifted::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.8;
}
.marquee-glass-lifted img { filter: grayscale(0%) !important; opacity: 0.95 !important; }
@keyframes marquee-ring {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Neon color variants for lifted marquee cards */
.marquee-glass-lifted[data-neon="cyan"] { box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.4), 0 0 24px rgba(0, 224, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.marquee-glass-lifted[data-neon="cyan"]::before { border-top-color: var(--neon-cyan); border-right-color: rgba(0, 224, 255, 0.35); }
.marquee-glass-lifted[data-neon="cyan"]::after { background: radial-gradient(circle at center, rgba(0, 224, 255, 0.2) 0%, transparent 70%); }
.marquee-glass-lifted[data-neon="pink"] { box-shadow: 0 0 0 2px rgba(255, 0, 153, 0.4), 0 0 24px rgba(255, 0, 153, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.marquee-glass-lifted[data-neon="pink"]::before { border-top-color: var(--neon-pink); border-right-color: rgba(255, 0, 153, 0.35); }
.marquee-glass-lifted[data-neon="pink"]::after { background: radial-gradient(circle at center, rgba(255, 0, 153, 0.2) 0%, transparent 70%); }
.marquee-glass-lifted[data-neon="purple"] { box-shadow: 0 0 0 2px rgba(189, 0, 255, 0.4), 0 0 24px rgba(189, 0, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.marquee-glass-lifted[data-neon="purple"]::before { border-top-color: var(--neon-purple); border-right-color: rgba(189, 0, 255, 0.35); }
.marquee-glass-lifted[data-neon="purple"]::after { background: radial-gradient(circle at center, rgba(189, 0, 255, 0.2) 0%, transparent 70%); }
.marquee-glass-lifted[data-neon="blue"] { box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.4), 0 0 24px rgba(0, 102, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.marquee-glass-lifted[data-neon="blue"]::before { border-top-color: var(--neon-blue); border-right-color: rgba(0, 102, 255, 0.35); }
.marquee-glass-lifted[data-neon="blue"]::after { background: radial-gradient(circle at center, rgba(0, 102, 255, 0.2) 0%, transparent 70%); }
.marquee-wrapper.section-focused { opacity: 0.18; pointer-events: none; }
.marquee-track { display: flex; gap: clamp(36px, 1.81rem + 1.88vw, 56px); position: relative; z-index: 1; will-change: transform; animation-play-state: running; width: max-content; }
.marquee-track img { height: clamp(72px, 3.66rem + 3.57vw, 110px); width: auto; max-height: clamp(72px, 3.66rem + 3.57vw, 110px); object-fit: contain; flex-shrink: 0; filter: grayscale(100%); opacity: 0.4; transition: filter 0.4s ease, opacity 0.4s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: auto; }
.marquee-wrapper.marquee-after-hero .marquee-track > img { height: var(--hero-marquee-logo); max-height: var(--hero-marquee-logo); }
.marquee-track img:hover { filter: grayscale(0%); opacity: 0.95; transform: scale(1.2); }
/* Seamless infinite loop: track is 2× duplicated, animate by 50% so no visible start/stop */
.marquee-track.scroll-left { animation: scrollLeftInfinite 50s linear infinite; }
.marquee-track.scroll-right { animation: scrollRightInfinite 50s linear infinite; }
.marquee-wrapper.is-hovered .marquee-track.scroll-left,
.marquee-wrapper.is-hovered .marquee-track.scroll-right { animation-duration: 80s; }
@keyframes scrollLeftInfinite { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRightInfinite { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* =========================================
   7. ABOUT (PROFILE)
   ========================================= */
.card-photo { position: relative; width: 100%; height: 100%; min-height: 260px; border-radius: 24px; overflow: hidden; border: 1px solid var(--glass-border); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease; }
/* Card photo uses shared .card-hover-cyan / .card-hover-pink / .card-hover-purple for standardized glow */
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.photo-caption { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); width: 85%; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255, 0, 153, 0.3); border-radius: 50px; padding: 15px 30px; text-align: center; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.clay-name { font-size: clamp(1rem, 2.5vw, 1.4rem); margin: 0; color: #fff; line-height: 1; font-weight: 900; }
.clay-role { font-size: clamp(0.6rem, 1.2vw, 0.75rem); color: var(--neon-pink); letter-spacing: 1px; font-weight: 700; margin-top: 5px; }
.about-header {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: clamp(0.95rem, 1.1vw + 0.5rem, 1.15rem);
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
    text-align: center;
    white-space: nowrap;
    color: #F0F4F8;
}
/* More space above title when About card is expanded (desktop) */
#about .card-expand-wrap.is-expanded .card-glass {
    padding-top: calc(var(--card-inner-gap) * 2);
}
#about .card-expand-wrap.is-expanded .card-glass .about-header {
    margin-top: 0;
}

#about .card-glass { padding: var(--card-inner-gap) var(--card-body-padding-x-standard); }
#about .grid-twin { align-items: stretch; }
#about .card-photo { min-height: unset; height: 100%; }

.about-mobile { display: none; }

/* Clients grid */
#clients .grid-twin { align-items: start; }
#clients .card-expand-wrap .card-glass { height: auto; text-align: center; padding-left: var(--card-body-padding-x-standard); padding-right: var(--card-body-padding-x-standard); padding-top: var(--card-inner-gap); padding-bottom: 52px; }

/* =========================================
   8. REVIEWS
   ========================================= */
#reviews .grid-tri { align-items: start; transition: align-items 0s; }
#reviews .grid-tri.all-expanded { align-items: stretch; }

/* Standard card max-width (match review cards) — About, Clients, Services, Reviews only (not Hero, Contact, Book) */
#about .grid-twin > .card-photo,
#about .grid-twin > .card-expand-wrap,
#clients .card-expand-wrap,
#services .card-glass.service-card,
#reviews .card-expand-wrap .review-card,
#reviews .review-card {
    max-width: var(--card-max-width);
    margin-left: auto;
    margin-right: auto;
}

.review-card,
.card-expand-wrap .review-card {
    padding: var(--card-inner-gap) var(--card-body-padding-x) 52px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    overflow: visible;
    height: auto;
}
/* Photo full-bleed: pull out of card padding to match review layout */
.review-card .review-photo-wrap {
    margin-left: calc(-1 * var(--card-body-padding-x));
    margin-right: calc(-1 * var(--card-body-padding-x));
    margin-top: calc(-1 * var(--card-inner-gap));
    width: calc(100% + 2 * var(--card-body-padding-x));
}
.review-card .review-photo-wrap { overflow: hidden; border-radius: var(--card-radius) var(--card-radius) 0 0; }
.review-photo-wrap {
    width: 100%;
    height: clamp(200px, 12rem + 4vw, 260px);
    overflow: hidden;
    flex-shrink: 0;
}
.review-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.review-card:hover .review-photo {
    transform: scale(1.05);
}
.review-attribution {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 0 0;
}
.review-attribution { justify-content: flex-start; }
.review-identity { align-items: flex-start; text-align: left; }
.review-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: rgba(5, 11, 20, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px;
    transition: transform 0.36s var(--anim-ease), box-shadow 0.36s var(--anim-ease), border-color 0.36s var(--anim-ease);
}
.review-company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: transform 0.36s var(--anim-ease), filter 0.36s var(--anim-ease), opacity 0.36s var(--anim-ease);
}

/* Review logos: alternating neon glow on hover, matching card colors */
.hover-cyan .review-logo-wrap:hover { transform: translateY(-5px); border-color: var(--neon-cyan); box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.15), 0 0 24px rgba(0, 224, 255, 0.3), 0 12px 28px rgba(0, 0, 0, 0.4); }
.hover-purple .review-logo-wrap:hover { transform: translateY(-5px); border-color: var(--neon-purple); box-shadow: 0 0 0 2px rgba(189, 0, 255, 0.15), 0 0 24px rgba(189, 0, 255, 0.3), 0 12px 28px rgba(0, 0, 0, 0.4); }
.hover-pink .review-logo-wrap:hover { transform: translateY(-5px); border-color: var(--neon-pink); box-shadow: 0 0 0 2px rgba(255, 0, 153, 0.15), 0 0 24px rgba(255, 0, 153, 0.3), 0 12px 28px rgba(0, 0, 0, 0.4); }
.review-logo-wrap a { display: block; width: 100%; height: 100%; }
.review-logo-wrap a:focus { outline: 2px solid rgba(0,224,255,0.25); outline-offset: 3px; }

.review-identity {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.review-name { color: #fff; margin: 0; line-height: 1.2; }
.review-card .review-role { font-size: clamp(0.6rem, 0.6vw + 0.15rem, 0.72rem); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin: 0; font-family: 'Roboto', sans-serif; font-weight: 400; line-height: 1.3; }
.review-company-link { font-size: clamp(0.55rem, 0.5vw + 0.12rem, 0.65rem); color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.8px; margin: 2px 0 0; font-family: 'Roboto', sans-serif; font-weight: 400; line-height: 1.3; transition: color 0.25s ease, text-shadow 0.25s ease; display: block; }
.review-company-link:hover { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.5); }

.review-card .expandable-content-wrap { padding: 0 0 12px; }
.review-card .expandable-toggle { bottom: 12px; }

.review-card .quote-text { margin-top: 8px; }

.highlight-cyan   { color: var(--neon-cyan);   font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; text-transform: uppercase; font-style: normal; }
.highlight-purple { color: var(--neon-purple); font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; text-transform: uppercase; font-style: normal; }
.highlight-pink   { color: var(--neon-pink);   font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; text-transform: uppercase; font-style: normal; }

/* =========================================
   9. SERVICES
   ========================================= */
.service-card {
    text-align: center;
    align-items: center;
    padding: var(--card-inner-gap) var(--card-body-padding-x-standard);
}
.service-card .icon-service {
    font-size: 2.2rem;
    margin-bottom: var(--card-inner-gap);
}
.service-card h3 {
    margin-bottom: var(--card-inner-gap);
}

/* Per-card persistent subtle glow */
.service-card.hover-pink {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 12px rgba(255, 0, 153, 0.08);
}
.service-card.hover-cyan {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 12px rgba(0, 224, 255, 0.08);
}
.service-card.hover-purple {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 12px rgba(189, 0, 255, 0.08);
}

/* =========================================
   11. FOOTER
   ========================================= */
footer { padding: var(--spacing-lg) 0 var(--spacing-md); background: #02050a; /* intentionally darker than --bg-void for footer separation */ margin-top: 0; border-top: 1px solid var(--glass-border); }
.footer-simple { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1000px; margin: 0 auto; width: 90%; }
.footer-logo { display: flex; justify-content: center; }
.footer-logo img { height: auto; width: clamp(260px, 14rem + 12vw, 420px); max-width: 90%; margin-bottom: var(--spacing-sm); object-fit: contain; display: block; }

/* --- FOOTER TAGLINE — light & elegant contrast to bold logo --- */
.footer-tagline {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: clamp(0.55rem, 0.4rem + 0.35vw, 0.72rem);
    text-transform: uppercase;
    line-height: 1.7;
    color: rgba(255, 255, 255, 1);
    margin-bottom: var(--spacing-xs);
    max-width: 90%;
    white-space: nowrap;
    text-align: center;
    letter-spacing: clamp(0.2px, 0.06vw, 0.6px);
}
.tagline-row-top { letter-spacing: clamp(1px, 0.5vw, 5.5px); margin-left: clamp(1px, 0.5vw, 5.5px); }
.tagline-row-bottom { letter-spacing: clamp(0.5px, 0.3vw, 1.5px); }
.footer-tagline .tag-cyan { color: var(--neon-cyan); text-shadow: 0 0 16px rgba(0, 224, 255, 0.5); }
.footer-tagline .tag-pink { color: var(--neon-pink); text-shadow: 0 0 16px rgba(255, 0, 153, 0.5); }
.footer-text { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 5px; }

.footer-icons { display: flex; gap: var(--spacing-sm); margin: var(--spacing-md) 0; }
.footer-icons a { color: #fff; font-size: 1.5rem; transition: color var(--hover-duration) ease, transform var(--hover-duration) ease, filter var(--hover-duration) ease; }
.footer-icons a:hover { color: var(--neon-cyan); transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.6)); }

.footer-associations { margin-top: var(--spacing-md); margin-bottom: var(--spacing-sm); text-align: center; }
.footer-associations-label { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: clamp(0.75rem, 0.6rem + 0.4vw, 0.9rem); letter-spacing: clamp(2px, 0.3vw, 4px); text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: clamp(16px, 1rem + 0.5vw, 24px); }
.footer-associations-logos { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1rem + 1.5vw, 32px); flex-wrap: wrap; }
.footer-logo-glass {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    padding: clamp(6px, 1vw, 10px) clamp(10px, 1.5vw, 16px);
    border-radius: clamp(8px, 1.5vw, 12px);
    background: rgba(5, 11, 20, 0.5);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.footer-logo-glass img { height: clamp(40px, 2rem + 2vw, 64px); width: auto; opacity: 0.65; transition: opacity 0.3s ease, filter 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); filter: grayscale(20%); display: block; }
.footer-logo-glass:hover { transform: translateY(-8px); }
.footer-logo-glass:hover img { opacity: 1; filter: grayscale(0%); transform: scale(1.06); }
/* Footer logos: alternating neon on hover — glow + lift */
.footer-logo-glass:nth-child(1):hover { border-color: var(--neon-cyan); box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.3), 0 0 24px rgba(0, 224, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.footer-logo-glass:nth-child(2):hover { border-color: var(--neon-pink); box-shadow: 0 0 0 2px rgba(255, 0, 153, 0.3), 0 0 24px rgba(255, 0, 153, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.footer-logo-glass:nth-child(3):hover { border-color: var(--neon-purple); box-shadow: 0 0 0 2px rgba(189, 0, 255, 0.3), 0 0 24px rgba(189, 0, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }
.footer-logo-glass:nth-child(4):hover { border-color: var(--neon-blue); box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.3), 0 0 24px rgba(0, 102, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.4); }

.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.1); margin: var(--spacing-md) 0; }
.copyright { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* =========================================
   12B. SHORT-VIEWPORT HERO SCALING
   Landscape phones, short browser windows, Chromebooks — compress the
   hero so every element (panel + marquee) fits without clipping.
   ========================================= */
@media (max-height: 720px) {
    .hero {
        padding-top: clamp(16px, 4vh, 48px);
        padding-bottom: clamp(6px, 1.5vh, 16px);
        gap: clamp(4px, 1vh, 12px);
    }
    .hero-glass-panel {
        padding: clamp(10px, 2.5vh, 28px) clamp(16px, 3vw, 40px) clamp(8px, 2vh, 24px);
        aspect-ratio: auto;
    }
    .hero-wordmark-inline { margin-bottom: clamp(4px, 1.2vh, 14px); }
    .hero-wordmark-inline img { width: clamp(140px, min(35vw, 32vh), 280px); }
    .hero-title { font-size: clamp(1rem, min(4vw, 6vh), 2.5rem); }
    .hero-tagline { margin-bottom: 0; }
    .hero-subheadline {
        font-size: clamp(0.7rem, min(0.8rem + 0.3vw, 2vh), 0.95rem);
        margin: clamp(8px, 2vh, 24px) auto;
        line-height: 1.3;
    }
    .hero-subheadline br { display: none; }
    .hero-buttons { gap: clamp(6px, 1vw, 12px); }
    .hero-buttons a { padding: 9px 18px; font-size: 0.72rem; }
    .hero .marquee-after-hero {
        min-height: clamp(28px, 7vh, 64px);
        padding-top: clamp(2px, 0.8vh, 8px);
        padding-bottom: clamp(4px, 1vh, 12px);
    }
}

/* =========================================
   13. RESPONSIVE
   ========================================= */

@media (max-width: 1280px) {
    .wrapper { width: 92%; }
    .wrapper-tight { width: 92%; }
    #floating-logo { left: 3%; width: 60px; }
    #floating-cta { right: 3%; }
    .hero-stack { max-width: 800px; gap: 8px; }
    .hero-wordmark-inline img { width: 380px; }
    .hero-glass-panel { padding: 44px 48px 40px; }
}

@media (max-width: 1024px) {
    /* nav-capsule, nav-item, section padding, marquee track/img — now handled by base clamp() */
    .hero-stack { gap: 8px; }
    .hero-wordmark-inline img { width: 340px; }
    .hero-glass-panel { padding: 40px 32px 36px; }
    .hero-buttons a { padding: 13px 32px; font-size: 0.85rem; }
    .marquee-wrapper { padding: 40px 0; }
}

@media (max-width: 768px) {
    .nav-desktop, #floating-logo, #floating-cta, #nav-arrows { display: none !important; }
    .nav-mobile { display: flex; }

    .about-desktop { display: none !important; }
    .about-mobile { display: block !important; }
    #about .about-mobile .card-expand-wrap { width: 94%; max-width: var(--card-max-width); margin-left: auto; margin-right: auto; }
    #about .about-mobile-card .about-header { margin-bottom: 20px; }
    #about .about-mobile-card {
        padding: var(--card-inner-gap) var(--card-body-padding-x) 46px;
        border: 1px solid rgba(189, 0, 255, 0.45);
        box-shadow: 0 0 0 1px rgba(189, 0, 255, 0.15), 0 0 24px rgba(189, 0, 255, 0.2), 0 8px 24px rgba(0,0,0,0.25);
        border-radius: var(--card-radius);
        overflow: hidden;
    }
    /* Photo full-bleed to top and sides like review cards (extra 1px each side to clear card border) */
    #about .about-mobile-photo-wrap {
        position: relative;
        margin-top: calc(-1 * var(--card-inner-gap));
        margin-left: calc(-1 * var(--card-body-padding-x) - 1px);
        margin-right: calc(-1 * var(--card-body-padding-x) - 1px);
        width: calc(100% + 2 * var(--card-body-padding-x) + 2px);
        height: 220px;
        overflow: hidden;
        flex-shrink: 0;
        border-radius: var(--card-radius) var(--card-radius) 0 0;
    }
    #about .about-mobile-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 48%;
        transform: scale(1.10);
        display: block;
    }
    #about .about-mobile-pill {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 68%;
        max-width: 260px;
        padding: 6px 14px;
        font-size: 0.9rem;
        text-align: center;
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--neon-purple);
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 12px rgba(189, 0, 255, 0.15);
        z-index: 2;
    }
    #about .about-mobile-pill .clay-name { color: #F0F4F8; }
    #about .about-mobile-pill .clay-role { color: var(--neon-purple); font-size: 0.6rem; margin-top: 4px; }
    /* Body text width matches review cards (card padding defines width) */
    #about .about-mobile-static-copy {
        padding: 24px 0 8px;
        text-align: center;
    }
    /* Mobile: full title text neon-purple */
    #about .about-mobile-card .about-header {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 900 !important;
        text-transform: uppercase;
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin: var(--card-inner-gap) 0 22px;
        white-space: normal;
        text-align: center;
        display: block;
        letter-spacing: 0.8px;
        line-height: 1.08;
        color: var(--neon-purple);
    }
    #about .about-mobile-card .expandable-content-wrap { padding: 0 0 12px; }
    #about .about-mobile-card .expandable-content-inner { padding-top: 6px; }
    #about .about-mobile-card .expandable-content-inner .mt-3 { margin-top: 8px; }
    #about .about-mobile-card .expandable-toggle { bottom: 12px; }
    /* When expanded: photo stays at top of card (no extra top padding, photo wrap flush) */
    #about .about-mobile .card-expand-wrap.is-expanded .about-mobile-card { padding-top: 0; }
    #about .about-mobile .card-expand-wrap.is-expanded .about-mobile-photo-wrap { margin-top: 0; }

    :root { --card-body-padding-x: 24px; --card-body-padding-x-standard: 28px; --card-max-width: 500px; }
    .grid-twin { grid-template-columns: 1fr; gap: 25px; justify-items: center; }
    .grid-tri { grid-template-columns: 1fr; gap: 20px; justify-items: stretch; max-width: 100%; }
    section { padding: 48px 0 70px; min-height: 100vh; }
    section > .wrapper, section > .wrapper-tight { width: 90%; max-width: 100%; }
    h2 { font-size: clamp(1.2rem, 4vw + 0.5rem, 1.75rem); margin-bottom: var(--spacing-md); white-space: normal; }

    /* Hero ends above mobile nav; card centered, marquee pushed to bottom */
    .hero {
        height: calc(100svh - 90px);
        min-height: calc(100svh - 90px);
        justify-content: center;
        padding: clamp(12px, 2vh, 20px) 0 clamp(12px, 2vh, 20px) 0;
        gap: clamp(8px, 1.5vh, 14px);
    }
    .hero .marquee-after-hero { margin-top: auto; }
    /* Reserve space under nav so About doesn’t show beneath the fixed nav */
    #about { margin-top: 90px; }
    .hero-stack { width: 92%; gap: 6px; min-height: 0; }
    .hero-wordmark-inline { margin-bottom: clamp(4px, 1.5vh, 14px); }
    .hero-wordmark-inline img { width: 280px; }
    .hero-tagline { margin-bottom: 0; padding: 0 0.5rem; max-width: 100%; }
    .hero-title { font-size: clamp(1.6rem, 7vw, 3.5rem); }
    .hero-title .tagline-row { white-space: normal; }
    .hero-title .tagline-row-middle { height: auto; min-height: 1.15em; }
    .hero-title .tagline-row-top { letter-spacing: 0.02em; }
    .hero-subheadline { font-size: 0.78rem; margin: clamp(8px, 2vh, 24px) auto; padding: 0 1rem; }
    .hero-glass-panel { padding: 36px 24px 32px; border-radius: 24px; aspect-ratio: auto; }

    .hero-buttons { flex-direction: row; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
    .hero-buttons a { padding: 12px 22px; font-size: 0.75rem; text-align: center; width: auto; min-width: 0; max-width: none; }

    #about .card-photo { min-height: 280px; max-width: var(--card-max-width); margin: 0 auto; }
    #about .card-glass,
    #clients .card-expand-wrap .card-glass,
    #services .card-glass.service-card { max-width: var(--card-max-width); margin-left: auto; margin-right: auto; padding: var(--card-inner-gap) var(--card-body-padding-x-standard) 44px; border-radius: var(--card-radius); }
    .card-expand-wrap .card-glass { padding: var(--card-inner-gap) var(--card-body-padding-x) 48px; }
    #clients .card-expand-wrap { max-width: var(--card-max-width); margin-left: auto; margin-right: auto; }
    .card-expand-wrap .expandable-toggle { bottom: 12px; }
    .about-header { font-size: clamp(1.1rem, 4.5vw, 1.5rem); text-align: center; white-space: normal; }
    .card-header-inline h3 { font-size: clamp(0.9rem, 2.5vw + 0.4rem, 1.15rem); }

    /* About section: merge photo + card into review-card-like layout */
    #about .grid-twin { max-height: none; gap: 0; }
    #about > .wrapper-tight > .grid-twin > .card-photo {
        height: auto;
        min-height: 200px;
        max-height: none;
        aspect-ratio: auto;
        border-radius: var(--card-radius) var(--card-radius) 0 0;
        border-bottom: none;
        max-width: var(--card-max-width);
        margin: 0 auto;
        z-index: 1;
        overflow: hidden;
    }
    #about > .wrapper-tight > .grid-twin > .card-photo img {
        object-fit: cover;
        object-position: center 48%;
        height: 200px;
        width: 100%;
        border-radius: 0;
    }
    #about > .wrapper-tight > .grid-twin > .card-photo .photo-caption {
        position: absolute;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        width: 78%;
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(189, 0, 255, 0.4);
        border-radius: 50px;
        padding: 8px 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 12px rgba(189, 0, 255, 0.15);
        z-index: 5;
        opacity: 0.92;
    }
    #about > .wrapper-tight > .grid-twin > .card-photo {
        border: 1px solid rgba(189, 0, 255, 0.45);
        box-shadow: 0 0 0 1px rgba(189, 0, 255, 0.15), 0 0 24px rgba(189, 0, 255, 0.2), inset 0 0 40px rgba(189, 0, 255, 0.04);
    }
    #about > .wrapper-tight > .grid-twin > .card-expand-wrap {
        max-width: var(--card-max-width);
        margin: 0 auto;
    }
    #about > .wrapper-tight > .grid-twin > .card-expand-wrap > .card-glass {
        border-radius: 0 0 var(--card-radius) var(--card-radius);
        border-top: none;
        max-width: var(--card-max-width);
        padding: var(--card-inner-gap) var(--card-body-padding-x) 48px;
    }
    /* Merged photo+card: disable independent hover lifts */
    #about > .wrapper-tight > .grid-twin > .card-photo:hover,
    #about > .wrapper-tight > .grid-twin > .card-photo:active {
        transform: none;
        border-color: var(--glass-border);
        box-shadow: none;
    }
    #about > .wrapper-tight > .grid-twin > .card-expand-wrap .card-glass:hover,
    #about > .wrapper-tight > .grid-twin > .card-expand-wrap .card-glass:active {
        transform: none;
    }

    .review-card,
    .card-expand-wrap .review-card { max-width: var(--card-max-width); margin: 0 auto; padding: var(--card-inner-gap) var(--card-body-padding-x) 48px; border-radius: var(--card-radius); }
    .review-card .review-photo-wrap { border-radius: var(--card-radius) var(--card-radius) 0 0; margin-top: calc(-1 * var(--card-inner-gap)); margin-left: calc(-1 * var(--card-body-padding-x)); margin-right: calc(-1 * var(--card-body-padding-x)); width: calc(100% + 2 * var(--card-body-padding-x)); }
    .review-card .expandable-content-wrap { padding: 0 0 14px; }
    .review-logo-wrap { width: 56px; height: 56px; padding: 8px; }
    .review-card .review-role { font-size: 0.82rem; }
    .review-name { font-size: clamp(0.95rem, 2.6vw, 1.2rem); }
    .review-company-link { font-size: 0.8rem; }
    .marquee-wrapper { padding: 35px 0; }
    .hero .marquee-after-hero { flex-shrink: 0; min-height: 64px; padding-top: clamp(10px, 2vh, 20px); padding-bottom: clamp(20px, 4vh, 36px); }
    .marquee-wrapper.marquee-after-hero { padding-top: clamp(10px, 2vh, 20px); padding-bottom: clamp(20px, 4vh, 36px); }
    .marquee-wrapper.marquee-after-hero .marquee-track { gap: clamp(8px, 1.5vw, 14px); }
    .marquee-wrapper.marquee-after-hero .marquee-logo-glass { padding: 2px 4px; border-radius: 5px; }
    .marquee-wrapper.marquee-after-hero .marquee-logo-glass img { height: var(--hero-marquee-logo); max-height: var(--hero-marquee-logo); }
    /* marquee fade/gap/img — now handled by base clamp() */

    .footer-simple { align-items: center; text-align: center; }
    .footer-tagline { font-size: clamp(0.48rem, 2.2vw, 0.65rem); white-space: normal; }
    /* footer-logo width, associations gap/height — now handled by base clamp() */

    body { padding-bottom: 100px; }

    h2 { transform: none !important; }

    body.meet-page { padding-top: 0; }
    body.meet-page section#contact { min-height: auto; padding: 30px 0 160px; }
    body.meet-page section#book { padding: 40px 0 160px; }
}

@media (max-width: 640px) {
    body.meet-page section#contact { padding: 24px 0 150px; }
}

@media (max-width: 480px) {
    :root { --card-body-padding-x: 20px; --card-body-padding-x-standard: 22px; --card-max-width: 100%; }
    .grid-tri { max-width: 100%; }

    .card-expand-wrap .card-glass { padding: var(--card-inner-gap) var(--card-body-padding-x) 46px; }
    .card-expand-wrap .expandable-toggle { bottom: 10px; }
    section { padding: 50px 0 70px; }
    .hero {
        height: calc(100svh - 90px);
        min-height: calc(100svh - 90px);
        justify-content: center;
        padding: 10px 0 8px 0;
        gap: 8px;
    }
    .hero-stack { width: 94%; gap: 6px; }
    .hero-wordmark-inline { margin-bottom: clamp(4px, 1.2vh, 12px); }
    .hero-wordmark-inline img { width: 240px; }
    .hero-tagline { margin-bottom: 0; padding: 0 0.25rem; }
    .hero-subheadline { font-size: 0.75rem; margin: clamp(8px, 2vh, 24px) auto; padding: 0 0.75rem; }
    .hero-glass-panel { padding: 28px 18px 24px; border-radius: 20px; }

    .hero-title { font-size: clamp(1.4rem, 7.5vw, 2.2rem); }
    .hero-buttons { flex-wrap: wrap; gap: 10px; }
    .hero-buttons a { padding: 11px 18px; font-size: 0.7rem; letter-spacing: 0.8px; }

    .card-glass { max-width: 100%; }
    /* card-glass padding/border-radius + ::after border-radius — now handled by base clamp() + var(--card-radius) */
    #about h2 { margin-bottom: 0.5rem; }
    #about .card-glass,
    #clients .card-expand-wrap .card-glass,
    #services .card-glass.service-card { max-width: var(--card-max-width); margin-left: auto; margin-right: auto; }
    #clients .card-expand-wrap .card-glass { padding: var(--card-inner-gap) var(--card-body-padding-x-standard) 46px; }
    #services .card-glass.service-card { padding: var(--card-inner-gap) var(--card-body-padding-x-standard) 20px; }
    .card-photo { min-height: 260px; max-width: 100%; }
    #about > .wrapper-tight > .grid-twin > .card-photo { min-height: 220px; max-height: none; width: 94%; max-width: var(--card-max-width); margin-left: auto; margin-right: auto; border-radius: var(--card-radius) var(--card-radius) 0 0; }
    #about > .wrapper-tight > .grid-twin > .card-photo img { object-fit: cover; object-position: center 48% !important; height: 220px; width: 100%; border-radius: 0; display: block; }
    #about > .wrapper-tight > .grid-twin > .card-expand-wrap { width: 94%; max-width: var(--card-max-width); margin-left: auto; margin-right: auto; }
    #about > .wrapper-tight > .grid-twin > .card-expand-wrap > .card-glass { width: 100%; max-width: var(--card-max-width); border-radius: 0 0 var(--card-radius) var(--card-radius); padding: var(--card-inner-gap) var(--card-body-padding-x) 46px; }
    #about .about-mobile-photo-wrap { height: 180px; }
    #about .about-mobile-card { padding: var(--card-inner-gap) var(--card-body-padding-x) 46px; }
    #about > .wrapper-tight > .grid-twin > .card-photo .photo-caption { bottom: 12px; width: 68%; max-width: 260px; padding: 6px 14px; font-size: 0.9rem; }
    #about > .wrapper-tight > .grid-twin > .card-photo .clay-role { font-size: 0.6rem; }
    #about > .wrapper-tight > .grid-twin > .card-photo {
        border: 1px solid rgba(189, 0, 255, 0.45);
        box-shadow: 0 0 0 1px rgba(189, 0, 255, 0.15), 0 0 24px rgba(189, 0, 255, 0.2), inset 0 0 40px rgba(189, 0, 255, 0.04);
    }
    #about > .wrapper-tight > .grid-twin > .card-photo .photo-caption {
        border-color: rgba(189, 0, 255, 0.4);
        box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 12px rgba(189, 0, 255, 0.15);
    }
    .photo-caption { padding: 10px 20px; width: 90%; bottom: 16px; }
    .clay-name { font-size: 1.1rem; }
    .about-header { font-size: clamp(1rem, 5vw, 1.3rem); white-space: normal; }
    .card-header-inline h3 { font-size: clamp(0.8rem, 3.5vw, 1.1rem); }

    .review-card,
    .card-expand-wrap .review-card { max-width: var(--card-max-width); margin: 0 auto; padding: var(--card-inner-gap) var(--card-body-padding-x) 46px; border-radius: var(--card-radius); }
    .review-card .review-photo-wrap { border-radius: var(--card-radius) var(--card-radius) 0 0; margin-top: calc(-1 * var(--card-inner-gap)); margin-left: calc(-1 * var(--card-body-padding-x)); margin-right: calc(-1 * var(--card-body-padding-x)); width: calc(100% + 2 * var(--card-body-padding-x)); }
    /* review-photo-wrap height — now handled by base clamp() */
    .review-attribution { padding: 16px 0 0; gap: 12px; }
    .review-logo-wrap { width: 46px; height: 46px; }
    .review-card .expandable-content-wrap { padding: 0 0 12px; }

    .marquee-wrapper { padding: 25px 0; }
    .hero .marquee-after-hero { flex-shrink: 0; min-height: 64px; padding-top: clamp(8px, 1.5vh, 16px); padding-bottom: clamp(18px, 3.5vh, 28px); }
    .marquee-wrapper.marquee-after-hero { padding-top: clamp(8px, 1.5vh, 16px); padding-bottom: clamp(18px, 3.5vh, 28px); }
    .marquee-wrapper.marquee-after-hero .marquee-track { gap: clamp(6px, 1.2vw, 12px); }
    .marquee-wrapper.marquee-after-hero .marquee-logo-glass { padding: 2px 4px; border-radius: 5px; }
    .marquee-wrapper.marquee-after-hero .marquee-logo-glass img { height: var(--hero-marquee-logo); max-height: var(--hero-marquee-logo); }
    /* marquee fade/gap/img — now handled by base clamp() */

    footer { padding: 50px 0 20px; }
    .footer-tagline { font-size: clamp(0.42rem, 2.5vw, 0.58rem); white-space: normal; }
    /* footer-logo width, associations gap/height — now handled by base clamp() */
    .footer-associations-label { font-size: 0.72rem; letter-spacing: 2px; }

    body.meet-page section { padding: 40px 0 140px; }
    body.meet-page section#contact { padding: 24px 0 150px; }
}

@media (max-width: 380px) {
    .nav-mobile { gap: 4px; }
    .nav-mobile-item { font-size: 0.6rem; letter-spacing: 0; }
    .mobile-track { padding: 12px 4px; }
    .nav-mobile-cta { width: 36px; height: 36px; font-size: 0.85rem; }
    .nav-mobile-logo { width: 36px; height: 36px; }
    .nav-mobile-logo img { width: 20px; height: 20px; }
    .hero-title { font-size: clamp(1.5rem, 10vw, 2rem); }
}

/* =========================================
   14. MEET PAGE LAYOUT
   ========================================= */

body.meet-page { padding-top: 90px; }
body.meet-page section { min-height: auto; padding: 60px 0 60px; }
body.meet-page section#contact { min-height: calc(100svh - 90px); padding: 40px 0 40px; }
body.meet-page section#book { padding: 60px 0 60px; }
body.meet-page h2 { margin-bottom: var(--spacing-md); }
body.meet-page #floating-cta { position: fixed; }

.btn-meet-smart {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    box-shadow: 0 0 20px rgba(255, 0, 153, 0.4);
    border: none;
    transition: all var(--hover-duration) ease;
}
.btn-meet-smart:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--neon-pink), 0 0 36px rgba(255, 0, 153, 0.7);
}
.btn-meet-smart.is-connect {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.4);
}
.btn-meet-smart.is-connect:hover {
    box-shadow: 0 0 0 2px var(--neon-cyan), 0 0 36px rgba(0, 224, 255, 0.7);
}

.nav-mobile-cta.btn-meet-smart {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    box-shadow: 0 0 20px rgba(255, 0, 153, 0.3), 0 10px 30px rgba(0,0,0,0.8);
    border: none;
    transition: all var(--hover-duration) ease;
}
.nav-mobile-cta.btn-meet-smart.is-connect {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.3), 0 10px 30px rgba(0,0,0,0.8);
    border-color: transparent;
}
.nav-mobile-cta.btn-meet-smart:hover {
    box-shadow: 0 0 0 2px var(--neon-pink), 0 0 30px rgba(255, 0, 153, 0.7);
}
.nav-mobile-cta.btn-meet-smart.is-connect:hover {
    box-shadow: 0 0 0 2px var(--neon-cyan), 0 0 30px rgba(0, 224, 255, 0.7);
}

.contact-section { display: flex; flex-direction: column; align-items: center; min-height: calc(100svh - 110px); justify-content: center; padding-top: 0; padding-bottom: 40px; }
.contact-card-outer { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 700px; }

.contact-card { position: relative; width: 100%; display: flex; flex-direction: row; align-items: stretch; gap: 0; border-radius: 32px; overflow: hidden; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--glass-border); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); will-change: transform, opacity; transition: transform var(--hover-duration) cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--hover-duration) ease, border-color var(--hover-duration) ease; }
/* Contact Card uses shared .card-hover-cyan (add class in HTML) for standardized glow */
.contact-card:hover .cc-avatar-ring { background: rgba(255, 255, 255, 0.2); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 255, 255, 0.1); }
.cc-glass { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 0; }
.contact-card:hover .cc-glass { opacity: 1; }
.cc-edge { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(0, 204, 255, 0.5) 30%, rgba(138, 43, 226, 0.5) 60%, transparent 100%); pointer-events: none; z-index: 2; }
.cc-edge--top { top: 0; } .cc-edge--bottom { bottom: 0; }
.cc-avatar-col { position: relative; z-index: 1; width: 210px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px 30px; background: rgba(255, 255, 255, 0.025); border-right: 1px solid rgba(255, 255, 255, 0.07); }
.cc-avatar-ring { width: 148px; height: 148px; border-radius: 26px; padding: 2px; background: rgba(255, 255, 255, 0.13); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); flex-shrink: 0; transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease; }
.cc-avatar-ring img { width: 100%; height: 100%; border-radius: 24px; object-fit: cover; display: block; background: var(--bg-void); }
.cc-status { display: flex; align-items: center; gap: 6px; background: rgba(0, 255, 136, 0.1); border: 1px solid rgba(0, 255, 136, 0.25); border-radius: 50px; padding: 4px 10px; }
.cc-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #00ff88; box-shadow: 0 0 6px #00ff88; flex-shrink: 0; animation: cc-dot-pulse 2.5s ease-in-out infinite; }
@keyframes cc-dot-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 6px #00ff88; } 50% { opacity: 0.5; box-shadow: 0 0 2px #00ff88; } }
.cc-status-label { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 0.65rem; letter-spacing: 1px; color: #00ff88; text-transform: uppercase; }

.cc-info-col { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 34px 34px 30px; }
.cc-identity { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; align-self: center; }
.cc-name { font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; font-size: clamp(1.45rem, 3vw, 2rem); color: #ffffff; text-transform: uppercase; letter-spacing: 2.5px; line-height: 1; margin: 0; }
.cc-title { font-size: 0.72rem; font-weight: 700; color: var(--neon-cyan); text-transform: uppercase; letter-spacing: 1.5px; margin: 5px 0 0; opacity: 0.9; }
.cc-company { margin: 12px 0 0; line-height: 0; display: flex; justify-content: center; }
.cc-company-logo { height: 28px; width: auto; max-width: 100%; display: block; object-fit: contain; object-position: center center; opacity: 0.92; }
.cc-rows { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.cc-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cc-icon-wrap { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.78rem; }
.cc-icon--cyan, .cc-icon--purple, .cc-icon--pink, .cc-icon--blue { background: rgba(240, 244, 248, 0.08); color: #F0F4F8; }
.cc-value { font-size: 0.82rem; color: #F0F4F8; line-height: 1.3; transition: color var(--hover-duration) ease, text-shadow var(--hover-duration) ease; min-width: 0; word-break: break-word; }
.cc-value[role="link"] { cursor: pointer; }
.cc-value[role="link"]:hover, .cc-value[role="link"]:focus { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.6); outline: none; }
.cc-value[role="link"]:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }
.cc-link { font-size: 0.82rem; color: #F0F4F8; transition: color var(--hover-duration) ease, text-shadow var(--hover-duration) ease; min-width: 0; word-break: break-word; }
.cc-link:hover { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 224, 255, 0.6); }
.cc-link:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }
.cc-plain { font-size: 0.82rem; color: #F0F4F8; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 22px; border-radius: 50px; font-family: 'Poppins', sans-serif !important; font-weight: 900 !important; font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; white-space: nowrap; border: none; flex: 1; }
.cc-btn:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }
.cc-btn i { font-size: 0.75rem; }

/* Secondary A style — neon-pink ghost/outline, white text (matches hero Secondary A) */
.cc-btn--share { background: rgba(255, 0, 153, 0.06); color: #F0F4F8 !important; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); border: 2px solid rgba(255, 0, 153, 0.7); box-shadow: 0 0 12px rgba(255, 0, 153, 0.12); }
.cc-btn--share:hover, .cc-btn--share:active { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--neon-pink), 0 0 28px rgba(255, 0, 153, 0.45); background: rgba(255, 0, 153, 0.12); color: var(--neon-pink) !important; }
/* Secondary B style — neon-purple to neon-blue gradient, glass border (matches hero Secondary B) */
.cc-btn--save { background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); -webkit-background-clip: padding-box; background-clip: padding-box; color: #F0F4F8 !important; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); border: 1px solid var(--glass-border); box-shadow: 0 0 20px rgba(189, 0, 255, 0.2); overflow: hidden; }
.cc-btn--save:hover, .cc-btn--save:active { transform: translateY(-3px); border-color: var(--neon-purple); box-shadow: 0 0 0 2px var(--neon-purple), 0 0 30px rgba(189, 0, 255, 0.45); }

@keyframes chase-border { 0% { --chase-angle: 0deg; } 100% { --chase-angle: 360deg; } }
@property --chase-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

body.meet-page .cc-book-cta { display: none; }
.cc-book-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 13px 32px; border-radius: 50px; margin-left: 210px; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); border: none; color: #F0F4F8; font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,0.45); box-shadow: 0 0 24px rgba(189, 0, 255, 0.4), 0 4px 20px rgba(0,0,0,0.25); transition: box-shadow var(--hover-duration) ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); animation: chase-border 2.4s linear infinite; isolation: isolate; }
.cc-book-cta::before { content: ''; position: absolute; inset: -1.5px; border-radius: 50px; background: conic-gradient(from var(--chase-angle), transparent 0deg, transparent 60deg, var(--neon-purple) 120deg, rgba(189, 0, 255, 0.6) 150deg, transparent 200deg, transparent 360deg); z-index: -1; animation: chase-border 2.4s linear infinite; }
.cc-book-cta::after { content: ''; position: absolute; inset: 1.5px; border-radius: 49px; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); z-index: -1; }
.cc-book-cta:hover { box-shadow: 0 0 0 2px var(--neon-purple), 0 0 36px rgba(189, 0, 255, 0.65), 0 8px 30px rgba(0,0,0,0.3); transform: translateY(-3px); }
.cc-book-cta:hover::before { background: conic-gradient(from var(--chase-angle), transparent 0deg, transparent 40deg, rgba(255, 255, 255, 0.9) 100deg, rgba(200, 150, 255, 0.7) 140deg, transparent 200deg, transparent 360deg); }
.cc-book-cta:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.cc-book-cta:focus-visible { outline: 2px solid var(--neon-purple); outline-offset: 4px; }

/* =========================================
   15. BOOK A TIME (meet.html)
   ========================================= */
.book-section { display: flex; flex-direction: column; align-items: center; }
.calendar-embed-wrap { width: 100%; max-width: 900px; margin: 0 auto; border-radius: clamp(16px, 3vw, 24px); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); background: #0a1628; transition: transform var(--hover-duration) cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--hover-duration) ease, border-color var(--hover-duration) ease; }
/* Cal.com inline embed container */
.calendar-embed-wrap #my-cal-inline-30min { width: 100%; height: clamp(580px, 70vh, 750px); min-height: 580px; overflow-y: auto; overflow-x: hidden; }
.calendar-embed-wrap iframe { background: #0a1628; color-scheme: dark; border: none; border-radius: inherit; }
/* =========================================
   16. MEET PAGE — CONTACT CARD RESPONSIVE OVERRIDES
   ========================================= */
@media (max-width: 768px) {
    .cc-avatar-col { width: 180px; padding: 28px 20px; }
    .cc-avatar-ring { width: 120px; height: 120px; border-radius: 20px; }
    .cc-info-col { padding: 24px 24px 22px; gap: 14px; }
    .cc-name { font-size: 1.5rem; }
    .contact-card-outer { max-width: 100%; }
    .cc-book-cta { margin-left: 180px; }
}

@media (max-width: 640px) {
    .contact-card { flex-direction: column; border-radius: 24px; }
    .cc-avatar-col { width: 100%; flex-direction: column; justify-content: center; align-items: center; padding: 28px 24px 20px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); gap: 14px; }
    .cc-avatar-ring { width: 120px; height: 120px; border-radius: 22px; flex-shrink: 0; }
    .cc-avatar-ring img { border-radius: 20px; }
    .cc-status { margin-top: 0; }
    .cc-identity { align-items: center; text-align: center; }
    .cc-company { justify-content: center; }
    .cc-info-col { padding: 16px 20px 20px; gap: 10px; align-items: center; }
    .cc-rows { grid-template-columns: 1fr 1fr; gap: 8px 12px; width: 100%; max-width: 100%; padding: 12px 0; }
    .cc-row { justify-content: flex-start; }
    .cc-name { font-size: 1.4rem; letter-spacing: 2px; }
    .cc-title { font-size: 0.65rem; letter-spacing: 2px; white-space: nowrap; }
    .cc-actions { width: 100%; flex-direction: row; align-items: stretch; }
    .cc-btn { justify-content: center; padding: 12px 16px; flex: 1; }
    .cc-book-cta { margin-left: 0; }
    .calendar-embed-wrap #my-cal-inline-30min { height: clamp(680px, 85vh, 800px); min-height: 680px; }
}

@media (max-width: 480px) {
    .cc-avatar-col { padding: 20px 16px 16px; gap: 12px; }
    .cc-avatar-ring { width: 100px; height: 100px; border-radius: 18px; flex-shrink: 0; }
    .cc-avatar-ring img { border-radius: 16px; }
    .cc-name { font-size: 1.15rem; letter-spacing: 1.5px; }
    .cc-title { font-size: 0.6rem; letter-spacing: 1.5px; }
    .cc-info-col { padding: 16px 18px 18px; gap: 12px; }
    .cc-rows { max-width: 100%; gap: 8px; grid-template-columns: 1fr; }
    .cc-value { font-size: 0.78rem; }
    .contact-card { border-radius: 20px; }
    .cc-company-logo { height: 22px; }
}

/* =========================================
   17. PRINT — CONTACT CARD ON WHITE BACKGROUND
   ========================================= */
#print-card { display: none !important; }

@media print {
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    @page { size: auto; margin: 20mm; }
    body > *:not(#contact) { display: none !important; }
    #contact { display: block !important; }
    body, #contact { background: #ffffff !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
    .contact-section { min-height: 0 !important; padding: 0 !important; justify-content: flex-start !important; align-items: flex-start !important; }
    .contact-section h2, .cc-book-cta, .cc-edge { display: none !important; }
    .contact-card-outer { max-width: 100% !important; gap: 0 !important; }
    .contact-card { border-radius: 16px !important; box-shadow: 0 4px 24px rgba(0,0,0,0.18) !important; }
    .cc-actions { display: none !important; }
    .cc-status-dot { animation: none !important; }
}

/* =========================================
   18. REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .cc-status-dot, .cc-nudge-dot, .cc-nudge-arrow { animation: none !important; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .marquee-track { animation: none; }
    .nav-capsule { animation: none !important; }
    .nav-arrow-btn { animation: none !important; }
    .kenburns-slide { transition: opacity 0.5s ease; transform: none !important; }
    .reveal-target, .reveal-heading.reveal-target { opacity: 1; transform: none; }
    h2 { transform: none !important; }
    .hero-wordmark-inline img { animation: none !important; opacity: 1 !important; filter: drop-shadow(0 0 5px rgba(0, 224, 255, 0.22)) !important; }
    .expandable-toggle { opacity: 1 !important; transform: none !important; animation: none !important; pointer-events: auto !important; }
    .cc-book-cta, .cc-book-cta::before { animation: none !important; }
    .hero-cta-icon-a { animation: none !important; opacity: 1 !important; }
    .hero-cta-icon-b { animation: none !important; opacity: 0 !important; }
}

/* =========================================
   19. ANIMATION POLISH
   Global tweaks to make animations smoother, GPU-accelerated,
   and to ensure fill-mode/stable end-states while respecting
   the user's reduced-motion preference.
   ========================================= */

/* Promote commonly-animated elements to their own layer and
   avoid jank by hinting the browser with will-change and
   enabling hardware acceleration. */
.anim-accelerate,
.hero-glass-panel,
.card-glass,
.nav-capsule,
.logo-portal,
.marquee-track,
.expandable-content-inner {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Improve marquee smoothness: image hover transitions */
.marquee-track img { will-change: transform, opacity; transform-origin: center center; backface-visibility: hidden; transition: transform 0.45s var(--anim-ease), opacity 0.45s var(--anim-ease), filter 0.45s var(--anim-ease); }

/* Ensure marquee timing stays linear */
.marquee-wrapper .marquee-track { animation-timing-function: linear; }

/* =========================================
   20. REVIEW CARD TYPOGRAPHY TWEAKS
   Make name/title/company occupy the static area more effectively
   without breaking the design on mobile.
   ========================================= */
.review-name { font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: 1.4px; }
.review-card .review-role { font-size: clamp(0.75rem, 1.2vw, 0.95rem); letter-spacing: 1px; color: var(--text-secondary); }
.review-company-link { font-size: clamp(0.75rem, 1vw, 0.95rem); }

.logo-portal, .logo-portal::before, .logo-portal::after { animation-fill-mode: both; }

/* Slightly tighten transition timings for expandable content for a snappier feel */
.expandable-content-inner { transition-duration: 0.36s; transition-timing-function: var(--anim-ease); }
.expandable-toggle { transition-timing-function: var(--anim-ease); }

/* Button/icon micro-interactions */
.cc-book-cta, .btn-hero-primary, .btn-hero-secondary { backface-visibility: hidden; }

/* Keep accessibility: respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
    .hero-glass-panel,
    .hero-rotator-text,
    .logo-portal,
    .marquee-track,
    .expandable-content-inner,
    .expandable-toggle { animation: none !important; transition: none !important; }
    .hero-rotator-text.hero-rotator-fade { transform: none; }
}