/* ═══════════════════════════════════════════════════════════
   WedInn — Luxury Wedding Fashion
   Design System: Raw Cotton + Earthy Sophistication
   Typography: Playfair Display (Display) + Inter (Body)
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
    /* Colors */
    --color-cotton: #F4EDE4;
    --color-cotton-dark: #EBE2D7;
    --color-cotton-light: #FAF7F3;
    --color-brand: #8F6251;
    --color-brand-light: #A47968;
    --color-brand-dark: #7A5244;
    --color-gold: #C8A97E;
    --color-gold-light: #D4BA95;
    --color-ink: #2B2523;
    --color-muted: #6B5B53;
    --color-muted-light: #8A7B73;
    --color-border: rgba(143, 98, 81, 0.15);
    --color-border-strong: rgba(143, 98, 81, 0.3);
    --color-overlay: rgba(43, 37, 35, 0.55);
    --color-white: #FFFFFF;

    /* Typography */
    --font-display: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;
    --space-section: 160px;

    /* Sizing */
    --container-max: 1440px;
    --container-padding: 80px;

    /* Motion */
    --ease-luxury: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.3s;
    --duration-base: 0.5s;
    --duration-slow: 0.8s;
    --duration-reveal: 1.2s;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-subtle: 0 2px 20px rgba(43, 37, 35, 0.06);
    --shadow-card: 0 4px 40px rgba(43, 37, 35, 0.08);
    --shadow-elevated: 0 12px 60px rgba(43, 37, 35, 0.12);
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background-color: var(--color-cotton);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

a:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 3px;
    border-radius: 2px;
}

ul {
    list-style: none;
}

/* Selection */
::selection {
    background: var(--color-brand);
    color: var(--color-white);
}

/* ─── UTILITY ────────────────────────────────────────────── */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-4xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-brand);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.section-label-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--color-brand);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 1px;
    background: var(--color-border-strong);
    margin: 0 auto;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border: 1px solid var(--color-brand);
    transform: translate(-50%, -50%) rotate(45deg);
}


/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 0;
    transition: all var(--duration-base) var(--ease-luxury);
}

.navbar.scrolled {
    background: rgba(244, 237, 228, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 1px 30px rgba(43, 37, 35, 0.06);
}

.navbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    z-index: 10;
}

@keyframes logoEnlarge {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.navbar-logo-img {
    height: 100px;
    width: auto;
    display: block;
    animation: logoEnlarge 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: left center;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    display: block;
    margin-bottom: var(--space-md);
    transition: transform 0.6s var(--ease-luxury);
}

.footer-logo-img:hover {
    transform: scale(1.08);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.navbar-links a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    text-transform: uppercase;
    transition: color var(--duration-fast) var(--ease-luxury);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-brand);
    transition: width var(--duration-base) var(--ease-out);
}

.navbar-links a:hover {
    color: var(--color-brand);
}

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

.navbar-cta {
    background: var(--color-brand) !important;
    color: var(--color-white) !important;
    padding: 12px 28px !important;
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em !important;
    transition: all var(--duration-base) var(--ease-luxury) !important;
}

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

.navbar-cta:hover {
    background: var(--color-brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(143, 98, 81, 0.3);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 4px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-ink);
    transition: all var(--duration-fast) var(--ease-luxury);
}

.navbar-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.navbar-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-cotton);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-luxury);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.mobile-menu-links a {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-ink);
    transition: color var(--duration-fast);
}

.mobile-menu-links a:hover {
    color: var(--color-brand);
}

.mobile-cta {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    background: var(--color-brand);
    color: var(--color-white) !important;
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-top: var(--space-lg);
}


/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-cotton);
    padding: 120px 0 80px;
}

.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    width: 100%;
}

/* Decorative Elements */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-deco-1 {
    top: 15%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    opacity: 0.4;
}

.hero-deco-2 {
    bottom: 20%;
    right: 8%;
    width: 120px;
    height: 120px;
    border: 1px solid var(--color-gold);
    opacity: 0.2;
    transform: rotate(45deg);
}

.hero-deco-3 {
    top: 30%;
    right: 45%;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--color-border-strong), transparent);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--space-xl);
    opacity: 0;
}

