﻿/* =====================================================================
   SUTRA STUDIO — Design System
   ===================================================================== */

:root {
    --ink: #0A0A0A;
    --ink-soft: #1A1A1A;
    --paper: #F5F2ED;
    --paper-warm: #EDE8DF;
    --gold: #B8935A;
    --gold-light: #D4B88A;
    --stone: #8A8680;
    --stone-soft: #B5B0A8;
    --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
    --s-1: 0.5rem;
    --s-2: 1rem;
    --s-3: 1.5rem;
    --s-4: 2.5rem;
    --s-5: 4rem;
    --s-6: 6rem;
    --s-7: 10rem;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
}

    html.lenis, html.lenis body {
        height: auto;
    }

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--gold);
    color: var(--paper);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.display {
    font-family: var(--serif);
    font-weight: 300;
    font-variation-settings: "opsz" 144;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.display-italic {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-variation-settings: "opsz" 144;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--stone);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

    .eyebrow::before {
        content: '';
        width: 32px;
        height: 1px;
        background: var(--gold);
        display: inline-block;
    }

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--s-4);
}

/* Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
    mix-blend-mode: difference;
}

    .cursor.is-hover {
        width: 48px;
        height: 48px;
        background: var(--gold);
    }

@media (hover: none) {
    .cursor {
        display: none;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
}

.preloader-logo {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--paper);
    letter-spacing: 0.3em;
    font-weight: 300;
    overflow: hidden;
    position: relative;
}

    .preloader-logo span {
        display: inline-block;
        transform: translateY(110%);
    }

.preloader-sub {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0;
}

.preloader-progress {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: rgba(245, 242, 237, 0.15);
}

.preloader-bar {
    height: 100%;
    width: 0;
    background: var(--gold);
    transform-origin: left;
}

.preloader-count {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--paper);
    letter-spacing: 0.2em;
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.75rem var(--s-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.5s var(--ease-out), background 0.5s var(--ease-out), backdrop-filter 0.5s var(--ease-out);
    mix-blend-mode: difference;
    color: var(--paper);
}

    .nav.is-scrolled {
        padding: 1rem var(--s-4);
        background: rgba(245, 242, 237, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        mix-blend-mode: normal;
        color: var(--ink);
        border-bottom: 1px solid rgba(184, 147, 90, 0.15);
    }

.nav-brand {
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    font-weight: 300;
}

    .nav-brand span {
        color: var(--gold);
    }

/* Logo image in nav */
.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    /* visually enlarge without affecting layout using transform */
    transform: scale(1.2);
    transform-origin: left center;
    transition: filter 300ms var(--ease-out), transform 220ms var(--ease-out);
    will-change: transform, filter;
    filter: brightness(0.95);
}

/* When nav is scrolled, adjust logo for light background */
.nav.is-scrolled .nav-logo {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .nav-logo {
        transform: scale(1);
        height: 36px;
    }

    .nav.is-scrolled .nav-logo {
        filter: brightness(1);
    }
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

    .nav-menu a {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        font-weight: 400;
        position: relative;
        padding: 0.25rem 0;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 1px;
            background: var(--gold);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.5s var(--ease-out);
        }

        .nav-menu a:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

.nav-cta {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.65rem 1.4rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    transition: all 0.4s var(--ease-out);
}

    .nav-cta:hover {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--ink);
    }

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--ink);
    color: rgba(245, 242, 237, 0.6);
    padding: var(--s-6) 0 var(--s-4);
    border-top: 1px solid rgba(184, 147, 90, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-5);
    padding-bottom: var(--s-6);
}

.footer-brand {
    font-family: var(--serif);
    font-size: 2.5rem;
    color: var(--paper);
    letter-spacing: 0.25em;
    font-weight: 300;
    margin-bottom: var(--s-2);
}

    .footer-brand span {
        color: var(--gold);
    }

.footer-tagline {
    font-style: italic;
    color: var(--stone-soft);
    max-width: 320px;
    margin-top: 0.5rem;
}

.footer-col h5 {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.9rem;
    transition: color 0.3s var(--ease-out);
}

    .footer-col a:hover {
        color: var(--gold-light);
    }

