@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --color-navy: #0a1628;
    --color-navy-light: #132038;
    --color-blue: #1a3a5c;
    --color-blue-mid: #2a5a8c;
    --color-blue-accent: #4a90d9;
    --color-blue-light: #7ab4e8;
    --color-cream: #f5f0e8;
    --color-cream-dark: #e8e0d0;
    --color-white: #faf8f4;
    --color-text: #1a1a1a;
    --color-text-light: #5a6272;
    --color-text-muted: #8a92a2;
    --color-border: rgba(10, 22, 40, 0.08);

    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --nav-height: 80px;
    --max-width: 1400px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.intro-active {
    overflow: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}


/* ============================================
   INTRO / LOADING SEQUENCE
   ============================================ */

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.intro-overlay.hidden {
    display: none;
}

.intro-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.intro-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-logo-assembly {
    position: relative;
    z-index: 2;
    opacity: 0;
    width: 280px;
    height: auto;
    pointer-events: none;
}

.intro-logo-assembly img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.intro-skip {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.intro-skip:hover {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}


/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(-20px);
}

.site-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-nav.scrolled {
    background: rgba(250, 248, 244, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5),
        0 4px 20px rgba(10, 22, 40, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    height: 64px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 36px;
    width: auto;
    transition: height 0.3s ease;
}

.site-nav.scrolled .nav-logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-text-light);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-blue-accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-white) !important;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.15);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(26, 58, 92, 0.9);
    color: var(--color-white) !important;
    box-shadow: 0 4px 16px rgba(10, 22, 40, 0.25);
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

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

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

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


/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
    background: var(--color-white);
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
}

.hero-video-fog {
    position: absolute;
    inset: 0;
    background: rgba(250, 248, 244, 0.82);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse at 60% 40%, rgba(74, 144, 217, 0.06) 0%, rgba(26, 58, 92, 0.03) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-30px, 20px) scale(1.05); opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.02em;
    color: var(--color-blue-accent);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(74, 144, 217, 0.2);
    display: inline-block;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-blue-mid);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
}

.hero-tagline {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: var(--color-text-light);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    text-align: justify;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    background: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
    box-shadow:
        0 4px 16px rgba(10, 22, 40, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.03) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-cta:hover {
    background: rgba(10, 22, 40, 0.45);
    transform: scale(1.06) !important;
    box-shadow:
        0 12px 36px rgba(10, 22, 40, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: none;
}

.hero-decoration {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 80%;
    opacity: 0.06;
    pointer-events: none;
    will-change: transform;
}

.hero-decoration svg {
    width: 100%;
    height: 100%;
}

.hero-bg-logo {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(300px, 40vw, 550px);
    pointer-events: none;
    user-select: none;
    opacity: 0.045;
    will-change: transform;
}

.hero-bg-logo img {
    width: 100%;
    height: auto;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 2s;
}

.hero-scroll-indicator span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-cream-dark);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-blue-accent);
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}


/* ============================================
   SECTION COMMON STYLES
   ============================================ */

.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-number {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 1.6;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.6s; }
.reveal-delay-6 { transition-delay: 0.72s; }



/* ============================================
   MARQUEE
   ============================================ */

.marquee-section {
    padding: var(--space-lg) 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-cream);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0;
    white-space: nowrap;
}

.marquee-item span {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-style: italic;
    color: var(--color-blue-mid);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-blue-accent);
    opacity: 0.4;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}


/* ============================================
   ABOUT
   ============================================ */

.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 8px 32px rgba(10, 22, 40, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 8px;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    border-radius: 1px;
    z-index: 1;
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 18px;
    filter: grayscale(10%) contrast(1.02);
    transform: scale(1.05);
    transition: transform 0.1s linear;
    will-change: transform;
}

.about-image-accent {
    display: none;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.about-highlight {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-blue-mid);
    line-height: 1.6;
    padding: 1.5rem 2rem;
    border-left: 2px solid var(--color-blue-accent);
    margin: var(--space-md) 0;
    background: rgba(74, 144, 217, 0.04);
    border-radius: 0 16px 16px 0;
    border-top: 1px solid rgba(74, 144, 217, 0.06);
    border-right: 1px solid rgba(74, 144, 217, 0.06);
    border-bottom: 1px solid rgba(74, 144, 217, 0.06);
}


/* ============================================
   SERVICES
   ============================================ */

