:root {
    /* Color Palette */
    --color-primary: #0a0a0a; /* Obsidian/Charcoal */
    --color-accent: #FF6600; /* Clay */
    --color-bg: #F8F5F2; /* Cream */
    --color-white: #ffffff;
    --color-text: #2a2a2a;
    --color-text-light: #666666;
    
    /* Typography */
    --font-heading-main: 'Space Grotesk', sans-serif;
    --font-heading-sub: 'Outfit', sans-serif;
    --font-drama: 'Cormorant Garamond', serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions & Radii */
    --radius-sm: 1rem;
    --radius-md: 2rem;
    --radius-lg: 3rem;
    --radius-pill: 100px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-family: var(--font-heading-sub); /* Default Body Font */
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.loading {
    overflow: hidden;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    mix-blend-mode: multiply;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.drama-text {
    font-family: var(--font-drama);
    font-style: italic;
    font-weight: 400;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Container Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.rounded-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 1;
    visibility: visible;
    padding: 0 1rem;
}

.navbar.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.nav-island {
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    width: 100%;
    max-width: 800px;
    justify-content: space-between;
}

.navbar.scrolled .nav-island {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-island .logo {
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-heading-main);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-island .logo {
    color: var(--color-primary);
}

.nav-links {
    display: none; /* Hide by default on mobile */
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .navbar {
        top: 2rem;
        padding: 0;
    }
    .nav-island {
        padding: 1rem 2rem;
        gap: 3rem;
        width: auto;
    }
    .navbar.scrolled .nav-island {
        padding: 0.75rem 1.5rem;
    }
    .nav-island .logo {
        font-size: 1.25rem;
    }
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-light);
}

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

.navbar.scrolled .nav-links a:hover {
    color: var(--color-primary);
}

.contact-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.navbar.scrolled .contact-btn {
    background: var(--color-primary);
    color: var(--color-white);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-btn i {
    font-size: 0.8rem;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: rotate(0deg);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100dvh;
    min-height: 800px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    --highlight-scale: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* For GSAP zoom-out effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--color-primary) 0%, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, 0.4) 100%);
}

.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-accent);
    opacity: 0.8;
    z-index: 10;
    text-decoration: none;
    animation: drawArrow 2s infinite ease-in-out;
}

.scroll-arrow svg {
    width: 30px;
    height: 70px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes drawArrow {
    0% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 12px); }
    100% { transform: translate(-50%, 0); }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-bottom: 8dvh;
    display: flex;
    justify-content: flex-start;
}

.hero-text-wrapper {
    max-width: 800px;
    color: var(--color-white);
}

.tagline-flex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.line-divider {
    height: 1px;
    width: 60px;
    background-color: var(--color-white);
    opacity: 0.5;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero .drama-text {
    position: relative;
    display: inline-block;
    color: var(--color-white) !important;
    z-index: 1;
}

.hero .drama-text::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -2%;
    width: 104%;
    height: 35%;
    background-color: var(--color-accent);
    z-index: -1;
    transform-origin: left;
    transform: scaleX(var(--highlight-scale));
}

.hero-subtitle {
    font-family: var(--font-heading-sub);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 3rem;
    max-width: 500px;
    opacity: 0.8;
}

/* Buttons */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-family: var(--font-heading-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.primary-btn:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-white);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-family: var(--font-heading-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-white);
}

.ghost-btn:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Base states for GSAP */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}
.reveal-line {
    transform: scaleX(0);
    transform-origin: left;
}
.hidden-img {
    opacity: 0;
}

/* Base Section Styling */
.section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.accent-text {
    color: var(--color-accent);
    font-weight: 600;
}

/* Philosophy Section */
.philosophy {
    position: relative;
    z-index: 20;
    margin-top: -5dvh; /* Overlap hero slightly */
}

