/* ==========================================================================
   HAVEN BUILDERS — MINIMALIST ARCHITECTURAL & CONSTRUCTION WEBSITE STYLES
   Color Palette: Pure Black & White (matching official Haven Builders Logo)
   Accents: Monochrome Contrast, Architectural Slate, Clean Graphite
   ========================================================================== */

:root {
    /* Pure Black & White Palette matching Haven Builders Logo */
    --black: #000000;            /* True pitch black, matches logo background */
    --dark-900: #0a0a0a;         /* Deepest surface */
    --dark-800: #121212;         /* Dark section surface */
    --dark-700: #1c1c1c;         /* Card surface in dark sections */
    --dark-600: #262626;         /* Borders in dark sections */
    --dark-muted: #97918b;       /* Muted text on dark */

    --white: #ffffff;            /* Pure white, matches logo graphics */
    --light-50: #ffffff;         /* Main body light background */
    --light-100: #f6f5f3;        /* Clean light gray section surface */
    --light-200: #ebe8e4;        /* Soft border light */
    --light-300: #d6d3d1;        /* Divider light */

    --text-primary: #0a0a0a;     /* Sharp dark text */
    --text-secondary: #4a4a4a;   /* Clean readable body */
    --text-muted: #78716c;       /* Captions / meta */

    --whatsapp: #25D366;
    --whatsapp-dark: #1ea952;
    --instagram: #E1306C;

    /* Typography */
    --font-heading: 'Archivo', 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-sans: 'Archivo', 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-luxury: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
    --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: auto;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Horizontal clipping lives on <html> ONLY. Setting overflow on BOTH html and
       body turns body into a scroll container, which silently breaks
       position: sticky (the pinned hero timeline). */
    overflow-x: hidden;
    --header-h: 108px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    background-color: var(--white);
    line-height: 1.65;
    /* clip (unlike hidden) does NOT create a scroll container, so sticky keeps working */
    overflow-x: clip;
    position: relative;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Containers & Structural Layout */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.bg-surface {
    background-color: var(--light-100);
}

.bg-dark {
    background-color: var(--black);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

.text-muted-light {
    color: var(--dark-muted);
}

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

/* Section Header Styles */
.section-header {
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.section-tag.center {
    justify-content: center;
}

.section-tag.tag-light {
    color: var(--white);
}

.section-tag .tag-line {
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background-color: var(--black);
}

.section-tag.tag-light .tag-line {
    background-color: var(--white);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   HEADER & NAVBAR (Pure Black Matching Logo)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

/* Anchor jumps land below the fixed header */
section[id],
.trust-bar {
    scroll-margin-top: var(--header-h);
}

.navbar {
    background-color: var(--black); /* 100% matches Logo background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    transition: padding var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Company Logo - Prominent & Authoritative Size */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
    background: transparent;
    padding: 2px 0;
}

.brand-logo-img {
    height: 72px;
    width: auto;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    transition: height var(--transition-smooth), transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.02);
}

.navbar.scrolled .brand-logo-img {
    height: 58px;
}

/* Desktop Nav Menu - Arranged & Centered */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #d4d4d8;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
    display: inline-block;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--white);
    transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-nav-cta {
    background-color: var(--white);
    color: var(--black);
    font-weight: 700;
    border: 1px solid var(--white);
    padding: 12px 26px;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background-color: #ededed;
    border-color: #ededed;
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--black);
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    transition: right var(--transition-smooth);
    border-left: 1px solid #1c1c1c;
}

.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #1c1c1c;
    margin-bottom: 20px;
}

.mobile-drawer-logo-img {
    height: 60px;
    width: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.mobile-close {
    font-size: 2rem;
    color: var(--white);
    background: none;
    line-height: 1;
    cursor: pointer;
    border: none;
    padding: 4px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    overflow-y: auto;
}

.mobile-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: #e7e5e4;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-link:hover {
    color: var(--white);
    padding-left: 6px;
}

.mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #1c1c1c;
    flex-shrink: 0;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   BUTTONS (Monochrome High Contrast)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: 4px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 0.98rem;
}

.btn-block {
    width: 100%;
}

/* Primary Button (Solid Black on Light) */
.btn-primary {
    background-color: var(--black);
    color: var(--white);
    font-weight: 700;
    border: 1px solid var(--black);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #262626;
    border-color: #262626;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Primary Button (Solid White on Dark) */
.btn-hero-primary {
    background-color: var(--white);
    color: var(--black);
    font-weight: 700;
    border: 1px solid var(--white);
}

.btn-hero-primary:hover {
    background-color: #f0f0f0;
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

/* Secondary Button (Semi-transparent with White Border) */
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Outline Light Button */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* White Solid Button */
.btn-white {
    background-color: var(--white);
    color: var(--black);
    font-weight: 700;
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    font-weight: 600;
    border: 1px solid var(--whatsapp);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   4. HERO SECTION & CINEMATIC SCROLL-CONTROLLED TIMELINE
   ========================================================================== */
.hero-section.hero-timeline-track {
    position: relative;
    height: 600vh;
    background-color: var(--black);
    margin: 0;
    padding: 0;
}

.hero-sticky-viewport {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-color: #000;
    z-index: 2;
    contain: layout paint;
    --hud-console-h: 130px;
}

/* Clean Canvas Container (Vignette-Free) */
.timeline-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
}

.hero-sequence-canvas {
    display: block;
    width: 100%;
    height: 100%;
    /* Clear, natural colors: no filters, overlays, gradients or vignettes */
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}

/* Initial Hero Landing Layer (Fades out between 0% and 12% scroll) */
.hero-intro-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-h);
    /* Driven frame-by-frame by scroll position: no CSS transition (it caused lag/desync) */
    will-change: opacity, transform;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 24px;
    padding-bottom: 96px;
}

.hero-content {
    max-width: 860px;
    background: rgba(10, 10, 12, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 38px 44px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f3f4f6;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero-title-highlight {
    color: #e7e5e4;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    padding-bottom: 4px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    color: #e7e5e4;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 720px;
    font-weight: 400;
}

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

/* Scroll Cue Mouse Indicator */
.hero-scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.scroll-cue-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    padding: 10px 16px 12px;
    border-radius: 16px;
    background: rgba(10, 10, 12, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.scroll-cue-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.scroll-cue-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-cue-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    animation: mouseWheelSlide 1.8s infinite ease-in-out;
}

@keyframes mouseWheelSlide {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(12px); opacity: 0; }
    61% { transform: translateY(0); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   CINEMATIC TIMELINE HUD (Scroll Synchronized)
   ========================================================================== */
.timeline-hud-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 14px) 48px 30px 48px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Scroll-driven: no transition, so HUD never lags behind the frames */
    will-change: opacity;
}

/* Top Strip */
.timeline-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.hud-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    min-width: 0;
    padding: 8px 18px;
    background: rgba(10, 10, 12, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hud-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.9);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hud-sep {
    color: rgba(255, 255, 255, 0.25);
}

.hud-stage-counter {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
}

.hud-frame-label {
    color: #d6d3d1;
    font-variant-numeric: tabular-nums;
}

.hud-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-hud-skip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(18, 18, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e7e5e4;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-hud-skip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Floating Architectural Milestone Cards (6 Stages) */
.milestone-cards-wrapper {
    position: absolute;
    top: calc(var(--header-h) + 70px);
    left: 48px;
    max-width: 520px;
    width: calc(100% - 96px);
    pointer-events: none;
    min-height: 250px;
}

.milestone-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 10, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 26px 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
    /* Short crossfade so stage changes stay in lock-step with the frames */
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.25s;
}

.milestone-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.milestone-card.active .milestone-header {
    animation: cardItemSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

.milestone-card.active .milestone-name {
    animation: cardItemSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}

.milestone-card.active .milestone-summary {
    animation: cardItemSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.milestone-card.active .milestone-telemetry {
    animation: cardItemSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

@keyframes cardItemSlide {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.milestone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.milestone-step {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #a8a29e;
    text-transform: uppercase;
}

.milestone-stage-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.milestone-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.milestone-summary {
    font-size: 0.88rem;
    color: #d6d3d1;
    line-height: 1.6;
    margin-bottom: 18px;
}

.milestone-telemetry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.telemetry-icon-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a8a29e;
}

.telemetry-icon-title i {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

.telemetry-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* Bottom Scrubber & Navigation Console (6 Stages) */
.timeline-bottom-console {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(10, 10, 12, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px 24px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    pointer-events: auto;
}

.console-nav-pills {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.stage-nav-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #a8a29e;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.stage-nav-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.stage-nav-pill.active {
    color: #000000;
    background: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

.pill-number {
    font-size: 0.72rem;
    opacity: 0.7;
}

.console-track-container {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
    touch-action: none;
    outline: none;
}

.console-track-container:focus-visible {
    box-shadow: 0 0 0 2px #000, 0 0 0 4px #ffffff;
}

/* Bigger invisible hit area for fingers */
.console-track-container::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

.console-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #78716c 0%, #ffffff 100%);
    border-radius: 4px;
    width: 0%;
    pointer-events: none;
}

.console-track-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: transform 0.15s ease;
}

.console-track-container:hover .console-track-thumb {
    transform: translate(-50%, -50%) scale(1.2);
}

.console-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a8a29e;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

/* Completion Notification Cue (Appears when animation finishes) */
.hud-completion-cue {
    position: absolute;
    bottom: calc(var(--hud-console-h) + 44px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    white-space: nowrap;
}

.hud-completion-cue.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.completion-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(8, 8, 10, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.completion-pill i.fa-circle-check {
    color: #25D366;
    font-size: 0.95rem;
}

.completion-pill i.fa-arrow-down {
    animation: completionArrowBounce 1.5s infinite ease-in-out;
}

@keyframes completionArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Fast Frame Buffer Indicator */
.hud-buffer-indicator {
    position: absolute;
    bottom: 12px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #78716c;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hud-buffer-indicator.buffer-complete {
    opacity: 0;
}

.buffer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8a983;
    animation: bufferPulse 1.5s infinite;
}

@keyframes bufferPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.buffer-mini-bar {
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.buffer-mini-fill {
    height: 100%;
    width: 1%;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.2s ease;
}

/* Responsive Rules for Timeline & Hero */
@media (max-width: 992px) {
    .hero-section.hero-timeline-track {
        height: 520vh;
    }

    .milestone-cards-wrapper {
        top: calc(var(--header-h) + 64px);
        left: 28px;
        width: calc(100% - 56px);
        max-width: 480px;
    }

    .timeline-hud-overlay {
        padding: calc(var(--header-h) + 12px) 28px 24px 28px;
    }

    .hud-completion-cue {
        bottom: calc(var(--hud-console-h) + 36px);
    }

    .hud-buffer-indicator {
        right: 28px;
    }

    .hud-live-text,
    .hud-live-text + .hud-sep {
        display: none;
    }

    .stage-nav-pill {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero-section.hero-timeline-track {
        height: 460vh;
    }

    .timeline-hud-overlay {
        padding: calc(var(--header-h) + 10px) 14px 16px 14px;
    }

    .hud-status-badge {
        font-size: 0.68rem;
        padding: 6px 12px;
        gap: 6px;
    }

    .hud-live-text {
        display: none;
    }

    .scroll-cue-text {
        font-size: 0.62rem;
        letter-spacing: 1.2px;
    }

    .btn-hud-skip {
        padding: 6px 12px;
        font-size: 0.72rem;
    }

    .milestone-cards-wrapper {
        top: auto;
        bottom: calc(var(--hud-console-h) + 28px);
        left: 14px;
        width: calc(100% - 28px);
        max-width: none;
        min-height: auto;
    }

    .milestone-card {
        top: auto;
        bottom: 0;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .milestone-name {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        margin-bottom: 6px;
    }

    .milestone-summary {
        font-size: 0.78rem;
        line-height: 1.45;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .milestone-telemetry {
        padding-top: 8px;
        gap: 6px 12px;
    }

    .telemetry-icon-title {
        font-size: 0.62rem;
    }

    .telemetry-value {
        font-size: 0.74rem;
    }

    .timeline-bottom-console {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .console-nav-pills {
        gap: 4px;
        margin-bottom: 8px;
    }

    .stage-nav-pill {
        padding: 5px 3px;
        font-size: 0.7rem;
        gap: 3px;
    }

    .pill-number {
        font-size: 0.65rem;
    }

    .stage-nav-pill {
        min-width: 0;
    }

    .console-meta {
        font-size: 0.66rem;
    }

    .hud-buffer-indicator {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .hero-content {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll-cue {
        bottom: 16px;
    }

    .hero-container {
        padding-bottom: 88px;
    }

    .hero-badge {
        margin-bottom: 14px;
    }

    .hero-title {
        margin-bottom: 14px;
    }

    .hud-completion-cue {
        top: calc(var(--header-h) + 60px);
        bottom: auto;
        width: calc(100% - 28px);
        text-align: center;
        white-space: normal;
    }

    .completion-pill {
        padding: 7px 12px;
        font-size: 0.66rem;
        letter-spacing: 0.8px;
        justify-content: center;
        width: 100%;
    }
}

/* Narrow phones: six named pills don't fit, show stage numbers only */
@media (max-width: 560px) {
    .hud-frame-label,
    .hud-stage-counter + .hud-sep {
        display: none;
    }

    .stage-nav-pill .pill-name {
        display: none;
    }

    .stage-nav-pill .pill-number {
        font-size: 0.78rem;
        opacity: 1;
    }
}

/* Short screens (phones in landscape, small laptops): keep HUD from overlapping */
@media (max-height: 640px) {
    .milestone-telemetry {
        display: none;
    }

    .milestone-summary {
        margin-bottom: 0;
    }

    .hero-subtitle {
        display: none;
    }
}

@media (max-height: 480px) {
    .hero-badge {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-content {
        padding: 16px 20px;
    }

    .hero-container {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero-cta-group {
        gap: 8px;
    }

    .milestone-summary {
        display: none;
    }

    .milestone-name {
        margin-bottom: 0;
    }

    .console-meta {
        display: none;
    }

    .hero-scroll-cue {
        display: none;
    }

    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-cta-group .btn-lg {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Landscape phones: put the completion cue in the top bar gap so it never covers the card */
@media (max-height: 480px) and (min-width: 561px) {
    .hud-frame-label,
    .hud-stage-counter + .hud-sep {
        display: none;
    }

    .hud-completion-cue {
        top: calc(var(--header-h) + 10px);
        bottom: auto;
        width: auto;
    }

    .completion-pill {
        padding: 6px 12px;
        font-size: 0.6rem;
        letter-spacing: 0.6px;
        width: auto;
    }
}

/* Phones with short screens (iPhone SE etc.): fit the intro panel under the header */
@media (max-width: 768px) and (max-height: 620px) {
    .hero-badge {
        display: none;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-container {
        padding-top: 8px;
    }
}

/* Floating buttons sit over the timeline console; hide them while the hero is pinned */
html.hero-pinned .floating-whatsapp,
html.hero-pinned .back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Very small phones: compact the 3 stacked CTAs so the intro fits on screen */
@media (max-width: 768px) and (max-height: 760px) {
    .hero-cta-group {
        gap: 8px;
    }

    .hero-cta-group .btn-lg {
        padding: 11px 18px;
        font-size: 0.88rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 16px;
    }
}

/* Reduced motion: frames are still user-scrubbed, but skip decorative motion */
@media (max-width: 0px) {
    .milestone-card,
    .milestone-card.active,
    .milestone-card.active .milestone-header,
    .milestone-card.active .milestone-name,
    .milestone-card.active .milestone-summary,
    .milestone-card.active .milestone-telemetry {
        transition: none !important;
        animation: none !important;
    }
}

/* Minimal HUD: status badge, stage cards and bottom console removed.
   Only "Skip Timeline" (top-right) and the completion cue remain. */
.timeline-top-bar {
    justify-content: flex-end;
}

.timeline-hud-overlay .hud-completion-cue {
    top: auto;
    bottom: 48px;
    width: auto;
    max-width: calc(100% - 28px);
}

@media (max-width: 768px) {
    .timeline-hud-overlay .hud-completion-cue {
        bottom: 28px;
        white-space: normal;
    }
}

/* Compact scroll cue, tucked into the bottom-right corner */
.hero-scroll-cue {
    left: auto;
    right: 24px;
    bottom: 24px;
    transform: none;
}

.hero-scroll-cue .scroll-cue-content {
    flex-direction: row;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-scroll-cue .scroll-cue-text {
    font-size: 0.62rem;
    letter-spacing: 1.2px;
}

.hero-scroll-cue .scroll-cue-mouse {
    width: 14px;
    height: 22px;
    border-width: 1.5px;
    border-radius: 8px;
    flex-shrink: 0;
}

.hero-scroll-cue .scroll-cue-wheel {
    width: 2px;
    height: 5px;
    top: 4px;
    animation-name: mouseWheelSlideSmall;
}

@keyframes mouseWheelSlideSmall {
    0% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(7px); opacity: 0; }
    61% { transform: translateY(0); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .hero-scroll-cue {
        right: 14px;
        bottom: 14px;
    }
}

/* Compact intro panel, sitting on the left side so the frames stay visible */
.hero-intro-overlay .hero-content {
    max-width: 440px;
    padding: 22px 24px;
    border-radius: 14px;
    background: rgba(10, 10, 12, 0.62);
}

.hero-intro-overlay .hero-badge {
    padding: 5px 12px;
    font-size: 0.64rem;
    letter-spacing: 1.2px;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-intro-overlay .hero-title {
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-intro-overlay .hero-title-highlight {
    padding-bottom: 2px;
}

.hero-intro-overlay .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.hero-intro-overlay .hero-cta-group {
    gap: 8px;
}

.hero-intro-overlay .hero-cta-group .btn-lg {
    padding: 9px 14px;
    font-size: 0.8rem;
    gap: 6px;
}

@media (max-width: 768px) {
    .hero-intro-overlay .hero-content {
        max-width: 300px;
        padding: 14px 16px;
    }

    .hero-intro-overlay .hero-badge {
        font-size: 0.56rem;
        padding: 4px 10px;
    }

    .hero-intro-overlay .hero-title {
        font-size: 1.45rem;
    }

    .hero-intro-overlay .hero-subtitle {
        font-size: 0.82rem;
        margin-bottom: 14px;
    }

    .hero-intro-overlay .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-intro-overlay .hero-cta-group .btn-lg {
        padding: 8px 12px;
        justify-content: center;
    }
}

/* Trust Bar */
.trust-bar {
    position: relative;
    z-index: 3;
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-card:last-child {
    border-right: none;
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.trust-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.trust-text p {
    font-size: 0.82rem;
    color: var(--dark-muted);
    line-height: 1.5;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* About Visuals Layout */
.about-visuals {
    position: relative;
    padding: 30px;
}

.about-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--dark-800);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-luxury);
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.04);
}

.about-img-wrapper.main-img {
    width: 85%;
    height: 480px;
    min-height: 380px;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--light-200);
}

.about-img-wrapper.secondary-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 280px;
    min-height: 240px;
    aspect-ratio: 4 / 3;
    border: 4px solid var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-experience-card {
    position: absolute;
    top: 50px;
    left: 0;
    background: var(--black);
    color: var(--white);
    padding: 16px 22px;
    border-left: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 2px;
    z-index: 5;
}

.about-exp-logo {
    width: 48px;
    height: 48px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
    background: #000000;
}

.about-experience-card .exp-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
}

.about-experience-card .exp-sub {
    font-size: 0.75rem;
    color: #a8a29e;
    font-weight: 500;
}

/* About Content */
.section-description {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-description-secondary {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pillar-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pillar-body strong {
    color: var(--text-primary);
    font-weight: 700;
    margin-right: 6px;
}

.pillar-body span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Leadership / CEO feature (About section) */
.ceo-feature {
    margin-top: 88px;
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 56px;
    align-items: center;
    background: var(--black);
    color: var(--white);
    border-radius: 6px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.ceo-photo {
    position: relative;
    margin: 0;
    align-self: center;
}

/* Decorative offset frame behind the photo */
.ceo-photo::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -18px;
    right: 18px;
    bottom: 58px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    pointer-events: none;
}

.ceo-photo img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;              /* full image, never cropped */
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--dark-800);
}

.ceo-photo-badge {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 14px;
    padding: 0 0 0 14px;
    border-left: 3px solid var(--white);
}

.ceo-badge-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.ceo-badge-role {
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a8a29e;
    font-weight: 600;
}

.ceo-message .section-tag {
    margin-bottom: 14px;
}

.ceo-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 22px;
}

.ceo-quote {
    position: relative;
    margin: 0 0 22px;
    padding: 4px 0 4px 22px;
    border-left: 2px solid rgba(255, 255, 255, 0.35);
}

.ceo-quote i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    display: block;
}

.ceo-quote p {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--white);
    font-weight: 500;
    font-style: italic;
}

.ceo-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #cdc8c2;
    margin-bottom: 14px;
}

.ceo-signoff {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 24px 0 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ceo-sign-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.ceo-sign-role {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-muted);
    font-weight: 600;
}

.ceo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .ceo-feature {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
        margin-top: 64px;
    }

    .ceo-photo {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .ceo-feature {
        padding: 24px 18px;
        margin-top: 48px;
    }

    .ceo-quote p {
        font-size: 1.02rem;
    }

    .ceo-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* CEO block entrance animation.
   Plays when the block scrolls into view (.ceo-in) and resets once it has left
   the screen, so it plays again next time. The photo is never clipped or zoomed. */
.ceo-feature.ceo-anim {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.ceo-feature.ceo-anim .ceo-photo img {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px) grayscale(1);
    transition: opacity 1s ease 0.25s,
                transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
                filter 1.3s ease 0.3s;
}

.ceo-feature.ceo-anim .ceo-photo::before {
    opacity: 0;
    transform: translate(28px, -28px);
    transition: opacity 0.8s ease 0.75s, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s;
}

.ceo-feature.ceo-anim .ceo-photo-badge {
    opacity: 0;
    transform: translateY(14px);
    border-left-color: transparent;
    transition: opacity 0.7s ease 1s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s, border-color 0.5s ease 1.3s;
}

.ceo-feature.ceo-anim .ceo-message > * {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.ceo-feature.ceo-anim .ceo-message > :nth-child(1) { transition-delay: 0.45s; }
.ceo-feature.ceo-anim .ceo-message > :nth-child(2) { transition-delay: 0.6s; }
.ceo-feature.ceo-anim .ceo-message > :nth-child(3) { transition-delay: 0.75s; }
.ceo-feature.ceo-anim .ceo-message > :nth-child(4) { transition-delay: 0.9s; }
.ceo-feature.ceo-anim .ceo-message > :nth-child(5) { transition-delay: 1.05s; }
.ceo-feature.ceo-anim .ceo-message > :nth-child(6) { transition-delay: 1.2s; }

.ceo-feature.ceo-anim .ceo-quote {
    border-left-color: transparent;
}

.ceo-feature.ceo-anim .ceo-quote::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--white);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1) 0.9s;
}

.ceo-feature.ceo-anim .ceo-signoff {
    position: relative;
    border-top-color: transparent;
}

.ceo-feature.ceo-anim .ceo-signoff::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1) 1.2s;
}

.ceo-feature.ceo-anim .ceo-actions .btn {
    transition-property: opacity, transform, background-color, color, border-color, box-shadow;
}

/* Revealed */
.ceo-feature.ceo-anim.ceo-in,
.ceo-feature.ceo-anim.ceo-in .ceo-photo img,
.ceo-feature.ceo-anim.ceo-in .ceo-photo::before,
.ceo-feature.ceo-anim.ceo-in .ceo-photo-badge,
.ceo-feature.ceo-anim.ceo-in .ceo-message > * {
    opacity: 1;
    transform: none;
    filter: none;
}

.ceo-feature.ceo-anim.ceo-in .ceo-photo-badge {
    border-left-color: var(--white);
}

.ceo-feature.ceo-anim.ceo-in .ceo-quote::before {
    transform: scaleY(1);
}

.ceo-feature.ceo-anim.ceo-in .ceo-signoff::before {
    transform: scaleX(1);
}

/* Subtle life after the reveal */
.ceo-feature.ceo-in .ceo-photo:hover::before {
    transform: translate(-6px, 6px);
    transition-delay: 0s;
}

.ceo-feature .ceo-quote i {
    animation: ceoQuotePulse 3.2s ease-in-out infinite;
}

@keyframes ceoQuotePulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 0.85; transform: translateY(-3px); }
}

@media (max-width: 900px) {
    .ceo-photo::before {
        left: -10px;
        right: 10px;
        top: 10px;
    }
}

@media (max-width: 0px) {
    .ceo-feature.ceo-anim,
    .ceo-feature.ceo-anim *,
    .ceo-feature.ceo-anim *::before {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   OUR SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--light-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--light-200);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--black);
}

.service-img-wrap {
    position: relative;
    height: 200px;
    min-height: 200px;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background-color: var(--dark-800);
    flex-shrink: 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-luxury);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.service-num {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 8px;
    border-radius: 2px;
}

.service-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-top: -48px;
    position: relative;
    z-index: 2;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-box {
    background-color: #262626;
    color: var(--white);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--light-200);
}

.service-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li i {
    color: var(--black);
    font-size: 0.75rem;
}

.service-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--light-200);
}

.btn-service-enquire {
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.btn-service-enquire i {
    color: var(--black);
    transition: transform var(--transition-fast);
}

.btn-service-enquire:hover {
    color: #4b5563;
    gap: 12px;
}

.btn-service-enquire:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   OUR PROJECTS (PORTFOLIO GALLERY) SECTION
   ========================================================================== */
.projects-section {
    background-color: var(--white);
}

.projects-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--light-200);
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--black);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
    box-shadow: var(--shadow-sm);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    align-items: stretch;
}

.project-card {
    background-color: var(--white);
    border: 1px solid var(--light-200);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--black);
}

.project-img-box {
    position: relative;
    height: 260px;
    min-height: 260px;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background-color: var(--dark-800);
    flex-shrink: 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-luxury);
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view-btn {
    background-color: var(--white);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(15px);
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-view-btn {
    transform: translateY(0);
}

.project-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    color: var(--black);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-summary {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.projects-cta-box {
    background-color: var(--light-100);
    border: 1px solid var(--light-200);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.projects-cta-box p {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.projects-cta-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   WHY CHOOSE HAVEN BUILDERS SECTION (Pure Black Dark Theme)
   ========================================================================== */
.why-us-section {
    background-color: var(--black);
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
    align-items: stretch;
}

.why-card {
    background-color: var(--dark-800);
    border: 1px solid #222222;
    border-radius: 4px;
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--white);
    box-shadow: var(--shadow-dark);
}

.why-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    background: #1c1c1c;
    border: 1px solid #2e2e2e;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.why-card:hover .why-icon-wrap {
    background-color: var(--white);
    color: var(--black);
}

.why-num {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
}

.why-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.why-desc {
    font-size: 0.9rem;
    color: var(--dark-muted);
    line-height: 1.65;
    flex-grow: 1;
}

/* Standards Banner */
.standards-banner {
    background-color: #121212;
    border: 1px solid #2e2e2e;
    border-radius: 4px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.standards-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.standards-icon {
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.standards-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.standards-content p {
    font-size: 0.88rem;
    color: #a8a29e;
}

.standards-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   OUR PROCESS SECTION
   ========================================================================== */
.process-section {
    background-color: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-bottom: 56px;
    align-items: stretch;
}

/* Connecting Line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e7e5e4;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.step-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 0 6px var(--light-100);
    transition: transform var(--transition-smooth), background-color var(--transition-smooth);
    flex-shrink: 0;
}

.process-step:hover .step-badge {
    transform: scale(1.1);
    background-color: var(--black);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black);
}

.process-step:hover .step-num {
    color: var(--white);
}

.step-content {
    background-color: var(--light-50);
    border: 1px solid var(--light-200);
    border-radius: 4px;
    padding: 28px 20px;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.process-step:hover .step-content {
    transform: translateY(-4px);
    border-color: var(--black);
}

.step-icon {
    font-size: 1.6rem;
    color: var(--black);
    margin-bottom: 14px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.step-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
    padding-top: 12px;
}

.deliv-badge {
    font-size: 0.72rem;
    background-color: var(--light-100);
    border: 1px solid var(--light-200);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: var(--light-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--light-200);
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--black);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.rating-stars {
    color: var(--black);
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
    position: relative;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--light-200);
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #333333;
    flex-shrink: 0;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.reviewer-project {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

/* ==========================================================================
   CONTACT US & ENQUIRY SECTION (Pure Black Theme)
   ========================================================================== */
.contact-section {
    background-color: var(--black);
    color: var(--white);
    border-top: 1px solid #1c1c1c;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 56px;
    align-items: flex-start;
}

/* Left: Info Panel */
.contact-panel-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-panel-desc {
    font-size: 1.05rem;
    color: var(--dark-muted);
    margin-bottom: 36px;
    line-height: 1.65;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: var(--dark-800);
    border: 1px solid #262626;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.channel-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.channel-link {
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.channel-link:hover {
    color: #e5e5e5;
    text-decoration: underline;
}

.channel-link.whatsapp-link {
    color: var(--whatsapp);
    font-weight: 600;
}

.channel-link.whatsapp-link:hover {
    color: #40ea80;
}

.channel-link.ig-link {
    color: #f43f5e;
    font-weight: 600;
}

.channel-link.ig-link:hover {
    color: #fb7185;
}

/* Hours Card */
.hours-card {
    background-color: var(--dark-800);
    border: 1px solid #262626;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 28px;
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #262626;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #d6d3d1;
    padding: 4px 0;
}

.hours-row span:first-child {
    color: var(--dark-muted);
}

/* WhatsApp Direct Card */
.whatsapp-action-box {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.03) 100%);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 4px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.wa-content h4 {
    color: var(--white);
    font-size: 0.98rem;
    margin-bottom: 2px;
}

.wa-content p {
    font-size: 0.8rem;
    color: #a8a29e;
}

/* Right: Form Panel */
.contact-form-panel {
    background-color: var(--white);
    border-radius: 4px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.form-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-200);
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group label .required {
    color: #dc2626;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.input-with-icon input,
.input-with-icon select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background-color: var(--light-100);
    border: 1px solid var(--light-300);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group textarea {
    padding-left: 14px;
    resize: vertical;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.form-group textarea:focus {
    background-color: var(--white);
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.field-error {
    font-size: 0.75rem;
    color: #dc2626;
    min-height: 16px;
}

.input-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.form-privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-privacy-note i {
    color: var(--black);
}

/* Form Status Message */
.form-status {
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-status.success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-status.error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ==========================================================================
   FOOTER (Pure Black Matching Logo)
   ========================================================================== */
.footer {
    background-color: var(--black); /* Exact match with logo background */
    color: #a8a29e;
    border-top: 1px solid #1c1c1c;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-logo {
    display: inline-block;
    line-height: 0;
    margin-bottom: 20px;
    background: transparent;
}

.footer-logo-img {
    height: 72px;
    width: auto;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #a8a29e;
    margin-bottom: 24px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background-color: var(--dark-800);
    border: 1px solid #262626;
    color: #d6d3d1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-social-links a:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.footer-social-links a[title*="Instagram"]:hover {
    background-color: var(--instagram);
    border-color: var(--instagram);
    color: var(--white);
}

.footer-social-links a[title*="WhatsApp"]:hover {
    background-color: var(--whatsapp);
    border-color: var(--whatsapp);
    color: var(--white);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--white);
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #a8a29e;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-contact-info li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--white);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-info li:nth-child(2) i {
    color: var(--whatsapp);
}

.footer-contact-info li:nth-child(3) i {
    color: var(--instagram);
}

.footer-contact-info a {
    color: #e7e5e4;
    transition: color var(--transition-fast);
}

.footer-contact-info a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    background-color: #050505;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: #78716c;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #a8a29e;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   PROJECT DETAILS MODAL
   ========================================================================== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-dialog {
    position: relative;
    z-index: 2001;
    background-color: var(--white);
    border-radius: 4px;
    max-width: 880px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: background-color var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--black);
}

.modal-project-img-wrap {
    width: 100%;
    height: 380px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--dark-800);
}

.modal-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-inner-content {
    padding: 32px;
}

.modal-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-200);
}

.modal-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-meta-row i {
    color: var(--black);
}

.modal-project-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.modal-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background-color: var(--light-100);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 28px;
}

.modal-spec-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.modal-spec-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp & Back to Top)
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 990;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-dark);
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--black);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    transform: translateX(10px);
}

