:root {
    /* Colors */
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --secondary-text: #666666;
    --accent-color: #000000;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

/* Typography Utilities */
.serif-highlight {
    font-style: italic;
    font-family: var(--font-serif);
}

/* Header */
.minimal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7);
    will-change: transform;
    /* Optimize for smooth animation */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
    /* Reset margin from style.css */
    border-width: 1px;
    /* Ensure border width is 1px */
    border-style: solid;
    font-weight: normal;
    /* Reset font-weight if needed */
    line-height: normal;
    /* Reset line-height */
}

.btn-primary {
    background: white;
    color: black;
    border: 1px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
}

.btn-link {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-link:hover {
    border-color: white;
}

/* Services Grid Section */
.services-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: #ffffff;
}

.centered-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
}

.kicker {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-sm);
}

.centered-header h2 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.header-description {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-top: var(--spacing-sm);
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-md);
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: var(--spacing-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    /* Center items */
}

.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: transparent;
}

.services-grid::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.service-card {
    flex: 0 0 280px;
    /* Fixed width for cards */
    scroll-snap-align: start;
    padding: var(--spacing-md);
    border-left: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-left-color: var(--accent-color);
    background-color: #fafafa;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.service-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.service-benefit {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.5;
}

/* Video Section (Bento Grid) */
.video-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: #fafafa;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Bento Sizes */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

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

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

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--light-gray);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    pointer-events: none;
}

.video-info h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    /* Portrait format */
    object-fit: cover;
    border-radius: 16px;
    /* Rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* Simple Video Grid (3 Columns) */
.simple-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background: #000;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-meta {
    padding: 1.5rem;
    text-align: center;
}

.video-meta h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

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

/* Process Section */
.process-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--light-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.process-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--border-color);
    margin-bottom: var(--spacing-sm);
    font-weight: bold;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.testimonials-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: white;
    text-align: center;
}

.testimonials-list {
    display: flex;
    flex-wrap: nowrap;
    /* Force single row */
    justify-content: center;
    /* Center content */
    gap: var(--spacing-sm);
    /* Reduce gap to fit items better */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    /* Minimal padding */
}

.testimonial-card {
    flex: 1 1 auto;
    /* Allow growing and shrinking */
    min-width: 0;
    /* Allow shrinking below content size */
    max-width: 280px;
    /* Prevent them from getting too wide */
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Center content horizontally */
    text-align: center;
    /* Center text */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient increased to cover about 50-60% of the card for more text */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 70%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-md);
    color: white;
    width: 100%;
}

.quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.author {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* Contact Form */
.contact-section {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: white;
    /* Changed to white */
    color: black;
    /* Changed to black */
    text-align: center;
}

.minimal-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.minimal-form input,
.minimal-form textarea {
    padding: 1rem;
    background: var(--light-gray);
    /* Light gray background for inputs */
    border: 1px solid var(--border-color);
    /* Visible border */
    color: black;
    border-radius: 8px;
    font-family: var(--font-sans);
    min-height: 3.5rem;
    /* Ensure consistent height, esp for date inputs */
    appearance: none;
    /* Remove default styling for date inputs on iOS */
    -webkit-appearance: none;
}

.minimal-form input:focus,
.minimal-form textarea:focus {
    outline: none;
    border-color: black;
    background: white;
    color: black;
    /* Ensure text is black on focus */
}

.minimal-form button {
    padding: 1rem;
    background: black;
    /* Black button */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.minimal-form button:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .simple-video-grid {
        grid-template-columns: 1fr;
    }

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

    .services-grid {
        display: flex;
        flex-direction: column;
        overflow-x: visible;
        gap: var(--spacing-md);
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .bento-large,
    .bento-tall,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .video-grid {
        grid-auto-rows: 250px;
    }

    .service-card {
        flex: 1 1 auto;
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding: var(--spacing-md) 0;
        text-align: center;
    }

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

    .show-share {
        display: none;
    }

    .testimonials-list {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
    }

    .testimonial-card {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 3/4;
        flex: 0 0 auto;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-image img {
        aspect-ratio: 3/4 !important;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .quote {
        font-size: 0.9rem;
        /* Smaller text for mobile */
    }

    .author {
        font-size: 0.8rem;
        /* Smaller author text */
    }

    /* Global Text Centering for Mobile */
    .section-header,
    .about-content,
    .service-card,
    .process-step,
    .video-info,
    .card-content,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        text-align: center !important;
    }

    /* Ensure left alignment overrides are reset if any */
    .header-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Footer Overrides to match Original */
footer .policy-box,
footer .policy-box span,
footer .policy-box a {
    font-family: 'FuturaPT-Book', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

footer .policy-box ul {
    margin-left: 10px;
    position: relative;
}

footer .policy-box ul:before {
    content: '';
    position: absolute;
    top: 16px;
    left: -2px;
    background: #eee;
    width: 2px;
    height: 20px;
    display: block;
}

/* Video Carousel Styles */
.video-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    overflow: hidden;
}

.carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-right: var(--spacing-md);
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.video-carousel {
    overflow: visible;
    /* Allow cards to be seen during scroll */
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Allow track to be as wide as needed */
    padding-bottom: 2rem;
    /* Space for shadow/hover effects */
}

.carousel-card {
    width: 600px;
    /* Large card width */
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
}

.carousel-card .video-embed-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.carousel-card .video-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.carousel-card .card-content {
    padding: 1.5rem;
}

.carousel-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.carousel-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .carousel-card {
        width: 85vw;
        /* Almost full width on mobile */
    }

    .carousel-nav {
        display: none;
        /* Hide nav on mobile, use swipe */
    }

    .video-carousel-container {
        padding: 0;
        overflow: visible;
        /* Allow vertical flow */
    }

    .carousel-track {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        /* Stack vertically */
        width: 100%;
        gap: var(--spacing-md);
        transform: none !important;
        /* Disable GSAP transform if possible via CSS, though JS might override. Better to handle in JS or use !important */
    }

    .carousel-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}