.footer-bottom {
    border-top: 1px solid rgba(184, 147, 90, 0.15);
    padding-top: var(--s-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-2);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@media (max-width: 968px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Base Page Padding for Default Index */
.default-page {
    padding: 15rem 0;
    text-align: center;
}

    .default-page h1 {
        font-family: var(--serif);
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .default-page p {
        color: var(--stone);
    }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* =====================================================================
   SUTRA STUDIO — Section Styles (Append to sutra.css)
   ===================================================================== */

.section {
    padding: var(--s-7) 0;
    position: relative;
}

.rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
    margin: var(--s-5) 0;
    border: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 var(--s-4) 4rem;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .hero-media::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.35) 60%, rgba(10,10,10,0.85) 100%);
    }

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--paper);
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
}

.hero-title {
    font-size: clamp(3.5rem, 14vw, 13rem);
}

    .hero-title .line {
        display: block;
        overflow: hidden;
    }

    .hero-title .word {
        display: inline-block;
        transform: translateY(110%);
    }

    .hero-title .italic {
        color: var(--gold-light);
    }

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--s-4);
}

.hero-intro {
    max-width: 440px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(245, 242, 237, 0.8);
    opacity: 0;
}

.hero-scroll {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: var(--gold-light);
    position: relative;
    overflow: hidden;
}

    .hero-scroll-line::after {
        content: '';
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--paper);
        animation: scrollDown 2.2s var(--ease-in-out) infinite;
    }

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.hero-index {
    position: absolute;
    top: 50%;
    right: var(--s-4);
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: rgba(245, 242, 237, 0.4);
    text-transform: uppercase;
    z-index: 2;
}

/* Marquee */
.marquee {
    padding: 2rem 0;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
    border-top: 1px solid rgba(184, 147, 90, 0.2);
    border-bottom: 1px solid rgba(184, 147, 90, 0.2);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 45s linear infinite;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
}

    .marquee-track span {
        display: flex;
        align-items: center;
        gap: 4rem;
    }

    .marquee-track .dot {
        width: 8px;
        height: 8px;
        background: var(--gold);
        border-radius: 50%;
    }

    .marquee-track .italic {
        font-style: italic;
        color: var(--gold-light);
    }

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--s-7);
    align-items: start;
}

.philosophy-left {
    position: sticky;
    top: 120px;
}

.philosophy-statement {
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    line-height: 1.15;
    font-weight: 300;
    margin-top: var(--s-3);
}

    .philosophy-statement em {
        font-style: italic;
        color: var(--gold);
    }

.philosophy-right p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
}

.philosophy-signature {
    margin-top: var(--s-5);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

    .philosophy-signature img {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        object-fit: cover;
    }

.philosophy-signature-name {
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
}

.philosophy-signature-title {
    font-size: 0.75rem;
    color: var(--stone);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* Services */
.services {
    background: var(--paper-warm);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--s-6);
    flex-wrap: wrap;
    gap: var(--s-4);
}

.services-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    max-width: 700px;
}

    .services-title em {
        font-style: italic;
        color: var(--gold);
    }

.services-intro {
    max-width: 360px;
    font-size: 0.95rem;
    color: var(--stone);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4); /* Added gap between cards */
    padding-top: var(--s-5); /* Space from header */
}

.service-card {
    padding: var(--s-5); /* Symmetric padding on all sides */
    background: transparent;
    border: 1px solid rgba(10, 10, 10, 0.08); /* Subtle border */
    border-radius: 2px;
    position: relative;
    transition: all 0.5s var(--ease-out);
    cursor: pointer;
}

    .service-card:hover {
        background: var(--paper);
        transform: translateY(-8px); /* Lift effect */
        box-shadow: 0 20px 40px -10px rgba(10, 10, 10, 0.08); /* Soft shadow */
        border-color: var(--gold); /* Gold border on hover */
    }

.service-number {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: var(--s-4);
    display: block;
}

.service-title {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: var(--s-2);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: var(--s-3);
}

/* Remove the old last-child rules since we now use gap */

/* Work */
.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--s-6);
    gap: var(--s-4);
    flex-wrap: wrap;
}