.floating-whatsapp:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 36px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--black);
    color: var(--white);
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 980;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-4px);
}

/* ==========================================================================
   PREMIUM SCROLL-TRIGGERED ANIMATIONS & PARALLAX
   ========================================================================== */

/* Base Fade & Slide Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-up.active,
.fade-in-up.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Triggered Vertical Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Triggered Slide Left (from left towards right) */
.reveal-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-slide-left.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll Triggered Slide Right (from right towards left) */
.reveal-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-slide-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll Triggered Gentle Scale Reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale.is-revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays for Sequential Item Reveals */
.delay-1, .reveal-stagger-1 { transition-delay: 0.08s; }
.delay-2, .reveal-stagger-2 { transition-delay: 0.16s; }
.delay-3, .reveal-stagger-3 { transition-delay: 0.24s; }
.reveal-stagger-4 { transition-delay: 0.32s; }
.reveal-stagger-5 { transition-delay: 0.40s; }
.reveal-stagger-6 { transition-delay: 0.48s; }
.reveal-stagger-7 { transition-delay: 0.56s; }
.reveal-stagger-8 { transition-delay: 0.64s; }

/* Preserve Interactive Hover States for Revealed Cards */
.reveal-on-scroll.is-revealed.service-card:hover {
    transform: translateY(-8px);
}
.reveal-on-scroll.is-revealed.why-card:hover {
    transform: translateY(-6px);
}
.reveal-on-scroll.is-revealed.testimonial-card:hover {
    transform: translateY(-6px);
}
.reveal-on-scroll.is-revealed.trust-card:hover {
    transform: translateY(-4px);
}

