/*==========================================================
    LÉO BRETON PORTFOLIO — PURE WHITE LIQUID GLASS (APPLE OPTION B)
    STYLE.CSS
==========================================================*/

/*----------------------------------------------------------
    1. RESET & BASE VARIABLES
----------------------------------------------------------*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pure White / Apple Silver Minimalist Palette */
    --canvas-bg: #f8f9fb;
    --canvas-pure: #ffffff;
    --obsidian: #111113;
    --obsidian-soft: #1d1d1f;

    --text-primary: #111113;
    --text-secondary: #58585e;
    --text-muted: #86868b;

    /* Liquid White Glass Tokens */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-card-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.95);
    --glass-border-subtle: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.16);
    --glass-highlight: rgba(255, 255, 255, 1);

    /* Glows & Blurs */
    --white-glow: rgba(255, 255, 255, 0.85);
    --soft-glow: rgba(0, 0, 0, 0.04);

    --blur-sm: 14px;
    --blur-md: 32px;
    --blur-lg: 50px;
    --blur-xl: 90px;

    /* Border Radii */
    --radius-xs: 12px;
    --radius-sm: 20px;
    --radius-md: 28px;
    --radius-lg: 38px;
    --radius-xl: 48px;
    --radius-full: 9999px;

    /* Transitions & Easing */
    --smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Max Width Container */
    --container: 1280px;
}

html {
    font-size: 90%;
    scroll-behavior: smooth;
    background-color: var(--canvas-bg);
    color-scheme: light;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: transparent;
    color: var(--text-primary);
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Base Elements */
img, video {
    display: block;
    max-width: 100%;
}

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

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: min(var(--container), 90vw);
    margin-inline: auto;
}

section {
    position: relative;
    padding-block: 7rem;
}

/*----------------------------------------------------------
    2. BACKGROUND LIQUID & NOISE
----------------------------------------------------------*/
.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 40% at 8% 20%, rgba(224, 235, 255, 0.52), transparent 72%),
        radial-gradient(ellipse 50% 36% at 92% 42%, rgba(246, 231, 255, 0.38), transparent 74%),
        radial-gradient(ellipse 60% 42% at 50% 92%, rgba(226, 241, 250, 0.42), transparent 76%),
        linear-gradient(145deg, #ffffff 0%, #f8f9fb 48%, #f4f7fb 100%);
    pointer-events: none;
    transition: transform 0.8s var(--smooth);
}

/* A barely-there specular reflection gives the page a liquid-glass depth. */
.background::after {
    content: "";
    position: absolute;
    width: min(76vw, 1100px);
    height: 38vh;
    top: 32%;
    left: 50%;
    transform: translateX(-50%) rotate(-7deg);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.42) 50%, transparent 82%);
    box-shadow: 0 0 100px 30px rgba(210, 225, 245, 0.12);
    filter: blur(18px);
    opacity: 0.58;
}

.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.38;
    animation: blobFloat 18s infinite alternate var(--smooth);
}

.blob-1 {
    width: 800px;
    height: 800px;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(235, 245, 255, 0.9) 0%, rgba(240, 248, 255, 0.45) 45%, transparent 70%);
}

.blob-2 {
    width: 650px;
    height: 650px;
    bottom: 12%;
    left: -100px;
    background: radial-gradient(circle, rgba(240, 235, 255, 0.7) 0%, rgba(230, 240, 255, 0.3) 50%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    width: 600px;
    height: 600px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 248, 240, 0.8) 0%, rgba(255, 240, 230, 0.35) 50%, transparent 70%);
    animation-delay: -11s;
}

@keyframes blobFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.08); }
}

/* Film Grain Overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0.02;
    pointer-events: none;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/*----------------------------------------------------------
    3. GLASS CORE SYSTEM
----------------------------------------------------------*/
.glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03),
        inset 0 1px 2px rgba(255, 255, 255, 1);
    overflow: hidden;
    transition: border-color 0.4s var(--smooth), box-shadow 0.4s var(--smooth), transform 0.4s var(--smooth);
}