.work-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
}

    .work-title em {
        font-style: italic;
        color: var(--gold);
    }

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-3);
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .project-card:nth-child(1) {
        grid-column: span 7;
        grid-row: span 2;
    }

    .project-card:nth-child(2) {
        grid-column: span 5;
    }

    .project-card:nth-child(3) {
        grid-column: span 5;
    }

    .project-card:nth-child(4) {
        grid-column: span 6;
    }

    .project-card:nth-child(5) {
        grid-column: span 6;
    }

.project-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.project-card:nth-child(1) .project-media {
    aspect-ratio: 4 / 5;
}

.project-card:nth-child(4) .project-media, .project-card:nth-child(5) .project-media {
    aspect-ratio: 16 / 10;
}

.project-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.75));
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.5s var(--ease-out);
}

.project-card:hover .project-media::before {
    opacity: 0.9;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.project-card:hover .project-image {
    transform: scale(1.06);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--s-4);
    z-index: 3;
    color: var(--paper);
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out);
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-meta {
    display: flex;
    gap: var(--s-3);
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}

.project-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
}

    .project-title em {
        font-style: italic;
    }

.project-number {
    position: absolute;
    top: var(--s-3);
    right: var(--s-3);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--paper);
    z-index: 3;
    opacity: 0.7;
}

/* Stats */
.stats {
    background: var(--ink);
    color: var(--paper);
    padding: var(--s-7) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
}

.stat {
    border-top: 1px solid rgba(184, 147, 90, 0.3);
    padding-top: var(--s-3);
}

.stat-number {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--gold-light);
    display: flex;
    align-items: flex-start;
}

    .stat-number .suffix {
        font-size: 0.4em;
        margin-left: 0.25rem;
        color: var(--stone-soft);
    }

.stat-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--stone-soft);
    margin-top: var(--s-2);
}

/* Testimonials */
.testimonials {
    background: var(--paper);
    padding: var(--s-7) 0;
}

.testimonials-header {
    margin-bottom: var(--s-6);
    max-width: 760px;
}

.testimonials-header h2 {
    margin-top: var(--s-2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
}

.testimonial {
    background: rgba(184, 147, 90, 0.08);
    border: 1px solid rgba(184, 147, 90, 0.2);
    border-radius: 8px;
    padding: var(--s-4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s var(--ease-out);
}

    .testimonial:hover {
        background: rgba(184, 147, 90, 0.12);
        border-color: rgba(184, 147, 90, 0.4);
        transform: translateY(-4px);
    }

.testimonial-quote {
    margin-bottom: var(--s-3);
}

.quote-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    margin-bottom: var(--s-2);
    opacity: 0.8;
}

.testimonial-quote p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink);
    font-style: italic;
}

.testimonial-author {
    padding-top: var(--s-3);
    border-top: 1px solid rgba(184, 147, 90, 0.15);
}

.author-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.author-title {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial {
        padding: var(--s-3);
    }
}

/* Process */
.process {
    background: var(--paper);
    position: relative;
}

.process-header {
    margin-bottom: var(--s-6);
    max-width: 760px;
}

.process-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-top: var(--s-2);
}

    .process-title em {
        font-style: italic;
        color: var(--gold);
    }

.process-subtitle {
    margin-top: var(--s-3);
    font-size: 1.1rem;
    color: var(--stone);
    max-width: 560px;
    line-height: 1.7;
}

/* Process Timeline - Fixed alignment */
.process-timeline {
    position: relative;
    padding-left: 3.5rem;
}

    /* The vertical line - now passes through circle centers */
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 1.25rem; /* Adjusted from 0.75rem to align with circle centers */
        width: 1px;
        background: linear-gradient(180deg, var(--gold), rgba(184, 147, 90, 0.1));
    }

.process-step {
    position: relative;
    padding-bottom: var(--s-6);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--s-4);
    align-items: start;
}

    /* The circles - adjusted to align with the line */
    .process-step::before {
        content: '';
        position: absolute;
        left: -2.75rem; /* Adjusted from -3.25rem so circle center aligns with line */
        top: 0.5rem;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--paper);
        border: 1px solid var(--gold);
        transition: background 0.4s var(--ease-out);
    }

    .process-step.is-visible::before {
        background: var(--gold);
        box-shadow: 0 0 0 8px rgba(184, 147, 90, 0.15);
    }