/* Section Tag Animated Expanding Accent Lines */
.section-tag .tag-line {
    width: 20px;
    height: 1px;
    background-color: currentColor;
    display: inline-block;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-revealed .section-tag .tag-line,
.section-header.is-revealed .section-tag .tag-line {
    width: 36px;
}

/* Parallax Hardware Acceleration */
.hero-img {
    will-change: transform;
}

/* Reduced Motion Mode for Accessibility */
@media (max-width: 0px) {
    .reveal-on-scroll,
    .reveal-slide-left,
    .reveal-slide-right,
    .reveal-scale,
    .fade-in-up,
    .hero-img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1080px) */
@media (max-width: 1080px) {
    .brand-logo-img {
        height: 64px;
    }

    .navbar.scrolled .brand-logo-img {
        height: 52px;
    }

    .navbar {
        padding: 14px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.82rem;
        letter-spacing: 0.4px;
    }

    .btn-nav-cta {
        padding: 10px 20px;
        font-size: 0.84rem;
    }

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

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-card:nth-child(2) {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

/* Standard Tablets (max-width: 900px) */
@media (max-width: 900px) {
    .brand-logo-img {
        height: 60px;
    }

    .navbar.scrolled .brand-logo-img {
        height: 50px;
    }

    .nav-menu,
    .desktop-btn-text {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visuals {
        padding: 0;
        max-width: 580px;
        margin: 0 auto;
    }

    .about-img-wrapper.main-img {
        width: 100%;
        height: 380px;
    }

    .about-img-wrapper.secondary-img {
        display: none;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Mobile Phones (max-width: 640px) */
@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .brand-logo-img {
        height: 52px;
    }

    .navbar.scrolled .brand-logo-img {
        height: 44px;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .btn-nav-cta {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

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

    .trust-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
    }

    .trust-card:last-child {
        border-bottom: none;
    }

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

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

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .contact-form-panel {
        padding: 24px 18px;
    }

    .modal-specs-grid {
        grid-template-columns: 1fr;
    }

    .modal-inner-content {
        padding: 20px;
    }

    .standards-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .standards-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }

    .back-to-top {
        bottom: 80px;
        right: 24px;
    }
}

/* ==========================================================================
   NAVBAR — FADED GLASS (frosted glassmorphism)
   Overrides the earlier header/navbar rules. Floating capsule over content,
   constant height (no layout shift on scroll), readable over light & dark.
   ========================================================================== */
.header {
    padding: 12px clamp(10px, 2vw, 24px) 0;
    pointer-events: none;               /* only the capsule itself is interactive */
}

.header .navbar,
.header .mobile-drawer,
.header .drawer-backdrop.active {
    pointer-events: auto;
}

.navbar,
.navbar.scrolled {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(24, 24, 28, 0.62) 0%, rgba(10, 10, 12, 0.5) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease,
                -webkit-backdrop-filter 0.45s ease, backdrop-filter 0.45s ease;
    isolation: isolate;
}

/* Faded sheen along the top edge — the signature detail */
.navbar::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

/* Second background layer used to fade in extra opacity on scroll (cheap to animate) */
.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(8, 8, 10, 0.2);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.navbar.scrolled {
    border-color: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar.scrolled::after {
    opacity: 1;
}

.navbar.scrolled::before {
    opacity: 1;
}

/* No backdrop-filter support: keep it readable with a denser tint */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .navbar,
    .navbar.scrolled {
        background: rgba(10, 10, 12, 0.9);
    }
}

.navbar .nav-container {
    max-width: none;
    padding: 0 14px 0 16px;
    gap: 24px;
}

/* Logo: unchanged artwork, fixed size (no shrink → no layout shift) */
.navbar .brand-logo-img,
.navbar.scrolled .brand-logo-img {
    height: 56px;
}

/* Links */
.navbar .nav-menu {
    gap: 4px;
}

.navbar .nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    letter-spacing: 0.9px;
    transition: color 0.3s ease, background-color 0.3s ease, text-shadow 0.3s ease;
}

.navbar .nav-link::after {
    left: 50%;
    bottom: 4px;
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.07);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
    outline: none;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after,
.navbar .nav-link.active::after {
    width: 18px;
    transform: translateX(-50%) scaleX(1);
}

.navbar .nav-link.active {
    color: #ffffff;
}

/* CTA: refined frosted-white pill with a light sheen sweep on hover */
.navbar .btn-nav-cta {
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    color: #0a0a0a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .btn-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.navbar .btn-nav-cta:hover,
.navbar .btn-nav-cta:focus-visible {
    color: #0a0a0a;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(255, 255, 255, 0.1);
    outline: none;
}

.navbar .btn-nav-cta:hover::before {
    left: 120%;
}

.navbar .btn-nav-cta:active {
    transform: translateY(0);
}

/* Hamburger: glass button, bars morph into an X */
.navbar .mobile-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar .mobile-toggle:hover,
.navbar .mobile-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    outline: none;
}

.navbar .mobile-toggle .bar {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 1.75px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, width 0.3s ease;
}

.navbar .mobile-toggle .bar:nth-child(1) { transform: translateY(-6px); }
.navbar .mobile-toggle .bar:nth-child(2) { transform: translateY(0); width: 13px; }
.navbar .mobile-toggle .bar:nth-child(3) { transform: translateY(6px); }

.navbar .mobile-toggle:hover .bar:nth-child(2) { width: 18px; }

.navbar .mobile-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: rotate(45deg); }
.navbar .mobile-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: translateX(8px); }
.navbar .mobile-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: rotate(-45deg); }

/* Mobile drawer: matching frosted glass, slides with transform (GPU, no reflow) */
.mobile-drawer {
    top: 10px;
    right: 10px;
    bottom: 10px;
    height: auto;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(24, 24, 28, 0.78) 0%, rgba(10, 10, 12, 0.72) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    transform: translateX(calc(100% + 24px));
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
}

.mobile-drawer.active {
    right: 10px;
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.mobile-drawer-header,
.mobile-drawer-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.mobile-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.6rem;
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-close:hover,
.mobile-close:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    transform: rotate(90deg);
    outline: none;
}

.mobile-link {
    border-bottom-color: rgba(255, 255, 255, 0.07);
    opacity: 0;
    transform: translateX(16px);
    transition: color 0.25s ease, padding-left 0.25s ease, opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.active .mobile-link {
    opacity: 1;
    transform: none;
}

.mobile-drawer.active .mobile-nav-links li:nth-child(1) .mobile-link { transition-delay: 0.08s; }
.mobile-drawer.active .mobile-nav-links li:nth-child(2) .mobile-link { transition-delay: 0.12s; }
.mobile-drawer.active .mobile-nav-links li:nth-child(3) .mobile-link { transition-delay: 0.16s; }
.mobile-drawer.active .mobile-nav-links li:nth-child(4) .mobile-link { transition-delay: 0.2s; }
.mobile-drawer.active .mobile-nav-links li:nth-child(5) .mobile-link { transition-delay: 0.24s; }
.mobile-drawer.active .mobile-nav-links li:nth-child(6) .mobile-link { transition-delay: 0.28s; }

.mobile-link:hover {
    padding-left: 8px;
}

.drawer-backdrop {
    background-color: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

/* Responsive */
@media (max-width: 1080px) {
    .navbar .nav-link {
        padding: 8px 10px;
        font-size: 0.76rem;
        letter-spacing: 0.6px;
    }

    .navbar .btn-nav-cta {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .navbar .brand-logo-img,
    .navbar.scrolled .brand-logo-img {
        height: 52px;
    }
}

@media (max-width: 900px) {
    .navbar .nav-container {
        gap: 12px;
    }

    .navbar .nav-actions {
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 8px 8px 0;
    }

    .navbar,
    .navbar.scrolled {
        padding: 6px 0;
        border-radius: 16px;
    }

    .navbar .nav-container {
        padding: 0 8px 0 10px;
    }

    .navbar .brand-logo-img,
    .navbar.scrolled .brand-logo-img {
        height: 44px;
    }

    .navbar .btn-nav-cta {
        padding: 9px 14px;
        font-size: 0.74rem;
    }

    .navbar .mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .navbar .mobile-toggle .bar {
        left: 10px;
    }
}

@media (max-width: 360px) {
    .navbar .btn-nav-cta {
        padding: 8px 10px;
        font-size: 0.68rem;
        letter-spacing: 0;
    }
}

@media (max-width: 0px) {
    .navbar,
    .navbar *,
    .navbar *::before,
    .navbar *::after,
    .mobile-drawer,
    .mobile-link {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}

/* Navbar hide-on-scroll-down / show-on-scroll-up.
   Only the capsule moves (transform = GPU, no layout shift). The header itself is
   never transformed, so the fixed mobile drawer inside it stays in place. */
.header .navbar {
    transform: translate3d(0, 0, 0);
    transition-property: transform, background-color, border-color, box-shadow, -webkit-backdrop-filter, backdrop-filter;
    transition-duration: 0.5s, 0.45s, 0.45s, 0.45s, 0.45s, 0.45s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease, ease, ease, ease, ease;
    will-change: transform;
}

.header.nav-hidden .navbar {
    transform: translate3d(0, calc(-100% - 20px), 0);
    transition-duration: 0.4s, 0.45s, 0.45s, 0.45s, 0.45s, 0.45s;
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1), ease, ease, ease, ease, ease;
    box-shadow: none;
}

@media (max-width: 0px) {
    /* No sliding: hide/show is an instant swap */
    .header .navbar,
    .header.nav-hidden .navbar {
        transition: none !important;
    }
}

/* Navbar logo: transparent white mark on a frosted-glass chip that matches the
   bar, CTA and menu button. Soft light halo highlights it without heavy glow. */
.navbar .brand-logo {
    position: relative;
    padding: 6px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

/* faint sheen across the chip on hover, same language as the CTA */
.navbar .brand-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.navbar .brand-logo-img,
.navbar.scrolled .brand-logo-img {
    height: 44px;
    width: auto;
    max-width: none;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.28)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
    transition: filter 0.35s ease;
}

.navbar .brand-logo:hover,
.navbar .brand-logo:focus-visible {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 16px rgba(0, 0, 0, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
    outline: none;
}

.navbar .brand-logo:hover::after {
    left: 130%;
}

.navbar .brand-logo:hover .brand-logo-img {
    transform: none;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.45)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

@media (max-width: 1080px) {
    .navbar .brand-logo-img,
    .navbar.scrolled .brand-logo-img {
        height: 40px;
    }
}

@media (max-width: 640px) {
    .navbar .brand-logo {
        padding: 5px 9px;
        border-radius: 12px;
    }

    .navbar .brand-logo-img,
    .navbar.scrolled .brand-logo-img {
        height: 34px;
    }
}

/* ==========================================================================
   HERO — title only (no panel), with a staged "construct" reveal:
   1) each word rises out of a mask, tilting upright like a beam being set
   2) the second line gets a slow light sweep across the letters
   3) a fine underline draws beneath "Creating Your Future."
   ========================================================================== */
.hero-intro-overlay .hero-content.hero-content--title-only {
    max-width: 920px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.hero-intro-overlay .hero-title.hero-title-anim {
    font-size: clamp(2.3rem, 6.2vw, 5.4rem);
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0;
    color: #ffffff;
    /* soft, local shadow for legibility on bright frames (not a vignette) */
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ht-line {
    display: block;
    position: relative;
    width: fit-content;
    perspective: 700px;
}

.ht-line + .ht-line {
    margin-top: 0.08em;
}

.ht-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0.06em 0.02em 0.12em;
    margin: -0.06em -0.02em -0.12em;
}

.ht-inner {
    display: inline-block;
    transform-origin: 0% 100%;
    animation: htRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.25s + var(--i) * 0.11s);
    will-change: transform, opacity;
}

@keyframes htRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 105%, 0) rotateX(-70deg) rotate(4deg);
        filter: blur(6px);
    }
    55% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

/* Accent line: light sweep travelling across the letters */
.ht-line--accent .ht-inner {
    color: transparent;
    background-image: linear-gradient(100deg,
        #f1f2f4 0%, #f1f2f4 40%, #ffffff 48%, #fff7e0 50%, #ffffff 52%, #f1f2f4 60%, #f1f2f4 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.5));
    animation: htRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both,
               htSweep 2.4s ease-in-out 1.6s 1 both,
               htSweep 2.4s ease-in-out 9s infinite;
    animation-delay: calc(0.25s + var(--i) * 0.11s), 1.6s, 9s;
}

@keyframes htSweep {
    0% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

/* Fine underline that draws once the words have landed */
.ht-underline {
    position: absolute;
    left: 0;
    bottom: -0.12em;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15));
    transform: scaleX(0);
    transform-origin: left;
    animation: htLine 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1.25s forwards;
}

@keyframes htLine {
    to { transform: scaleX(1); }
}

/* Old panel styles that no longer apply */
.hero-content--title-only .hero-title-highlight {
    border: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .hero-intro-overlay .hero-title.hero-title-anim {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.12;
    }

    .hero-intro-overlay .hero-content.hero-content--title-only {
        max-width: none;
        padding: 0;
    }
}

@media (max-height: 480px) {
    .hero-intro-overlay .hero-title.hero-title-anim {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
    }
}

@media (max-width: 0px) {
    .ht-inner,
    .ht-line--accent .ht-inner,
    .ht-underline {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .ht-line--accent .ht-inner {
        color: #e7e5e4;
        background: none;
    }
}

/* Hero box restored (compact glass panel) with the animated title inside it.
   The title uses the box's compact size; badge, text and buttons fade in after it. */
.hero-intro-overlay .hero-content--animated .hero-title.hero-title-anim {
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 14px;
    text-shadow: none;
}

.hero-content--animated .ht-line--accent .ht-inner {
    filter: none;
}

.hero-content--animated .ht-underline {
    height: 1.5px;
    bottom: -0.1em;
}

.hero-content--animated .hero-subtitle.fade-in-up {
    transition-delay: 1.25s;
}

.hero-content--animated .hero-cta-group.fade-in-up {
    transition-delay: 1.45s;
}

@media (max-width: 768px) {
    .hero-intro-overlay .hero-content--animated .hero-title.hero-title-anim {
        font-size: 1.45rem;
    }
}

@media (max-height: 480px) {
    .hero-intro-overlay .hero-content--animated .hero-title.hero-title-anim {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   OPENING INTRO — logo rises like a building, light sweeps it, curtain lifts
   ========================================================================== */
.site-intro {
    display: none;
}

html.intro-active {
    overflow: hidden;            /* no scrolling while the intro plays */
}

html.intro-active .site-intro {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;         /* same black as the logo artwork */
    clip-path: inset(0 0 0 0);
    cursor: pointer;
}

.site-intro__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s ease;
}

.site-intro__logo-wrap {
    position: relative;
    width: clamp(120px, 22vw, 190px);
    aspect-ratio: 251 / 240;
}

.site-intro__logo {
    width: 100%;
    height: 100%;
    display: block;
    clip-path: inset(100% 0 0 0);
    transform: translateY(18px);
    filter: blur(4px);
    animation: introRise 1.15s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}

@keyframes introRise {
    0%   { clip-path: inset(100% 0 0 0); transform: translateY(18px); filter: blur(4px); }
    70%  { filter: blur(0); }
    100% { clip-path: inset(0 0 0 0); transform: translateY(0); filter: blur(0); }
}

/* Light sweep, masked to the exact logo shape */
.site-intro__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0) 62%, transparent 70%);
    background-size: 250% 100%;
    background-position: 120% 0;
    -webkit-mask: url('logo-nav.png') center / contain no-repeat;
    mask: url('logo-nav.png') center / contain no-repeat;
    mix-blend-mode: overlay;
    opacity: 0;
    animation: introShine 1s ease-in-out 1.25s forwards;
    pointer-events: none;
}

@keyframes introShine {
    0%   { opacity: 1; background-position: 120% 0; }
    100% { opacity: 1; background-position: -30% 0; }
}

.site-intro__line {
    display: block;
    width: clamp(120px, 22vw, 190px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: scaleX(0);
    animation: introLine 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}

@keyframes introLine {
    to { transform: scaleX(1); }
}

.site-intro__tag {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.9em;
    margin-right: -0.9em;        /* keep it optically centred with wide tracking */
    opacity: 0;
    animation: introTag 1s cubic-bezier(0.22, 1, 0.36, 1) 1.35s forwards;
}

@keyframes introTag {
    from { opacity: 0; letter-spacing: 0.9em; margin-right: -0.9em; }
    to   { opacity: 1; letter-spacing: 0.42em; margin-right: -0.42em; }
}

/* Exit: a simple, smooth fade into the website */
html.intro-active .site-intro {
    transition: opacity 0.9s ease;
}

html.intro-active .site-intro.is-leaving {
    opacity: 0;
    pointer-events: none;
}

.site-intro.is-leaving .site-intro__inner {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Hold the hero's own entrance until the intro has gone */
html.intro-active .hero-intro-overlay .fade-in-up,
html.intro-active .hero-intro-overlay .fade-in-up.active,
html.intro-active .hero-intro-overlay .fade-in-up.is-revealed {
    opacity: 0;
    transform: translateY(28px);
}

html.intro-active .ht-inner,
html.intro-active .ht-underline {
    animation-play-state: paused;
}

@media (max-width: 0px) {
    .site-intro {
        display: none !important;
    }
}

/* ==========================================================================
   HERO v2 — open editorial layout (no box)
   Left: eyebrow, animated title, lead, actions · Right: "What we build" glass list
   Anchored to the bottom of the hero so the construction frames stay in view.
   ========================================================================== */
.hero-intro-overlay:has(.hero-v2) {
    justify-content: flex-end;
}

.hero-container.hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    padding-top: 0;
    padding-bottom: 88px;
}

.hero-v2__main {
    max-width: 760px;
}

.hero-v2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.hero-v2__eyebrow-line {
    width: 40px;
    height: 1.5px;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-v2 .hero-title.hero-title-anim {
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    margin: 0 0 20px;
}

.hero-v2__lead {
    max-width: 520px;
    margin: 0 0 28px;
    font-size: 1.06rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hv2-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease,
                border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.hv2-btn:active {
    transform: translateY(0) scale(0.98);
}

.hv2-btn--primary {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hv2-btn--primary i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hv2-btn--primary:hover,
.hv2-btn--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(255, 255, 255, 0.16);
    color: #0a0a0a;
    outline: none;
}

.hv2-btn--primary:hover i {
    transform: translateX(4px);
}

.hv2-btn--ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(12, 12, 14, 0.32);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hv2-btn--ghost:hover,
.hv2-btn--ghost:focus-visible {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
    outline: none;
}

.hv2-btn--wa {
    color: #ffffff;
    background: var(--whatsapp);
    padding: 0 20px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.hv2-btn--wa i {
    font-size: 1.15rem;
}

.hv2-btn--wa:hover,
.hv2-btn--wa:focus-visible {
    color: #ffffff;
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    outline: none;
}

/* Right: "What we build" glass list */
.hero-v2__panel {
    min-width: 250px;
    padding: 18px 20px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(24, 24, 28, 0.6) 0%, rgba(10, 10, 12, 0.48) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-v2__panel-title {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hero-v2__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-v2__list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-v2__list li:first-child {
    border-top: 0;
}

.hero-v2__list li:hover {
    transform: translateX(4px);
}

.hv2-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.hv2-name {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
}

/* Scroll cue centred at the bottom for this layout */
.hero-intro-overlay:has(.hero-v2) .hero-scroll-cue {
    left: 50%;
    right: auto;
    bottom: 22px;
    transform: translateX(-50%);
}

/* Staggered entrance (after the title words land) */
.hero-v2 .hero-v2__eyebrow.fade-in-up { transition-delay: 0.15s; }
.hero-v2 .hero-v2__lead.fade-in-up { transition-delay: 1.2s; }
.hero-v2 .hero-v2__actions.fade-in-up { transition-delay: 1.4s; }
.hero-v2 .hero-v2__panel.fade-in-up { transition-delay: 1.6s; }

/* Tablet */
@media (max-width: 1080px) {
    .hero-container.hero-v2 {
        gap: 32px;
    }

    .hero-v2__panel {
        min-width: 220px;
    }
}

@media (max-width: 900px) {
    .hero-container.hero-v2 {
        grid-template-columns: 1fr;
        padding-bottom: 80px;
    }

    .hero-v2__panel {
        display: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hero-container.hero-v2 {
        padding-bottom: 72px;
    }

    .hero-v2__eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.2em;
        gap: 10px;
        margin-bottom: 14px;
    }

    .hero-v2__eyebrow-line {
        width: 26px;
    }

    .hero-v2 .hero-title.hero-title-anim {
        font-size: clamp(2rem, 9.4vw, 2.6rem);
        margin-bottom: 14px;
    }

    .hero-v2__lead {
        font-size: 0.92rem;
        margin-bottom: 20px;
    }

    .hero-v2__actions {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .hv2-btn {
        height: 46px;
        font-size: 0.84rem;
        padding: 0 18px;
    }

    .hv2-btn--primary {
        grid-column: 1 / -1;
    }

    .hv2-btn--wa {
        padding: 0 16px;
    }
}

/* Short screens (landscape phones, small laptops) */
@media (max-height: 640px) {
    .hero-v2__lead {
        display: none;
    }

    .hero-intro-overlay:has(.hero-v2) .hero-scroll-cue {
        display: none;
    }

    .hero-container.hero-v2 {
        padding-bottom: 64px;
    }
}

@media (max-height: 480px) {
    .hero-v2 .hero-title.hero-title-anim {
        font-size: clamp(1.6rem, 4.6vw, 2.2rem);
        margin-bottom: 12px;
    }

    .hero-v2__eyebrow {
        margin-bottom: 8px;
    }

    .hero-v2__actions {
        display: flex;
    }

    .hv2-btn {
        height: 40px;
    }

    .hv2-btn--primary {
        grid-column: auto;
    }

    .hero-intro-overlay:has(.hero-v2) .hero-scroll-cue {
        display: none;
    }

    .hero-container.hero-v2 {
        padding-bottom: 20px;
    }
}

/* Hero v2 legibility over busy frames: tight + soft shadows on the text only */
.hero-v2 .hero-title.hero-title-anim {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.45), 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero-v2 .ht-line--accent .ht-inner {
    filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.7)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 22px rgba(0, 0, 0, 0.5));
}

.hero-v2__lead {
    font-weight: 500;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.65), 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-v2__eyebrow {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.75), 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hv2-btn--ghost {
    background: rgba(10, 10, 12, 0.5);
    border-color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   TYPOGRAPHY — Wix Madefor (Display for headings, Text for body)
   Tight, confident grotesk headings like the Wix Studio reference.
   ========================================================================== */
h1, h2, h3, h4,
.section-heading,
.hero-title,
.milestone-name,
.ceo-sign-name,
.ceo-badge-name,
.hv2-name {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

.section-heading {
    font-weight: 700;
    line-height: 1.08;
}

.hero-intro-overlay .hero-title.hero-title-anim,
.hero-v2 .hero-title.hero-title-anim {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-transform: none;
}

.hv2-name {
    font-weight: 600;
    letter-spacing: -0.01em;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-sans);
}

/* ==========================================================================
   NAVBAR v3 — transparent over the hero, floating glass bar once scrolled.
   Links sit in their own glass track with a sliding highlight pill.
   (Overrides the earlier navbar rules; hide-on-scroll and drawer unchanged.)
   ========================================================================== */
.header {
    padding: 0;
}

.navbar,
.navbar.scrolled {
    max-width: 100%;
    margin: 0 auto;
    padding: 14px 0;
    border-radius: 0;
    border: 1px solid transparent;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar::before,
.navbar::after {
    display: none;
}

/* Scrolled: shrinks into a floating frosted capsule */
.navbar.scrolled {
    max-width: 1240px;
    margin-top: 10px;
    padding: 8px 0;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(22, 22, 26, 0.72) 0%, rgba(10, 10, 12, 0.62) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header .navbar {
    transition-property: transform, max-width, margin, padding, border-radius, border-color, background-color, box-shadow, -webkit-backdrop-filter, backdrop-filter;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.header.nav-hidden .navbar {
    transform: translate3d(0, calc(-100% - 24px), 0);
}

.navbar .nav-container {
    max-width: 1240px;
    padding: 0 24px;
    gap: 20px;
}

.navbar.scrolled .nav-container {
    padding: 0 10px 0 12px;
}

/* Logo chip: lighter at the top, same glass family */
.navbar .brand-logo {
    background: rgba(10, 10, 12, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .brand-logo {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
}

/* Link track */
.navbar .nav-menu {
    position: relative;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 12, 0.42);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* Sliding highlight */
.nav-indicator {
    position: absolute;
    top: 5px;
    left: 0;
    bottom: 5px;
    width: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    list-style: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    z-index: 0;
}

.nav-indicator.no-anim {
    transition: none;
}

.navbar .nav-item {
    position: relative;
    z-index: 1;
}

.navbar .nav-link {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.78);
    background: transparent !important;
    text-shadow: none !important;
}

.navbar .nav-link::after {
    display: none;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible,
.navbar .nav-link.active {
    color: #ffffff;
}

/* Phone link */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 4px 4px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.3s ease;
}

.nav-phone:hover,
.nav-phone:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.nav-phone-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(10, 10, 12, 0.35);
    font-size: 0.82rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.nav-phone:hover .nav-phone-icon {
    transform: rotate(-12deg) scale(1.06);
    background: rgba(255, 255, 255, 0.16);
}

.nav-phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.nav-phone-text small {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.nav-phone-text span {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.navbar.scrolled .nav-phone-text {
    text-shadow: none;
}

/* CTA */
.navbar .btn-nav-cta {
    height: 44px;
    padding: 0 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* Responsive */
@media (max-width: 1280px) {
    .nav-phone-text {
        display: none;
    }

    .nav-phone {
        padding: 0;
    }
}

@media (max-width: 1080px) {
    .navbar .nav-link {
        padding: 8px 11px;
        font-size: 0.78rem;
    }

    .navbar .btn-nav-cta {
        height: 40px;
        padding: 0 16px;
    }
}

@media (max-width: 900px) {
    .navbar .nav-menu {
        display: none;
    }

    .navbar.scrolled {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 640px) {
    .navbar,
    .navbar.scrolled {
        padding: 8px 0;
    }

    .navbar.scrolled {
        margin: 8px 8px 0;
        border-radius: 16px;
    }

    .navbar .nav-container {
        padding: 0 12px;
    }

    .navbar.scrolled .nav-container {
        padding: 0 8px 0 10px;
    }

    .nav-phone {
        display: none;
    }

    .navbar .btn-nav-cta {
        height: 38px;
        padding: 0 14px;
        font-size: 0.74rem;
    }
}

@media (max-width: 360px) {
    .navbar .btn-nav-cta {
        padding: 0 10px;
        font-size: 0.68rem;
    }
}

@media (max-width: 0px) {
    .nav-indicator,
    .header .navbar {
        transition: none !important;
    }
}

/* ==========================================================================
   NAVBAR v4 — SPLIT ARCHITECTURAL
   Info strip on top · links left | centred logo | links + CTA right.
   Full-width dark glass bar; strip folds away when scrolled.
   ========================================================================== */
.navbar.navbar--split,
.navbar.navbar--split.scrolled {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.62) 0%, rgba(8, 8, 10, 0.48) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: none;
}

.navbar.navbar--split.scrolled {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.8) 0%, rgba(8, 8, 10, 0.7) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Info strip */
.navbar--split .nav-strip {
    max-height: 40px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, border-color 0.35s ease;
}

.navbar--split.scrolled .nav-strip {
    max-height: 0;
    opacity: 0;
    border-color: transparent;
}

.nav-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 38px;
}

.nav-strip-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.nav-strip-item i {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.9);
}

.nav-strip-link {
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-strip-link:hover,
.nav-strip-link:focus-visible {
    color: #ffffff;
    outline: none;
}

/* Main row: three columns, logo dead-centre */
.navbar--split .nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    max-width: 1240px;
    padding: 10px 24px;
    transition: padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar--split.scrolled .nav-container {
    padding: 6px 24px;
}

.navbar--split .nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar--split .nav-menu--left {
    justify-self: start;
}

.navbar--split .nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
}

.navbar--split .nav-link {
    position: relative;
    padding: 10px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    background: none !important;
    text-shadow: none !important;
    transition: color 0.3s ease;
}

/* Hover: hairline grows from the centre; active: small dot */
.navbar--split .nav-link::after {
    display: block;
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    width: auto;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar--split .nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar--split .nav-link:hover,
.navbar--split .nav-link:focus-visible,
.navbar--split .nav-link.active {
    color: #ffffff;
    outline: none;
}

.navbar--split .nav-link:hover::after,
.navbar--split .nav-link:focus-visible::after {
    transform: scaleX(1);
}

.navbar--split .nav-link.active::before {
    opacity: 1;
    transform: none;
}

/* Centred logo: plain mark, no tile */
.navbar--split .brand-logo,
.navbar--split.scrolled .brand-logo {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar--split .brand-logo::after {
    display: none;
}

.navbar--split .brand-logo-img,
.navbar--split.scrolled .brand-logo-img {
    height: 54px;
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.navbar--split.scrolled .brand-logo-img {
    height: 44px;
}

.navbar--split .brand-logo:hover {
    transform: translateY(-1px);
}

/* CTA: outlined, fills on hover */
.navbar--split .btn-nav-cta {
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

.navbar--split .btn-nav-cta::before {
    display: none;
}

.navbar--split .btn-nav-cta:hover,
.navbar--split .btn-nav-cta:focus-visible {
    color: #0a0a0a;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1240px) {
    .navbar--split .nav-link {
        padding: 10px 9px;
        letter-spacing: 0.1em;
    }

    .navbar--split .nav-link::after {
        left: 9px;
        right: 9px;
    }

    .navbar--split .nav-right {
        gap: 12px;
    }
}

@media (max-width: 1120px) {
    .navbar--split .btn-nav-cta {
        display: none;      /* keep the bar balanced; CTA stays in hero & menu */
    }
}

@media (max-width: 1024px) {
    .navbar--split .nav-strip,
    .navbar--split .nav-menu {
        display: none;
    }

    .navbar--split .nav-container,
    .navbar--split.scrolled .nav-container {
        grid-template-columns: auto 1fr;
        padding: 8px 16px;
    }

    .navbar--split .brand-logo {
        grid-column: 1;
        grid-row: 1;
    }

    .navbar--split .nav-right {
        grid-column: 2;
    }

    .navbar--split .btn-nav-cta {
        display: inline-flex;
    }

    .navbar--split .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .navbar--split .nav-container,
    .navbar--split.scrolled .nav-container {
        padding: 6px 12px;
    }

    .navbar--split .brand-logo-img,
    .navbar--split.scrolled .brand-logo-img {
        height: 40px;
    }

    .navbar--split .btn-nav-cta {
        height: 38px;
        padding: 0 12px;
        font-size: 0.66rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 360px) {
    .navbar--split .btn-nav-cta {
        display: none;
    }
}

@media (max-width: 0px) {
    .navbar--split .nav-strip,
    .navbar--split .nav-container,
    .navbar--split .brand-logo-img {
        transition: none !important;
    }
}

/* v4 fixes: no wrapping, no leftover track background, logo truly centred */
.navbar--split .nav-link {
    white-space: nowrap;
}

.navbar--split .nav-menu,
.navbar--split.scrolled .nav-menu {
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

@media (min-width: 1025px) {
    .navbar--split .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
    }

    .navbar--split .brand-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .navbar--split .brand-logo:hover {
        transform: translate(-50%, calc(-50% - 1px));
    }
}

/* Room for the CTA only on wide screens (it stays in the hero & mobile bar) */
@media (min-width: 1025px) {
    .navbar--split .btn-nav-cta {
        display: none;
    }
}

/* v4: neutralise underline rules inherited from the earlier navbar */
.navbar--split .nav-link::after,
.navbar--split .nav-link.active::after {
    left: 12px;
    right: 12px;
    width: auto;
    transform: scaleX(0);
}

.navbar--split .nav-link:hover::after,
.navbar--split .nav-link:focus-visible::after,
.navbar--split .nav-link.active:hover::after {
    width: auto;
    transform: scaleX(1);
}

@media (max-width: 1240px) {
    .navbar--split .nav-link::after,
    .navbar--split .nav-link.active::after {
        left: 9px;
        right: 9px;
    }
}

/* ==========================================================================
   HERO v2 — CLEAR TEXT (no box) + soft glow pulse
   Dark halo hugging each letter keeps text readable over bright frames;
   a light outer glow pulses gently on the headline.
   ========================================================================== */
.hero-v2 .hero-title.hero-title-anim {
    color: #ffffff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.9),
        0 0 3px rgba(0, 0, 0, 0.75),
        0 1px 6px rgba(0, 0, 0, 0.65),
        0 4px 18px rgba(0, 0, 0, 0.55),
        0 8px 40px rgba(0, 0, 0, 0.45);
}

/* Second line: solid white (the gradient sweep made letters look faded) */
.hero-v2 .ht-line--accent .ht-inner {
    color: #ffffff;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    filter: none;
    text-shadow: inherit;
    animation: htRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.25s + var(--i) * 0.11s);
}

/* Glow pulse: an extra soft white halo fades in and out after the reveal */
.hero-v2 .ht-line .ht-inner {
    animation-name: htRise, htGlow;
    animation-duration: 1.1s, 3.6s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-delay: calc(0.25s + var(--i) * 0.11s), calc(2s + var(--i) * 0.12s);
    animation-iteration-count: 1, infinite;
    animation-fill-mode: both, none;
}

@keyframes htGlow {
    0%, 100% {
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 3px rgba(0, 0, 0, 0.75),
            0 1px 6px rgba(0, 0, 0, 0.65),
            0 4px 18px rgba(0, 0, 0, 0.55),
            0 8px 40px rgba(0, 0, 0, 0.45);
    }
    50% {
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 3px rgba(0, 0, 0, 0.75),
            0 1px 6px rgba(0, 0, 0, 0.65),
            0 4px 18px rgba(0, 0, 0, 0.55),
            0 0 26px rgba(255, 255, 255, 0.55),
            0 0 52px rgba(255, 255, 255, 0.28);
    }
}

.hero-v2 .ht-underline {
    height: 3px;
    background: #ffffff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 255, 255, 0.35);
}

/* Eyebrow & description: brighter, heavier, same tight halo */
.hero-v2__eyebrow {
    color: #ffffff;
    font-weight: 800;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 0 3px rgba(0, 0, 0, 0.85),
        0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero-v2__eyebrow-line {
    height: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-v2__lead {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 600;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 0 3px rgba(0, 0, 0, 0.85),
        0 1px 6px rgba(0, 0, 0, 0.75),
        0 2px 18px rgba(0, 0, 0, 0.6);
}

/* Outline button: denser fill so its label stays readable on light ground */
.hv2-btn--ghost {
    background: rgba(10, 10, 12, 0.62);
    border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
    .hero-v2__lead {
        font-size: 0.96rem;
    }
}

@media (max-width: 0px) {
    .hero-v2 .ht-line .ht-inner {
        animation: none !important;
    }
}

/* Word mask without leftover rectangles: clip only while rising, then release
   so the letter halos are never cut into box shapes. */
.hero-v2 .ht-word {
    overflow: visible;
    clip-path: inset(-0.1em -0.3em -0.06em -0.3em);
    animation: htMaskRelease 0.01s linear forwards;
    animation-delay: calc(1.4s + var(--i) * 0.11s);
}

@keyframes htMaskRelease {
    to { clip-path: inset(-3em -3em -3em -3em); }
}

html.intro-active .hero-v2 .ht-word {
    animation-play-state: paused;
}

@media (max-width: 0px) {
    .hero-v2 .ht-word {
        clip-path: none;
        animation: none;
    }
}

/* ==========================================================================
   HERO v2 — WORD FLASH
   Words light up one after another: a bright glow burst plus a light streak
   sweeping across the letters. Base text stays solid white and readable.
   ========================================================================== */
.hero-v2 .ht-inner {
    position: relative;
}

/* Streak layer: duplicate of the word, clipped to the letters */
.hero-v2 .ht-inner::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: transparent;
    text-shadow: none;
    background-image: linear-gradient(105deg,
        transparent 0%, transparent 38%,
        rgba(255, 236, 179, 0.0) 42%,
        rgba(255, 240, 200, 0.95) 50%,
        rgba(255, 236, 179, 0.0) 58%,
        transparent 62%, transparent 100%);
    background-size: 260% 100%;
    background-position: 130% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    animation: htStreak 6.6s ease-in-out infinite;
    animation-delay: calc(2.2s + var(--i) * 0.42s);
}

@keyframes htStreak {
    0%   { background-position: 130% 0; }
    12%  { background-position: -30% 0; }
    100% { background-position: -30% 0; }
}

/* Glow burst in step with the streak (replaces the slow pulse) */
.hero-v2 .ht-line .ht-inner {
    animation-name: htRise, htFlash;
    animation-duration: 1.1s, 6.6s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-delay: calc(0.25s + var(--i) * 0.11s), calc(2.2s + var(--i) * 0.42s);
    animation-iteration-count: 1, infinite;
    animation-fill-mode: both, none;
}

@keyframes htFlash {
    0%, 14%, 100% {
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 3px rgba(0, 0, 0, 0.75),
            0 1px 6px rgba(0, 0, 0, 0.65),
            0 4px 18px rgba(0, 0, 0, 0.55),
            0 8px 40px rgba(0, 0, 0, 0.45);
    }
    6% {
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 3px rgba(0, 0, 0, 0.75),
            0 1px 6px rgba(0, 0, 0, 0.65),
            0 0 18px rgba(255, 244, 214, 0.85),
            0 0 40px rgba(255, 236, 179, 0.55),
            0 0 72px rgba(255, 255, 255, 0.3);
    }
}

html.intro-active .hero-v2 .ht-inner::after {
    animation-play-state: paused;
}

@media (max-width: 0px) {
    .hero-v2 .ht-inner::after {
        display: none;
    }
}

/* Hero v2: single column now that the side panel is gone */
.hero-container.hero-v2 {
    grid-template-columns: minmax(0, 1fr);
}

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

/* Hero background quality: crisp scaling + a light, natural clarity boost
   (no vignette, no dark overlay) */
.hero-sequence-canvas {
    filter: saturate(1.08) contrast(1.05) brightness(1.02);
    image-rendering: auto;
    will-change: contents;
    transform: translateZ(0);
}

/* ==========================================================================
   HERO FINAL FRAME — SEO content over the finished villa (no box)
   Replaces the "Construction complete" pill. Shown at the end of the timeline.
   ========================================================================== */
.timeline-hud-overlay .hud-completion-cue.hud-final {
    top: auto;
    bottom: 56px;
    left: 50%;
    width: min(820px, calc(100% - 32px));
    max-width: none;
    white-space: normal;
    text-align: center;
    pointer-events: none;
    transform: translateX(-50%) translateY(18px);
}

.timeline-hud-overlay .hud-completion-cue.hud-final.visible {
    transform: translateX(-50%) translateY(0);
}

.hud-final > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hud-final.visible > * {
    opacity: 1;
    transform: none;
}

.hud-final.visible > :nth-child(1) { transition-delay: 0.05s; }
.hud-final.visible > :nth-child(2) { transition-delay: 0.15s; }
.hud-final.visible > :nth-child(3) { transition-delay: 0.28s; }
.hud-final.visible > :nth-child(4) { transition-delay: 0.42s; }

.hud-final__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.85), 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hud-final__line {
    width: 32px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hud-final__title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.9),
        0 0 3px rgba(0, 0, 0, 0.75),
        0 1px 6px rgba(0, 0, 0, 0.65),
        0 4px 18px rgba(0, 0, 0, 0.55),
        0 8px 40px rgba(0, 0, 0, 0.45);
}

.hud-final__text {
    max-width: 640px;
    margin: 0 auto 18px;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 0 3px rgba(0, 0, 0, 0.85),
        0 1px 6px rgba(0, 0, 0, 0.75),
        0 2px 18px rgba(0, 0, 0, 0.6);
}

.hud-final__scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.9), 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hud-final__scroll i {
    animation: completionArrowBounce 1.5s infinite ease-in-out;
}

@media (max-width: 768px) {
    .timeline-hud-overlay .hud-completion-cue.hud-final {
        top: auto;
        bottom: 32px;
    }

    .hud-final__eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.2em;
    }

    .hud-final__text {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

@media (max-height: 560px) {
    .hud-final__text {
        display: none;
    }

    .timeline-hud-overlay .hud-completion-cue.hud-final {
        bottom: 20px;
    }
}

@media (max-width: 0px) {
    .hud-final > * {
        transition: none;
    }
}

/* ---- Final-frame SEO section: designed layout (overrides the simple version) ---- */
.timeline-hud-overlay .hud-completion-cue.hud-final {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    padding: 0 48px 30px;
    text-align: left;
    transform: translateY(20px);
    pointer-events: none;
}

.timeline-hud-overlay .hud-completion-cue.hud-final.visible {
    transform: none;
    pointer-events: auto;
}

.hud-final__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.hud-final__inner > * {
    max-width: 760px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hud-final.visible .hud-final__inner > * {
    opacity: 1;
    transform: none;
}

.hud-final.visible .hud-final__inner > :nth-child(1) { transition-delay: 0.05s; }
.hud-final.visible .hud-final__inner > :nth-child(2) { transition-delay: 0.14s; }
.hud-final.visible .hud-final__inner > :nth-child(3) { transition-delay: 0.26s; }
.hud-final.visible .hud-final__inner > :nth-child(4) { transition-delay: 0.38s; }
.hud-final.visible .hud-final__inner > :nth-child(5) { transition-delay: 0.5s; }

/* reset the simple version's direct-child animation */
.hud-final > .hud-final__inner {
    opacity: 1;
    transform: none;
}

.hud-final__title {
    font-size: clamp(1.8rem, 3.8vw, 3.3rem);
    line-height: 1.04;
    margin-bottom: 14px;
}

.hud-final__title span {
    color: #ffffff;
    opacity: 0.92;
}

.hud-final__text {
    max-width: 600px;
    margin: 0 0 22px;
    text-align: left;
}

/* Service highlights: icon + label, thin dividers, no box */
.hud-final__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    max-width: none !important;
}

.hud-final__features li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 2px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.85), 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hud-final__features li:first-child {
    padding-left: 0;
    border-left: 0;
}

.hud-final__features i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(10, 10, 12, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
    text-shadow: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.hud-final__features li:hover i {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

.hud-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hud-final__scroll {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.6s ease 0.7s;
}

.hud-final.visible .hud-final__scroll {
    opacity: 1;
}

/* Wide screens: scroll cue sits bottom-right instead of centre */
@media (min-width: 1100px) {
    .hud-final__scroll {
        left: auto;
        right: 48px;
        bottom: 34px;
        transform: none;
    }
}

@media (max-width: 992px) {
    .timeline-hud-overlay .hud-completion-cue.hud-final {
        padding: 0 28px 34px;
    }

    .hud-final__features li {
        padding: 2px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .timeline-hud-overlay .hud-completion-cue.hud-final {
        padding: 0 16px 40px;
    }

    .hud-final__title br {
        display: none;
    }

    .hud-final__title {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
    }

    .hud-final__features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 12px;
        margin-bottom: 18px;
    }

    .hud-final__features li {
        padding: 0;
        border-left: 0;
        font-size: 0.74rem;
        white-space: normal;
    }

    .hud-final__features i {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .hud-final__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hud-final__actions .hv2-btn {
        height: 44px;
    }
}

@media (max-height: 700px) {
    .hud-final__text {
        display: none;
    }
}

@media (max-height: 560px) {
    .hud-final__features {
        display: none;
    }

    .timeline-hud-overlay .hud-completion-cue.hud-final {
        padding-bottom: 16px;
    }

    .hud-final__scroll {
        display: none;
    }
}

.hud-final__inner > .hud-final__title {
    max-width: 900px;
}

.hud-final.visible .hud-final__scroll {
    transform: translateX(-50%);
}

@media (min-width: 1100px) {
    .hud-final.visible .hud-final__scroll {
        transform: none;
    }
}

/* ==========================================================================
   TRUST BAR — animated
   Entrance: light sweep across the bar, dividers draw down, cards rise in
   sequence, icons pop into glass rings. Hover: lift, ring fills white,
   title underline draws. Ambient: slow shimmer on the top edge.
   ========================================================================== */
.trust-bar {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Ambient shimmer travelling along the top hairline */
.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    animation: tbEdge 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes tbEdge {
    0% { left: -30%; }
    60%, 100% { left: 110%; }
}

/* One-time light sweep on entrance */
.trust-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 35%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.trust-bar.tb-in::after {
    animation: tbSweep 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s 1 forwards;
}

@keyframes tbSweep {
    0% { left: -40%; opacity: 1; }
    100% { left: 120%; opacity: 1; }
}

.trust-bar .container {
    position: relative;
    z-index: 1;
}

.trust-card {
    position: relative;
    border-right: 0;
    padding: 6px 14px 6px 0;
    border-radius: 12px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Divider that draws downward */
.trust-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22) 20%, rgba(255, 255, 255, 0.22) 80%, rgba(255, 255, 255, 0));
    transform-origin: top;
}

.trust-card:last-child::after {
    display: none;
}

/* Icon in a glass ring */
.trust-card .trust-icon {
    width: 52px;
    height: 52px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.3rem;
    color: #ffffff;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* Soft pulse ring around each icon */
.trust-card .trust-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
}

.trust-bar.tb-in .trust-icon::after {
    animation: tbPulse 3.2s ease-out infinite;
    animation-delay: calc(1.4s + var(--d) * 0.4s);
}

@keyframes tbPulse {
    0% { transform: scale(1); opacity: 0.7; }
    70%, 100% { transform: scale(1.55); opacity: 0; }
}

.trust-text h4 {
    position: relative;
    display: inline-block;
}

.trust-text h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1.5px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover */
.trust-card:hover {
    transform: translateY(-4px);
}

.trust-card:hover .trust-icon {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: rotate(-8deg) scale(1.06);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 8px 22px rgba(255, 255, 255, 0.12);
}

.trust-card:hover .trust-text h4::after {
    transform: scaleX(1);
}

.trust-card:hover .trust-text p {
    color: rgba(255, 255, 255, 0.85);
}

/* Entrance (only when JS adds .tb-anim, so content is never hidden without JS) */
.trust-bar.tb-anim .trust-card {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(0.25s + var(--d) * 0.14s);
}

.trust-bar.tb-anim .trust-card::after {
    transform: scaleY(0);
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    transition-delay: calc(0.5s + var(--d) * 0.14s);
}

.trust-bar.tb-anim .trust-icon {
    transform: scale(0.4) rotate(-40deg);
    opacity: 0;
}

.trust-bar.tb-anim .trust-text h4,
.trust-bar.tb-anim .trust-text p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.trust-bar.tb-in .trust-card {
    opacity: 1;
    transform: none;
}

.trust-bar.tb-in .trust-card::after {
    transform: scaleY(1);
}

.trust-bar.tb-in .trust-icon {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    transition-delay: calc(0.4s + var(--d) * 0.14s), calc(0.4s + var(--d) * 0.14s), 0s, 0s, 0s, 0s;
}

.trust-bar.tb-in .trust-text h4 {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.5s + var(--d) * 0.14s);
}

.trust-bar.tb-in .trust-text p {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.62s + var(--d) * 0.14s), calc(0.62s + var(--d) * 0.14s), 0s;
}

/* After the entrance, hover reacts instantly */
.trust-bar.tb-in .trust-card:hover,
.trust-bar.tb-in .trust-card:hover .trust-icon {
    transition-delay: 0s;
}

.trust-bar.tb-in .trust-card:hover {
    transform: translateY(-4px);
}

.trust-bar.tb-in .trust-card:hover .trust-icon {
    transform: rotate(-8deg) scale(1.06);
}

@media (max-width: 1080px) {
    .trust-card:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .trust-card::after {
        display: none;
    }

    .trust-card {
        padding-right: 0;
    }
}

@media (max-width: 0px) {
    .trust-bar::before,
    .trust-bar::after,
    .trust-bar .trust-icon::after {
        animation: none !important;
        display: none;
    }

    .trust-bar.tb-anim .trust-card,
    .trust-bar.tb-anim .trust-card::after,
    .trust-bar.tb-anim .trust-icon,
    .trust-bar.tb-anim .trust-text h4,
    .trust-bar.tb-anim .trust-text p {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* About: fix mobile overflow (min-height + 4:3 ratio forced a 507px-wide column) */
.about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

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

    .about-img-wrapper.main-img {
        aspect-ratio: 16 / 10;
        height: auto;
        min-height: 0;
    }
}

/* ==========================================================================
   ABOUT — entrance reveal + scroll parallax
   --abp: -1 (images entering at bottom) … +1 (leaving at top), set by app.js
   ========================================================================== */
#about {
    --abp: 0;
}

/* Parallax depth: main photo drifts slowly, inset photo moves faster */
#about .about-img-wrapper.main-img .about-img {
    transform: translate3d(0, calc(var(--abp) * -26px), 0) scale(1.1);
    transition: none;
    will-change: transform;
}

#about .about-img-wrapper.secondary-img {
    transform: translate3d(0, calc(var(--abp) * 34px), 0);
    will-change: transform;
}

#about .about-img-wrapper.secondary-img .about-img {
    transform: translate3d(0, calc(var(--abp) * -14px), 0) scale(1.12);
    transition: none;
}

#about .about-img-wrapper:hover .about-img {
    transform: translate3d(0, calc(var(--abp) * -26px), 0) scale(1.14);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Entrance ---- */
#about.ab-anim .about-img-wrapper.main-img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.3s cubic-bezier(0.77, 0, 0.18, 1) 0.1s;
}

#about.ab-anim .about-img-wrapper.secondary-img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1) 0.75s;
}

#about.ab-in .about-img-wrapper.main-img,
#about.ab-in .about-img-wrapper.secondary-img {
    clip-path: inset(0 0 0 0);
}

/* Text column: label line draws, then each block rises in sequence */
#about.ab-anim .about-content .section-tag,
#about.ab-anim .about-content .section-heading,
#about.ab-anim .about-content .section-description,
#about.ab-anim .about-content .section-description-secondary,
#about.ab-anim .about-content .about-actions {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

#about.ab-anim .about-content .section-heading {
    filter: blur(6px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
}

#about.ab-in .about-content .section-tag { transition-delay: 0.2s; }
#about.ab-in .about-content .section-heading { transition-delay: 0.32s; }
#about.ab-in .about-content .section-description { transition-delay: 0.48s; }
#about.ab-in .about-content .section-description-secondary { transition-delay: 0.6s; }
#about.ab-in .about-content .about-actions { transition-delay: 1.45s; }

#about.ab-in .about-content .section-tag,
#about.ab-in .about-content .section-heading,
#about.ab-in .about-content .section-description,
#about.ab-in .about-content .section-description-secondary,
#about.ab-in .about-content .about-actions {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Highlights: slide in one by one, tick pops */
#about.ab-anim .pillar-item {
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(0.75s + var(--n) * 0.12s);
}

#about.ab-anim .pillar-check {
    transform: scale(0) rotate(-90deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
    transition-delay: calc(0.95s + var(--n) * 0.12s), 0s, 0s;
}

#about.ab-in .pillar-item {
    opacity: 1;
    transform: none;
}

#about.ab-in .pillar-check {
    transform: none;
}

/* Hover life on highlights */
#about .pillar-item {
    padding: 6px 8px;
    margin: -6px -8px;
    border-radius: 10px;
    transition-property: opacity, transform, background-color;
}

#about .pillar-item:hover {
    background: var(--light-100);
}

#about .pillar-item:hover .pillar-check {
    transform: scale(1.12);
    transition-delay: 0s;
}

@media (max-width: 0px) {
    #about .about-img,
    #about .about-img-wrapper {
        transform: none !important;
        clip-path: none !important;
    }
}

/* ==========================================================================
   SERVICES (homepage) — compact summary cards linking to services.html
   ========================================================================== */
.service-card--compact {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition-delay: calc(var(--k, 0) % 4 * 0.1s);
}

.service-card--compact:hover,
.service-card--compact:focus-visible {
    color: inherit;
    outline: none;
}

.service-card--compact .service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card--compact .service-desc {
    flex: 1;
    margin-bottom: 18px;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding-top: 14px;
    width: 100%;
    border-top: 1px solid var(--light-200);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.service-more i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card--compact:hover .service-more i,
.service-card--compact:focus-visible .service-more i {
    transform: translateX(6px);
}

.service-card--compact:focus-visible {
    box-shadow: 0 0 0 3px var(--black);
}

.services-all {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.btn-services-all {
    border-radius: 999px;
    padding: 14px 28px;
}

.btn-services-all i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-services-all:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   VIDEO TESTIMONIALS — auto-scrolling Instagram reel cards + popup player
   ========================================================================== */
.vt-wrap {
    margin: 8px 0 64px;
}

.vt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.vt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vt-hint {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.vt-viewport {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    outline: none;
    /* soft fade at both ends */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.vt-viewport::-webkit-scrollbar {
    display: none;
}

.vt-viewport.is-dragging {
    cursor: grabbing;
}

.vt-track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 10px 4px 18px;
}

.vt-card {
    position: relative;
    flex: 0 0 auto;
    width: 230px;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    color: #fff;
    text-align: left;
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.45);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.vt-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.vt-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.78) 100%);
}

.vt-ig {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.vt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    font-size: 1.1rem;
    padding-left: 4px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

/* gentle pulse ring on the play button */
.vt-play::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: vtPulse 2.4s ease-out infinite;
}

@keyframes vtPulse {
    0% { transform: scale(1); opacity: 0.8; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
}

.vt-meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vt-label {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.vt-sub {
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.vt-card:hover,
.vt-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 26px 44px -18px rgba(0, 0, 0, 0.55);
    outline: none;
}

.vt-card:focus-visible {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #000;
}

.vt-card:hover img {
    transform: scale(1.06);
}

.vt-card:hover .vt-play {
    transform: scale(1.12);
    background: #fff;
}

/* Popup player */
.vt-modal[hidden] {
    display: none;
}

.vt-modal {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: vtFade 0.35s ease both;
}

.vt-modal-box {
    position: relative;
    width: min(420px, 100%);
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: vtPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vt-modal-frame {
    width: 100%;
    height: min(760px, calc(100dvh - 120px));
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.vt-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.vt-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.vt-modal-close:hover,
.vt-modal-close:focus-visible {
    transform: rotate(90deg);
    outline: none;
}

.vt-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

.vt-modal-link:hover {
    color: #fff;
    opacity: 1;
}

@keyframes vtFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes vtPop {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

html.vt-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .vt-card {
        width: 170px;
        border-radius: 14px;
    }

    .vt-play {
        width: 52px;
        height: 52px;
        margin: -26px 0 0 -26px;
    }

    .vt-hint {
        display: none;
    }

    .vt-modal-close {
        top: -10px;
        right: -4px;
    }
}

@media (max-width: 0px) {
    .vt-play::after {
        animation: none;
    }
}

/* ---- Video testimonials: inline playback inside the card ---- */
.vt-card {
    width: 240px;
}

.vt-player {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    background: #000;
    border-radius: inherit;
    animation: vtFade 0.4s ease both;
}

/* Instagram's embed is ~326px wide with a profile header on top and caption
   below; scale it to the card and shift it so only the video area shows. */
.vt-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 326px;
    height: 900px;
    border: 0;
    transform-origin: 0 0;
    transform: scale(calc(240 / 326)) translateY(var(--vt-head, -54px));
}

.vt-stop {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.vt-stop:hover {
    background: #000;
    transform: rotate(90deg);
}

.vt-card.is-playing {
    transform: none;
    cursor: default;
    box-shadow: 0 0 0 2px #000, 0 26px 44px -18px rgba(0, 0, 0, 0.55);
}

.vt-card.is-playing .vt-play {
    display: none;
}

@media (max-width: 640px) {
    .vt-card {
        width: 190px;
    }

    .vt-player iframe {
        transform: scale(calc(190 / 326)) translateY(var(--vt-head, -54px));
    }
}

/* Original Instagram thumbnails: the live player sits over the cover image
   and fades in once loaded; our play badge hides (Instagram shows its own). */
.vt-card {
    cursor: default;
}

.vt-player {
    animation: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.vt-card.is-loaded .vt-player {
    opacity: 1;
}

.vt-card.is-loaded .vt-play,
.vt-card.is-loaded .vt-shade {
    display: none;
}

.vt-card.is-loaded:hover {
    transform: translateY(-4px);
}

.vt-card.is-loaded:hover img {
    transform: none;
}

/* Instagram's preview frame is 4:5 — match it so only the video shows */
.vt-card {
    width: 270px;
    aspect-ratio: 4 / 5;
}

.vt-player iframe {
    transform: scale(calc(270 / 326)) translateY(var(--vt-head, -54px));
}

@media (max-width: 640px) {
    .vt-card {
        width: 220px;
    }

    .vt-player iframe {
        transform: scale(calc(220 / 326)) translateY(var(--vt-head, -54px));
    }
}

/* ---- Thumbnails are click targets; video opens in a small popup window ---- */
.vt-hit {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
}

.vt-hit:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px #000;
}

/* show our play badge over the live thumbnail (Instagram's own is hidden behind it) */
.vt-card.is-loaded .vt-play {
    display: inline-flex;
    z-index: 4;
    pointer-events: none;
}

.vt-card:hover .vt-play {
    transform: scale(1.12);
    background: #fff;
}

.vt-card {
    cursor: pointer;
}

/* Small window */
.vt-modal-box {
    width: min(360px, calc(100vw - 40px));
}

.vt-modal-frame {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: calc(100dvh - 80px);
    border-radius: 18px;
    background: #000;
}

/* scale Instagram's 326px player to the window and hide its header */
.vt-modal-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 326px;
    height: 640px;
    border: 0;
    transform-origin: 0 0;
    /* scale set by app.js to fit the window */
}

.vt-modal.is-closing .vt-modal-backdrop {
    animation: vtFade 0.22s ease reverse both;
}

.vt-modal.is-closing .vt-modal-box {
    animation: vtPop 0.22s ease reverse both;
}

/* ==========================================================================
   SERVICES SHOWCASE (homepage)
   Desktop: numbered list ↔ crossfading image stage (auto-cycles, hover/focus to pick)
   Tablet/phone: swipeable snap carousel of image cards with dots
   ========================================================================== */
.svx {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: stretch;
    margin-top: 8px;
}

/* ---- List ---- */
.svx-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--light-300);
}

.svx-item {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 14px;
    padding: 18px 8px 18px 0;
    border-bottom: 1px solid var(--light-300);
    color: var(--text-primary);
    text-decoration: none;
    isolation: isolate;
    transition: padding-left 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

/* black fill that sweeps in behind the active row */
.svx-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #000;
    border-radius: 12px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.svx-thumb {
    display: none;
}

.svx-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding-left: 14px;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.svx-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.svx-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.svx-sum {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.svx-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--light-300);
    font-size: 0.85rem;
    transform: rotate(-45deg);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.svx-item.is-active {
    color: #fff;
    padding-left: 14px;
}

.svx-item.is-active::before {
    transform: scaleX(1);
}

.svx-item.is-active .svx-num {
    color: rgba(255, 255, 255, 0.6);
}

.svx-item.is-active .svx-sum {
    max-height: 3.2em;
    opacity: 1;
}

.svx-item.is-active .svx-arrow {
    transform: rotate(0deg);
    background: #fff;
    border-color: #fff;
    color: #000;
}

.svx-item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #000;
    border-radius: 12px;
}

/* ---- Stage ---- */
.svx-stage {
    position: relative;
    min-height: 560px;
    border-radius: 22px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.55);
}

.svx-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.svx-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 6s cubic-bezier(0.22, 1, 0.36, 1);
}

.svx-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.78) 100%);
}