.hero-label-line {
    display: inline-block;
    width: 50px;
    height: 1px;
    background: var(--color-gold);
}

.hero-label-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-brand);
}

.hero-label-pill {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(143, 98, 81, 0.25);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    animation: status-pulse-red 2.5s infinite;
}

.status-indicator.open {
    background-color: #10b981;
    animation: status-pulse-green 2.5s infinite;
}

@keyframes status-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes status-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
}

.hero-word {
    display: inline-block;
    overflow: hidden;
    margin-right: 0.2em;
    opacity: 0;
    transform: translateY(100%);
}

.hero-word-italic {
    font-style: italic;
    color: var(--color-brand);
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-muted);
    max-width: 480px;
    margin-bottom: var(--space-2xl);
    opacity: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-luxury);
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--color-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(143, 98, 81, 0.35);
}

.btn-primary svg {
    transition: transform var(--duration-fast) var(--ease-out);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
}

.btn-secondary:hover {
    background: var(--color-brand);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(143, 98, 81, 0.25);
}

/* Hero Imagery — Side-by-side, no absolute positioning */
.hero-imagery {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    z-index: 1;
}

.hero-img-frame {
    overflow: hidden;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.hero-img-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s var(--ease-luxury);
}

.hero-img-frame:hover .hero-img-inner img {
    transform: scale(1.05);
}

.hero-img-main {
    width: 55%;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-elevated);
    opacity: 0;
    transform: translateY(40px);
}

.hero-img-border {
    position: absolute;
    inset: -8px;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-md);
    opacity: 0.5;
    pointer-events: none;
}

.hero-img-secondary {
    width: 40%;
    aspect-ratio: 3/4;
    margin-top: 40px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(60px);
}

.hero-img-accent {
    display: none; /* Hidden since we only have 2 images */
}

/* Floating Decoratives */
.hero-float {
    position: absolute;
    pointer-events: none;
}

.hero-float-1 {
    top: -20px;
    right: 20%;
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-gold);
    opacity: 0.35;
    transform: rotate(45deg);
    animation: float-rotate 12s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 60px;
    left: 30%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-brand);
    opacity: 0.25;
    animation: float-gentle 8s ease-in-out infinite;
}

.hero-float-3 {
    top: 45%;
    right: -10px;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    opacity: 0.4;
    animation: float-gentle 10s ease-in-out infinite reverse;
}

@keyframes float-rotate {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-15px); }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
}

.hero-scroll-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: var(--color-border-strong);
    position: relative;
    overflow: hidden;
}

.hero-scroll-dot {
    width: 3px;
    height: 12px;
    background: var(--color-brand);
    border-radius: 2px;
    position: absolute;
    left: -1px;
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */
.services {
    background: var(--color-cotton-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-cotton);
    transition: transform var(--duration-slow) var(--ease-out),
                box-shadow var(--duration-slow) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
}

.service-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-luxury);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(43, 37, 35, 0.6) 0%, transparent 50%);
    opacity: 0.6;
    transition: opacity var(--duration-base) var(--ease-luxury);
}

.service-card:hover .service-card-overlay {
    opacity: 0.8;
}

.service-card-content {
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.service-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand);
    transition: gap var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card-link {
    gap: 12px;
}

/* Service card border animation */
.service-card-border {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    pointer-events: none;
    transition: border-color var(--duration-slow) var(--ease-luxury);
}

.service-card:hover .service-card-border {
    border-color: var(--color-gold);
}


/* ═══════════════════════════════════════════════════════════
   COLLECTIONS SECTION
   ═══════════════════════════════════════════════════════════ */
.collections {
    background: var(--color-cotton);
}

.collections-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .collections-gallery {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 520px;
    }
    
    /* Alternating wide/narrow masonry layout */
    /* Row 1 */
    .collection-card:nth-child(1) { grid-column: span 7; }
    .collection-card:nth-child(2) { grid-column: span 5; }
    /* Row 2 */
    .collection-card:nth-child(3) { grid-column: span 5; }
    .collection-card:nth-child(4) { grid-column: span 7; }
    /* Row 3 */
    .collection-card:nth-child(5) { grid-column: span 7; }
    .collection-card:nth-child(6) { grid-column: span 5; }
}