/* Specular Light Reflection Removed */

/* Liquid Glass Card */
.glass-card {
    position: relative;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--glass-card-bg);
    backdrop-filter: blur(var(--blur-md)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.02),
        inset 0 1px 2px rgba(255, 255, 255, 1);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.4s var(--smooth), transform 0.4s var(--smooth), box-shadow 0.4s var(--smooth);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 
        0 30px 60px -20px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.03),
        inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* Tags & Badges */
.glass-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), inset 0 1px 1px #fff;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/*----------------------------------------------------------
    4. GLASS BUTTONS & MAGNETIC
----------------------------------------------------------*/
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--radius-full);
    background: var(--obsidian);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s var(--bounce), background 0.4s var(--smooth), border-color 0.4s var(--smooth), box-shadow 0.4s var(--smooth);
    overflow: hidden;
    cursor: pointer;
}

.btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.glass-btn {
    background: linear-gradient(120deg, rgba(229, 239, 255, 0.82) 0%, rgba(248, 243, 255, 0.86) 48%, rgba(228, 246, 255, 0.82) 100%);
    color: var(--text-primary);
    border: 1px solid rgba(144, 171, 235, 0.9);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px #fff;
}

.glass-btn:hover {
    background: linear-gradient(115deg, #d7e7ff 0%, #eadcff 48%, #d8f1ff 100%);
    border-color: rgba(144, 171, 235, 0.9);
    color: var(--obsidian);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08), inset 0 1px 1px #fff;
}

/* Hero call-to-action: a restrained, living glass tint that draws the eye. */
.featured-cta {
    border-color: rgba(181, 202, 255, 0.82);
    background: linear-gradient(115deg, #e5efff 0%, #f2eaff 48%, #e3f6ff 100%);
    background-size: 180% 180%;
    box-shadow: 0 12px 30px rgba(132, 159, 214, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    animation: featuredCtaGlow 5s ease-in-out infinite;
}

.featured-cta:hover {
    background: linear-gradient(115deg, #d7e7ff 0%, #eadcff 48%, #d8f1ff 100%);
    border-color: rgba(144, 171, 235, 0.9);
    box-shadow: 0 16px 36px rgba(119, 145, 205, 0.28), inset 0 1px 1px #ffffff;
}

@keyframes featuredCtaGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .featured-cta, .contact-card, .video-service-cta { animation: none; }
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    box-shadow: none;
}

.btn-secondary:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Light Sweep Animation on Hover */
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s var(--smooth);
}

.btn:hover::after {
    left: 140%;
}

/*----------------------------------------------------------
    5. HEADER & NAVBAR
----------------------------------------------------------*/
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92vw);
    z-index: 1000;
    transition: all 0.5s var(--smooth);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03), inset 0 1px 1px #fff;
}

.header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08), inset 0 1px 1px #fff;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--obsidian);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s var(--smooth);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background: var(--obsidian);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--smooth);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/*----------------------------------------------------------
    6. HERO SECTION
----------------------------------------------------------*/
.hero {
    height: 100vh;
    min-height: 540px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

/* Giant Transparent Background Text */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 14vw, 16rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(0, 0, 0, 0.025);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

/* Liquid Sphere morphing */
.hero-sphere {
    position: absolute;
    width: clamp(300px, 40vw, 550px);
    height: clamp(300px, 40vw, 550px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.98), rgba(235, 242, 255, 0.65) 40%, rgba(220, 230, 250, 0.3) 70%);
    backdrop-filter: blur(35px);
    box-shadow: 
        inset -40px -40px 80px rgba(180, 195, 220, 0.35),
        inset 30px 20px 50px rgba(255, 255, 255, 0.95),
        0 30px 70px rgba(160, 180, 220, 0.25);
    z-index: 2;
    transition: transform 0.3s var(--smooth);
}