.svx-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0s;
}

.svx-slide.is-active img {
    transform: scale(1.02);
}

.svx-cap {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 34px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
}

.svx-cap > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.svx-slide.is-active .svx-cap > * {
    opacity: 1;
    transform: none;
}

.svx-slide.is-active .svx-cap > :nth-child(1) { transition-delay: 0.15s; }
.svx-slide.is-active .svx-cap > :nth-child(2) { transition-delay: 0.22s; }
.svx-slide.is-active .svx-cap > :nth-child(3) { transition-delay: 0.3s; }
.svx-slide.is-active .svx-cap > :nth-child(4) { transition-delay: 0.38s; }

.svx-cap-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 1.15rem;
}

.svx-cap-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.svx-cap-sum {
    max-width: 440px;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}

.svx-cap-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 0.86rem;
    font-weight: 700;
}

.svx-cap-btn i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svx-stage:hover .svx-cap-btn i {
    transform: translateX(5px);
}

.svx-stage-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.svx-stage-link:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px #fff;
    border-radius: 22px;
}

/* auto-cycle progress bar */
.svx-progress {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 26px;
    z-index: 2;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.svx-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}

.svx-progress span.is-running {
    animation: svxBar var(--svx-dur, 4500ms) linear forwards;
}

.svx.is-paused .svx-progress span {
    animation-play-state: paused;
}

@keyframes svxBar {
    to { transform: scaleX(1); }
}

.svx-dots {
    display: none;
}

/* ---- Entrance (when JS adds .svx-anim) ---- */
.svx.svx-anim .svx-item {
    opacity: 0;
    transform: translateY(18px);
}

.svx.svx-anim .svx-stage {
    clip-path: inset(0 0 0 100% round 22px);
}

.svx.svx-in .svx-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), padding-left 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
    transition-delay: calc(var(--i) * 0.07s), calc(var(--i) * 0.07s), 0s, 0s;
}

.svx.svx-in .svx-stage {
    clip-path: inset(0 0 0 0 round 22px);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1) 0.2s;
}

/* ---- Tablet & phone: swipe carousel ---- */
@media (max-width: 1024px) {
    .svx {
        display: block;
    }

    .svx-stage {
        display: none;
    }

    .svx-list {
        flex-direction: row;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 24px;
        margin: 0 -24px;
        padding: 6px 24px 24px;
        border-top: 0;
        scrollbar-width: none;
    }

    .svx-list::-webkit-scrollbar {
        display: none;
    }

    .svx-item {
        flex: 0 0 min(78%, 340px);
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        border: 0;
        border-radius: 18px;
        overflow: hidden;
        background: #fff;
        color: var(--text-primary);
        box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.35);
        transform: scale(0.94);
        opacity: 0.75;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
    }

    .svx-item::before {
        display: none;
    }

    .svx-item.is-active {
        padding-left: 0;
        color: var(--text-primary);
        transform: none;
        opacity: 1;
    }

    .svx-thumb {
        display: block;
        position: relative;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .svx-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.08);
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .svx-item.is-active .svx-thumb img {
        transform: scale(1);
    }

    .svx-num {
        position: absolute;
        top: 12px;
        left: 12px;
        padding: 5px 10px;
        border-radius: 8px;
        background: #000;
        color: #fff;
        font-size: 0.78rem;
    }

    .svx-item.is-active .svx-num {
        color: #fff;
    }

    .svx-text {
        padding: 18px 18px 8px;
    }

    .svx-sum,
    .svx-item.is-active .svx-sum {
        max-height: none;
        opacity: 1;
        color: var(--text-secondary);
    }

    .svx-arrow {
        margin: 6px 18px 18px;
        transform: none;
        background: #000;
        border-color: #000;
        color: #fff;
    }

    .svx-item.is-active .svx-arrow {
        background: #000;
        border-color: #000;
        color: #fff;
    }

    .svx-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
    }

    .svx-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--light-300);
        transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
    }

    .svx-dot.is-active {
        width: 26px;
        background: #000;
    }

    .svx.svx-in .svx-item {
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
        transition-delay: 0s;
    }

    .svx.svx-in .svx-item:not(.is-active) {
        opacity: 0.75;
        transform: scale(0.94);
    }
}

@media (max-width: 640px) {
    .svx-list {
        margin: 0 -16px;
        padding: 6px 16px 22px;
        scroll-padding: 0 16px;
    }

    .svx-item {
        flex-basis: 84%;
    }
}

@media (max-width: 0px) {
    .svx-slide img,
    .svx-item,
    .svx-item::before,
    .svx-cap > * {
        transition: none !important;
    }

    .svx.svx-anim .svx-item,
    .svx.svx-anim .svx-stage {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}

/* Navbar: solid black (matches the logo background) */
.navbar.navbar--split,
.navbar.navbar--split.scrolled {
    background: #000000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.navbar--split.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Hero: soft faded-black vignette over the frames (edges + a little at the
   bottom behind the text); centre of the image stays bright */
.timeline-canvas-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 85% 75% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
}

.timeline-canvas-wrapper {
    position: absolute;
}

/* ==========================================================================
   TYPOGRAPHY — Lato (replaces Wix Madefor)
   Lato reads best with natural spacing on headings and generous tracking on
   small uppercase labels (like "DO YOU HAVE YOUR OWN LAND ?").
   Lato has no 500/600/800 weights: map them to 400/700/900 explicitly.
   ========================================================================== */
h1, h2, h3, h4,
.section-heading,
.hero-title,
.hero-intro-overlay .hero-title.hero-title-anim,
.hero-v2 .hero-title.hero-title-anim,
.hud-final__title,
.sv-title,
.sv-hero-title,
.svx-title,
.svx-cap-title {
    letter-spacing: 0.005em;
}

.hero-v2 .hero-title.hero-title-anim,
.hero-intro-overlay .hero-title.hero-title-anim {
    font-weight: 700;
    line-height: 1.04;
}

/* Wide-tracked uppercase labels, Lato style */
.section-tag,
.hero-v2__eyebrow,
.hud-final__eyebrow,
.sv-hero-eyebrow,
.sv-kicker,
.sv-kicker-plain,
.navbar--split .nav-link,
.navbar--split .btn-nav-cta,
.site-intro__tag {
    letter-spacing: 0.24em;
}

.navbar--split .nav-link {
    font-weight: 700;
    letter-spacing: 0.18em;
}

body {
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   WHY CHOOSE US — coloured & animated
   Each card has its own accent (--c / --c2). Ambient aurora light in the
   background, staggered tilt-up entrance, cursor-following spotlight,
   glowing gradient border and spinning icon on hover.
   ========================================================================== */
.why-us-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.why-us-section > .container {
    position: relative;
    z-index: 1;
}

/* Ambient coloured light drifting behind the cards */
.why-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.55;
}

.why-aurora span {
    position: absolute;
    width: 42vw;
    height: 42vw;
    max-width: 620px;
    max-height: 620px;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: whyDrift 22s ease-in-out infinite alternate;
}

.why-aurora span:nth-child(1) {
    top: -10%;
    left: -8%;
    background: radial-gradient(circle, rgba(200, 169, 131, 0.30), transparent 65%);
}

.why-aurora span:nth-child(2) {
    top: 30%;
    right: -12%;
    background: radial-gradient(circle, rgba(150, 140, 128, 0.26), transparent 65%);
    animation-duration: 26s;
    animation-delay: -6s;
}

.why-aurora span:nth-child(3) {
    bottom: -18%;
    left: 30%;
    background: radial-gradient(circle, rgba(176, 141, 106, 0.26), transparent 65%);
    animation-duration: 30s;
    animation-delay: -12s;
}

@keyframes whyDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(6vw, 4vw) scale(1.15); }
    100% { transform: translate(-4vw, -3vw) scale(0.95); }
}

/* Card */
.why-card {
    --mx: 50%;
    --my: 0%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 16%, transparent), transparent 60%),
        linear-gradient(180deg, #141416 0%, #0d0d0f 100%);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease;
}

/* glowing gradient border (masked ring) */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--c), transparent 45%, transparent 60%, var(--c2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

/* coloured accent line along the top */
.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    width: 46px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--c), var(--c2));
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--c) 45%, transparent), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover::after {
    width: calc(100% - 56px);
}

.why-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, var(--c), var(--c2));
    color: #0a0a0a;
    font-size: 1.35rem;
    box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--c) 70%, transparent);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.why-card:hover .why-icon-wrap {
    background: linear-gradient(135deg, var(--c), var(--c2));
    color: #0a0a0a;
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 14px 30px -6px color-mix(in srgb, var(--c) 85%, transparent);
}

.why-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(135deg, var(--c), var(--c2));
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.45;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card:hover .why-num {
    opacity: 1;
    transform: translateY(-3px);
}

.why-title {
    transition: color 0.3s ease;
}

.why-card:hover .why-title {
    color: #fff;
}

.why-desc {
    color: #a8a29e;
    transition: color 0.3s ease;
}

.why-card:hover .why-desc {
    color: #d4d4d8;
}

/* Fallback where color-mix isn't supported */
@supports not (color: color-mix(in srgb, red 50%, transparent)) {
    .why-card {
        background: linear-gradient(180deg, #141416 0%, #0d0d0f 100%);
    }

    .why-card:hover {
        box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
    }

    .why-icon-wrap,
    .why-card:hover .why-icon-wrap {
        box-shadow: none;
    }
}

/* Entrance: tilt up in sequence, icon pops, accent line draws */
.why-grid {
    perspective: 1200px;
}

.why-us-section.wy-anim .why-card {
    opacity: 0;
    transform: translateY(46px) rotateX(14deg);
    transform-origin: 50% 100%;
}

.why-us-section.wy-anim .why-icon-wrap {
    transform: scale(0) rotate(-60deg);
}

.why-us-section.wy-anim .why-card::after {
    width: 0;
}

.why-us-section.wy-in .why-card {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease;
    transition-delay: calc(var(--w) * 0.11s), calc(var(--w) * 0.11s), 0s, 0s;
}

.why-us-section.wy-in .why-icon-wrap {
    transform: none;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    transition-delay: calc(0.25s + var(--w) * 0.11s), 0s;
}

.why-us-section.wy-in .why-card::after {
    width: 46px;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) calc(0.45s + var(--w) * 0.11s);
}

/* after the entrance, hover reacts instantly */
.why-us-section.wy-in .why-card:hover {
    transform: translateY(-8px);
    transition-delay: 0s;
}

.why-us-section.wy-in .why-card:hover .why-icon-wrap {
    transform: rotate(-10deg) scale(1.1);
    transition-delay: 0s;
}

.why-us-section.wy-in .why-card:hover::after {
    width: calc(100% - 56px);
    transition-delay: 0s;
}

@media (max-width: 640px) {
    .why-aurora {
        filter: blur(60px);
        opacity: 0.45;
    }

    .why-aurora span {
        width: 80vw;
        height: 80vw;
    }
}

@media (max-width: 0px) {
    .why-aurora span {
        animation: none;
    }

    .why-us-section.wy-anim .why-card,
    .why-us-section.wy-anim .why-icon-wrap {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   SIMPLE CONSULTATION FORM
   ========================================================================== */
.simple-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sf-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sf-field label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sf-optional {
    font-weight: 400;
    color: var(--text-muted);
}

.sf-field input,
.sf-field select,
.sf-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-300);
    border-radius: 12px;
    background: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.sf-field select {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
}

.sf-field select:invalid {
    color: var(--text-muted);
}

.sf-field textarea {
    resize: vertical;
    min-height: 96px;
}

.sf-field input::placeholder,
.sf-field textarea::placeholder {
    color: #a8a29e;
}

.sf-field input:focus,
.sf-field select:focus,
.sf-field textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.sf-field .input-error,
.sf-field input.input-error,
.sf-field select.input-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.sf-field .field-error:empty {
    display: none;
}

.sf-submit {
    margin-top: 4px;
    border-radius: 999px;
    height: 54px;
}

.sf-submit i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sf-submit:hover i {
    transform: translateX(5px);
}

.sf-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================================
   NAVBAR v5 — logo left · links centre · call + CTA right (solid black)
   ========================================================================== */
.navbar.navbar--std,
.navbar.navbar--std.scrolled {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: #000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar.navbar--std.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.navbar.navbar--std::before,
.navbar.navbar--std::after {
    display: none;
}

.navbar--std .nav-container.nav-std {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1320px;
    height: 76px;
    padding: 0 28px;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar--std.scrolled .nav-container.nav-std {
    height: 66px;
}

/* Logo: full mark visible, no tile */
.navbar--std .brand-logo,
.navbar--std.scrolled .brand-logo {
    position: static;
    transform: none;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
}

.navbar--std .brand-logo::after {
    display: none;
}

.navbar--std .brand-logo-img,
.navbar--std.scrolled .brand-logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease;
}

.navbar--std.scrolled .brand-logo-img {
    height: 42px;
}

.navbar--std .brand-logo:hover .brand-logo-img {
    transform: translateY(-1px);
}

/* Links */
.navbar--std .nav-menu,
.navbar--std.scrolled .nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.navbar--std .nav-link {
    position: relative;
    padding: 10px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
    background: none !important;
    text-shadow: none !important;
    border-radius: 0;
    transition: color 0.3s ease;
}

.navbar--std .nav-link::after,
.navbar--std .nav-link.active::after {
    display: block;
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    width: auto;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar--std .nav-link::before {
    display: none;
}

.navbar--std .nav-link:hover,
.navbar--std .nav-link:focus-visible,
.navbar--std .nav-link.active {
    color: #fff;
    outline: none;
}

.navbar--std .nav-link:hover::after,
.navbar--std .nav-link:focus-visible::after,
.navbar--std .nav-link.active::after {
    width: auto;
    transform: scaleX(1);
}

/* Actions */
.navbar--std .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-call {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-call:hover,
.nav-call:focus-visible {
    background: #fff;
    color: #000;
    transform: rotate(-12deg);
    outline: none;
}

.navbar--std .btn-nav-cta {
    display: inline-flex;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: none;
}

.navbar--std .btn-nav-cta::before {
    display: none;
}

.navbar--std .btn-nav-cta:hover,
.navbar--std .btn-nav-cta:focus-visible {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-1px);
    box-shadow: none;
}

.navbar--std .mobile-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 1240px) {
    .navbar--std .nav-link {
        padding: 10px 10px;
        letter-spacing: 0.12em;
    }

    .navbar--std .nav-link::after,
    .navbar--std .nav-link.active::after {
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 1120px) {
    .navbar--std .nav-call {
        display: none;
    }

    .navbar--std .nav-link {
        font-size: 0.68rem;
        padding: 10px 8px;
    }

    .navbar--std .nav-link::after,
    .navbar--std .nav-link.active::after {
        left: 8px;
        right: 8px;
    }
}

@media (max-width: 1024px) {
    .navbar--std .nav-menu,
    .navbar--std.scrolled .nav-menu {
        display: none;
    }

    .navbar--std .nav-call {
        display: inline-flex;
    }

    .navbar--std .mobile-toggle {
        display: flex;
    }

    .navbar--std .nav-container.nav-std {
        height: 68px;
        padding: 0 18px;
    }
}

@media (max-width: 640px) {
    .navbar--std .nav-container.nav-std,
    .navbar--std.scrolled .nav-container.nav-std {
        height: 60px;
        padding: 0 12px;
        gap: 10px;
    }

    .navbar--std .brand-logo-img,
    .navbar--std.scrolled .brand-logo-img {
        height: 38px;
    }

    .navbar--std .nav-actions {
        gap: 8px;
    }

    .navbar--std .nav-call {
        width: 38px;
        height: 38px;
    }

    .navbar--std .btn-nav-cta {
        height: 38px;
        padding: 0 12px;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 380px) {
    .navbar--std .nav-call {
        display: none;
    }
}

/* ==========================================================================
   COLOUR GRADE — one palette for the whole site, taken from the hero film:
   black · white · concrete stone greys · a warm sand/bronze accent
   ========================================================================== */
:root {
    --sand: #c8a983;          /* warm accent on dark surfaces */
    --sand-soft: #e6d6c0;
    --sand-deep: #8a6d50;     /* warm accent on light surfaces */
    --stone-50: #f6f5f3;
    --stone-100: #efedea;
    --stone-300: #d6d3d1;
    --stone-500: #78716c;
    --light-100: #f6f5f3;
    --light-200: #ebe8e4;
    --light-300: #d6d3d1;
    --text-muted: #78716c;
    --dark-muted: #97918b;
}

/* Photography — same muted, warm concrete grade as the hero frames */
.about-img img,
.about-image img,
.ab-media img,
#about img,
.ceo-photo img,
#ceoFeature img,
.svx-slide img,
.sv-media img,
.sv-hero-bg img,
.vt-card img {
    filter: saturate(0.82) sepia(0.08) contrast(1.04);
}

/* Section eyebrow rules pick up the warm accent */
.section-tag .tag-line {
    background-color: var(--sand-deep);
}

.section-tag.tag-light .tag-line {
    background-color: var(--sand);
}

/* Contact channel links: brand colours replaced by the site accent */
.channel-link.whatsapp-link,
.channel-link.ig-link {
    color: var(--sand);
}

.channel-link.whatsapp-link:hover,
.channel-link.ig-link:hover {
    color: var(--sand-soft);
}

/* Footer social hovers stay monochrome */
.footer-social-links a[title*="Instagram"]:hover,
.footer-social-links a[title*="WhatsApp"]:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
}

/* Floating WhatsApp button: black + sand ring instead of brand green */
.whatsapp-float,
.floating-whatsapp,
a.wa-float {
    background-color: #0a0a0a !important;
    color: #fff !important;
    border: 1px solid rgba(200, 169, 131, 0.55) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}

.whatsapp-float:hover,
.floating-whatsapp:hover,
a.wa-float:hover {
    background-color: var(--sand) !important;
    color: #0a0a0a !important;
}

.hv2-btn--wa {
    background: var(--sand);
    color: #0a0a0a;
    box-shadow: 0 6px 18px rgba(200, 169, 131, 0.25);
}

/* Why Choose Us: soft spotlight tinted to the grade */
.why-card:hover {
    border-color: color-mix(in srgb, var(--c) 35%, transparent);
}

/* Dark-section text: headings/intros were being overridden to near-black */
.section-heading.text-white,
#why-us .section-heading {
    color: #ffffff;
}

.section-subtitle.text-muted-light,
#why-us .section-subtitle {
    color: var(--dark-muted);
}

/* ==========================================================================
   HERO TEXT — stronger contrast on bright frames (no box):
   a soft shade that fades out from the left, plus denser letter halos
   ========================================================================== */
.hero-intro-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 75% at 22% 55%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.32) 45%, transparent 75%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 45%, transparent 70%);
}