.process-step-number {
    font-family: var(--serif);
    font-size: 4rem;
    color: var(--gold);
    font-weight: 300;
    line-height: 1;
}

.process-step-content h4 {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.process-step-content p {
    color: var(--stone);
    line-height: 1.8;
    max-width: 520px;
}

/* Journal */
.journal {
    background: var(--paper-warm);
}

.journal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--s-6);
    gap: var(--s-4);
}

.journal-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

    .journal-title em {
        font-style: italic;
        color: var(--gold);
    }

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
}

.journal-card {
    cursor: pointer;
    transition: transform 0.5s var(--ease-out);
}

    .journal-card:hover {
        transform: translateY(-8px);
    }

.journal-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: var(--s-2);
}

    .journal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s var(--ease-out);
    }

.journal-card:hover .journal-image img {
    transform: scale(1.05);
}

.journal-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 0.75rem;
}

.journal-card-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.journal-card-excerpt {
    color: var(--stone);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact */
.contact {
    background: var(--ink);
    color: var(--paper);
    padding: var(--s-7) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    align-items: start;
}

.contact-title {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: 0.95;
    margin-top: var(--s-3);
}

    .contact-title em {
        font-style: italic;
        color: var(--gold);
    }

.contact-intro {
    margin-top: var(--s-4);
    max-width: 420px;
    color: rgba(245, 242, 237, 0.7);
    line-height: 1.8;
}

.contact-studios {
    margin-top: var(--s-5);
    display: grid;
    gap: var(--s-3);
}

.studio {
    display: flex;
    gap: var(--s-3);
    padding-top: var(--s-2);
    border-top: 1px solid rgba(184, 147, 90, 0.2);
}

.studio-city {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 90px;
}

.studio-address {
    font-size: 0.95rem;
    color: rgba(245, 242, 237, 0.75);
    line-height: 1.6;
}

.form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(245, 242, 237, 0.25);
    padding: 0.75rem 0;
    color: var(--paper);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 300;
    transition: border-color 0.4s var(--ease-out);
}

    .form-input:focus, .form-textarea:focus {
        outline: none;
        border-bottom-color: var(--gold);
    }

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: all 0.4s var(--ease-out);
    margin-top: 1rem;
}

    .form-submit:hover {
        background: var(--paper);
        transform: translateY(-2px);
        box-shadow: 0 20px 40px -10px rgba(184, 147, 90, 0.4);
    }

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .philosophy-grid, .services-grid, .work-grid, .journal-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-left {
        position: relative;
        top: 0;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid rgba(10, 10, 10, 0.1);
        padding: var(--s-4) 0;
    }

    .project-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }

    .project-media {
        aspect-ratio: 4 / 5 !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .process-timeline {
        padding-left: 2rem;
    }

        .process-timeline::before {
            left: 0.25rem;
        }

    .process-step {
        grid-template-columns: 1fr;
        gap: var(--s-2);
    }

        .process-step::before {
            left: -1.75rem;
        }
}

/* Hero Location Badge */
.hero-location-badge {
    position: absolute;
    bottom: 4rem;
    left: var(--s-4);
    z-index: 2;
}

    .hero-location-badge a {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1.25rem;
        background: rgba(245, 242, 237, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(184, 147, 90, 0.3);
        border-radius: 999px;
        color: var(--paper);
        font-family: var(--mono);
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        transition: all 0.4s var(--ease-out);
    }

        .hero-location-badge a:hover {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--ink);
            transform: translateY(-2px);
        }

    .hero-location-badge svg {
        width: 16px;
        height: 16px;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-location-badge {
        bottom: 2rem;
        left: var(--s-2);
        right: var(--s-2);
    }

        .hero-location-badge a {
            width: 100%;
            justify-content: center;
        }
}
/* Studio Map Container */
.studio-map-container {
    margin-top: var(--s-4);
    padding-top: var(--s-4);
    border-top: 1px solid rgba(184, 147, 90, 0.2);
}

    .studio-map-container iframe {
        width: 100%;
        height: 480px;
        border-radius: 2px;
        margin-bottom: 1rem;
        transition: opacity 0.3s var(--ease-out);
    }

        .studio-map-container iframe:hover {
            opacity: 0.9;
        }