.liquid-move {
    animation: liquidMorph 14s infinite alternate var(--smooth);
}

@keyframes liquidMorph {
    0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    100% { border-radius: 60% 40% 30% 70% / 58% 58% 42% 42%; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 38px 48px;
    border-radius: var(--radius-xl);
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 1);
}

.hero-title {
    font-size: clamp(2.8rem, 6.2vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-block: 6px 14px;
    color: var(--text-primary);
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.hero-subtitle .sep {
    color: rgba(0, 0, 0, 0.2);
}

.hero-description {
    margin-top: 14px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 620px;
    margin-inline: auto;
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    z-index: 10;
    transition: color 0.3s;
}

.scroll-indicator:hover {
    color: var(--text-primary);
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border-radius: 12px;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--obsidian);
    animation: scrollAnim 1.8s infinite;
}

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

/*----------------------------------------------------------
    7. PRESENTATION & EDITORIAL ABOUT
----------------------------------------------------------*/
.about-statement {
    text-align: center;
    max-width: 900px;
    margin-top: 4rem;
    margin-inline: auto;
}

.about-statement-title {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-statement-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 45px;
}

/* Minimalist Stat Badges */
.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.metric-card {
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/*----------------------------------------------------------
    8. SERVICES SECTION (MINIMALIST APPLE PRODUCT STYLE)
----------------------------------------------------------*/
.services-header {
    margin-bottom: 50px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1050px;
    margin-inline: auto;
}

.service-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-number {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.service-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link-action {
    margin-top: auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--obsidian);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s var(--smooth);
}

/* Service offer pages */
.text-center { text-align: center; }

.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-card {
    min-height: 230px;
    padding: 30px;
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.about-card h3,
.service-detail-card h3,
.process-step h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.about-card p,
.service-detail-heading p,
.process-step p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.service-details {
    padding-top: 2rem;
}

.service-detail-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.service-detail-heading h2,
.service-process-intro h2 {
    margin: 14px 0;
    color: var(--text-primary);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.service-detail-grid,
.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-detail-card {
    min-height: 320px;
    padding: 36px;
}

.detail-number,
.process-step > span {
    display: block;
    margin-bottom: 35px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.service-list {
    display: grid;
    gap: 13px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-list li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a9c3ee;
    box-shadow: 0 0 12px rgba(153, 182, 229, 0.7);
}

.service-process {
    margin-top: 78px;
    padding-top: 52px;
    border-top: 1px solid rgba(17, 17, 19, 0.08);
}

/* Distinct final call-to-action for the video offer page. */
.video-service-cta {
    max-width: 1060px;
    margin-inline: auto;
    padding: clamp(48px, 7vw, 82px);
    overflow: hidden;
    text-align: center;
    background: linear-gradient(120deg, rgba(218, 232, 255, 0.88), rgba(241, 231, 255, 0.9), rgba(218, 244, 255, 0.88));
    background-size: 190% 190%;
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px -25px rgba(114, 141, 202, 0.35), inset 0 1px 2px #fff;
    animation: featuredCtaGlow 8s ease-in-out infinite;
}

.video-service-cta::before {
    content: "";
    position: absolute;
    width: 55%;
    height: 180%;
    top: -40%;
    left: -18%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.36);
    filter: blur(36px);
    transform: rotate(18deg);
    pointer-events: none;
}

.video-service-cta > * {
    position: relative;
    z-index: 1;
}

.video-service-cta .glass-tag {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(255, 255, 255, 0.95);
}

.video-service-cta .cta-title {
    max-width: 720px;
    margin: 20px auto 14px;
    color: var(--text-primary);
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.video-service-cta .cta-desc {
    max-width: 570px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.65;
}

.video-service-cta .cta-button {
    display: inline-flex;
    background: #111113;
    color: #fff;
    box-shadow: 0 12px 28px rgba(17, 17, 19, 0.18);
}

.video-service-cta .cta-button:hover {
    background: #000;
    color: #fff;
}

.service-process-intro {
    max-width: 640px;
    margin-bottom: 38px;
}

.process-steps {
    grid-template-columns: repeat(3, 1fr);
}

.process-step {
    padding-right: 28px;
}

.service-card-link:hover .service-link-action {
    transform: translateX(8px);
}

.see-more-wrapper {
    margin-top: 55px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.see-more-btn {
    padding: 15px 32px;
    font-size: 0.95rem;
    font-weight: 600;
}

/*----------------------------------------------------------
    9. FEATURED PROJECT SHOWCASE
----------------------------------------------------------*/
.featured-container {
    position: relative;
    max-width: 80%;
    margin-inline: auto;
}

.featured-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.12);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--smooth);
}

.featured-video:hover .featured-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.65));
    text-align: center;
    padding: 40px;
    z-index: 3;
    color: #ffffff;
}