.hero-intro-overlay > .hero-container {
    position: relative;
    z-index: 1;
}

@keyframes htFlash {
    0%, 14%, 100% {
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 2px rgba(0, 0, 0, 0.95),
            0 1px 4px rgba(0, 0, 0, 0.85),
            0 3px 12px rgba(0, 0, 0, 0.75),
            0 6px 28px rgba(0, 0, 0, 0.6),
            0 10px 60px rgba(0, 0, 0, 0.5);
    }
    6% {
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 2px rgba(0, 0, 0, 0.95),
            0 1px 4px rgba(0, 0, 0, 0.85),
            0 0 18px rgba(255, 244, 214, 0.85),
            0 0 40px rgba(255, 236, 179, 0.55),
            0 0 72px rgba(255, 255, 255, 0.3);
    }
}

.hero-v2 .ht-inner {
    color: #ffffff;
}

.hero-v2__eyebrow {
    color: var(--sand-soft, #e6d6c0);
    letter-spacing: 0.24em;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 1),
        0 0 3px rgba(0, 0, 0, 0.95),
        0 1px 8px rgba(0, 0, 0, 0.85),
        0 2px 18px rgba(0, 0, 0, 0.6);
}

.hero-v2__eyebrow-line {
    background: var(--sand, #c8a983);
}

.hero-v2__lead {
    color: #ffffff;
    font-weight: 700;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 1),
        0 0 3px rgba(0, 0, 0, 0.95),
        0 1px 6px rgba(0, 0, 0, 0.9),
        0 2px 16px rgba(0, 0, 0, 0.75),
        0 4px 30px rgba(0, 0, 0, 0.55);
}

.hero-v2 .ht-underline {
    background: var(--sand, #c8a983);
}

.hv2-btn--ghost {
    background: rgba(10, 10, 12, 0.78);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

.hv2-btn--primary {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   ABOUT VISUALS v2 — layered villa stack
   offset sand frame · blueprint grid · curtain-wipe entrance · light sweep
   slow Ken Burns · floating inset card · 3D pointer tilt · scroll parallax
   ========================================================================== */
.about-visuals.av2 {
    --tx: 0;
    --ty: 0;
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 0.92;
    perspective: 1400px;
    isolation: isolate;
}

.av2 > * {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Offset outline frame behind the main photo */
.av2-frame {
    position: absolute;
    left: 7%;
    top: 0;
    width: 86%;
    aspect-ratio: 16 / 10.5;
    border: 1.5px solid var(--sand, #c8a983);
    border-radius: 22px;
    z-index: 0;
    transform: translate3d(calc(var(--tx) * -10px), calc(var(--abp, 0) * 18px + var(--ty) * -10px), 0);
}

/* Blueprint dot grid peeking out bottom-left */
.av2-grid {
    position: absolute;
    left: -2%;
    bottom: 4%;
    width: 34%;
    aspect-ratio: 1;
    z-index: 0;
    background-image: radial-gradient(rgba(138, 109, 80, 0.45) 1.4px, transparent 1.6px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(circle at 30% 70%, #000 40%, transparent 72%);
    mask-image: radial-gradient(circle at 30% 70%, #000 40%, transparent 72%);
    transform: translate3d(calc(var(--tx) * -6px), calc(var(--abp, 0) * 30px), 0);
}

.av2-card {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e7e5e4;
    transform-style: preserve-3d;
}

.av2-card--a {
    left: 0;
    top: 5%;
    width: 86%;
    aspect-ratio: 16 / 10.5;
    z-index: 1;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.45);
    transform:
        rotateX(calc(var(--ty) * -4deg))
        rotateY(calc(var(--tx) * 5deg))
        translate3d(0, calc(var(--abp, 0) * -16px), 0);
}

.av2-card--b {
    right: 0;
    bottom: 0;
    width: 58%;
    aspect-ratio: 16 / 11;
    z-index: 2;
    border: 8px solid #fff;
    border-radius: 22px;
    box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform:
        rotateX(calc(var(--ty) * -7deg))
        rotateY(calc(var(--tx) * 9deg))
        translate3d(calc(var(--tx) * 14px), calc(var(--abp, 0) * 34px + var(--ty) * 10px), 40px);
}

/* Gentle float on the inset card (on its inner layer so it never fights the tilt) */
.av2-card--b .av2-img {
    animation: av2Float 7s ease-in-out infinite;
}

.av2-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) sepia(0.04) contrast(1.03);
    transform: scale(1.06);
    transform-origin: 60% 50%;
    animation: av2KenBurns 18s ease-in-out infinite alternate;
}

.av2-card--b .av2-img {
    transform-origin: 40% 60%;
    animation: av2KenBurns 14s ease-in-out infinite alternate-reverse;
}

@keyframes av2KenBurns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}

@keyframes av2Float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -6px; }
}

/* Light sweep across each photo */
.av2-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 246, 228, 0.55) 48%, transparent 64%);
    transform: translateX(-120%);
}

/* Hover: lift whichever card is under the pointer */
.av2-card:hover {
    box-shadow: 0 46px 80px -26px rgba(0, 0, 0, 0.55);
}

.av2-card:hover .av2-shine {
    animation: av2Sweep 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes av2Sweep {
    from { transform: translateX(-120%); }
    to   { transform: translateX(120%); }
}

/* ---- Entrance (hooks into the existing #about ab-anim / ab-in classes) ---- */
#about.ab-anim .av2-card--a {
    clip-path: inset(0 0 100% 0 round 20px);
    transition: clip-path 1.3s cubic-bezier(0.77, 0, 0.18, 1) 0.1s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

#about.ab-anim .av2-card--a .av2-img {
    scale: 1.25;
    transition: scale 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

#about.ab-anim .av2-card--b {
    opacity: 0;
    clip-path: inset(0 0 0 100% round 22px);
    translate: 60px 40px;
    rotate: 6deg;
    transition:
        clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1) 0.75s,
        opacity 0.4s ease 0.75s,
        translate 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.75s,
        rotate 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.75s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

#about.ab-anim .av2-frame {
    opacity: 0;
    translate: -24px 24px;
    transition: opacity 0.9s ease 0.9s, translate 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.9s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#about.ab-anim .av2-grid {
    opacity: 0;
    transition: opacity 1.2s ease 1.2s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#about.ab-in .av2-card--a,
#about.ab-in .av2-card--b {
    clip-path: inset(0 0 0 0 round 20px);
}

#about.ab-in .av2-card--a .av2-img {
    scale: 1;
}

#about.ab-in .av2-card--b {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
}

#about.ab-in .av2-frame,
#about.ab-in .av2-grid {
    opacity: 1;
    translate: 0 0;
}

/* One automatic light sweep right after each photo is revealed */
#about.ab-in .av2-card--a .av2-shine {
    animation: av2Sweep 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.35s both;
}

#about.ab-in .av2-card--b .av2-shine {
    animation: av2Sweep 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.9s both;
}

#about.ab-in .av2-card:hover .av2-shine {
    animation: av2Sweep 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Responsive */
@media (max-width: 900px) {
    .about-visuals.av2 {
        aspect-ratio: 1 / 0.86;
        max-width: 640px;
        margin: 0 auto 8px;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .about-visuals.av2 {
        aspect-ratio: 1 / 0.95;
    }

    .av2-card--a {
        width: 92%;
        border-radius: 16px;
    }

    .av2-frame {
        width: 92%;
        left: 6%;
        border-radius: 18px;
    }

    .av2-card--b {
        width: 64%;
        border-width: 5px;
        border-radius: 16px;
    }
}

@media (max-width: 0px) {
    .av2-img,
    .av2-card--b .av2-img {
        animation: none;
    }

    .av2-shine {
        display: none;
    }
}

/* ==========================================================================
   MEET THE FOUNDER (.fdr) — arched portrait, rotating seal, watermark,
   hand-signed sign-off; plays on scroll (ceo-anim / ceo-in from app.js)
   ========================================================================== */
.ceo-feature.fdr {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 96px;
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    padding: clamp(40px, 5.5vw, 76px) clamp(28px, 5.5vw, 80px);
    border-radius: 28px;
    background:
        radial-gradient(120% 90% at 0% 100%, rgba(200, 169, 131, 0.16), transparent 55%),
        linear-gradient(160deg, #141210 0%, #0a0a0a 55%, #000 100%);
    border: 1px solid rgba(200, 169, 131, 0.16);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.55);
    color: #fff;
}

/* Giant outlined word behind everything */
.fdr-watermark {
    position: absolute;
    right: -2%;
    bottom: -0.18em;
    z-index: -1;
    font-size: clamp(6rem, 17vw, 15rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(200, 169, 131, 0.14);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.fdr-glow {
    position: absolute;
    left: 8%;
    top: 12%;
    width: 38%;
    aspect-ratio: 1;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 131, 0.22), transparent 65%);
    filter: blur(10px);
    animation: fdrGlow 9s ease-in-out infinite alternate;
}

@keyframes fdrGlow {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(6%, 8%) scale(1.15); }
}

/* ---- Portrait: doorway arch ---- */
.fdr-portrait {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 420px;
    justify-self: center;
}

.fdr-arch {
    position: relative;
    aspect-ratio: 9 / 11.2;
    border-radius: 999px 999px 18px 18px;
    overflow: hidden;
    background: #1a1816;
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8);
}

.fdr-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    display: block;
    filter: saturate(0.9) sepia(0.05) contrast(1.04);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr-arch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 35%);
    pointer-events: none;
}

.fdr-portrait:hover .fdr-arch img {
    transform: scale(1.04);
}

/* Offset arch outline */
.fdr-arch-line {
    position: absolute;
    inset: -16px 16px 16px -16px;
    border: 1.5px solid var(--sand, #c8a983);
    border-radius: 999px 999px 20px 20px;
    z-index: -1;
    transition: inset 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr-portrait:hover .fdr-arch-line {
    inset: -22px 22px 22px -22px;
}

/* Rotating seal */
.fdr-seal {
    position: absolute;
    right: -34px;
    bottom: 12%;
    width: 120px;
    height: 120px;
    animation: fdrSpin 22s linear infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.fdr-seal text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    fill: var(--sand-soft, #e6d6c0);
}

.fdr-seal::before {
    content: none;
}

.fdr-seal-core {
    position: absolute;
    right: -34px;
    bottom: 12%;
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.fdr-seal-core::before {
    content: '';
    position: absolute;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 1px solid rgba(200, 169, 131, 0.5);
}

.fdr-seal-core img {
    position: relative;
    width: 38px;
    height: auto;
}

@keyframes fdrSpin {
    to { transform: rotate(360deg); }
}

/* ---- Text column ---- */
.fdr-body {
    position: relative;
    min-width: 0;
}

.fdr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--sand, #c8a983);
}

.fdr-eyebrow-line {
    width: 44px;
    height: 1.5px;
    background: currentColor;
    transform-origin: left;
}

.fdr-name {
    margin: 18px 0 6px;
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
}

.fdr-role {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark-muted, #97918b);
}

.fdr-quote {
    position: relative;
    margin: 48px 0 26px;
    padding: 0 0 0 34px;
    border: 0;
}

.fdr-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--sand, #c8a983), transparent);
    transform-origin: top;
}

.fdr-quote-mark {
    position: absolute;
    left: 18px;
    top: -0.55em;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(200, 169, 131, 0.28);
    pointer-events: none;
}

.fdr-quote p {
    position: relative;
    margin: 0;
    font-size: clamp(1.15rem, 1.8vw, 1.42rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;
    color: #fff;
}

.fdr-text p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.fdr-foot {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px 32px;
}

.fdr-sign {
    position: relative;
    display: flex;
    flex-direction: column;
}

.fdr-signature {
    font-family: 'Mrs Saint Delafield', 'Brush Script MT', cursive;
    font-size: clamp(2.6rem, 4vw, 3.3rem);
    line-height: 1;
    color: var(--sand-soft, #e6d6c0);
    white-space: nowrap;
}

.fdr-sign-stroke {
    width: 200px;
    height: 14px;
    margin: -4px 0 8px;
    overflow: visible;
}

.fdr-sign-stroke path {
    fill: none;
    stroke: var(--sand, #c8a983);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 240;
    stroke-dashoffset: 0;
}

.fdr-sign-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dark-muted, #97918b);
}

.fdr-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: #fff;
    color: #0a0a0a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr-btn i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr-btn:hover,
.fdr-btn:focus-visible {
    background: var(--sand, #c8a983);
    color: #0a0a0a;
    transform: translateY(-2px);
    outline: none;
}

.fdr-btn:hover i {
    transform: translateX(4px);
}

/* ---- Scroll animation ---- */
.ceo-feature.fdr.ceo-anim {
    opacity: 0;
    transform: translateY(40px) scale(0.985);
}

.fdr.ceo-anim .fdr-arch {
    clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px);
    transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.2s;
}

.fdr.ceo-anim .fdr-arch img {
    scale: 1.22;
    transition: scale 2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr.ceo-anim .fdr-arch-line {
    opacity: 0;
    translate: 18px -18px;
    transition: opacity 0.9s ease 0.9s, translate 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s, inset 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr.ceo-anim .fdr-seal,
.fdr.ceo-anim .fdr-seal-core {
    opacity: 0;
    scale: 0.4;
    transition: opacity 0.6s ease 1.3s, scale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s;
}

.fdr.ceo-anim .fdr-watermark {
    opacity: 0;
    translate: 12% 0;
    transition: opacity 1.4s ease 0.3s, translate 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.fdr.ceo-anim .fdr-eyebrow,
.fdr.ceo-anim .fdr-name,
.fdr.ceo-anim .fdr-role,
.fdr.ceo-anim .fdr-quote,
.fdr.ceo-anim .fdr-text p,
.fdr.ceo-anim .fdr-foot {
    opacity: 0;
    translate: 0 26px;
    transition: opacity 0.8s ease, translate 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr.ceo-anim .fdr-name {
    filter: blur(8px);
    letter-spacing: 0.04em;
    transition: opacity 0.8s ease, translate 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 1s ease, letter-spacing 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdr.ceo-anim .fdr-eyebrow-line { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s; }
.fdr.ceo-anim .fdr-quote::before { transform: scaleY(0); transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.95s; }
.fdr.ceo-anim .fdr-sign-stroke path { stroke-dashoffset: 240; transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1) 1.75s; }
.fdr.ceo-anim .fdr-signature { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s cubic-bezier(0.65, 0, 0.35, 1) 1.45s; }

.fdr.ceo-in .fdr-eyebrow   { transition-delay: 0.35s; }
.fdr.ceo-in .fdr-name      { transition-delay: 0.5s; }
.fdr.ceo-in .fdr-role      { transition-delay: 0.65s; }
.fdr.ceo-in .fdr-quote     { transition-delay: 0.8s; }
.fdr.ceo-in .fdr-text p:nth-child(1) { transition-delay: 0.95s; }
.fdr.ceo-in .fdr-text p:nth-child(2) { transition-delay: 1.08s; }
.fdr.ceo-in .fdr-foot      { transition-delay: 1.25s; }

.ceo-feature.fdr.ceo-anim.ceo-in {
    opacity: 1;
    transform: none;
}

.fdr.ceo-in .fdr-arch { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
.fdr.ceo-in .fdr-arch img { scale: 1; }

.fdr.ceo-in .fdr-arch-line,
.fdr.ceo-in .fdr-watermark,
.fdr.ceo-in .fdr-eyebrow,
.fdr.ceo-in .fdr-name,
.fdr.ceo-in .fdr-role,
.fdr.ceo-in .fdr-quote,
.fdr.ceo-in .fdr-text p,
.fdr.ceo-in .fdr-foot {
    opacity: 1;
    translate: 0 0;
    filter: none;
}

.fdr.ceo-in .fdr-name { letter-spacing: -0.02em; }
.fdr.ceo-in .fdr-seal,
.fdr.ceo-in .fdr-seal-core { opacity: 1; scale: 1; }
.fdr.ceo-in .fdr-eyebrow-line { transform: scaleX(1); }
.fdr.ceo-in .fdr-quote::before { transform: scaleY(1); }
.fdr.ceo-in .fdr-sign-stroke path { stroke-dashoffset: 0; }
.fdr.ceo-in .fdr-signature { clip-path: inset(0 -10% -20% 0); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .ceo-feature.fdr {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
        text-align: left;
    }

    .fdr-portrait {
        max-width: 340px;
    }
}

@media (max-width: 560px) {
    .ceo-feature.fdr {
        margin-top: 64px;
        padding: 44px 22px 40px;
        border-radius: 22px;
    }

    .fdr-portrait {
        max-width: 270px;
    }

    .fdr-arch-line {
        inset: -10px 10px 10px -10px;
    }

    .fdr-seal,
    .fdr-seal-core {
        width: 96px;
        height: 96px;
        right: -22px;
    }

    .fdr-seal-core::before {
        width: 58px;
        height: 58px;
    }

    .fdr-seal-core img {
        width: 30px;
    }

    .fdr-quote {
        padding-left: 22px;
    }

    .fdr-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .fdr-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 0px) {
    .fdr-seal,
    .fdr-glow {
        animation: none;
    }

    .fdr.ceo-anim *,
    .ceo-feature.fdr.ceo-anim {
        opacity: 1 !important;
        translate: none !important;
        scale: none !important;
        clip-path: none !important;
        filter: none !important;
        stroke-dashoffset: 0 !important;
    }
}

/* ==========================================================================
   FOUNDER PORTRAIT v2 — full, uncropped photo (9:10) in a rounded frame
   reveal wipe · light sweep · offset frame · gentle float · 3D pointer tilt
   ========================================================================== */
.fdr-portrait {
    --tx: 0;
    --ty: 0;
    perspective: 1200px;
    animation: fdrFloat 7s ease-in-out infinite;
}

@keyframes fdrFloat {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -8px; }
}

.fdr-arch {
    aspect-ratio: 900 / 1000;
    border-radius: 22px;
    transform: rotateX(calc(var(--ty) * -5deg)) rotateY(calc(var(--tx) * 6deg));
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
    border: 1px solid rgba(200, 169, 131, 0.25);
}

.fdr-arch img {
    object-fit: cover;          /* frame matches the photo's 9:10 shape, so nothing is cut */
    object-position: 50% 50%;
}

.fdr-arch::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 30%);
}

.fdr-portrait:hover .fdr-arch img {
    transform: none;            /* no hover zoom, the whole photo always shows */
}

.fdr-portrait:hover .fdr-arch {
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(200, 169, 131, 0.35);
}

/* Offset frame behind: rounded rectangle, follows the tilt in reverse */
.fdr-arch-line {
    border-radius: 24px;
    transform: translate3d(calc(var(--tx) * -10px), calc(var(--ty) * -10px), 0);
    transition: inset 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Corner brackets on the frame */
.fdr-arch-line::before,
.fdr-arch-line::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: var(--sand-soft, #e6d6c0);
    border-style: solid;
}

.fdr-arch-line::before {
    top: -6px;
    left: -6px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 10px;
}

.fdr-arch-line::after {
    bottom: -6px;
    right: -6px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 10px;
}

/* Light sweep */
.fdr-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 244, 222, 0.45) 48%, transparent 62%);
    transform: translateX(-130%);
}

.fdr.ceo-in .fdr-shine {
    animation: fdrSweep 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.5s both, fdrSweepLoop 8s ease-in-out 4s infinite;
}

.fdr-portrait:hover .fdr-shine {
    animation: fdrSweep 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fdrSweep {
    from { transform: translateX(-130%); }
    to   { transform: translateX(130%); }
}

@keyframes fdrSweepLoop {
    0%, 82%  { transform: translateX(-130%); }
    100%     { transform: translateX(130%); }
}

/* Seal sits on the top-right corner, over the background, not the person */
.fdr-seal,
.fdr-seal-core {
    right: -40px;
    top: -34px;
    bottom: auto;
}

/* Entrance: rounded wipe up, photo settles to full size (no crop at rest) */
.fdr.ceo-anim .fdr-arch {
    clip-path: inset(100% 0 0 0 round 22px);
}

.fdr.ceo-in .fdr-arch {
    clip-path: inset(0 0 0 0 round 22px);
}

.fdr.ceo-anim .fdr-arch img {
    scale: 1.15;
}

.fdr.ceo-in .fdr-arch img {
    scale: 1;
}

@media (max-width: 560px) {
    .fdr-seal,
    .fdr-seal-core {
        right: -8px;
        top: -30px;
    }

    .fdr-arch-line {
        border-radius: 20px;
    }
}

@media (max-width: 0px) {
    .fdr-portrait {
        animation: none;
    }

    .fdr-shine {
        display: none;
    }
}

/* ==========================================================================
   FOUNDER — light warm theme (replaces the black card)
   ivory → sand gradient · faint blueprint grid · soft golden glows
   ========================================================================== */
.ceo-feature.fdr {
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(200, 169, 131, 0.32), transparent 60%),
        radial-gradient(55% 65% at 0% 100%, rgba(230, 214, 192, 0.75), transparent 62%),
        linear-gradient(135deg, #fbf8f3 0%, #f3ebe0 50%, #ebdfcf 100%);
    border: 1px solid rgba(138, 109, 80, 0.18);
    box-shadow: 0 40px 90px -45px rgba(90, 66, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #1c1917;
}

/* Blueprint grid, fading toward the centre */
.ceo-feature.fdr::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(138, 109, 80, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 109, 80, 0.09) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 30% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 85% 85% at 30% 40%, #000 0%, transparent 75%);
    animation: fdrGridDrift 30s linear infinite;
}

@keyframes fdrGridDrift {
    to { background-position: 44px 44px, 44px 44px; }
}

.fdr-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 246, 232, 0.4) 40%, transparent 68%);
    filter: blur(6px);
}

.fdr-watermark {
    -webkit-text-stroke: 1.2px rgba(138, 109, 80, 0.16);
}

.fdr-arch {
    background: #e7e0d6;
    border-color: rgba(255, 255, 255, 0.9);
    border-width: 6px;
    box-shadow: 0 40px 70px -30px rgba(70, 50, 30, 0.45);
}

.fdr-portrait:hover .fdr-arch {
    box-shadow: 0 50px 90px -30px rgba(70, 50, 30, 0.55);
}

.fdr-arch-line {
    border-color: var(--sand-deep, #8a6d50);
}

.fdr-arch-line::before,
.fdr-arch-line::after {
    border-color: var(--sand-deep, #8a6d50);
}

.fdr-seal text {
    fill: var(--sand-deep, #8a6d50);
}

.fdr-seal {
    filter: none;
}

.fdr-seal-core::before {
    background: #0a0a0a;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.fdr-eyebrow {
    color: var(--sand-deep, #8a6d50);
}

.fdr-name {
    color: #0a0a0a;
}

.fdr-role {
    color: #8a6d50;
}

.fdr-quote::before {
    background: linear-gradient(to bottom, var(--sand-deep, #8a6d50), transparent);
}

.fdr-quote-mark {
    color: rgba(138, 109, 80, 0.3);
}

.fdr-quote p {
    color: #1c1917;
}

.fdr-text p {
    color: #57534e;
}

.fdr-foot {
    border-top-color: rgba(138, 109, 80, 0.2);
}

.fdr-signature {
    color: #6b5138;
}

.fdr-sign-stroke path {
    stroke: var(--sand-deep, #8a6d50);
}

.fdr-sign-role {
    color: #78716c;
}

.fdr-btn {
    background: #0a0a0a;
    color: #fff;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}

.fdr-btn:hover,
.fdr-btn:focus-visible {
    background: var(--sand-deep, #8a6d50);
    color: #fff;
}

@media (max-width: 0px) {
    .ceo-feature.fdr::before {
        animation: none;
    }
}

/* Hero first view: deeper black tint so the headline reads clearly
   (lives on the intro overlay, so it fades away as the scroll film starts) */
.hero-intro-overlay::before {
    background:
        radial-gradient(ellipse 75% 80% at 22% 55%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 80%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.45) 100%);
}

/* Hero final frame: black tint fades in with the closing text so it reads clearly */
.timeline-canvas-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(ellipse 80% 75% at 25% 80%, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 55%, transparent 85%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.7s ease;
}

.hero-sticky-viewport.hero-final-on .timeline-canvas-wrapper::before {
    opacity: 1;
}

/* ==========================================================================
   CONTACT — villa photo background with a deep black tint
   ========================================================================== */
.contact-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #000;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: -6% 0;
    z-index: -2;
    background: url('contact-villa.jpg') center 40% / cover no-repeat;
    filter: saturate(0.85) sepia(0.06);
    transform: scale(1.04);
    animation: contactDrift 26s ease-in-out infinite alternate;
}

.contact-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.74) 45%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 25%, transparent 70%, rgba(0, 0, 0, 0.7) 100%);
}

@keyframes contactDrift {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to   { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 900px) {
    .contact-section::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.85));
    }
}

@media (max-width: 0px) {
    .contact-section::before {
        animation: none;
    }
}

/* Founder card: clean white background, keeping the blueprint grid design */
.ceo-feature.fdr {
    background: #ffffff;
    border: 1px solid #ebe8e4;
    box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.25);
}

.ceo-feature.fdr::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}

.fdr-glow {
    display: none;
}

.fdr-watermark {
    -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.07);
}

.fdr-arch {
    border-color: #ffffff;
    box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px #ebe8e4;
}

/* ==========================================================================
   HERO HEADLINE — stronger flashing: words light up one after another with a
   bright golden flash, a gleaming streak and a tiny pop, on a shorter loop
   ========================================================================== */
.hero-v2 .ht-line .ht-inner {
    animation-name: htRise, htFlashBright;
    animation-duration: 1.1s, 4.2s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-delay: calc(0.25s + var(--i) * 0.11s), calc(1.6s + var(--i) * 0.28s);
    animation-iteration-count: 1, infinite;
    animation-fill-mode: both, none;
}

@keyframes htFlashBright {
    0%, 22%, 100% {
        color: #ffffff;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 2px rgba(0, 0, 0, 0.95),
            0 1px 4px rgba(0, 0, 0, 0.85),
            0 3px 12px rgba(0, 0, 0, 0.75),
            0 6px 28px rgba(0, 0, 0, 0.6);
        transform: translateY(0) scale(1);
    }
    8% {
        color: #fff6e3;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 10px rgba(255, 236, 196, 0.95),
            0 0 24px rgba(232, 200, 150, 0.85),
            0 0 48px rgba(200, 169, 131, 0.7),
            0 0 90px rgba(255, 220, 160, 0.45);
        transform: translateY(-2px) scale(1.035);
    }
    14% {
        color: #ffffff;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 6px rgba(255, 236, 196, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(200, 169, 131, 0.35);
        transform: translateY(0) scale(1);
    }
}

.hero-v2 .ht-inner {
    display: inline-block;
}

.hero-v2 .ht-inner::after {
    background-image: linear-gradient(105deg,
        transparent 0%, transparent 36%,
        rgba(255, 228, 170, 0) 41%,
        rgba(255, 248, 225, 1) 50%,
        rgba(255, 228, 170, 0) 59%,
        transparent 64%, transparent 100%);
    animation: htStreakFast 4.2s ease-in-out infinite;
    animation-delay: calc(1.6s + var(--i) * 0.28s);
}

@keyframes htStreakFast {
    0%   { background-position: 130% 0; }
    16%  { background-position: -30% 0; }
    100% { background-position: -30% 0; }
}

/* Gold underline shimmers along with the words */
.hero-v2 .ht-underline {
    background: linear-gradient(90deg, #8a6d50, #e6d6c0 30%, #c8a983 50%, #fff3dc 60%, #8a6d50 100%);
    background-size: 250% 100%;
    animation: htLine 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1.25s forwards, htLineShimmer 4.2s ease-in-out 2.6s infinite;
}

@keyframes htLineShimmer {
    0%   { background-position: 100% 0; }
    40%  { background-position: 0% 0; }
    100% { background-position: 0% 0; }
}

/* Small heading: soft pulse of light */
.hero-v2__eyebrow {
    animation: htEyebrowGlow 4.2s ease-in-out 1.2s infinite;
}

@keyframes htEyebrowGlow {
    0%, 30%, 100% { color: var(--sand-soft, #e6d6c0); }
    12% { color: #fff6e3; text-shadow: 0 0 1px #000, 0 0 12px rgba(255, 230, 180, 0.8), 0 0 26px rgba(200, 169, 131, 0.6); }
}

@media (max-width: 0px) {
    .hero-v2 .ht-line .ht-inner,
    .hero-v2 .ht-underline,
    .hero-v2__eyebrow {
        animation: none !important;
    }
}

/* ==========================================================================
   HERO FINAL TITLE — glow flash that runs word by word through the title,
   then loops (one full set per cycle). Starts when the final text appears.
   ========================================================================== */
.hud-final__title .hf-w {
    display: inline-block;
    color: #ffffff;
}

.hud-final.visible .hud-final__title .hf-w {
    animation: hfFlash 5s ease-in-out infinite;
    animation-delay: calc(0.9s + var(--i) * 0.32s);
}

@keyframes hfFlash {
    0%, 16%, 100% {
        color: #ffffff;
        transform: translateY(0) scale(1);
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 2px rgba(0, 0, 0, 0.95),
            0 1px 4px rgba(0, 0, 0, 0.85),
            0 3px 12px rgba(0, 0, 0, 0.7),
            0 6px 28px rgba(0, 0, 0, 0.55);
    }
    6% {
        color: #fff6e3;
        transform: translateY(-2px) scale(1.04);
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 10px rgba(255, 236, 196, 0.95),
            0 0 24px rgba(232, 200, 150, 0.85),
            0 0 50px rgba(200, 169, 131, 0.7),
            0 0 90px rgba(255, 220, 160, 0.45);
    }
    11% {
        color: #ffffff;
        transform: translateY(0) scale(1);
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 6px rgba(255, 236, 196, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(200, 169, 131, 0.35);
    }
}

/* Eyebrow line + label pick up a soft pulse in the same rhythm */
.hud-final.visible .hud-final__eyebrow {
    animation: hfEyebrow 5s ease-in-out 0.6s infinite;
}

@keyframes hfEyebrow {
    0%, 22%, 100% { text-shadow: 0 0 1px #000, 0 1px 6px rgba(0, 0, 0, 0.8); }
    10% { text-shadow: 0 0 1px #000, 0 0 12px rgba(255, 230, 180, 0.85), 0 0 26px rgba(200, 169, 131, 0.6); }
}

@media (max-width: 0px) {
    .hud-final.visible .hud-final__title .hf-w,
    .hud-final.visible .hud-final__eyebrow {
        animation: none;
    }
}

/* Final title: the whole sentence flashes together (no word-by-word stagger) */
.hud-final.visible .hud-final__title .hf-w {
    animation: hfFlashAll 3.6s ease-in-out 0.9s infinite;
}

@keyframes hfFlashAll {
    0%, 30%, 100% {
        color: #ffffff;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 2px rgba(0, 0, 0, 0.95),
            0 1px 4px rgba(0, 0, 0, 0.85),
            0 3px 12px rgba(0, 0, 0, 0.7),
            0 6px 28px rgba(0, 0, 0, 0.55);
    }
    10% {
        color: #fff6e3;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.9),
            0 0 10px rgba(255, 236, 196, 0.95),
            0 0 24px rgba(232, 200, 150, 0.85),
            0 0 50px rgba(200, 169, 131, 0.7),
            0 0 90px rgba(255, 220, 160, 0.45);
    }
    20% {
        color: #ffffff;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 1),
            0 0 6px rgba(255, 236, 196, 0.5),
            0 2px 10px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(200, 169, 131, 0.35);
    }
}

.hud-final.visible .hud-final__eyebrow {
    animation: hfEyebrow 3.6s ease-in-out 0.9s infinite;
}

/* Final title: a bright light flash sweeps across the WHOLE sentence, then loops.
   A text-only copy of the title sits on top; only its bright band is visible. */
.hud-final.visible .hud-final__title .hf-w {
    animation: none;
}

.hud-final__title {
    position: relative;
}

.hud-final__title::after {
    content: "Luxury Villa & Home\A Construction in Kerala";
    white-space: pre-line;
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: transparent;
    text-shadow: none;
    background-image: linear-gradient(105deg,
        transparent 0%, transparent 38%,
        rgba(232, 190, 120, 0) 41%,
        rgba(232, 190, 120, 1) 46%,
        #fff3d6 50%,
        rgba(232, 190, 120, 1) 54%,
        rgba(232, 190, 120, 0) 59%,
        transparent 62%, transparent 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(255, 214, 140, 0.95)) drop-shadow(0 0 18px rgba(232, 180, 100, 0.8)) drop-shadow(0 0 40px rgba(200, 150, 90, 0.55));
}

.hud-final.visible .hud-final__title::after {
    animation: hfSweep 3.2s cubic-bezier(0.45, 0, 0.25, 1) 0.8s infinite;
}

@keyframes hfSweep {
    0%   { background-position: 100% 0; }
    45%  { background-position: 0% 0; }
    100% { background-position: 0% 0; }
}

@media (max-width: 0px) {
    .hud-final.visible .hud-final__title::after {
        animation: none;
        display: none;
    }
}

/* ==========================================================================
   HERO FINAL FRAME — rain + thunderstorm while the finished villa is on screen
   ========================================================================== */
.hero-rain,
.hero-lightning {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-rain {
    z-index: 3;
    width: 100%;
    height: 100%;
}

.hero-lightning {
    z-index: 3;
    background:
        radial-gradient(ellipse 70% 55% at var(--lx, 60%) 0%, rgba(220, 230, 255, 0.95), rgba(180, 200, 255, 0.35) 45%, transparent 75%),
        rgba(200, 215, 255, 0.18);
    mix-blend-mode: screen;
}

.hero-sticky-viewport.hero-final-on .hero-rain {
    opacity: 1;
}

.hero-sticky-viewport.hero-final-on .hero-lightning.is-flash {
    animation: heroBolt 1.1s ease-out;
}

@keyframes heroBolt {
    0%   { opacity: 0; }
    4%   { opacity: 0.95; }
    10%  { opacity: 0.15; }
    16%  { opacity: 0.8; }
    24%  { opacity: 0.1; }
    32%  { opacity: 0.45; }
    100% { opacity: 0; }
}

/* the villa image dims slightly during the storm so lightning reads */
.hero-sticky-viewport.hero-final-on .hero-sequence-canvas {
    filter: brightness(0.85) saturate(0.9);
    transition: filter 1.2s ease;
}

@media (max-width: 0px) {
    .hero-rain,
    .hero-lightning {
        display: none;
    }
}

@media (max-width: 640px) {
    .hud-final__title::after {
        content: "Luxury Villa & Home Construction in Kerala";
        white-space: normal;
    }
}


/* Contact background: optimised WebP, smaller file on phones */
.contact-section::before {
    background-image: url('img/contact-villa-1920.webp');
}

@media (max-width: 900px) {
    .contact-section::before {
        background-image: url('img/contact-villa-960.webp');
        animation: none;
    }
}

/* ==========================================================================
   MOBILE POLISH — tighter rhythm, readable small text, comfortable tap
   targets, compact footer, lighter effects on phones
   ========================================================================== */
@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .ceo-feature.fdr {
        margin-top: 56px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section {
        padding: 56px 0;
    }

    .section-heading {
        font-size: clamp(1.6rem, 7vw, 2rem);
        line-height: 1.18;
    }

    .section-subtitle,
    .section-description {
        font-size: 0.98rem;
    }

    /* Navbar: readable CTA label */
    .navbar--std .btn-nav-cta {
        font-size: 0.66rem;
        letter-spacing: 0.04em;
        padding: 0 12px;
    }

    /* Hero: readable eyebrow */
    .hero-v2__eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .hv2-btn {
        min-height: 48px;
    }

    /* About visuals a little shorter so text arrives sooner */
    .about-visuals.av2 {
        aspect-ratio: 1 / 0.82;
        margin-bottom: 0;
    }

    /* Founder: tighter card */
    .fdr-name {
        font-size: 2.1rem;
    }

    .fdr-quote {
        margin: 36px 0 22px;
    }

    .fdr-quote p {
        font-size: 1.06rem;
    }

    .fdr-text p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .fdr-watermark {
        display: none;
    }

    /* Why Choose Us: compact cards */
    .why-card {
        padding: 22px 20px;
    }

    .why-icon-wrap {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 1.1rem;
    }

    .why-title {
        font-size: 1.05rem;
    }

    /* Contact: bigger tap rows */
    .channel-link {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }

    .contact-form-panel input,
    .contact-form-panel select,
    .contact-form-panel textarea {
        font-size: 16px;       /* stops iOS zooming into fields */
    }

    /* Footer: brand full width, two link columns side by side, contact full width */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 20px;
    }

    .footer-col.brand-col,
    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .footer-links a {
        display: inline-block;
        padding: 7px 0;
        font-size: 0.9rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    /* Floating buttons: smaller and tucked into the corner */
    .floating-whatsapp {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: 16px;
        font-size: 1.45rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 18px;
        bottom: 74px;
    }
}

@media (max-width: 380px) {
    .navbar--std .btn-nav-cta {
        font-size: 0.6rem;
        padding: 0 10px;
    }

    .fdr-name {
        font-size: 1.85rem;
    }
}

/* Phones: lighter work for smoother scrolling */
@media (max-width: 900px), (hover: none) {
    .av2-img,
    .av2-card--b .av2-img,
    .fdr-portrait,
    .fdr-glow,
    .ceo-feature.fdr::before {
        animation: none;
    }

    .av2-card,
    .fdr-arch {
        transform: none !important;
    }
}

/* ==========================================================================
   HERO BRAND HEADLINE — "HAVEN BUILDERS"
   letters rise out of a blur one by one, a gold rule draws in,
   then a warm light sweep runs across the name on a loop
   ========================================================================== */
.hero-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
    line-height: 1;
}

.hb-word {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 1),
        0 2px 6px rgba(0, 0, 0, 0.85),
        0 4px 22px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.hb-gap {
    display: inline-block;
    width: 0.42em;
}

.hb-l {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.55em) scale(0.9);
    filter: blur(8px);
    animation: hbIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.15s + var(--i) * 0.06s);
}

@keyframes hbIn {
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

/* Gold light sweep: a text-only copy on top, only its bright band shows */
.hb-word::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    letter-spacing: inherit;
    word-spacing: 0.02em;
    color: transparent;
    text-shadow: none;
    background-image: linear-gradient(105deg,
        transparent 0%, transparent 40%,
        rgba(232, 190, 120, 0) 43%,
        rgba(240, 200, 135, 1) 47%,
        #fff3d6 50%,
        rgba(240, 200, 135, 1) 53%,
        rgba(232, 190, 120, 0) 57%,
        transparent 60%, transparent 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(255, 214, 140, 0.9)) drop-shadow(0 0 18px rgba(232, 180, 100, 0.6));
    pointer-events: none;
    animation: hbSweep 4s cubic-bezier(0.45, 0, 0.25, 1) 1.6s infinite;
}

@keyframes hbSweep {
    0%   { background-position: 100% 0; }
    40%  { background-position: 0% 0; }
    100% { background-position: 0% 0; }
}

.hb-rule {
    flex: 0 0 auto;
    width: clamp(40px, 7vw, 90px);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c8a983, rgba(200, 169, 131, 0));
    transform: scaleX(0);
    transform-origin: left;
    animation: hbRule 1s cubic-bezier(0.65, 0, 0.35, 1) 1.05s forwards;
}

@keyframes hbRule {
    to { transform: scaleX(1); }
}

/* Wait for the logo intro to finish before playing */
html.intro-active .hb-l,
html.intro-active .hb-rule,
html.intro-active .hb-word::after {
    animation-play-state: paused;
}

/* The spaced copy must sit exactly on the letters: match the gap */
.hb-word::after {
    display: none;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .hb-word::after {
        display: block;
    }
}

@media (max-width: 640px) {
    .hero-brand {
        gap: 12px;
        margin-bottom: 14px;
    }

    .hb-word {
        font-size: 1.35rem;
        letter-spacing: 0.16em;
    }
}

@media (max-width: 0px) {
    .hb-l {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .hb-rule {
        animation: none;
        transform: scaleX(1);
    }

    .hb-word::after {
        display: none;
    }
}

/* ==========================================================================
   SERVICES v3 — expanding image panels
   Desktop: 8 tall photo panels in a row; the active one opens wide with its
   details, the rest show a number + vertical title. Auto-advances while in
   view, pauses on hover. Mobile: stacked accordion, tap to open.
   ========================================================================== */
.sxp {
    display: flex;
    gap: 10px;
    height: clamp(460px, 62vh, 600px);
    margin-top: 8px;
}

.sxp-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #111;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
    transition: flex-grow 0.85s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, transform 0.5s ease;
    box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.5);
    outline: none;
}

.sxp-panel.is-active {
    flex-grow: 5.2;
    box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.6);
}

.sxp-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: saturate(0.6) brightness(0.72);
    transform: scale(1.12);
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.sxp-panel.is-active img {
    filter: saturate(0.92) sepia(0.05) brightness(0.9);
    transform: scale(1.02);
}

.sxp-panel:not(.is-active):hover img {
    filter: saturate(0.8) brightness(0.85);
}

.sxp-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0.1) 70%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 30%);
}