.map-link {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.5rem 0;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

    .map-link:hover {
        color: var(--gold-light);
    }

    .map-link span {
        display: inline-block;
        transition: transform 0.3s var(--ease-out);
    }

    .map-link:hover span {
        transform: translateX(4px);
    }
/* Responsive */
@media (max-width: 968px) {
    .studio-map-container {
        margin-top: var(--s-3);
    }

        .studio-map-container iframe {
            height: 400px !important;
        }
}

@media (max-width: 568px) {
    .studio-map-container iframe {
        height: 300px !important;
    }
}

/* =====================================================================
   SUTRA STUDIO — Mobile Optimizations (Add to end of sutra.css)
   ===================================================================== */

/* Tablet: 968px and below */
@media (max-width: 968px) {
    .container {
        padding: 0 var(--s-3);
    }

    .section {
        padding: var(--s-6) 0;
    }

    /* Hero adjustments */
    .hero {
        padding: 0 var(--s-3) 3rem;
    }

    .hero-index {
        display: none; /* Hide rotated text on tablet */
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 8rem);
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-3);
    }

    .hero-intro {
        max-width: 100%;
    }

    /* Philosophy */
    .philosophy-grid {
        gap: var(--s-5);
    }

    .philosophy-statement {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    /* Services */
    .services-grid {
        gap: var(--s-3);
    }

    .service-card {
        padding: var(--s-4);
    }

    /* Work grid - already handled */
    .work-grid {
        gap: var(--s-2);
    }

    /* Stats - 2 columns on tablet */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-3);
    }

    .stat-number {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    /* Process */
    .process-step {
        grid-template-columns: 120px 1fr;
        gap: var(--s-3);
    }

    .process-step-number {
        font-size: 3rem;
    }

    /* Journal */
    .journal-grid {
        gap: var(--s-3);
    }

    /* Contact */
    .contact-grid {
        gap: var(--s-5);
    }

    .contact-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    /* Footer */
    .footer-top {
        gap: var(--s-4);
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    :root {
        --s-7: 6rem;
        --s-6: 4rem;
        --s-5: 3rem;
        --s-4: 1.5rem;
    }

    body {
        font-size: 15px;
    }

    .container {
        padding: 0 var(--s-3);
    }

    .section {
        padding: var(--s-6) 0;
    }

    /* Navigation - Mobile Menu */
    .nav {
        padding: 1.25rem var(--s-3);
    }

        .nav.is-scrolled {
            padding: 0.875rem var(--s-3);
        }

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-cta {
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        padding: 0 var(--s-3) 2.5rem;
        align-items: flex-start;
        padding-top: 30vh;
    }

    .hero-title {
        font-size: clamp(2.5rem, 14vw, 5rem);
    }

    .hero-intro {
        font-size: 0.95rem;
    }

    .hero-scroll {
        position: absolute;
        bottom: 2rem;
        left: var(--s-3);
    }

    .hero-scroll-line {
        height: 40px;
    }

    /* Marquee */
    .marquee {
        padding: 1.5rem 0;
    }

    .marquee-track {
        font-size: clamp(1.25rem, 5vw, 2rem);
    }

    /* Philosophy */
    .philosophy-grid {
        gap: var(--s-4);
    }

    .philosophy-statement {
        font-size: clamp(1.4rem, 6vw, 2rem);
        line-height: 1.2;
    }

    .philosophy-right p {
        font-size: 0.95rem;
    }

    .philosophy-signature {
        gap: 1rem;
    }

        .philosophy-signature img {
            width: 56px;
            height: 56px;
        }

    /* Services */
    .services-header {
        margin-bottom: var(--s-5);
    }

    .services-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .services-grid {
        gap: var(--s-2);
        padding-top: var(--s-4);
    }

    .service-card {
        padding: var(--s-3);
        border-radius: 4px;
    }

        .service-card:hover {
            transform: translateY(-4px);
        }

    .service-title {
        font-size: 1.5rem;
    }

    /* Work */
    .work-header {
        margin-bottom: var(--s-5);
    }

    .work-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .work-grid {
        gap: var(--s-2);
    }

    .project-card {
        margin-bottom: var(--s-2);
    }

    .project-media {
        aspect-ratio: 16 / 10 !important;
    }

    .project-info {
        padding: var(--s-3);
    }

    .project-title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .project-meta {
        font-size: 0.6rem;
        gap: var(--s-2);
    }

    .project-number {
        top: var(--s-2);
        right: var(--s-2);
    }

    /* Stats */
    .stats {
        padding: var(--s-6) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--s-3);
    }

    .stat {
        padding-top: var(--s-2);
    }

    .stat-number {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* Process */
    .process-header {
        margin-bottom: var(--s-5);
    }

    .process-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .process-timeline {
        padding-left: 2.5rem;
    }

        .process-timeline::before {
            left: 0.5rem;
        }

    .process-step {
        grid-template-columns: 1fr;
        gap: var(--s-2);
        padding-bottom: var(--s-5);
    }

        .process-step::before {
            left: -2rem;
            width: 14px;
            height: 14px;
        }

        .process-step.is-visible::before {
            box-shadow: 0 0 0 6px rgba(184, 147, 90, 0.15);
        }

    .process-step-number {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .process-step-content h4 {
        font-size: 1.5rem;
    }

    .process-step-content p {
        font-size: 0.9rem;
    }

    /* Journal */
    .journal-header {
        margin-bottom: var(--s-5);
    }

    .journal-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .journal-grid {
        gap: var(--s-3);
    }

    .journal-card {
        margin-bottom: var(--s-3);
    }

    .journal-image {
        margin-bottom: var(--s-2);
    }

    .journal-card-title {
        font-size: 1.25rem;
    }

    .journal-card-excerpt {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact {
        padding: var(--s-6) 0;
    }

    .contact-grid {
        gap: var(--s-5);
    }

    .contact-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .contact-intro {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .studio {
        flex-direction: column;
        gap: var(--s-2);
    }

    .studio-city {
        min-width: auto;
    }

    .studio-address {
        font-size: 0.9rem;
    }

    .form-row {
        gap: var(--s-2);
    }

    .form-submit {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }

    /* Footer */
    .footer {
        padding: var(--s-5) 0 var(--s-3);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--s-4);
        padding-bottom: var(--s-4);
    }

    .footer-brand {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--s-2);
    }

    /* Map */
    .studio-map-container {
        margin-top: var(--s-3);
        padding-top: var(--s-3);
    }

        .studio-map-container iframe {
            height: 350px !important;
        }

    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .service-card:hover {
            transform: none;
            box-shadow: none;
        }

        .journal-card:hover {
            transform: none;
        }

        .project-card:hover .project-image {
            transform: none;
        }

        .project-card:hover .project-info {
            transform: translateY(0);
        }

        .project-card:hover .project-media::before {
            opacity: 0.6;
        }
    }
}

/* Small Mobile: 480px and below */
@media (max-width: 480px) {
    :root {
        --s-3: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 25vh;
    }

    .hero-title {
        font-size: clamp(2rem, 15vw, 3.5rem);
    }

    .eyebrow {
        font-size: 0.65rem;
    }

        .eyebrow::before {
            width: 24px;
        }

    .nav-cta {
        font-size: 0.6rem;
        padding: 0.4rem 0.875rem;
    }

    .services-title,
    .work-title,
    .journal-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .contact-title {
        font-size: clamp(1.75rem, 11vw, 2.5rem);
    }

    .process-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .service-card {
        padding: var(--s-3);
    }

    .service-title {
        font-size: 1.35rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-2);
    }

    .stat-number {
        font-size: clamp(1.75rem, 12vw, 2.5rem);
    }

    .form-submit {
        font-size: 0.7rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vh, 4rem);
    }

    .hero-scroll {
        display: none;
    }
}

/* Ensure smooth scrolling on mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
}