.collection-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    min-height: 420px;
}

@media (min-width: 992px) {
    .collection-card {
        min-height: auto;
    }
}

.collection-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 1.2s var(--ease-luxury);
}

.collection-card:hover .collection-card-image img {
    transform: scale(1.06);
}

.collection-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(43, 37, 35, 0.85) 0%,
        rgba(43, 37, 35, 0.4) 40%,
        rgba(43, 37, 35, 0.1) 70%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: var(--space-2xl);
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-luxury);
}

.collection-card:hover .collection-card-overlay {
    opacity: 1;
}

.collection-card-info {
    transform: translateY(20px);
    transition: transform var(--duration-slow) var(--ease-out);
}

.collection-card:hover .collection-card-info {
    transform: translateY(0);
}

.collection-card-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    display: block;
    margin-bottom: var(--space-sm);
}

.collection-card-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.collection-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 360px;
}

.collection-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    transition: gap var(--duration-fast) var(--ease-out);
}

.collection-card:hover .collection-card-link {
    gap: 12px;
}




/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about {
    background: var(--color-cotton-light);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: center;
}

/* About Image */
.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s var(--ease-luxury);
}

.about-image:hover .about-image-frame img {
    transform: scale(1.04);
}

.about-image-border {
    position: absolute;
    inset: -12px;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    opacity: 0.4;
    pointer-events: none;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 1px solid var(--color-brand);
    opacity: 0.2;
    transform: rotate(45deg);
}

/* About Content */
.about-content .section-label {
    margin-bottom: var(--space-xl);
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--color-ink);
    margin-bottom: var(--space-xl);
}

.about-text {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--color-muted);
    margin-bottom: var(--space-3xl);
    max-width: 520px;
}

/* Stats */
.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-gold);
    vertical-align: super;
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-top: var(--space-sm);
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border-strong);
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--color-ink);
    color: var(--color-cotton);
    padding: var(--space-3xl) 0;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: var(--space-3xl);
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-cotton);
    margin-bottom: var(--space-xl);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-list a {
    color: rgba(244, 237, 228, 0.65);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-luxury);
    font-size: 15px;
}

.footer-list a:hover {
    color: var(--color-gold);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-muted);
    font-size: 15px;
}

.footer-contact-list svg {
    color: var(--color-brand);
    flex-shrink: 0;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(244, 237, 228, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--duration-fast) var(--ease-luxury);
}

.footer-contact-link:hover {
    color: var(--color-gold);
}

.footer-contact-link svg {
    color: var(--color-brand);
    flex-shrink: 0;
    transition: color var(--duration-fast) var(--ease-luxury);
}

.footer-contact-link:hover svg {
    color: var(--color-gold);
}

.footer-brand .logo-text {
    color: var(--color-cotton);
    font-size: 32px;
}

.footer-brand .logo-accent {
    color: var(--color-gold);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(244, 237, 228, 0.55);
    margin-top: var(--space-sm);
    text-transform: uppercase;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(244, 237, 228, 0.1);
    margin-bottom: var(--space-xl);
}

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

.footer-copyright {
    font-size: 13px;
    font-weight: 300;
    color: rgba(244, 237, 228, 0.4);
}

.footer-social {
    display: flex;
    gap: var(--space-lg);
}

.footer-social a {
    color: rgba(244, 237, 228, 0.7);
    transition: color var(--duration-fast), transform var(--duration-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(244, 237, 228, 0.15);
}

.footer-social a:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
    border-color: var(--color-gold);
    background: rgba(200, 169, 126, 0.1);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1200px) {
    :root {
        --container-padding: 48px;
    }

    .hero-inner {
        gap: var(--space-2xl);
    }

    .hero-headline {
        font-size: clamp(32px, 4vw, 52px);
    }

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

    .collections-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .about-inner {
        gap: var(--space-3xl);
    }
}