.sxp-num {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--sand, #c8a983);
    transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.6s ease;
}

.sxp-panel.is-active .sxp-num {
    left: 28px;
    transform: none;
    font-size: 1rem;
}

/* Collapsed: vertical title */
.sxp-vtitle {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    max-height: calc(100% - 90px);
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: opacity 0.35s ease;
}

.sxp-panel.is-active .sxp-vtitle {
    opacity: 0;
}

/* Expanded: details */
.sxp-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 30px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 560px;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sxp-panel.is-active .sxp-body {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease 0.35s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.sxp-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #e6d6c0, #b08d6a);
    color: #1c1917;
    font-size: 1.2rem;
    box-shadow: 0 10px 24px -8px rgba(200, 169, 131, 0.6);
    margin-bottom: 4px;
}

.sxp-title {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.sxp-sum {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 440px;
}

.sxp-cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #fff;
    color: #0a0a0a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.sxp-panel:hover .sxp-cta,
.sxp-panel:focus-visible .sxp-cta {
    background: var(--sand, #c8a983);
    gap: 14px;
}

.sxp-panel:focus-visible {
    box-shadow: 0 0 0 3px var(--sand, #c8a983), 0 34px 70px -30px rgba(0, 0, 0, 0.6);
}

/* Auto-advance progress line on the active panel */
.sxp-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #c8a983, #fff3d6);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
}

.sxp.is-playing .sxp-panel.is-active .sxp-bar {
    opacity: 1;
    animation: sxpProgress var(--sxp-dur, 5s) linear forwards;
}

.sxp.is-paused .sxp-panel.is-active .sxp-bar {
    animation-play-state: paused;
}

@keyframes sxpProgress {
    to { transform: scaleX(1); }
}

/* Entrance: panels rise in one after another */
.sxp.sxp-anim .sxp-panel {
    opacity: 0;
    transform: translateY(50px);
}

.sxp.sxp-anim.sxp-in .sxp-panel {
    opacity: 1;
    transform: none;
    transition: flex-grow 0.85s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease,
        opacity 0.8s ease calc(var(--i) * 0.07s), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 0.07s);
}

/* Tablet: slightly shorter */
@media (max-width: 1100px) {
    .sxp {
        gap: 8px;
        height: 480px;
    }

    .sxp-vtitle {
        font-size: 0.85rem;
    }

    .sxp-panel.is-active {
        flex-grow: 3.8;
    }
}

/* Mobile: stacked accordion */
@media (max-width: 860px) {
    .sxp {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .sxp-panel {
        flex: none;
        height: 76px;
        border-radius: 16px;
        transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
    }

    .sxp-panel.is-active {
        height: 380px;
    }

    .sxp-shade {
        background:
            linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.25) 100%);
    }

    .sxp-num,
    .sxp-panel.is-active .sxp-num {
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        font-size: 0.85rem;
    }

    .sxp-panel.is-active .sxp-num {
        top: 22px;
        transform: none;
    }

    .sxp-vtitle {
        writing-mode: horizontal-tb;
        transform: translateY(50%);
        left: 58px;
        right: 20px;
        bottom: 50%;
        max-height: none;
        font-size: 1rem;
    }

    .sxp-vtitle::after {
        content: '\f067';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 0;
        font-size: 0.8rem;
        color: var(--sand, #c8a983);
    }

    .sxp-body {
        padding: 22px 20px 24px;
        gap: 8px;
    }

    .sxp-icon {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }

    .sxp-title {
        font-size: 1.35rem;
    }

    .sxp-sum {
        font-size: 0.94rem;
    }
}

@media (max-width: 0px) {
    .sxp-panel,
    .sxp-panel img,
    .sxp-body {
        transition: none !important;
    }

    .sxp.sxp-anim .sxp-panel {
        opacity: 1;
        transform: none;
    }

    .sxp-bar {
        display: none;
    }
}

/* ==========================================================================
   CONTACT v2 — architectural blueprint background
   deep charcoal-bronze base · fine drafting grid · drifting warm light
   orbs · a villa elevation that draws itself in when the section appears
   ========================================================================== */
.contact-section.ct-v2 {
    background:
        radial-gradient(120% 80% at 100% 0%, #1d1812 0%, transparent 60%),
        linear-gradient(160deg, #0d0c0b 0%, #070707 55%, #000 100%);
}

/* switch off the old photo + tint layers */
.contact-section.ct-v2::before,
.contact-section.ct-v2::after {
    content: none;
    display: none;
}

.ct-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ct-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 169, 131, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 131, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(200, 169, 131, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 169, 131, 0.035) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 50%, #000 30%, transparent 85%);
    mask-image: radial-gradient(ellipse 90% 80% at 60% 50%, #000 30%, transparent 85%);
    animation: ctGrid 40s linear infinite;
}

@keyframes ctGrid {
    to { background-position: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
}

.ct-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}

.ct-orb--a {
    width: 520px;
    height: 520px;
    left: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(200, 169, 131, 0.45), transparent 65%);
    animation: ctOrbA 18s ease-in-out infinite alternate;
}

.ct-orb--b {
    width: 600px;
    height: 600px;
    right: -180px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(138, 109, 80, 0.5), transparent 65%);
    animation: ctOrbB 22s ease-in-out infinite alternate;
}

@keyframes ctOrbA {
    to { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes ctOrbB {
    to { transform: translate(-140px, -60px) scale(1.1); }
}

/* slow diagonal light beam */
.ct-beam {
    position: absolute;
    top: -50%;
    left: -30%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 236, 200, 0.05), transparent);
    transform: rotate(18deg);
    animation: ctBeam 14s ease-in-out infinite;
}

@keyframes ctBeam {
    0%   { transform: translateX(0) rotate(18deg); }
    100% { transform: translateX(380%) rotate(18deg); }
}

/* blueprint villa elevation */
.ct-bp-wrap {
    position: absolute;
    right: -2%;
    bottom: -10px;
    width: min(62%, 980px);
    opacity: 0.85;
}

.ct-blueprint {
    width: 100%;
    height: auto;
    display: block;
}

.ct-bp-lines path {
    stroke: rgba(200, 169, 131, 0.38);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
}

.ct-bp-dims path {
    stroke: rgba(200, 169, 131, 0.22);
    stroke-width: 1;
    stroke-dasharray: 4 5;
    opacity: 0;
}

.ct-bp-text text {
    fill: rgba(200, 169, 131, 0.4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
}

.contact-section.ct-v2.ct-in .ct-bp-lines path {
    animation: ctDraw 3.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.contact-section.ct-v2.ct-in .ct-bp-lines path:nth-child(2n) { animation-delay: 0.25s; }
.contact-section.ct-v2.ct-in .ct-bp-lines path:nth-child(3n) { animation-delay: 0.5s; }
.contact-section.ct-v2.ct-in .ct-bp-lines path:nth-child(5n) { animation-delay: 0.8s; }

.contact-section.ct-v2.ct-in .ct-bp-dims path,
.contact-section.ct-v2.ct-in .ct-bp-text text {
    animation: ctFade 1.2s ease 2.4s forwards;
}

@keyframes ctDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes ctFade {
    to { opacity: 1; }
}

/* keep the info panels readable on the new background */
.contact-section.ct-v2 .hours-card,
.contact-section.ct-v2 .working-hours-card {
    background: rgba(18, 16, 14, 0.75);
    border-color: rgba(200, 169, 131, 0.18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
    .ct-bp-wrap {
        width: 130%;
        right: -40%;
        opacity: 0.5;
    }

    .ct-orb {
        filter: blur(40px);
    }

    .ct-orb--a { width: 320px; height: 320px; }
    .ct-orb--b { width: 360px; height: 360px; }

    .ct-beam,
    .ct-grid {
        animation: none;
    }
}

@media (max-width: 0px) {
    .ct-grid, .ct-orb, .ct-beam {
        animation: none;
    }

    .ct-bp-lines path { stroke-dashoffset: 0; animation: none !important; }
    .ct-bp-dims path, .ct-bp-text text { opacity: 1; animation: none !important; }
}

/* Blueprint spans the full width along the bottom; extra room below content */
.contact-section.ct-v2 {
    padding-bottom: 200px;
}

.ct-bp-wrap {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(100%, 1500px);
    bottom: 0;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .contact-section.ct-v2 {
        padding-bottom: 140px;
    }

    .ct-bp-wrap {
        width: 160%;
        opacity: 0.6;
    }
}

/* Blueprint: compact, anchored bottom-left, quieter strokes so text stays clean */
.ct-bp-wrap {
    left: 2%;
    right: auto;
    transform: none;
    width: min(46vw, 640px);
    bottom: 0;
    opacity: 1;
}

.ct-bp-lines path {
    stroke: rgba(200, 169, 131, 0.26);
}

.contact-section.ct-v2 {
    padding-bottom: 120px;
}

@media (max-width: 900px) {
    .contact-section.ct-v2 {
        padding-bottom: 80px;
    }

    .ct-bp-wrap {
        left: -10%;
        width: 120%;
        opacity: 0.45;
    }
}

/* ==========================================================================
   2026 TURNING MOTION (turn.js)
   ========================================================================== */
/* 1) 3D turn-in — rotate property stacks with each block's own animation */
.tn-stage {
    perspective: 1400px;
}

html.turn-js .tn {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: rotate 1.15s cubic-bezier(0.2, 0.9, 0.25, 1) var(--tn-d, 0s),
        filter 1s ease var(--tn-d, 0s);
    filter: brightness(0.75);
}

html.turn-js .tn--up    { transform-origin: 50% 100%; rotate: x 38deg; }
html.turn-js .tn--left  { transform-origin: 0% 50%;   rotate: y 34deg; }
html.turn-js .tn--right { transform-origin: 100% 50%; rotate: y -34deg; }

html.turn-js .tn.tn-in {
    rotate: none;
    filter: none;
}

/* keep hover lifts working after the turn */
html.turn-js .why-card.tn.tn-in,
html.turn-js .testimonial-card.tn.tn-in {
    transition: rotate 1.15s cubic-bezier(0.2, 0.9, 0.25, 1) var(--tn-d, 0s),
        filter 1s ease var(--tn-d, 0s), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease, border-color 0.4s ease;
}

/* 2) Section page-flip — a soft shade deepens as a section turns away */
html.turn-js main > section.sf {
    backface-visibility: hidden;
}


html.turn-js main {
    background: #050505;
}

@media (max-width: 860px) {
    html.turn-js .tn--up    { rotate: x 26deg; }
    html.turn-js .tn--left  { rotate: y 22deg; }
    html.turn-js .tn--right { rotate: y -22deg; }
}

/* ==========================================================================
   NAV DROPDOWN — About Us › Our Team
   ========================================================================== */
.navbar--std .nav-item.has-sub {
    position: relative;
}

.nav-caret {
    font-size: 0.55rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
    vertical-align: 1px;
}

.nav-item.has-sub:hover .nav-caret,
.nav-item.has-sub:focus-within .nav-caret {
    transform: rotate(180deg);
}

.nav-sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) perspective(600px) rotateX(-12deg);
    transform-origin: top center;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
    z-index: 50;
}

.nav-sub::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) perspective(600px) rotateX(0);
}

.nav-sub a {
    display: block;
    padding: 11px 14px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, padding 0.25s ease;
}

.nav-sub a:hover,
.nav-sub a:focus-visible,
.nav-sub a[aria-current="page"] {
    background: rgba(200, 169, 131, 0.14);
    color: #fff;
    padding-left: 18px;
    outline: none;
}

.mobile-sublink {
    padding-left: 22px !important;
    font-size: 0.92em;
    opacity: 0.85;
}

.mobile-sublink::before {
    content: '— ';
    color: var(--sand, #c8a983);
}

/* Founder card link to the team page */
.fdr-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
    color: #6b5138;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(138, 109, 80, 0.4);
    padding-bottom: 3px;
    transition: gap 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fdr-link:hover {
    gap: 12px;
    color: #0a0a0a;
    border-color: #0a0a0a;
}
.fdr-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 6px;
}

@media (max-width: 560px) {
    .fdr-actions { width: 100%; flex-direction: column-reverse; align-items: stretch; }
    .fdr-link { justify-content: center; margin: 4px 0 0; border: 0; }
}

/* ===== Display type: heavy expanded grotesque (Archivo Expanded Black style) ===== */
:root{
  --font-display:'Archivo','Archivo Black','Arial Black',Impact,sans-serif;
}
.section-heading,
.hero-title, .ht-inner, .hb-word,
.hud-final__title, .hud-final__title::after,
.fdr-name, .tm-name, .tm-hero-title, .tm-cta-title,
.sv-hero-title, .sv-title, .sv-process h2, .sv-cta h2,
.why-title, .sxp-title, .sxp-vtitle, .contact-panel-title{
  font-family:var(--font-display) !important;
  font-stretch:122%;
  font-variation-settings:"wdth" 122;
  font-weight:900 !important;
  letter-spacing:-0.012em;
  line-height:1.02;
}
.section-heading,
.hero-title, .ht-inner,
.hud-final__title, .hud-final__title::after,
.fdr-name, .tm-name, .tm-hero-title, .tm-cta-title,
.sv-hero-title, .sv-title, .sv-process h2, .sv-cta h2, .contact-panel-title{
  text-transform:uppercase;
}
.why-title, .sxp-title, .sxp-vtitle{ font-weight:800 !important; letter-spacing:0; }
.sv-title span{ font-weight:800; }
@media (max-width:640px){
  .section-heading, .hero-title, .ht-inner, .hud-final__title, .tm-hero-title,
  .sv-hero-title, .sv-title, .tm-name, .fdr-name{
    font-stretch:112%; font-variation-settings:"wdth" 112; overflow-wrap:anywhere;
  }
}