.featured-overlay h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-block: 15px 8px;
    font-weight: 800;
    color: #ffffff;
}

.featured-overlay p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.play-button {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s var(--bounce);
}

.play-button svg {
    fill: var(--obsidian);
}

.play-button:hover {
    transform: scale(1.15);
}

/*----------------------------------------------------------
    10. VIDEO SECTION (16:9 & 9/16)
----------------------------------------------------------*/
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-top: 10px;
    color: var(--text-primary);
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.view-counter-badge {
    margin-top: 14px;
    padding: 8px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04), inset 0 1px 1px #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.counter-icon {
    font-size: 1.1rem;
}

.counter-number {
    font-family: inherit;
    font-weight: 800;
    color: var(--text-primary);
}

/* 16:9 Youtube Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    aspect-ratio: 16 / 9;
    padding: 0;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.06);
}

.youtube-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
    display: block;
}

/* 9:16 Shorts Slider */
.short-section {
    margin-top: 100px;
}

/* Keep the photo gallery as close to the Shorts as the Shorts are to YouTube. */
#work.video-section {
    margin-top: 100px;
    padding-bottom: 3.5rem;
}

#photo.photo-section {
    padding-top: 3.5rem;
}

.short-slider {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.short-card {
    aspect-ratio: 9 / 16;
    max-height: 480px;
    display: block;
    padding: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.06);
}

.short-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--smooth);
}

.short-embed-preview {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #000000;
    pointer-events: none;
}

.short-embed-preview.instagram-preview {
    width: 170%;
    height: 170%;
    max-width: none;
    transform: translate(-18.5%, -11.5%);
    transform-origin: center;
}

.short-card:hover .short-cover {
    transform: scale(1.06);
}

.short-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 4;
}

.short-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--obsidian);
    z-index: 4;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s var(--bounce);
}

.short-card:hover .short-play {
    transform: translate(-50%, -50%) scale(1.15);
}

.short-info {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    z-index: 4;
    color: #ffffff;
}

.short-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.short-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.short-player-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(248, 249, 251, 0.94);
    backdrop-filter: blur(25px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--smooth);
}

.short-player-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.short-player-shell {
    position: relative;
    width: min(92vw, 460px);
    max-height: 92vh;
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.16);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.35s var(--bounce);
}

.short-player-lightbox.active .short-player-shell {
    transform: translateY(0) scale(1);
}

.short-player-frame {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 74vh;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000000;
}

.short-player-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.short-player-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.92);
    color: var(--obsidian);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.short-player-info h3 {
    font-size: 1.1rem;
    color: var(--obsidian);
}

.short-player-info p {
    margin-top: 6px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/*----------------------------------------------------------
    11. PHOTOGRAPHY SECTION
----------------------------------------------------------*/
.photo-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
}

.photo-header .section-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-top: 10px;
    color: var(--text-primary);
}

.photo-filters {
    display: flex;
    gap: 10px;
}

.photo-filter {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(20px);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), inset 0 1px 1px #fff;
    transition: all 0.3s var(--smooth);
}