/* Tablet Portrait */
@media (max-width: 960px) {
    :root {
        --container-padding: 32px;
        --space-section: 120px;
    }

    .navbar-links {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-imagery {
        order: 1;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-label {
        justify-content: center;
    }

    .about-text {
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --container-padding: 20px;
        --space-section: 80px;
    }

    .section-header {
        margin-bottom: var(--space-3xl);
    }

    .section-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero-imagery {
        max-width: 320px;
        gap: 10px;
    }

    .hero-img-secondary {
        margin-top: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .collections-gallery {
        grid-template-columns: 1fr;
    }

    .collection-card-image {
        min-height: 360px;
    }

    .collection-card-lg .collection-card-image {
        min-height: 420px;
    }

    /* Always show collection overlay on mobile */
    .collection-card-overlay {
        opacity: 1;
    }

    .collection-card-info {
        transform: translateY(0);
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }
}

/* Large Screens */
@media (min-width: 1600px) {
    :root {
        --container-padding: 120px;
    }
}

/* ─── REVEAL ANIMATION STATES ────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

/* Stagger delays for grid items */
.services-grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
.services-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.services-grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.services-grid [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
.services-grid [data-reveal]:nth-child(5) { transition-delay: 0.4s; }
.services-grid [data-reveal]:nth-child(6) { transition-delay: 0.5s; }

.collections-gallery [data-reveal]:nth-child(1) { transition-delay: 0s; }
.collections-gallery [data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.collections-gallery [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.collections-gallery [data-reveal]:nth-child(4) { transition-delay: 0.45s; }
.collections-gallery [data-reveal]:nth-child(5) { transition-delay: 0.6s; }
.collections-gallery [data-reveal]:nth-child(6) { transition-delay: 0.75s; }

/* ─── NO-JS FALLBACK ──────────────────────────────────────── */
/* When JS hasn't loaded, show everything immediately */
body:not(.js-enabled) .hero-label,
body:not(.js-enabled) .hero-word,
body:not(.js-enabled) .hero-sub,
body:not(.js-enabled) .hero-buttons,
body:not(.js-enabled) .hero-img-main,
body:not(.js-enabled) .hero-img-secondary,
body:not(.js-enabled) .hero-img-accent,
body:not(.js-enabled) .hero-scroll,
body:not(.js-enabled) [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
}

/* ═══════════════════════════════════════════════════════════
   MODAL SYSTEM
   ═══════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.4s;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s 0s;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 11, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    background: #f7f4ed; /* Raw cotton color */
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10010;
    color: var(--color-ink);
    transition: all var(--duration-fast) var(--ease-luxury);
}

.modal-close:hover {
    background: var(--color-ink);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-content-wrapper {
    padding: 40px;
}

/* Service Modal Layout */
.modal-service {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 992px) {
    .modal-service {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.modal-service-img {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.modal-service-img img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
}

.modal-service-info h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-ink);
    margin-bottom: var(--space-md);
}

.modal-desc-text {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.modal-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-2xl);
}

.modal-highlights span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-ink);
}

.modal-highlights svg {
    color: var(--color-brand);
}

/* Collection Collage Modal */
.modal-collection-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.modal-collection-header h2 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: var(--space-md);
}

.modal-collection-header p {
    color: var(--color-muted);
    line-height: 1.6;
}

.modal-collection-header strong {
    color: var(--color-brand);
    font-weight: 500;
}

.modal-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .modal-collage {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 300px;
    }
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform var(--duration-slow) var(--ease-luxury);
}

.collage-img:hover {
    transform: scale(1.02);
}

.collage-wide {
    grid-column: span 2;
}

.collage-tall {
    grid-row: span 2;
}

/* Footer Logo Visibility Fix */
.footer-logo-img {
    filter: invert(1) brightness(2);
}

/* ═══════════════════════════════════════════════════════════
   PERFORMANCE & PRODUCTION
   ═══════════════════════════════════════════════════════════ */

/* GPU-accelerated animations */
.hero-img-frame,
.hero-word,
.navbar,
.collection-card-image img,
.service-card {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .hero-deco,
    .hero-float,
    .hero-scroll,
    .section-divider,
    .footer-social,
    .modal-overlay {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .footer {
        background: #333;
    }
}