/* ===== Matching small type: Archivo family across body, labels, buttons ===== */
body, button, input, select, textarea{
  font-family:var(--font-sans);
  font-stretch:100%;
  letter-spacing:0;
}
p, li, .section-subtitle, .hero-v2__lead, .fdr-text, .tm-bio, .sv-desc{
  font-weight:400;
  line-height:1.65;
}
/* Small uppercase labels: semi-expanded, heavy — echoes the display headlines */
.section-tag, .hero-v2__eyebrow, .hud-final__eyebrow, .sv-hero-eyebrow, .sv-kicker,
.sv-kicker-plain, .site-intro__tag, .tm-eyebrow, .fdr-role, .footer-heading,
.nav-link, .btn-nav-cta, .btn, .btn-primary, .btn-secondary, .fdr-link,
.sxp-num, .sxp-cta, .tm-chip, .ct-label, .why-num, .scroll-hint, [class*="eyebrow"],
[class*="kicker"], [class*="-tag"], [class*="badge"]{
  font-family:var(--font-display) !important;
  font-stretch:115%;
  font-variation-settings:"wdth" 115;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.12em;
}
.nav-link{ letter-spacing:0.1em; }
.btn, .btn-primary, .btn-secondary, .btn-nav-cta, .fdr-link, .sxp-cta{ letter-spacing:0.08em; }
/* Strong inline labels in lists */
strong, b, .why-desc strong, .feature-title, h3, h4, .reviewer-name{
  font-family:var(--font-display);
  font-stretch:108%;
  font-variation-settings:"wdth" 108;
  font-weight:800;
}
.fdr-quote, blockquote{ font-family:var(--font-sans); font-style:italic; font-weight:500; }
.fdr-quote-mark{ font-family:var(--font-display); font-weight:900; }
.hb-word{ letter-spacing:0.06em; }

/* ==========================================================================
   HERO ALIGNMENT FIX (v82) — content aligns to the nav grid, one-sentence-per-
   line headline on desktop, balanced wrapping on tablets/phones.
   ========================================================================== */