.photo-filter:hover, .photo-filter.active {
    background: var(--obsidian);
    border-color: var(--obsidian);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.photo-grid {
    columns: 3 340px;
    column-gap: 30px;
}

.photo-item {
    padding: 0;
    margin-bottom: 30px;
    break-inside: avoid;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.06);
    transition: all 0.5s var(--smooth);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s var(--smooth);
}

.photo-item:hover img {
    transform: scale(1.06);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.4s var(--smooth);
    z-index: 3;
    color: #ffffff;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-block: 8px 4px;
}

.photo-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/*----------------------------------------------------------
    12. LIGHTBOX MODAL
----------------------------------------------------------*/
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 246, 250, 0.92);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--smooth);
}

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

.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 85vh;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.lightbox-img {
    max-width: 80vw;
    max-height: 70vh;
    border-radius: var(--radius-md);
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--obsidian);
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s var(--bounce);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/*----------------------------------------------------------
    13. CONTACT SECTION
----------------------------------------------------------*/
.contact-wrapper {
    max-width: 760px;
    margin-inline: auto;
}

.contact-header {
    margin-bottom: 32px;
    text-align: center;
}

.contact-header h2 {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 10px;
    color: var(--text-primary);
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 8px;
}

.contact-card {
    padding: 48px;
    border-radius: var(--radius-xl);
    background: linear-gradient(120deg, rgba(229, 239, 255, 0.82) 0%, rgba(248, 243, 255, 0.86) 48%, rgba(228, 246, 255, 0.82) 100%);
    background-size: 180% 180%;
    border: 1px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 25px 60px -15px rgba(119, 145, 205, 0.16), inset 0 1px 2px #fff;
    animation: featuredCtaGlow 8s ease-in-out infinite;
}

/* Call-to-action panels on the portfolio pages. */
.portfolio-cta {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(46px, 7vw, 76px) clamp(28px, 6vw, 72px);
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-xl);
    background: linear-gradient(120deg, rgba(229, 239, 255, 0.82) 0%, rgba(248, 243, 255, 0.86) 48%, rgba(228, 246, 255, 0.82) 100%);
    background-size: 180% 180%;
    box-shadow: 0 25px 60px -15px rgba(119, 145, 205, 0.2), inset 0 1px 2px #fff;
    animation: featuredCtaGlow 8s ease-in-out infinite;
}

.portfolio-cta::before {
    content: "";
    position: absolute;
    inset: auto -16% -75% auto;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(28px);
    pointer-events: none;
}

.portfolio-cta > * {
    position: relative;
    z-index: 1;
}

.portfolio-cta .glass-tag {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(255, 255, 255, 0.95);
}

.portfolio-cta .cta-title {
    max-width: 650px;
    margin: 20px auto 14px;
    color: var(--text-primary);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.portfolio-cta .cta-desc {
    max-width: 560px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
    font-size: 1.06rem;
    line-height: 1.65;
}

.portfolio-cta .cta-button {
    display: inline-flex;
    background: #111113;
    color: #fff;
    box-shadow: 0 12px 28px rgba(17, 17, 19, 0.18);
}

.portfolio-cta .cta-button:hover {
    background: #000;
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(20px);
    font-size: 0.98rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    border-color: var(--obsidian);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.select-input option {
    background: #ffffff;
    color: var(--text-primary);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
    margin-top: 10px;
}

/*----------------------------------------------------------
    14. FOOTER
----------------------------------------------------------*/
.footer {
    position: relative;
    padding-block: 100px 40px;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.5);
}

.footer-big-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(3rem, 7vw, 10rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(0, 0, 0, 0.025);
    white-space: nowrap;
    pointer-events: none;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

/*----------------------------------------------------------
    15. LOADER & CURSOR
----------------------------------------------------------*/
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--canvas-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--smooth);
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.loader-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--obsidian), transparent);
    margin-top: 15px;
    animation: loaderLine 1.2s infinite;
}