.services {
    background:
        radial-gradient(ellipse at 10% 40%, rgba(74, 144, 217, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(42, 90, 140, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(122, 180, 232, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(74, 144, 217, 0.06) 0%, transparent 40%),
        var(--color-navy);
    color: var(--color-cream);
}

.services .section-number {
    color: var(--color-blue-light);
    opacity: 0.6;
}

.services .section-title {
    color: var(--color-cream);
}

.services .section-subtitle {
    color: rgba(245, 240, 232, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 2vw, 1.75rem);
    background: transparent;
    margin-top: var(--space-lg);
    border: none;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px) saturate(160%) brightness(115%);
    -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(115%);
    padding: clamp(2rem, 3vw, 3rem);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: default;
    will-change: transform;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.01) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    border-radius: 1px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(-8px) scale(1.03);
}

.service-card:hover::before {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.05) 100%
    );
}

.service-card:hover::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.service-number {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-blue-accent);
    margin-bottom: 1.25rem;
    padding: 0.25rem 0.75rem;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(74, 144, 217, 0.15);
}

.service-name {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    color: var(--color-cream);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.75;
    text-align: justify;
}


/* ============================================
   WHO I WORK WITH
   ============================================ */

.clients {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(74, 144, 217, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(42, 90, 140, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 40%, rgba(122, 180, 232, 0.05) 0%, transparent 40%),
        var(--color-cream);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 2vw, 2rem);
    margin-top: var(--space-lg);
}

.client-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    padding: clamp(2rem, 3vw, 2.5rem);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(10, 22, 40, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.client-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 1px;
    transition: all 0.6s ease;
}

.client-card:hover {
    border-color: rgba(74, 144, 217, 0.25);
    transform: translateY(-10px) scale(1.04);
    box-shadow:
        0 28px 72px rgba(10, 22, 40, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.45);
}

.client-card:hover::before {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

.client-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    color: var(--color-blue-accent);
    background: rgba(74, 144, 217, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(74, 144, 217, 0.12);
    transition: all 0.4s ease;
}

.client-card:hover .client-icon {
    background: rgba(74, 144, 217, 0.12);
    border-color: rgba(74, 144, 217, 0.2);
    transform: scale(1.05);
}

.client-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.2;
}

.client-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.client-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    text-align: justify;
}


/* ============================================
   WHY / APPROACH
   ============================================ */

.approach {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74, 144, 217, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(122, 180, 232, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(42, 90, 140, 0.05) 0%, transparent 50%),
        var(--color-white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 3vw, 3rem);
    margin-top: var(--space-lg);
}

.approach-item {
    position: relative;
    padding: clamp(2rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 8px 32px rgba(10, 22, 40, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.approach-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.08) 100%
    );
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.approach-item:hover {
    transform: translateY(-10px) scale(1.04);
    border-color: rgba(74, 144, 217, 0.2);
    background: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 28px 72px rgba(10, 22, 40, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.approach-item:hover::after {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.08) 40%,
        transparent 60%,
        rgba(255, 255, 255, 0.15) 100%
    );
}

.approach-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    border-radius: 1px;
    z-index: 1;
}

.approach-item-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.approach-item-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: justify;
}


/* ============================================
   CONTACT
   ============================================ */

.contact {
    background: var(--color-navy);
    color: var(--color-cream);
}

.contact .section-number {
    color: var(--color-blue-light);
    opacity: 0.6;
}

.contact .section-title {
    color: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    margin-top: var(--space-lg);
}

.contact-info p {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    text-align: justify;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-cream);
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.contact-link:hover {
    border-color: var(--color-blue-accent);
    padding-left: 0.5rem;
}

.contact-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 240, 232, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-blue-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.form-turnstile {
    margin-top: 0.25rem;
    min-height: 65px;
}

.form-turnstile-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(245, 240, 232, 0.7);
}

.form-turnstile-retry {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(245, 240, 232, 0.28);
    background: transparent;
    color: rgba(245, 240, 232, 0.85);
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.form-turnstile-retry:hover {
    border-color: rgba(245, 240, 232, 0.5);
    color: #f5f0e8;
    background: rgba(245, 240, 232, 0.06);
}

.form-turnstile-retry[hidden] {
    display: none !important;
}

.form-status {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-status--success {
    color: rgba(180, 220, 200, 0.95);
}

.form-status--error {
    color: rgba(255, 180, 170, 0.95);
}

.form-status[hidden] {
    display: none !important;
}

.form-submit:disabled,
.form-submit[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-submit:disabled:hover,
.form-submit[aria-disabled="true"]:hover {
    background: rgba(245, 240, 232, 0.55);
    transform: none;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy);
    background: rgba(245, 240, 232, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.5rem;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transform-origin: center center;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.form-submit:hover {
    background: rgba(245, 240, 232, 0.45);
    transform: scale(1.06);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
}

.form-submit svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: none;
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--color-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-lg) 0 var(--space-md);
    color: rgba(245, 240, 232, 0.4);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 28px;
    width: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.5);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-cream);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

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

.footer-copy {
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-copy a {
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.3s ease;
}

.footer-copy a:hover {
    color: var(--color-cream);
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
}

.footer-credit a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 240, 232, 0.4);
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: rgba(245, 240, 232, 0.7);
}