.hero-intro-overlay .hero-v2{
  max-width:1320px !important;
  width:100%;
  margin-inline:auto;
  padding-left:28px !important;
  padding-right:28px !important;
  box-sizing:border-box;
}
.hero-intro-overlay .hero-v2 .hero-v2__main{
  max-width:none !important;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.hero-intro-overlay .hero-v2 .hero-brand{ margin:0 0 14px; display:flex; align-items:center; gap:18px; width:auto; }
.hero-intro-overlay .hero-v2 .hero-brand .hb-rule{ position:static; flex:0 0 72px; margin:0; }
.hero-intro-overlay .hero-v2 .hero-v2__eyebrow{
  display:flex; align-items:center; gap:14px;
  margin:0 0 22px; width:auto;
  font-size:11px !important; letter-spacing:0.22em !important;
  text-shadow:0 1px 10px rgba(0,0,0,.7) !important;
}
.hero-intro-overlay .hero-v2 .hero-v2__eyebrow-line{ flex:0 0 40px; margin:0; }
.hero-intro-overlay .hero-v2 .hero-title.hero-title-anim{
  width:fit-content; max-width:100%;
  margin:0 0 26px;
  font-size:clamp(2.4rem,4.6vw,4.6rem) !important;
  line-height:1.02 !important;
}
.hero-intro-overlay .hero-v2 .hero-title .ht-line{ display:block; white-space:nowrap; }
.hero-intro-overlay .hero-v2 .hero-title .ht-underline{ left:0; right:0; width:100% !important; }
.hero-intro-overlay .hero-v2 .hero-v2__lead{ max-width:560px; margin:0 0 30px; font-size:1.08rem; line-height:1.6; }
.hero-intro-overlay .hero-v2 .hero-v2__actions{ width:auto; display:flex; flex-wrap:wrap; gap:14px; }
.hv2-btn{ font-family:var(--font-display) !important; font-weight:800 !important; font-stretch:110%; letter-spacing:.06em; text-transform:uppercase; font-size:12.5px !important; }

/* Tablet */
@media (max-width:1023px){
  .hero-intro-overlay .hero-v2 .hero-title .ht-line{ white-space:normal; text-wrap:balance; }
  .hero-intro-overlay .hero-v2 .hero-title.hero-title-anim{ width:100%; font-size:clamp(2.3rem,7vw,4rem) !important; }
}
/* Phones */
@media (max-width:640px){
  .hero-intro-overlay .hero-v2{ padding-left:18px !important; padding-right:18px !important; }
  .hero-intro-overlay .hero-v2 .hero-brand{ gap:12px; margin-bottom:12px; }
  .hero-intro-overlay .hero-v2 .hero-brand .hb-word{ font-size:clamp(1.35rem,7vw,1.9rem) !important; }
  .hero-intro-overlay .hero-v2 .hero-brand .hb-rule{ flex-basis:40px; }
  .hero-intro-overlay .hero-v2 .hero-v2__eyebrow{ font-size:9.5px !important; letter-spacing:.14em !important; gap:10px; white-space:nowrap; margin-bottom:16px; }
  .hero-intro-overlay .hero-v2 .hero-v2__eyebrow-line{ flex-basis:22px; }
  .hero-intro-overlay .hero-v2 .hero-title.hero-title-anim{ font-size:clamp(1.85rem,9.2vw,2.6rem) !important; margin-bottom:20px; }
  .hero-intro-overlay .hero-v2 .hero-v2__lead{ font-size:.98rem; margin-bottom:22px; }
  .hero-intro-overlay .hero-v2 .hero-v2__actions{ width:100%; flex-direction:column; gap:10px; }
  .hero-intro-overlay .hero-v2 .hv2-btn{ width:100%; justify-content:center; padding-block:15px; }
  .navbar .btn-nav-cta{ font-size:9.5px !important; letter-spacing:.05em !important; padding:10px 14px !important; }
}
@media (max-width:360px){
  .hero-intro-overlay .hero-v2 .hero-v2__eyebrow{ font-size:8.5px !important; letter-spacing:.1em !important; }
  .navbar .btn-nav-cta{ display:none !important; }
}
/* Intro tagline: the wider display face needs tighter tracking */
.site-intro__tag{ font-weight:700 !important; animation-name:introTag2 !important; max-width:92vw; white-space:nowrap; }
@keyframes introTag2{
  from{ opacity:0; letter-spacing:.6em; margin-right:-.6em; }
  to  { opacity:1; letter-spacing:.3em; margin-right:-.3em; }
}
@media (max-width:640px){
  .site-intro__tag{ font-size:.6rem !important; animation-name:introTag2sm !important; }
  @keyframes introTag2sm{
    from{ opacity:0; letter-spacing:.45em; margin-right:-.45em; }
    to  { opacity:1; letter-spacing:.22em; margin-right:-.22em; }
  }
}
@media (max-width:640px){
  .hero-intro-overlay .hero-v2 .hero-brand{ max-width:100%; }
  .hero-intro-overlay .hero-v2 .hero-brand .hb-word{ font-size:min(6vw,1.7rem) !important; letter-spacing:.05em !important; }
  .hero-intro-overlay .hero-v2 .hero-brand .hb-rule{ flex-basis:28px; width:28px; }
  .hero-intro-overlay .hero-v2 .hero-v2__eyebrow{ font-size:9px !important; letter-spacing:.1em !important; gap:8px; white-space:normal; max-width:100%; line-height:1.5; }
  .hero-intro-overlay .hero-v2 .hero-v2__eyebrow-line{ flex-basis:18px; }
}
/* Grid children must be allowed to shrink (wide display font made min-content too wide) */
.contact-grid > *, .about-grid > *, .why-grid > *, .footer-grid > *, [class*="-grid"] > *{ min-width:0; }
@media (max-width:900px){
  .contact-grid{ grid-template-columns:minmax(0,1fr) !important; }
}
@media (max-width:640px){
  .contact-panel-title{ font-size:clamp(1.45rem,6.6vw,2rem) !important; }
  .section-heading, .sv-title, .tm-name, .fdr-name, .sv-hero-title, .tm-hero-title, .tm-cta-title, .sv-cta h2, .sv-process h2{
    font-size:clamp(1.45rem,7vw,2.2rem) !important; overflow-wrap:break-word; hyphens:manual;
  }
}
@media (max-width:760px){
  .sxp-vtitle{ font-size:clamp(.82rem,3.9vw,1rem) !important; letter-spacing:.01em !important; overflow:hidden; text-overflow:ellipsis; max-width:calc(100% - 96px); }
}

/* ==========================================================================
   COLOUR v2 — "Kerala Dusk" palette
   Ink black + warm amber (primary accent) + deep laterite teal (secondary)
   + terracotta (roof-tile highlight) + cream surfaces.
   ========================================================================== */
:root{
  --hv-amber:#F2A541;
  --hv-amber-2:#FFC46B;
  --hv-amber-deep:#C9781E;
  --hv-teal:#0F4C4A;
  --hv-teal-2:#17706A;
  --hv-teal-900:#072A29;
  --hv-terra:#C8573B;
  --hv-cream:#FBF4E8;
  --hv-sand:#F2E5D0;
  --hv-ink:#0D1314;
  --hv-grad:linear-gradient(100deg,var(--hv-amber-2) 0%,var(--hv-amber) 45%,var(--hv-terra) 100%);
}
::selection{ background:var(--hv-amber); color:#111; }

/* ---------- Buttons ---------- */
.hv2-btn--primary, .btn-primary, .btn-nav-cta, .navbar .btn-nav-cta, .tm-cta-btn, .fdr-actions .btn, .sf-submit, button[type="submit"]{
  background:var(--hv-amber) !important;
  color:#141008 !important;
  border-color:var(--hv-amber) !important;
  box-shadow:0 10px 30px -10px rgba(242,165,65,.65);
}
.hv2-btn--primary:hover, .btn-primary:hover, .btn-nav-cta:hover, .tm-cta-btn:hover, button[type="submit"]:hover{
  background:var(--hv-amber-2) !important;
  border-color:var(--hv-amber-2) !important;
  color:#141008 !important;
}
.hv2-btn--ghost{ border-color:rgba(242,165,65,.55) !important; }
.hv2-btn--ghost:hover{ background:rgba(242,165,65,.14) !important; border-color:var(--hv-amber) !important; }

/* ---------- Labels / eyebrows / small accents ---------- */
.section-tag, .section-tag span, .hero-v2__eyebrow, .hud-final__eyebrow, .fdr-eyebrow, .sv-kicker, .sv-hero-eyebrow, .tm-eyebrow{
  color:var(--hv-amber-deep) !important;
}
.bg-dark .section-tag, .bg-dark .section-tag span, .tag-light, .tag-light span,
.hero-v2__eyebrow, .hud-final__eyebrow, .ct-v2 .section-tag, .ct-v2 .section-tag span,
.services-section .section-tag, .services-section .section-tag span, .sv-hero-eyebrow, .tm-hero .tm-eyebrow{
  color:var(--hv-amber) !important;
}
.tag-line, .hero-v2__eyebrow-line, .fdr-eyebrow-line, .hb-rule{
  background:linear-gradient(90deg,var(--hv-amber),rgba(242,165,65,0)) !important;
}

/* ---------- Nav ---------- */
.nav-link.active::after, .nav-link:hover::after, .nav-link.active::before{ background:var(--hv-amber) !important; }
.nav-link:hover, .nav-link.active{ color:var(--hv-amber-2) !important; }

/* ---------- Hero: accent line in amber gradient ---------- */
.hero-intro-overlay .ht-line--accent .ht-inner{
  background:var(--hv-grad) !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  color:transparent !important; -webkit-text-fill-color:transparent;
}
.hero-intro-overlay .ht-underline{ background:var(--hv-grad) !important; height:3px; }
.hud-final__title .hf-w:last-child, .hud-final__title .hf-w:nth-last-child(2){ color:var(--hv-amber-2); }

/* ---------- About: cream ---------- */
.about-section{ background:var(--hv-cream) !important; }
.pillar-check{ background:var(--hv-teal) !important; color:var(--hv-amber-2) !important; }
.pillar-item strong{ color:var(--hv-teal) !important; }
.about-section .section-heading{ color:var(--hv-ink); }

/* ---------- Services: deep teal ---------- */
.services-section{
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(242,165,65,.16), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(23,112,106,.55), transparent 65%),
    linear-gradient(160deg,var(--hv-teal) 0%,var(--hv-teal-900) 100%) !important;
  color:#fff;
}
.services-section .section-heading{ color:#fff !important; }
.services-section .section-subtitle{ color:rgba(255,255,255,.75) !important; }
.sxp-num, .sxp-panel.is-active .sxp-num{ color:var(--hv-amber) !important; }
.sxp-cta{ color:var(--hv-amber-2) !important; }
.sxp-bar, .sxp-progress, .sxp-progress span, .sxp-bar span{ background:var(--hv-amber) !important; }

/* ---------- Why us: ink with warm glow ---------- */
.why-us-section{
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(200,87,59,.22), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(23,112,106,.35), transparent 60%),
    var(--hv-ink) !important;
}

/* ---------- Testimonials: warm sand ---------- */
.testimonials-section{ background:var(--hv-sand) !important; }
.testimonials-section .fa-star, .testimonials-section .stars i, .stars i{ color:var(--hv-amber-deep) !important; }
.testimonials-section .section-heading{ color:var(--hv-ink); }

/* ---------- Contact: teal night ---------- */
.contact-section.ct-v2{
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(242,165,65,.18), transparent 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(200,87,59,.18), transparent 60%),
    linear-gradient(160deg,#0F4C4A 0%,#072A29 60%,#041a19 100%) !important;
}
.ct-bp-lines path{ stroke:rgba(242,165,65,.32) !important; }
.contact-info-panel i, .contact-info-panel .fa-solid, .contact-info-panel .fa-brands{ color:var(--hv-amber) !important; }

/* ---------- Founder ---------- */
.fdr-name{ color:var(--hv-ink); }
.fdr-role{ color:var(--hv-terra) !important; }
.fdr-quote-mark{ color:rgba(242,165,65,.45) !important; }
.fdr-link{ color:var(--hv-teal) !important; }

/* ---------- Footer ---------- */
.footer{ background:linear-gradient(180deg,#071c1b 0%,#030b0b 100%) !important; border-top:3px solid var(--hv-amber) !important; }
.footer-heading{ color:var(--hv-amber) !important; }
.footer a:hover{ color:var(--hv-amber-2) !important; }

/* ---------- Floating buttons ---------- */
.back-to-top, #backToTop, .scroll-top{ background:var(--hv-amber) !important; color:#141008 !important; }
.hero-intro-overlay .ht-line--accent .ht-inner{ text-shadow:none !important; filter:drop-shadow(0 3px 14px rgba(0,0,0,.6)) !important; }

/* ===== COLOUR v2.1 — amber shifted to a rich metallic gold ===== */
:root{
  --hv-amber:#D9AE52;
  --hv-amber-2:#F0D48A;
  --hv-amber-deep:#A77A2A;
  --hv-gold-grad:linear-gradient(110deg,#B8892F 0%,#E7C56F 28%,#F6E2A6 46%,#D6A84C 64%,#A9782A 100%);
  --hv-grad:linear-gradient(100deg,#F6E2A6 0%,#E3BD62 35%,#C9973D 70%,#9E6E24 100%);
}
::selection{ background:#E3BD62; }
.hv2-btn--primary, .btn-primary, .btn-nav-cta, .navbar .btn-nav-cta, .tm-cta-btn, button[type="submit"]{
  background:var(--hv-gold-grad) !important;
  background-size:200% 100% !important;
  background-position:0% 0 !important;
  border-color:#D6A84C !important;
  color:#1a1206 !important;
  box-shadow:0 10px 28px -10px rgba(214,168,76,.7), inset 0 1px 0 rgba(255,255,255,.45) !important;
  transition:background-position .6s ease, transform .3s ease, box-shadow .3s ease !important;
}
.hv2-btn--primary:hover, .btn-primary:hover, .btn-nav-cta:hover, .tm-cta-btn:hover, button[type="submit"]:hover{
  background:var(--hv-gold-grad) !important; background-size:200% 100% !important;
  background-position:100% 0 !important;
  border-color:#E7C56F !important;
}
.hv2-btn--ghost{ border-color:rgba(217,174,82,.55) !important; }
.hv2-btn--ghost:hover{ background:rgba(217,174,82,.14) !important; }
.tag-line, .hero-v2__eyebrow-line, .fdr-eyebrow-line, .hb-rule{
  background:linear-gradient(90deg,#E7C56F,rgba(217,174,82,0)) !important;
}
.services-section{
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(217,174,82,.16), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(23,112,106,.55), transparent 65%),
    linear-gradient(160deg,var(--hv-teal) 0%,var(--hv-teal-900) 100%) !important;
}
.why-us-section{
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(217,174,82,.18), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(23,112,106,.35), transparent 60%),
    var(--hv-ink) !important;
}
.contact-section.ct-v2{
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(217,174,82,.18), transparent 60%),
    radial-gradient(70% 70% at 0% 100%, rgba(167,122,42,.16), transparent 60%),
    linear-gradient(160deg,#0F4C4A 0%,#072A29 60%,#041a19 100%) !important;
}
.ct-bp-lines path{ stroke:rgba(217,174,82,.32) !important; }
.footer{ border-top:3px solid transparent !important; border-image:var(--hv-gold-grad) 1 !important; }
.fdr-role{ color:var(--hv-amber-deep) !important; }
.fdr-quote-mark{ color:rgba(217,174,82,.45) !important; }
/* Hero accent line: metallic gold with a slow shine */
.hero-intro-overlay .ht-line--accent .ht-inner{
  background:linear-gradient(100deg,#F6E2A6 0%,#E3BD62 30%,#FFF3CF 48%,#D6A84C 66%,#B4852F 100%) !important;
  background-size:220% 100% !important;
  -webkit-background-clip:text !important; background-clip:text !important;
  animation-name:htRise, hvGoldShine !important;
  animation-duration:1.1s, 6s !important;
  animation-timing-function:cubic-bezier(.22,1,.36,1), ease-in-out !important;
  animation-delay:calc(0.25s + var(--i) * 0.11s), 2s !important;
  animation-iteration-count:1, infinite !important;
  animation-fill-mode:both, none !important;
}
@keyframes hvGoldShine{ 0%,100%{ background-position:0% 0; } 50%{ background-position:100% 0; } }

/* ==========================================================================
   SERVICES v4 — "Showcase": numbered list on the left, large photo on the right
   that changes with the hovered service. Phones: clean photo cards.
   ========================================================================== */
.sv4{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
  margin-top:clamp(24px,4vw,48px);
  text-align:left;
}
.sv4-list{ list-style:none; margin:0; padding:0; counter-reset:none; border-top:1px solid rgba(255,255,255,.12); }
.sv4-row{ border-bottom:1px solid rgba(255,255,255,.12); position:relative; }
.sv4-row::before{ /* gold progress line that grows on the active row */
  content:""; position:absolute; left:0; bottom:-1px; height:2px; width:0;
  background:linear-gradient(90deg,#F0D48A,#D9AE52,#A77A2A);
  transition:width .7s cubic-bezier(.22,1,.36,1);
}
.sv4-row.is-active::before{ width:100%; }
.sv4-link{
  display:grid; grid-template-columns:56px minmax(0,1fr) 44px; align-items:center; gap:18px;
  padding:20px 6px; color:#fff; text-decoration:none;
  transition:padding .5s cubic-bezier(.22,1,.36,1);
}
.sv4-num{
  font-family:var(--font-display); font-weight:800; font-stretch:115%; font-variation-settings:"wdth" 115;
  font-size:.85rem; letter-spacing:.12em; color:rgba(255,255,255,.4);
  transition:color .4s ease;
}
.sv4-main{ display:flex; flex-direction:column; min-width:0; }
.sv4-title{
  font-family:var(--font-display); font-weight:800; font-stretch:112%; font-variation-settings:"wdth" 112;
  font-size:clamp(1.05rem,1.7vw,1.45rem); line-height:1.15; letter-spacing:-.005em;
  color:rgba(255,255,255,.62); transition:color .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.sv4-sum{
  font-size:.95rem; line-height:1.55; color:rgba(255,255,255,.72);
  max-height:0; opacity:0; overflow:hidden; margin-top:0;
  transition:max-height .6s cubic-bezier(.22,1,.36,1), opacity .45s ease, margin-top .5s ease;
}
.sv4-go{
  width:44px; height:44px; border-radius:50%; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.2); color:rgba(255,255,255,.6);
  transition:background .4s ease, color .4s ease, border-color .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.sv4-go i{ transform:rotate(-45deg); transition:transform .5s cubic-bezier(.22,1,.36,1); }
.sv4-thumb{ display:none; }
.sv4-row.is-active .sv4-link{ padding-left:14px; }
.sv4-row.is-active .sv4-num{ color:#E3BD62; }
.sv4-row.is-active .sv4-title{ color:#fff; }
.sv4-row.is-active .sv4-sum{ max-height:6em; opacity:1; margin-top:8px; }
.sv4-row.is-active .sv4-go{ background:linear-gradient(110deg,#B8892F,#E7C56F 45%,#D6A84C 70%,#A9782A); border-color:#D6A84C; color:#1a1206; }
.sv4-row.is-active .sv4-go i{ transform:rotate(0deg); }
.sv4-link:focus-visible{ outline:2px solid #E3BD62; outline-offset:4px; border-radius:10px; }

/* Showcase photo */
.sv4-stage{
  position:sticky; top:calc(var(--header-h,76px) + 24px);
  aspect-ratio:4/5; max-height:min(640px,calc(100vh - 140px)); width:100%;
  border-radius:24px; overflow:hidden;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(217,174,82,.25);
  background:#0a1f1e;
}
.sv4-shot{ position:absolute; inset:0; margin:0; opacity:0; transition:opacity .8s ease; }
.sv4-shot img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(1.08); transition:transform 1.6s cubic-bezier(.22,1,.36,1);
}
.sv4-shot::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 45%); }
.sv4-shot.is-active{ opacity:1; z-index:1; }
.sv4-shot.is-active img{ transform:scale(1); }
.sv4-shot figcaption{ position:absolute; left:20px; bottom:20px; z-index:2; right:20px; }
.sv4-chip{
  display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border-radius:999px;
  background:rgba(10,20,20,.55); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(240,212,138,.35); color:#fff;
  font-family:var(--font-display); font-weight:800; font-stretch:110%; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  transform:translateY(12px); opacity:0; transition:transform .7s cubic-bezier(.22,1,.36,1) .15s, opacity .5s ease .15s;
}
.sv4-chip i{ color:#E3BD62; }
.sv4-shot.is-active .sv4-chip{ transform:none; opacity:1; }
.sv4-counter{
  position:absolute; top:18px; right:18px; z-index:3; padding:7px 12px; border-radius:999px;
  background:rgba(0,0,0,.4); backdrop-filter:blur(8px); color:rgba(255,255,255,.75);
  font-family:var(--font-display); font-weight:700; font-size:.75rem; letter-spacing:.1em;
}
.sv4-cur{ color:#F0D48A; }

/* Phones & small tablets: photo cards, everything visible, no hover needed */
@media (max-width:900px){
  .sv4{ grid-template-columns:1fr; }
  .sv4-stage{ display:none; }
  .sv4-list{ border-top:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
  .sv4-row{ border:0; border-radius:18px; overflow:hidden; background:rgba(255,255,255,.05); box-shadow:0 0 0 1px rgba(255,255,255,.1); }
  .sv4-row::before{ display:none; }
  .sv4-link, .sv4-row.is-active .sv4-link{
    grid-template-columns:auto minmax(0,1fr) 40px; grid-template-areas:"img img img" "num main go";
    padding:0 16px 18px; gap:12px 14px; align-items:start;
  }
  .sv4-thumb{ display:block; grid-area:img; max-width:none; width:calc(100% + 32px); margin:0 -16px 4px; aspect-ratio:16/10; height:auto; object-fit:cover; }
  .sv4-num{ grid-area:num; color:#E3BD62; padding-top:3px; }
  .sv4-main{ grid-area:main; }
  .sv4-go{ grid-area:go; width:40px; height:40px; background:linear-gradient(110deg,#B8892F,#E7C56F 45%,#D6A84C 70%,#A9782A); border-color:#D6A84C; color:#1a1206; }
  .sv4-go i{ transform:none; }
  .sv4-title, .sv4-row.is-active .sv4-title{ color:#fff; font-size:1.08rem; }
  .sv4-sum, .sv4-row.is-active .sv4-sum{ max-height:none; opacity:1; margin-top:6px; font-size:.92rem; }
}
@media (max-width: 0px){
  .sv4 *{ transition:none !important; }
}

/* ==========================================================================
   REVIEWS — fade loop: the spotlight passes from card to card. The lit card
   is fully bright and lifts slightly; the others soften. Pauses on hover.
   ========================================================================== */
@keyframes rvSpot{
  0%   { opacity:.55; translate:0 0;    box-shadow:0 6px 18px -12px rgba(0,0,0,.18); }
  8%   { opacity:1;   translate:0 -8px; box-shadow:0 28px 50px -26px rgba(120,84,20,.45), 0 0 0 1px rgba(217,174,82,.45); }
  30%  { opacity:1;   translate:0 -8px; box-shadow:0 28px 50px -26px rgba(120,84,20,.45), 0 0 0 1px rgba(217,174,82,.45); }
  40%  { opacity:.55; translate:0 0;    box-shadow:0 6px 18px -12px rgba(0,0,0,.18); }
  100% { opacity:.55; translate:0 0;    box-shadow:0 6px 18px -12px rgba(0,0,0,.18); }
}
@keyframes rvStar{
  0%,100% { opacity:.55; scale:1; }
  50%     { opacity:1;   scale:1.18; }
}
.testimonials-grid.rv-loop .testimonial-card{
  animation:rvSpot 10.5s ease-in-out infinite;
  will-change:opacity, translate;
}
.testimonials-grid.rv-loop .testimonial-card:nth-child(1){ animation-delay:0s; }
.testimonials-grid.rv-loop .testimonial-card:nth-child(2){ animation-delay:3.5s; }
.testimonials-grid.rv-loop .testimonial-card:nth-child(3){ animation-delay:7s; }
.testimonials-grid.rv-loop .testimonial-card:nth-child(n+2){ opacity:.55; }
/* stars twinkle one after another inside the lit card */
.testimonials-grid.rv-loop .testimonial-card .fa-star{ display:inline-block; animation:rvStar 1.4s ease-in-out infinite; }
.testimonials-grid.rv-loop .testimonial-card .fa-star:nth-child(2){ animation-delay:.12s; }
.testimonials-grid.rv-loop .testimonial-card .fa-star:nth-child(3){ animation-delay:.24s; }
.testimonials-grid.rv-loop .testimonial-card .fa-star:nth-child(4){ animation-delay:.36s; }
.testimonials-grid.rv-loop .testimonial-card .fa-star:nth-child(5){ animation-delay:.48s; }
/* hover: stop the loop and show every card clearly */
.testimonials-grid.rv-loop:hover .testimonial-card{ animation-play-state:paused; }
.testimonials-grid.rv-loop .testimonial-card:hover{ opacity:1 !important; animation:none; translate:0 -8px; transition:opacity .4s ease, translate .5s cubic-bezier(.22,1,.36,1); }
@media (max-width:900px){
  /* stacked on phones: a softer fade so every review stays readable while scrolling */
  @keyframes rvSpotSm{ 0%,100%{ opacity:.7; } 8%,30%{ opacity:1; } 40%{ opacity:.7; } }
  .testimonials-grid.rv-loop .testimonial-card{ animation-name:rvSpotSm; }
  .testimonials-grid.rv-loop .testimonial-card:nth-child(n+2){ opacity:.7; }
}
@media (max-width: 0px){
  .testimonials-grid.rv-loop .testimonial-card, .testimonials-grid.rv-loop .fa-star{ animation:none !important; opacity:1 !important; }
}

/* Faster intro exit (matches app.js EXIT_MS = 750) */
html.intro-active .site-intro{ transition:opacity .7s ease; }

/* Hero headline: simple — words rise in once, no repeating glow/flash/shine */
.hero-v2 .ht-line .ht-inner{
  animation-name:htRise !important;
  animation-duration:1.1s !important;
  animation-delay:calc(0.25s + var(--i) * 0.11s) !important;
  animation-iteration-count:1 !important;
  animation-fill-mode:both !important;
}
.hero-v2 .ht-inner::after{ animation:none !important; display:none !important; }
.hero-intro-overlay .ht-line--accent .ht-inner{ background-position:0% 0 !important; }

/* Hero headline effect: "outline → fill". Each word appears as a thin outline,
   then fills in solid, one after another. Plays once — no glow, no loop. */
@keyframes hvOutlineFill{
  0%   { opacity:0; transform:translateY(18px); color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.95); }
  35%  { opacity:1; transform:none;             color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.95); }
  100% { opacity:1; transform:none;             color:#fff;        -webkit-text-stroke:1.5px rgba(255,255,255,0); }
}
@keyframes hvGoldFill{
  0%   { opacity:0; transform:translateY(18px); background-size:0% 100%;   -webkit-text-stroke:1.5px #E3BD62; }
  35%  { opacity:1; transform:none;             background-size:0% 100%;   -webkit-text-stroke:1.5px #E3BD62; }
  100% { opacity:1; transform:none;             background-size:100% 100%; -webkit-text-stroke:1.5px rgba(227,189,98,0); }
}
.hero-v2 .ht-line .ht-inner{
  animation-name:hvOutlineFill !important;
  animation-duration:1.4s !important;
  animation-timing-function:cubic-bezier(.22,1,.36,1) !important;
  animation-delay:calc(0.3s + var(--i) * 0.16s) !important;
  animation-iteration-count:1 !important;
  animation-fill-mode:both !important;
}
.hero-intro-overlay .ht-line--accent .ht-inner{
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
  animation-name:hvGoldFill !important;
}
/* intro overlay still showing: hold the effect until it starts */
html.intro-active .hero-v2 .ht-line .ht-inner{ animation:none !important; opacity:0; }
@media (max-width: 0px){
  .hero-v2 .ht-line .ht-inner{ animation:none !important; opacity:1 !important; color:#fff; }
}

/* Footer bottom bar: copyright only, centred */
.footer-bottom-content{ justify-content:center !important; text-align:center; }

/* "Get a Free Consultation" (final hero frame): gentle attention animation —
   a soft sheen sweeps across every few seconds, the arrow nudges forward,
   and a faint gold ring pulses out. Calm, no glow flash. */
.hud-final__actions .hv2-btn--primary{
  position:relative; overflow:hidden; isolation:isolate;
}
.hud-final__actions .hv2-btn--primary::before{           /* sheen */
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.55) 50%,transparent 100%);
  transform:skewX(-20deg); z-index:1; pointer-events:none;
  animation:hvBtnSheen 4.5s ease-in-out 1.2s infinite;
}
.hud-final__actions .hv2-btn--primary > *{ position:relative; z-index:2; }
.hud-final__actions .hv2-btn--primary i{ animation:hvBtnNudge 4.5s ease-in-out 1.2s infinite; }
.hud-final__actions{ position:relative; }
.hud-final__actions .hv2-btn--primary{ animation:hvBtnRing 4.5s ease-out 1.2s infinite; }
@keyframes hvBtnSheen{ 0%{ left:-60%; } 35%,100%{ left:130%; } }
@keyframes hvBtnNudge{ 0%,40%,100%{ transform:translateX(0); } 48%{ transform:translateX(6px); } 56%{ transform:translateX(0); } 62%{ transform:translateX(4px); } 70%{ transform:translateX(0); } }
@keyframes hvBtnRing{
  0%,40%{ outline:2px solid rgba(227,189,98,.6); outline-offset:0; }
  70%   { outline:2px solid rgba(227,189,98,0);  outline-offset:10px; }
  100%  { outline:2px solid rgba(227,189,98,0);  outline-offset:0; }
}
/* on hover: pause the loop, lift and slide the arrow */
.hud-final__actions .hv2-btn--primary:hover,
.hud-final__actions .hv2-btn--primary:hover::before,
.hud-final__actions .hv2-btn--primary:hover i{ animation-play-state:paused; }
.hud-final__actions .hv2-btn--primary:hover{ transform:translateY(-3px); }
.hud-final__actions .hv2-btn--primary:hover i{ transform:translateX(6px); transition:transform .35s cubic-bezier(.22,1,.36,1); }
.hud-final__actions .hv2-btn--primary:active{ transform:scale(.97); }
@media (max-width: 0px){
  .hud-final__actions .hv2-btn--primary, .hud-final__actions .hv2-btn--primary::before, .hud-final__actions .hv2-btn--primary i{ animation:none !important; }
}

/* "Get a Free Consultation": stronger, more frequent attention animation */
.hero-v2__actions .hv2-btn--primary::before,
.hud-final__actions .hv2-btn--primary::before{
  width:60%;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.85) 50%,transparent 100%);
  animation:hvBtnSheen 2.6s ease-in-out .6s infinite !important;
}
.hud-final__actions .hv2-btn--primary{
  animation:hvBtnRing2 2.6s ease-out .6s infinite, hvBtnBreathe 2.6s ease-in-out .6s infinite !important;
}
.hud-final__actions .hv2-btn--primary i{ animation:hvBtnNudge 2.6s ease-in-out .6s infinite !important; }
@keyframes hvBtnRing2{
  0%   { outline:3px solid rgba(240,212,138,.85); outline-offset:0; }
  65%  { outline:3px solid rgba(240,212,138,0);   outline-offset:16px; }
  100% { outline:3px solid rgba(240,212,138,0);   outline-offset:16px; }
}
@keyframes hvBtnBreathe{ 0%,100%{ scale:1; } 50%{ scale:1.035; } }
.hud-final__actions .hv2-btn--primary:hover{ animation-play-state:paused !important; }
@media (max-width: 0px){
  .hud-final__actions .hv2-btn--primary, .hud-final__actions .hv2-btn--primary::before, .hud-final__actions .hv2-btn--primary i{ animation:none !important; }
}

/* Same attention animation on the first-screen "Get a Free Consultation" button */
.hero-v2__actions .hv2-btn--primary{ position:relative; overflow:hidden; isolation:isolate;
  animation:hvBtnRing2 2.6s ease-out 2.4s infinite, hvBtnBreathe 2.6s ease-in-out 2.4s infinite !important; }
.hero-v2__actions .hv2-btn--primary::before{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:60%;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.85) 50%,transparent 100%);
  transform:skewX(-20deg); z-index:1; pointer-events:none;
  animation:hvBtnSheen 2.6s ease-in-out 2.4s infinite !important;
}
.hero-v2__actions .hv2-btn--primary > *{ position:relative; z-index:2; }
.hero-v2__actions .hv2-btn--primary i{ animation:hvBtnNudge 2.6s ease-in-out 2.4s infinite !important; }
.hero-v2__actions .hv2-btn--primary:hover,
.hero-v2__actions .hv2-btn--primary:hover::before,
.hero-v2__actions .hv2-btn--primary:hover i{ animation-play-state:paused !important; }
@media (max-width: 0px){
  .hero-v2__actions .hv2-btn--primary, .hero-v2__actions .hv2-btn--primary::before, .hero-v2__actions .hv2-btn--primary i{ animation:none !important; }
}
/* Safety: never let a headline line run off-screen — wrap neatly instead */
.hero-intro-overlay .hero-v2 .hero-title .ht-line{ white-space:normal !important; text-wrap:balance; }
.hero-intro-overlay .hero-v2 .hero-title.hero-title-anim{ max-width:100% !important; }
@media (min-width:1024px){
  .hero-intro-overlay .hero-v2 .hero-title.hero-title-anim{ font-size:clamp(2.4rem,4.3vw,4.4rem) !important; }
}

/* Hero film: no live colour filter on phones/tablets (saves GPU work on every frame) */
@media (max-width:900px){ .hero-sequence-canvas{ filter:none !important; } }

/* Top bar: "Talk to an expert" call pill (replaces the consultation button) */
.navbar .nav-callpill{
  width:auto !important; height:auto !important; border-radius:999px !important;
  display:inline-flex !important; align-items:center; gap:10px;
  padding:5px 16px 5px 5px !important;
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(217,174,82,.45) !important;
  color:#fff !important; text-decoration:none;
  transition:border-color .3s ease, background-color .3s ease, transform .3s ease;
}
.navbar .nav-callpill .ncp-icon{
  position:relative; width:34px; height:34px; border-radius:50%; flex:0 0 34px;
  display:grid; place-items:center; color:#1a1206; font-size:13px;
  background:linear-gradient(135deg,#F0D48A,#D9AE52 55%,#A77A2A);
}
.navbar .nav-callpill .ncp-icon::after{        /* soft "ringing" pulse */
  content:""; position:absolute; inset:-3px; border-radius:50%;
  border:1.5px solid rgba(240,212,138,.7); animation:ncpRing 2.4s ease-out infinite;
}
.navbar .nav-callpill .ncp-icon i{ animation:ncpShake 2.4s ease-in-out infinite; transform-origin:50% 50%; }
.navbar .nav-callpill .ncp-text{ display:flex; flex-direction:column; line-height:1.15; white-space:nowrap; }
.navbar .nav-callpill .ncp-text small{
  font-family:var(--font-display); font-weight:700; font-size:9.5px; letter-spacing:.14em; text-transform:uppercase;
  color:#E3BD62;
}
.navbar .nav-callpill .ncp-text b{
  font-family:var(--font-display); font-weight:800; font-stretch:108%; font-size:14px; letter-spacing:.02em; color:#fff;
}
.navbar .nav-callpill:hover{ border-color:#E3BD62 !important; background:rgba(217,174,82,.12) !important; transform:translateY(-1px); }
@keyframes ncpRing{ 0%{ opacity:.9; transform:scale(1); } 70%,100%{ opacity:0; transform:scale(1.45); } }
@keyframes ncpShake{ 0%,60%,100%{ transform:rotate(0); } 64%{ transform:rotate(-14deg); } 68%{ transform:rotate(12deg); } 72%{ transform:rotate(-10deg); } 76%{ transform:rotate(8deg); } 80%{ transform:rotate(0); } }
/* phones & small tablets: icon only, to keep the bar clean */
@media (max-width:900px){
  .navbar .nav-callpill{ padding:0 !important; border:0 !important; background:transparent !important; }
  .navbar .nav-callpill .ncp-text{ display:none; }
}
@media (max-width: 0px){
  .navbar .nav-callpill .ncp-icon::after, .navbar .nav-callpill .ncp-icon i{ animation:none !important; }
}

/* ===== Founder card: highlighted "Meet Our Team" button ===== */
.fdr-actions .fdr-link.fdr-link--hi{
  position:relative; overflow:hidden; isolation:isolate;
  display:inline-flex; align-items:center; gap:12px;
  margin:0; padding:16px 30px; border:0 !important; border-radius:999px;
  background:var(--hv-gold-grad,linear-gradient(110deg,#B8892F,#E7C56F 30%,#F6E2A6 46%,#D6A84C 64%,#A9782A));
  background-size:200% 100%;
  color:#0a0a0a !important; font-family:var(--font-display); font-weight:800;
  font-size:.86rem; letter-spacing:.12em; text-transform:uppercase;
  box-shadow:0 10px 24px -10px rgba(169,120,42,.55), inset 0 1px 0 rgba(255,255,255,.45);
  animation:fdrGoldShift 6s ease-in-out infinite, fdrRing 3.2s ease-out infinite;
  transition:transform .3s ease, box-shadow .3s ease, gap .3s ease;
}
.fdr-actions .fdr-link.fdr-link--hi::before{
  content:""; position:absolute; top:0; left:-60%; width:45%; height:100%; z-index:-1;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.75),transparent);
  transform:skewX(-20deg); animation:hvBtnSheen 3.2s ease-in-out infinite;
}
.fdr-actions .fdr-link.fdr-link--hi i{ animation:hvBtnNudge 3.2s ease-in-out infinite; }
.fdr-actions .fdr-link.fdr-link--hi:hover{
  transform:translateY(-2px); gap:16px; color:#0a0a0a !important;
  box-shadow:0 16px 30px -12px rgba(169,120,42,.7), inset 0 1px 0 rgba(255,255,255,.5);
}
@keyframes fdrGoldShift{ 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }
@keyframes fdrRing{
  0%{ box-shadow:0 10px 24px -10px rgba(169,120,42,.55), 0 0 0 0 rgba(214,168,76,.45), inset 0 1px 0 rgba(255,255,255,.45); }
  70%,100%{ box-shadow:0 10px 24px -10px rgba(169,120,42,.55), 0 0 0 12px rgba(214,168,76,0), inset 0 1px 0 rgba(255,255,255,.45); }
}
@media (max-width:560px){ .fdr-actions .fdr-link.fdr-link--hi{ justify-content:center; width:100%; } }
@media (max-width: 0px){
  .fdr-actions .fdr-link.fdr-link--hi, .fdr-actions .fdr-link.fdr-link--hi::before, .fdr-actions .fdr-link.fdr-link--hi i{ animation:none; }
}

/* ===== Contact: office location map ===== */
.ct-map{
  position:relative; z-index:1; margin-top:clamp(36px,5vw,64px);
  border-radius:24px; padding:clamp(16px,2vw,22px);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  border:1px solid rgba(227,189,98,.35);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6);
}
.ct-map__head{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:6px 6px 18px; }
.ct-map__pin{
  position:relative; flex:0 0 auto; width:54px; height:54px; border-radius:50%;
  display:grid; place-items:center; color:#0a0a0a; font-size:22px;
  background:var(--hv-gold-grad,linear-gradient(110deg,#B8892F,#E7C56F 30%,#F6E2A6 46%,#D6A84C 64%,#A9782A));
}
.ct-map__pin::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:2px solid rgba(227,189,98,.7); animation:ctPinPulse 2.4s ease-out infinite;
}
.ct-map__pin i{ animation:ctPinBob 2.4s ease-in-out infinite; }
.ct-map__text{ flex:1 1 260px; min-width:0; }
.ct-map__eyebrow{ display:block; font-family:var(--font-display); font-weight:700; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:#E3BD62; }
.ct-map__title{ margin:4px 0 2px; font-family:var(--font-display); font-weight:800; font-size:clamp(1.15rem,2vw,1.45rem); color:#fff; letter-spacing:.01em; }
.ct-map__addr{ margin:0; color:rgba(255,255,255,.75); font-size:.95rem; }
.ct-map__btn{
  display:inline-flex; align-items:center; gap:10px; padding:14px 24px; border-radius:999px;
  background:#fff; color:#0a0a0a; text-decoration:none; font-family:var(--font-display);
  font-weight:800; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase;
  transition:transform .3s ease, background .3s ease;
}
.ct-map__btn:hover{ transform:translateY(-2px); background:#E7C56F; }
.ct-map__frame{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio:21/8; min-height:300px; background:#1a1a1a; }
.ct-map__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
@keyframes ctPinPulse{ 0%{ transform:scale(1); opacity:.9; } 80%,100%{ transform:scale(1.7); opacity:0; } }
@keyframes ctPinBob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-3px); } }
@media (max-width:640px){
  .ct-map__frame{ aspect-ratio:4/3.4; min-height:0; }
  .ct-map__btn{ width:100%; justify-content:center; }
}
@media (max-width: 0px){ .ct-map__pin::after, .ct-map__pin i{ animation:none; } }
/* map: compact size */
.ct-map{ max-width:880px; margin-left:auto; margin-right:auto; padding:14px; border-radius:20px; }
.ct-map__head{ padding:2px 4px 12px; gap:14px; }
.ct-map__pin{ width:42px; height:42px; font-size:17px; }
.ct-map__title{ font-size:clamp(1rem,1.6vw,1.2rem); }
.ct-map__addr{ font-size:.85rem; }
.ct-map__btn{ padding:11px 18px; font-size:.72rem; }
.ct-map__frame{ aspect-ratio:auto; height:240px; min-height:0; border-radius:12px; }
@media (max-width:640px){ .ct-map__frame{ aspect-ratio:auto; height:220px; } }

/* ===== Contact: map as a side box in the info panel ===== */
.ct-mapbox{
  margin-top:18px; border-radius:16px; overflow:hidden;
  border:1px solid rgba(227,189,98,.35); background:rgba(255,255,255,.04);
  box-shadow:0 20px 40px -24px rgba(0,0,0,.6);
}
.ct-mapbox__frame{ position:relative; height:190px; background:#1a1a1a; }
.ct-mapbox__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.ct-mapbox__bar{ display:flex; align-items:center; gap:12px; padding:12px 14px; }
.ct-mapbox__pin{
  position:relative; flex:0 0 auto; width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center; color:#0a0a0a; font-size:14px;
  background:var(--hv-gold-grad,linear-gradient(110deg,#B8892F,#E7C56F 30%,#F6E2A6 46%,#D6A84C 64%,#A9782A));
}
.ct-mapbox__pin::after{ content:""; position:absolute; inset:0; border-radius:50%; border:2px solid rgba(227,189,98,.7); animation:ctPinPulse 2.4s ease-out infinite; }
.ct-mapbox__addr{ flex:1 1 auto; min-width:0; color:rgba(255,255,255,.78); font-size:.82rem; line-height:1.35; }
.ct-mapbox__addr b{ display:block; font-family:var(--font-display); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:#E3BD62; }
.ct-mapbox__btn{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:999px;
  background:#fff; color:#0a0a0a; text-decoration:none; font-family:var(--font-display);
  font-weight:800; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; transition:background .3s ease, transform .3s ease;
}
.ct-mapbox__btn:hover{ background:#E7C56F; transform:translateY(-1px); }
@media (max-width: 0px){ .ct-mapbox__pin::after{ animation:none; } }
.ct-v2 .ct-mapbox .ct-mapbox__pin i, .ct-v2 .ct-mapbox .ct-mapbox__btn i{ color:#0a0a0a !important; }

/* map side box: hours merged in + columns aligned */
.ct-v2 .contact-grid{ align-items:stretch; }
.ct-v2 .contact-info-panel{ display:flex; flex-direction:column; }
.ct-v2 .contact-info-panel .ct-mapbox{ flex:1 1 auto; display:flex; flex-direction:column; margin-top:6px; }
.ct-mapbox__frame{ flex:1 1 auto; height:auto; min-height:150px; }
.ct-mapbox__bar{ border-bottom:1px solid rgba(255,255,255,.08); }
.ct-mapbox__hours{ display:flex; align-items:center; flex-wrap:wrap; gap:4px 16px; padding:10px 14px 12px; font-size:.78rem; color:rgba(255,255,255,.72); }
.ct-v2 .ct-mapbox__hours i{ color:#E3BD62 !important; font-size:14px; }
.ct-mapbox__hours b{ color:#fff; font-weight:700; margin-right:4px; }
.ct-mapbox__frame{ min-height:104px; } @media (max-width:900px){ .ct-mapbox__frame{ min-height:200px; } }
.ct-v2 .contact-grid > .form-wrapper{ align-self:stretch; display:flex; flex-direction:column; justify-content:center; }
/* touch-friendly link targets on phones/tablets */
@media (max-width:900px){
  .footer-links a, .footer-contact-info a{ display:inline-flex; align-items:center; min-height:36px; }
  .footer-links li, .footer-contact-info li{ margin-bottom:2px; }
  .channel-link{ display:inline-flex; align-items:center; min-height:32px; }
}
/* ===== Client videos: playable popup (no scaling) + Instagram-only cards ===== */
.vt-modal-box{ width:min(380px, calc(100vw - 32px)); }
.vt-modal-frame{ aspect-ratio:auto !important; height:min(620px, calc(100dvh - 130px)) !important; max-height:none; overflow:hidden; }
.vt-modal-frame iframe{ position:absolute !important; left:0; top:-54px; width:100% !important; height:calc(100% + 54px + 160px) !important; transform:none !important; border:0; }
.vt-modal-ig{
  display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border-radius:999px;
  background:#fff; color:#0a0a0a; text-decoration:none; font-family:var(--font-display);
  font-weight:800; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase;
}
.vt-modal-ig i{ font-size:15px; color:#d62976; }
.vt-igbadge{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%); z-index:3; pointer-events:none;
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap;
  padding:6px 12px; border-radius:999px; background:rgba(0,0,0,.62); color:#fff;
  font-size:.68rem; font-weight:700; letter-spacing:.06em; backdrop-filter:blur(4px);
}
.vt-modal-frame{ height:auto !important; aspect-ratio:4 / 5 !important; max-height:calc(100dvh - 120px); }
.vt-modal-frame iframe{ height:calc(100% + 54px + 260px) !important; }

/* ===== Intro → hero hand-off: faster and seamless =====
   - space for the scrollbar is always reserved, so unlocking scroll doesn't shift/resize the hero
   - the hero starts animating underneath while the logo screen fades out on top */
html{ scrollbar-gutter:stable; }
html.intro-exit .site-intro{
  position:fixed; inset:0; z-index:5000; display:flex; align-items:center; justify-content:center;
  background:#000; opacity:0; pointer-events:none;
  transition:opacity .45s cubic-bezier(.4,0,.2,1);
}
html.intro-exit .site-intro__inner{ opacity:0; transform:scale(.96); transition:opacity .3s ease, transform .45s ease; }
.site-intro__logo{ animation-duration:.8s !important; animation-delay:.05s !important; }
.site-intro__shine{ animation-duration:.7s !important; animation-delay:.6s !important; }
.site-intro__line{ animation-duration:.6s !important; animation-delay:.55s !important; }
.site-intro__tag{ animation-duration:.6s !important; animation-delay:.6s !important; }
/* headline starts right as the logo screen fades */
.hero-v2 .ht-line .ht-inner{ animation-delay:calc(0.05s + var(--i) * 0.12s) !important; animation-duration:1.1s !important; }

/* ===== Phones & small tablets: same animations, a little quicker and lighter ===== */
@media (max-width: 768px){
  html.turn-js .tn{
    transition: rotate .8s cubic-bezier(0.2,0.9,0.25,1) calc(var(--tn-d, 0s) * .6),
                filter .6s ease calc(var(--tn-d, 0s) * .6) !important;
  }
  .reveal-on-scroll, .reveal-slide-left, .reveal-slide-right, .reveal-scale, .fade-in-up{
    transition-duration: .6s !important;
  }
  .ceo-feature.ceo-anim{ transition-duration: .6s !important; }
  .ceo-feature.ceo-anim .ceo-photo img{ transition-duration: .7s, .75s, .8s !important; transition-delay: .1s !important; }
  .ceo-feature.ceo-anim .ceo-photo::before{ transition-delay: .35s !important; }
  .ceo-feature.ceo-anim .ceo-photo-badge{ transition-delay: .45s !important; }
  .ceo-feature.ceo-anim .ceo-message > *{ transition-duration: .55s, .6s, .55s !important; }
  .ceo-feature.ceo-anim .ceo-message > :nth-child(1){ transition-delay: .2s !important; }
  .ceo-feature.ceo-anim .ceo-message > :nth-child(2){ transition-delay: .28s !important; }
  .ceo-feature.ceo-anim .ceo-message > :nth-child(3){ transition-delay: .36s !important; }
  .ceo-feature.ceo-anim .ceo-message > :nth-child(4){ transition-delay: .44s !important; }
  .ceo-feature.ceo-anim .ceo-message > :nth-child(5){ transition-delay: .52s !important; }
  .ceo-feature.ceo-anim .ceo-message > :nth-child(6){ transition-delay: .6s !important; }
  .hero-v2 .ht-line .ht-inner{ animation-duration: .9s !important; animation-delay: calc(0.05s + var(--i) * 0.09s) !important; }
}

/* Speed: sections below the hero are only rendered when they come near the screen */
main > section.section{ content-visibility:auto; contain-intrinsic-size:auto 900px; }

/* ===== Logo intro: GPU-only motion (opacity / transform) so it never drops frames ===== */
html.intro-active .site-intro, html.intro-exit .site-intro{ will-change: opacity; }
.site-intro__logo{
  clip-path:none !important; filter:none !important;
  opacity:0; transform:translateY(18px) scale(.94);
  animation:introRiseGpu .8s cubic-bezier(.22,1,.36,1) .05s forwards !important;
  will-change:transform, opacity;
}
@keyframes introRiseGpu{ to{ opacity:1; transform:none; } }
.site-intro__shine{
  mix-blend-mode:normal !important; background:none !important; opacity:1 !important;
  animation:none !important; overflow:hidden;
}
.site-intro__shine::before{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:60%;
  background:linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform:translateX(0); opacity:0;
  animation:introShineGpu .75s ease-in-out .6s forwards;
  will-change:transform, opacity;
}
@keyframes introShineGpu{ 0%{ opacity:1; transform:translateX(0); } 100%{ opacity:1; transform:translateX(330%); } }
.site-intro__line{ will-change:transform; }
.site-intro__tag{
  animation:introTagGpu .6s cubic-bezier(.22,1,.36,1) .6s forwards !important;
  letter-spacing:.3em !important; margin-right:-.3em !important;
  opacity:0; transform:translateY(8px); will-change:transform, opacity;
}
@media (max-width:640px){ .site-intro__tag{ letter-spacing:.22em !important; margin-right:-.22em !important; } }
@keyframes introTagGpu{ to{ opacity:1; transform:none; } }
html.intro-exit .site-intro__inner{ will-change:transform, opacity; }
/* the hero canvas gets its own GPU layer so drawing frames never repaints the page */
.hero-timeline-track canvas{ will-change:transform; transform:translateZ(0); }

/* ===== Hero headline: same "outline → fill" look, GPU-only (no per-frame repaint) =====
   The word itself is the outline; its fill is a copy (::after) that fades in on top. */
.hero-v2 .ht-word{ clip-path:none !important; animation:none !important; overflow:visible !important; }
.hero-v2 .ht-line .ht-inner{
  position:relative; display:inline-block;
  color:transparent !important; background:none !important;
  -webkit-text-stroke:1.5px rgba(255,255,255,.95);
  animation-name:htRiseGpu !important; animation-duration:.9s !important;
  animation-timing-function:cubic-bezier(.22,1,.36,1) !important;
  animation-delay:calc(0.05s + var(--i) * 0.12s) !important; animation-fill-mode:both !important;
  will-change:transform, opacity;
}
.hero-intro-overlay .ht-line--accent .ht-inner{ -webkit-text-stroke:1.5px #E3BD62; }
html body .hero-v2 .ht-line .ht-inner::after{
  content:attr(data-text) !important; display:block !important;
  position:absolute; left:0; top:0; right:0; bottom:0; pointer-events:none;
  color:#fff; -webkit-text-stroke:0; background:none; text-shadow:none; filter:none; mix-blend-mode:normal;
  opacity:0; animation:htFillGpu .7s ease calc(0.45s + var(--i) * 0.12s) forwards !important;
  will-change:opacity; padding:inherit; margin:0; transform:none; clip-path:none;
}
html body .hero-intro-overlay .ht-line--accent .ht-inner::after{
  color:transparent; background:linear-gradient(100deg,#F6E2A6 0%,#E3BD62 35%,#C9973D 70%,#9E6E24 100%) !important;
  -webkit-background-clip:text !important; background-clip:text !important; background-size:100% 100% !important;
}
@keyframes htRiseGpu{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }
@keyframes htFillGpu{ to{ opacity:1; } }
html.intro-active .hero-v2 .ht-line .ht-inner,
html.intro-active .hero-v2 .ht-line .ht-inner::after{ animation-play-state:paused !important; }
@media (max-width:768px){
  .hero-v2 .ht-line .ht-inner{ animation-duration:.75s !important; animation-delay:calc(0.05s + var(--i) * 0.09s) !important; }
  html body .hero-v2 .ht-line .ht-inner::after{ animation-duration:.55s !important; animation-delay:calc(0.35s + var(--i) * 0.09s) !important; }
}