@keyframes loaderLine {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--obsidian);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--smooth), height 0.3s var(--smooth), background 0.3s;
}

.cursor.hover {
    width: 48px;
    height: 48px;
    background: rgba(17, 17, 19, 0.04);
    border: 1px solid rgba(17, 17, 19, 0.08);
}

/*----------------------------------------------------------
    16. REVEAL ANIMATIONS
----------------------------------------------------------*/
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all 0.9s var(--smooth);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

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

/* Text Character Reveal */
.char-animated {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charFade 0.6s var(--smooth) forwards;
}

@keyframes charFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*----------------------------------------------------------
    17. CLIENT GALLERY (MASONRY & RICH LIGHTBOX)
----------------------------------------------------------*/
.gallery-grid {
    columns: 3 340px;
    column-gap: 30px;
    margin-top: 50px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 42px;
}

.gallery-filter {
    padding: 10px 18px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), inset 0 1px 1px #fff;
    transition: all 0.3s var(--smooth);
}

.gallery-filter:hover,
.gallery-filter.active {
    transform: translateY(-2px);
    border-color: var(--obsidian);
    background: var(--obsidian);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item[hidden] {
    display: none;
}

.gallery-cta {
    padding-top: 0;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    background: #ffffff;
    transition: transform 0.5s var(--smooth), box-shadow 0.5s var(--smooth);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s var(--smooth);
}

.gallery-embed-preview {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    background: #000000;
    pointer-events: none;
}

.gallery-embed-preview.instagram-preview {
    width: 180%;
    height: 180%;
    max-width: none;
    transform: translate(-22.2%, -11.5%);
    transform-origin: center;
}

.gallery-item.ratio-9-16 {
    aspect-ratio: 9 / 16;
    background: #000000;
}

.gallery-item.ratio-9-16 img {
    aspect-ratio: 9 / 16;
}

.gallery-item.ratio-16-9 img {
    aspect-ratio: 16 / 9;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Item Indicator (Top Right Pill) */
.item-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--obsidian);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Rich Lightbox (Modal) */
.rich-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 249, 251, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--smooth);
}

.rich-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.rich-content-wrapper {
    position: relative;
    width: 92vw;
    height: 88vh;
    max-width: 1400px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    display: flex;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.5s var(--bounce);
}

.rich-lightbox.active .rich-content-wrapper {
    transform: translateY(0) scale(1);
}

.rich-media-area {
    flex: 2;
    background: #000000; /* Black to frame videos/photos perfectly */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rich-media-area iframe,
.rich-media-area video,
.rich-media-area img {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

.rich-info-area {
    flex: 1;
    min-width: 350px;
    max-width: 450px;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.rich-info-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.rich-info-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--obsidian);
    line-height: 1.1;
    margin-bottom: 25px;
}

.rich-info-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.rich-info-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--obsidian);
}

.rich-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f0f2;
    color: var(--obsidian);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s var(--bounce), background 0.3s;
}

.rich-close-btn:hover {
    transform: scale(1.1);
    background: #e2e2e5;
}

/*----------------------------------------------------------
    18. RESPONSIVE OPTIMIZATION
----------------------------------------------------------*/
@media (max-width: 1000px) {
    .about-metrics { grid-template-columns: 1fr; gap: 15px; }
    .services-grid { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr 1fr; }
    .short-slider { grid-template-columns: repeat(3, 1fr); }
    .service-detail-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2 300px; }
    .rich-content-wrapper { flex-direction: column; }
    .rich-media-area { flex: 1.5; }
    .rich-info-area { flex: 1; max-width: 100%; padding: 30px; }
}

@media (max-width: 800px) {
    .nav-links { display: none; }
    .about-cards, .process-steps { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .short-slider { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 30px; text-align: center; }
    .featured-container { max-width: 100%; }
    .gallery-grid { columns: 1 100%; }
    .service-detail-card { min-height: auto; padding: 28px; }
    .process-step { padding-right: 0; }
}