.footer-credit img {
    height: 18px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover img {
    opacity: 0.8;
}


/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--color-navy);
    color: var(--color-cream);
    padding: 1.25rem 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.65);
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

.cookie-text a {
    color: var(--color-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cookie-btn {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.625rem 1.25rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cookie-accept {
    background: var(--color-cream);
    color: var(--color-navy);
}

.cookie-accept:hover {
    background: var(--color-white);
}

.cookie-reject {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(245, 240, 232, 0.6);
}

.cookie-reject:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-cream);
}


/* ============================================
   RESPONSIVE
   ============================================ */

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

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

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.125rem;
    }

    .nav-mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding-top: calc(var(--nav-height) + var(--space-lg));
        min-height: 85vh;
    }

    .hero-decoration {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image-wrap {
        order: -1;
        max-width: 400px;
    }

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

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

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .intro-logo-assembly {
        width: 200px;
    }

    .section {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}


/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .marquee-track {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}


/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.policy-page {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
    min-height: 100vh;
}

.policy-page .section-title {
    margin-bottom: var(--space-sm);
}

.policy-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.policy-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin: var(--space-lg) 0 var(--space-sm);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.policy-content ul li {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.9;
    padding-left: 1.25rem;
    position: relative;
}

.policy-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-blue-accent);
}

.policy-content a {
    color: var(--color-blue-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-blue-accent);
    margin-bottom: var(--space-lg);
    transition: color 0.3s ease;
}

.policy-back:hover {
    color: var(--color-navy);
}

.policy-back svg {
    width: 16px;
    height: 16px;
}


/* ============================================
   GRAIN / NOISE TEXTURE OVERLAY
   ============================================ */

.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    mix-blend-mode: overlay;
}


/* ============================================
   CUSTOM CURSOR
   ============================================ */

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--color-navy);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                opacity 0.3s ease,
                box-shadow 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.cursor-hover {
    width: 40px;
    height: 40px;
    background: var(--color-blue-accent);
    opacity: 0.18;
    box-shadow: none;
}

.custom-cursor.cursor-on-dark {
    background: var(--color-cream);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active input,
body.custom-cursor-active textarea {
    cursor: none !important;
}

.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--color-navy);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                opacity 0.4s ease;
    opacity: 0;
}

.custom-cursor-ring.visible {
    opacity: 0.35;
}

.custom-cursor-ring.cursor-hover {
    width: 56px;
    height: 56px;
    opacity: 0.15;
}

.custom-cursor-ring.cursor-on-dark {
    border-color: var(--color-cream);
}


/* ============================================
   MOUSE-FOLLOWING GLOW ON CARDS
   ============================================ */

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 24px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        350px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(74, 144, 217, 0.12),
        transparent 60%
    );
}

.service-card:hover .card-glow,
.client-card:hover .card-glow,
.approach-item:hover .card-glow {
    opacity: 1;
}

.service-card .card-glow {
    background: radial-gradient(
        350px circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(122, 180, 232, 0.15),
        transparent 60%
    );
}


/* ============================================
   ANIMATED GRADIENT MESH (HERO)
   ============================================ */

.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-gradient-mesh .mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    will-change: transform;
}

.mesh-blob-1 {
    width: 45%;
    height: 60%;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.6) 0%, transparent 70%);
    animation: meshFloat1 12s ease-in-out infinite alternate;
}

.mesh-blob-2 {
    width: 35%;
    height: 50%;
    bottom: -5%;
    left: 5%;
    background: radial-gradient(circle, rgba(42, 90, 140, 0.5) 0%, transparent 70%);
    animation: meshFloat2 15s ease-in-out infinite alternate;
}

.mesh-blob-3 {
    width: 30%;
    height: 40%;
    top: 30%;
    left: 35%;
    background: radial-gradient(circle, rgba(122, 180, 232, 0.4) 0%, transparent 70%);
    animation: meshFloat3 10s ease-in-out infinite alternate;
}

@keyframes meshFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
    100% { transform: translate(-15px, 25px) scale(1.05); }
}

@keyframes meshFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
    100% { transform: translate(-20px, 15px) scale(0.9); }
}

@keyframes meshFloat3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.12; }
    50% { transform: translate(-25px, -20px) scale(1.2); opacity: 0.08; }
    100% { transform: translate(30px, 10px) scale(0.95); opacity: 0.14; }
}
