﻿/* --- RESET & VARIABLES --- */
        :root {
            --bg-body: #F4F2EF; /* Alabaster */
            --bg-surface: #EAE6E1;
            --text-main: #1C1C1B; /* Warm Charcoal */
            --text-muted: #5A5854;
            --accent: #BFA486; /* Muted Bronze */
            --accent-dark: #8C7358;
            --border: rgba(28, 28, 27, 0.1);
            --border-strong: rgba(28, 28, 27, 0.2);
            
            --font-display: 'Cormorant Garamond', serif;
            --font-body: 'Manrope', sans-serif;
            
            --gap-grid: 1px;
            --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
            --header-height: 80px;
        }

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

        html {
            scroll-behavior: smooth;
            font-size: 16px;
            scroll-padding-top: calc(var(--header-height) + 16px);
        }

        section[id] {
            scroll-margin-top: calc(var(--header-height) + 16px);
        }

        body {
            font-family: var(--font-body);
            color: var(--text-main);
            background-color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* Noise Texture */
        .noise-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            opacity: 0.04;
            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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3, h4 {
            font-family: var(--font-display);
            font-weight: 400;
            line-height: 1.1;
        }

        .text-display {
            font-size: clamp(3rem, 9vw, 7rem); /* Adjusted clamp for better mobile scaling */
            letter-spacing: -0.02em;
        }

        .text-headline {
            font-size: clamp(2rem, 5vw, 3.5rem);
        }

        .text-subhead {
            font-family: var(--font-body);
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            color: var(--accent-dark);
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: block;
        }

        .text-body-lg {
            font-size: clamp(1rem, 2vw, 1.4rem);
            font-weight: 300;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* --- LAYOUT UTILITIES --- */
        .page-wrapper {
            background: var(--bg-body);
            position: relative;
            z-index: 1;
            transition: transform 0.5s var(--ease-out);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .grid-section {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 2rem;
            padding: 8rem 0;
        }

        /* --- NAVIGATION --- */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
            padding: 1.5rem 2rem;
            mix-blend-mode: difference;
            color: white;
            background-color: transparent;
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
        }

        nav.nav-scrolled {
            mix-blend-mode: normal;
            color: var(--text-main);
            background-color: var(--bg-surface);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 10px 30px rgba(28, 28, 27, 0.08);
            padding: 1rem 2rem;
        }

        nav.nav-menu-open {
            mix-blend-mode: normal;
            color: var(--text-main);
            background-color: var(--bg-body);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 10px 30px rgba(28, 28, 27, 0.08);
        }
        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: var(--font-display);
            font-size: 1.5rem;
            text-decoration: none;
            color: inherit;
            font-weight: 600;
            letter-spacing: -0.01em;
            z-index: 102;
        }

        .logo span {
            font-family: var(--font-body);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-left: 0.5rem;
            opacity: 0.8;
        }

        .nav-links {
            display: flex;
            gap: 3rem;
            list-style: none;
        }

        .nav-links a {
            color: inherit;
            text-decoration: none;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            position: relative;
        }

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

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

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: inherit;
            font-family: var(--font-body);
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.1em;
            cursor: pointer;
            z-index: 102;
            padding: 10px;
        }

        /* Mobile Menu Overlay */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--bg-body);
            z-index: 101;
            transform: translateY(-100%);
            transition: transform 0.6s var(--ease-out);
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

        .mobile-menu.active {
            transform: translateY(0);
            pointer-events: all;
        }

        .mobile-nav-links {
            list-style: none;
            text-align: center;
        }

        .mobile-nav-links li {
            margin: 2rem 0;
            overflow: hidden;
        }

        .mobile-nav-links a {
            display: block;
            font-family: var(--font-display);
            font-size: 3rem;
            color: var(--text-main);
            text-decoration: none;
            transform: translateY(100%);
            transition: transform 0.5s var(--ease-out);
        }

        .mobile-menu.active .mobile-nav-links a {
            transform: translateY(0);
            transition-delay: 0.2s;
        }
        
        /* Stagger delays for menu items */
        .mobile-menu.active .mobile-nav-links li:nth-child(1) a { transition-delay: 0.1s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(2) a { transition-delay: 0.2s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(3) a { transition-delay: 0.3s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(4) a { transition-delay: 0.4s; }

        /* --- HERO SECTION --- */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: flex-end;
            position: relative;
            overflow: hidden;
            padding-bottom: 6rem;
            background: var(--bg-body);
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.08;
            background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='lines' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' stroke='%231C1C1B' stroke-width='1' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23lines)'/%3E%3C/svg%3E");
            mask-image: radial-gradient(circle at 70% 30%, black 0%, transparent 80%);
            -webkit-mask-image: radial-gradient(circle at 70% 30%, black 0%, transparent 80%);
        }

        .hero-graphic {
            position: absolute;
            right: -10%;
            top: -20%;
            width: 60vw;
            height: 60vw;
            border: 1px solid var(--border-strong);
            border-radius: 50%;
            animation: rotate 60s linear infinite;
        }
        
        .hero-graphic::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70%;
            height: 70%;
            border: 1px solid var(--border);
            border-radius: 50%;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

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

        .hero-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 2rem;
            align-items: end;
        }

        .hero-title-wrapper {
            grid-column: 1 / 10;
        }

        .hero-desc {
            grid-column: 1 / 6;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--text-main);
        }

        /* --- ABOUT SECTION --- */
        .about {
            background: var(--bg-surface);
            border-top: 1px solid var(--border);
        }

        .about-text {
            grid-column: 2 / 7;
        }

        .about-stats {
            grid-column: 8 / 12;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border-left: 1px solid var(--border-strong);
            padding-left: 3rem;
        }

        .stat-item {
            margin-bottom: 3rem;
            position: relative;
        }

        .stat-item::before {
            content: '';
            position: absolute;
            left: -3rem;
            top: 1rem;
            width: 1rem;
            height: 1px;
            background: var(--text-main);
        }

        .stat-number {
            font-family: var(--font-display);
            font-size: 3rem;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
        }

        /* --- VALUES SECTION --- */
        .values {
            background: var(--bg-body);
        }

        .values-header {
            grid-column: 2 / 12;
            margin-bottom: 4rem;
            border-bottom: 1px solid var(--border);
            padding-bottom: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .values-grid-wrapper {
            grid-column: 2 / 12;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-left: 1px solid var(--border);
            border-top: 1px solid var(--border);
        }

        .value-card {
            padding: 3rem;
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            transition: background 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .value-card:hover {
            background: white;
        }

        .value-index {
            font-family: var(--font-display);
            font-size: 4rem;
            color: var(--border-strong);
            position: absolute;
            top: 1rem;
            right: 2rem;
            opacity: 0.3;
        }

        .value-card h3 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
            margin-top: 4rem;
            position: relative;
        }

        .value-card h3::after {
            content: '';
            display: block;
            width: 40px;
            height: 1px;
            background: var(--accent);
            margin-top: 1rem;
            transition: width 0.3s ease;
        }

        .value-card:hover h3::after {
            width: 80px;
        }

        /* --- APPROACH SECTION --- */
        .approach {
            background: #111;
            color: #F4F2EF;
            position: relative;
        }

        .approach::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            height: 100%;
            width: 1px;
            background: rgba(255,255,255,0.1);
        }

        .approach .text-subhead {
            color: var(--accent);
        }

        .approach .text-body-lg {
            color: rgba(244, 242, 239, 0.7);
        }

        .approach-content {
            grid-column: 2 / 6;
            position: sticky;
            top: 20%;
        }

        .approach-visual {
            grid-column: 7 / 13;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255,255,255,0.1);
            position: relative;
        }

        .circle-graphic {
            width: 300px;
            height: 300px;
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            position: relative;
        }

        .circle-graphic::after {
            content: '';
            position: absolute;
            inset: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50%;
        }

        /* --- CONTACT SECTION --- */
        .contact {
            padding: 0;
        }

        .contact-grid-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 80vh;
        }

        .contact-info {
            background: var(--bg-surface);
            padding: 6rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact-form-wrapper {
            background: white;
            padding: 6rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact-detail {
            margin-top: 3rem;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .contact-detail span {
            font-size: 0.9rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .contact-detail a {
            font-family: var(--font-display);
            font-size: 1.5rem;
            color: var(--text-main);
            text-decoration: none;
            font-style: italic;
        }

        /* Form Styling */
        .form-group {
            margin-bottom: 2rem;
            position: relative;
        }

        .form-input {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--border-strong);
            padding: 1rem 0;
            font-family: var(--font-body);
            font-size: 1.1rem;
            color: var(--text-main);
            transition: border-color 0.3s ease;
            outline: none;
            border-radius: 0; /* iOS fix */
        }

        .form-input:focus {
            border-color: var(--text-main);
        }

        .form-label {
            position: absolute;
            top: 1rem;
            left: 0;
            font-size: 1rem;
            color: var(--text-muted);
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .form-input:focus ~ .form-label,
        .form-input:not(:placeholder-shown) ~ .form-label {
            top: -0.5rem;
            font-size: 0.75rem;
            color: var(--text-main);
        }

        .btn-submit {
            background: var(--text-main);
            color: white;
            border: none;
            padding: 1.25rem 3rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: background 0.3s ease;
            margin-top: 1rem;
            align-self: flex-start;
            -webkit-appearance: none; /* iOS fix */
        }

        .btn-submit:hover {
            background: var(--accent-dark);
        }

        /* --- FOOTER --- */
        footer {
            background: var(--text-main);
            color: rgba(255,255,255,0.4);
            padding: 4rem 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            font-size: 0.85rem;
        }

        /* --- ANIMATIONS --- */
        .reveal-wrapper {
            overflow: hidden;
            display: block;
        }

        .reveal-text {
            display: block;
            transform: translateY(100%);
            transition: transform 1s var(--ease-out);
        }

        .reveal-visible .reveal-text {
            transform: translateY(0);
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- RESPONSIVE STYLES --- */
        
        /* Tablet & Smaller Laptops */
        @media (max-width: 1024px) {
            .nav-links { display: none; }
            .menu-toggle { display: block; }
            
            .grid-section, .hero-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
                padding: 6rem 0;
            }

            .hero-title-wrapper, .about-text, .values-header, .values-grid-wrapper, .approach-content, .approach-visual {
                grid-column: 1 / -1;
            }

            /* About Section Tablet Adjustments */
            .about-stats {
                grid-column: 1 / -1;
                border-left: none;
                padding-left: 0;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 4rem;
                border-top: 1px solid var(--border-strong);
                padding-top: 3rem;
            }

            .stat-item {
                margin-bottom: 0;
                flex: 1 1 200px;
            }
            .stat-item::before { display: none; }

            /* Values Section Tablet Adjustments */
            .values-grid-wrapper {
                grid-template-columns: 1fr;
                border-left: 1px solid var(--border);
                border-right: 1px solid var(--border);
            }

            .value-card {
                border-right: none;
            }

            /* Approach Section Tablet Adjustments */
            .approach::before { display: none; }
            .approach-content { position: static; }
            .approach-visual {
                min-height: 40vh;
                margin-top: 2rem;
                border: none;
            }
            
            .contact-grid-split {
                grid-template-columns: 1fr;
            }
            
            .contact-info, .contact-form-wrapper {
                padding: 5rem 3rem;
            }
        }

        /* Mobile Phones */
        @media (max-width: 768px) {
            .container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            
            .hero-graphic {
                width: 140vw;
                height: 140vw;
                right: -50%;
                top: -30%;
                opacity: 0.6;
            }
            
            .text-headline {
                font-size: 2.25rem;
            }
            
            .hero h1 { margin-bottom: 1rem; }
            
            .hero-desc {
                grid-column: 1 / -1;
                margin-top: 2rem;
                border-top: none; /* Remove line on mobile for cleaner look */
            }
            
            /* Stack stats vertically on mobile */
            .about-stats {
                flex-direction: column;
                gap: 2.5rem;
            }
            
            .values-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1.5rem;
            }
            
            .values-header p { text-align: left; }
            
            .value-card { padding: 2.5rem 1.5rem; }
            .value-card h3 { margin-top: 2rem; }
            .value-index { font-size: 3rem; }
            
            .circle-graphic { width: 220px; height: 220px; }
            
            .contact-info, .contact-form-wrapper {
                padding: 4rem 1.5rem;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 2rem;
                text-align: center;
            }
        }