.philosophy-card {
    background-color: var(--color-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.philosophy-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    margin: 1rem 0 2.5rem 0;
}

.philosophy-body {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.stats-row {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading-main);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.philosophy-image-wrapper {
    width: 100%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); /* Premium shadow */
}

.philosophy-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-height: 700px;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-content {
        padding: 4rem 2rem;
    }
    
    .philosophy-image-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .philosophy-content {
        padding: 3rem 1.5rem;
    }
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .stats-row {
        gap: 2rem;
        flex-wrap: wrap;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Philosophy Grid Background & Floating Elements */
.subtle-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.15;
    z-index: 0;
    animation: floatAnim 6s ease-in-out infinite;
}

.floating-icon.icon-1 { top: 15%; left: 10%; animation-delay: 0s; }
.floating-icon.icon-2 { top: 30%; right: 15%; font-size: 3rem; animation-delay: 1.5s; opacity: 0.1; }
.floating-icon.icon-3 { bottom: 20%; left: 20%; font-size: 2.5rem; animation-delay: 3s; }
.floating-icon.icon-4 { bottom: 30%; right: 10%; animation-delay: 4.5s; }

@keyframes floatAnim {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Services Section */
/* Services Section Redesign (Bento Box) */
.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: end;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 1rem;
    line-height: 1;
}

.services-intro {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 500px;
    padding-bottom: 0.5rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-icon i {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.bento-card:hover .service-icon i {
    transform: scale(1.15) rotate(5deg);
}

.bento-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.bento-large h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.bento-large p {
    font-size: 1.2rem;
    max-width: 80%;
}

.service-list {
    list-style: none;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-list li {
    font-family: var(--font-heading-main);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.dark-card {
    background: var(--color-primary);
    color: var(--color-white);
}

.bento-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bento-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 992px) {
    .services-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large {
        grid-column: span 1;
    }
    .bento-large p {
        max-width: 100%;
    }
    .bento-card {
        padding: 2rem;
    }
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Typing Effect */
.typing-container {
    display: inline-block;
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--color-accent);
    animation: typing 2.5s steps(40, end), blink-caret .75s step-end infinite;
    display: inline-block;
    max-width: fit-content;
}

.typing-text-delay {
    animation: typing 2.5s steps(40, end) 2.5s both, blink-caret-stop .75s step-end 2.5s both;
}


@keyframes typing {
  from { max-width: 0 }
  to { max-width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--color-accent); }
}

@keyframes blink-caret-stop {
  from, to { border-color: transparent }
  50% { border-color: var(--color-accent); }
  100% { border-color: transparent; }
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.highlight-review {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.highlight-review:hover {
    background: #e65c00;
}

.stars {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.highlight-review .stars {
    color: var(--color-white);
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

.reviewer {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-family: var(--font-heading-main);
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-role {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Gold Badge */
.gold-badge {
    position: absolute;
    top: -20px;
    right: -40px;
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    color: var(--color-primary);
    font-size: 0.95rem;
    font-family: var(--font-heading-main);
    padding: 0.2rem 0.6rem;
    border-radius: 50%;
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--color-white);
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 5;
}

/* Brands Marquee Container */
.marquee-wrapper {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    display: flex;
    align-items: center;
}

/* Animated Footsteps */
.footsteps-container {
    position: absolute;
    top: -40px;
    right: 15%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0.3;
    z-index: 1;
    transform: rotate(15deg);
}

.footsteps-container .step {
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0;
    transform: rotate(90deg); /* Pointing down usually */
}

/* Alternate left/right footprint horizontally slightly */
.footsteps-container .step:nth-child(even) {
    transform: rotate(90deg) scaleY(-1) translateX(15px);
}
.footsteps-container .step:nth-child(odd) {
     transform: rotate(90deg) translateX(-15px);
}

.step-1 { animation: stepFade 4s infinite 0s; }
.step-2 { animation: stepFade 4s infinite 0.5s; }
.step-3 { animation: stepFade 4s infinite 1s; }
.step-4 { animation: stepFade 4s infinite 1.5s; }

@keyframes stepFade {
    0% { opacity: 0; transform: translateY(-20px) rotate(90deg) scaleY(var(--flip, 1)) translateX(var(--shift, 0)); }
    20% { opacity: 0.8; transform: translateY(0px) rotate(90deg) scaleY(var(--flip, 1)) translateX(var(--shift, 0)); }
    50% { opacity: 0; transform: translateY(10px) rotate(90deg) scaleY(var(--flip, 1)) translateX(var(--shift, 0)); }
    100% { opacity: 0; }
}

.footsteps-container .step:nth-child(even) {
    --flip: -1;
    --shift: -15px; /* Adjusting relative to rotated state */
}
.footsteps-container .step:nth-child(odd) {
    --flip: 1;
    --shift: 15px;
}

.brand-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.brand-nav-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.brand-nav-btn.prev {
    left: 0;
}

.brand-nav-btn.next {
    right: 0;
}

.brands-marquee {
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Hide scrollbar for webkit */
.brands-marquee::-webkit-scrollbar {
    display: none;
}
.brands-marquee {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
}

.brand-item {
    font-family: var(--font-heading-main);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    transition: var(--transition-smooth);
    white-space: nowrap;
    cursor: default;
}

.brand-item:hover {
    opacity: 1;
    color: var(--color-accent);
}

