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

:root {
    /* Unified color palette */
    --base-cream: #faf8f3;
    --base-taupe: #e8e2d5;
    --base-charcoal: #2c2c2c;
    --accent-gold: #d4af37;
    --accent-blush: #e8c4c4;
    --accent-sage: #a8b5a0;
    --accent-red: #c41e3a;

    --shadow-color: rgba(0, 0, 0, 0.1);
    --text-primary: var(--base-charcoal);
    --tape-color: rgba(255, 248, 220, 0.9);

    /* Dynamic fabric colors (updated by JavaScript) - Made lighter for better contrast */
    --fabric-color-1: rgb(255, 255, 255);
    --fabric-color-2: rgb(247, 247, 247);
    --fabric-color-3: rgb(240, 240, 240);
    --transition-progress: 0;
    --thread-color: rgb(135, 206, 235);
    /* Default to cotton blue */
}

body {
    font-family: 'Space Mono', monospace;
    color: var(--text-primary);
    overflow-x: hidden;
    background:
        linear-gradient(135deg, #d5cdbf 0%, #e8e0d2 50%, #d5cdbf 100%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px);
    background-attachment: fixed;
    cursor: none;
    position: relative;
    min-height: 100vh;
    padding: 3vh 0;
}

/* Website Container Box */
.website-container {
    position: relative;
    max-width: 95%;
    margin: 0 auto;
    background: #ffffff;
    box-shadow:
        0 0 50px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: auto;
    /* Let content determine height */
    border-radius: 20px;
}

/* Single fabric background with smooth transitions */
.fabric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: none;
    /* Remove transitions for smooth JavaScript control */
}

/* Cotton Texture - Using dynamic colors */
body.cotton .fabric-background {
    background:
        repeating-linear-gradient(0deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 2px,
            var(--fabric-color-2) 2px,
            var(--fabric-color-2) 4px),
        repeating-linear-gradient(90deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 2px,
            var(--fabric-color-3) 2px,
            var(--fabric-color-3) 4px);
    background-size: 4px 4px, 4px 4px;
}

/* Denim Texture - Using dynamic colors */
body.denim .fabric-background {
    background:
        repeating-linear-gradient(45deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 3px,
            var(--fabric-color-2) 3px,
            var(--fabric-color-2) 6px),
        repeating-linear-gradient(-45deg,
            transparent 0px,
            transparent 3px,
            var(--fabric-color-3) 3px,
            var(--fabric-color-3) 6px);
    background-size: 12px 12px, 12px 12px;
}

/* Linen Texture - Using dynamic colors */
body.linen .fabric-background {
    background:
        repeating-linear-gradient(0deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 4px,
            transparent 4px,
            transparent 8px),
        repeating-linear-gradient(90deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 4px,
            transparent 4px,
            transparent 8px),
        linear-gradient(135deg,
            var(--fabric-color-1) 0%,
            var(--fabric-color-2) 100%);
    background-size: 8px 8px, 8px 8px, 100% 100%;
}

/* Velvet Texture */
body.velvet .fabric-background {
    background:
        radial-gradient(circle at 1px 1px,
            rgba(139, 119, 143, 0.2) 0.5px,
            transparent 0.5px),
        linear-gradient(125deg,
            #f2ece6 0%,
            #ebe4dc 20%,
            #e4dcd2 40%,
            #ebe4dc 60%,
            #f2ece6 80%,
            #f5f0eb 100%);
    background-size: 3px 3px, 100% 100%;
}

/* Remove old fabric sections */
.fabric-section {
    display: none;
}

/* Keep the overlay for texture with smooth blending */
.fabric-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="turbulence" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.02"/></svg>');
    mix-blend-mode: multiply;
}

/* Add secondary overlay for texture blending */
.fabric-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: calc(var(--transition-progress) * 0.3);
    transition: opacity 0.1s ease-out;
}

/* Cotton to Denim transition overlay */
body.cotton .fabric-overlay::after {
    background:
        repeating-linear-gradient(45deg,
            var(--fabric-color-2) 0px,
            var(--fabric-color-2) 3px,
            var(--fabric-color-3) 3px,
            var(--fabric-color-3) 6px);
    background-size: 12px 12px;
}

/* Denim to Linen transition overlay */
body.denim .fabric-overlay::after {
    background:
        repeating-linear-gradient(0deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 4px,
            transparent 4px,
            transparent 8px),
        repeating-linear-gradient(90deg,
            var(--fabric-color-1) 0px,
            var(--fabric-color-1) 4px,
            transparent 4px,
            transparent 8px);
    background-size: 8px 8px, 8px 8px;
}

/* Updated main container */
.mood-board {
    position: relative;
    padding: 6rem 2rem 2rem;
    z-index: 2;
}

/* Header with enhanced styling and higher z-index */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 200;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    /* Increased from 2.5rem for more prominence */
    font-weight: 400;
    letter-spacing: 0.4em;
    /* Slightly increased */
    color: var(--text-primary);
    text-decoration: none;
    font-style: italic;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeIn 1s ease 0.1s both;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav {
    display: flex;
    gap: 3rem;
    animation: fadeIn 1s ease 0.2s both;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    /* Increased from 0.9rem */
    letter-spacing: 0.15em;
    /* Adjusted */
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 4px;
}

.nav a:hover::before {
    width: 100%;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 80%;
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, rgb(255 255 255 / 10%) 100%);
    backdrop-filter: blur(2px);
    z-index: 20;
    overflow: hidden;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 21;
    text-align: center;
}

.hero-text {
    text-align: center;
    transform: translateY(0px);
    z-index: 22;
    position: relative;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    animation: subtleFadeIn 1.5s ease-out forwards;
}

.hero-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    /* Increased from 0.9rem */
    letter-spacing: 0.35em;
    /* Slightly increased */
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 2rem;
    position: relative;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.6;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4.5rem, 10vw, 8.5rem);
    /* Slightly increased */
    font-weight: 400;
    line-height: 1.2;
    /* Improved from 1.1 for better readability */
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at 50% 50%,
            rgba(212, 175, 55, 0.05) 0%,
            transparent 70%);
    z-index: -1;
    border-radius: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Increased from 1.1rem */
    letter-spacing: 0.2em;
    /* Adjusted */
    line-height: 1.8;
    /* Added for better spacing */
    opacity: 0.8;
    margin-bottom: 3rem;
    font-family: 'Space Mono', monospace;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: var(--text-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-decoration {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%) rotate(90deg);
    z-index: 19;
    animation: fadeIn 1s ease 1.5s both;
}

.hero-year {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    opacity: 0.4;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 16;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    /* Increased from 3rem */
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 0 15px rgba(255, 255, 255, 0.6);
}

.section-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.section-decoration {
    font-size: 2rem;
    opacity: 0.3;
    margin-top: 1rem;
}

/* Services Section - After hero */
.services-section {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    /* Increased padding for better spacing */
    z-index: 15;
    margin: 4rem 0;
    /* Added margin for section separation */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    /* Increased from 3rem */
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 3rem;
    /* Increased from 2.5rem */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    /* Increased from 1.5rem */
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    /* Increased from 1.6 */
    opacity: 0.8;
}

/* Featured Work - Increased spacing */
.featured-work {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    text-align: center;
    z-index: 15;
    margin: 4rem 0;
}

/* Featured Work – rows of collaged cards */
.works-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.work-row-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    justify-content: flex-start;
    margin: 0 0 2rem 0;
}

.work-row-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.work-row-sub {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    opacity: 0.6;
}

.work-row-gallery {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
}

.work-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease;
    outline: 10px solid rgba(255, 255, 255, 0.92);
}

.work-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
    filter: contrast(1.03) saturate(0.96) brightness(0.98);
}

/* Use existing decorative elements inside cards */
.work-card .sticker-tape,
.work-card .sticker-pin,
.work-card .sticker-corner {
    z-index: 2;
}

.work-caption {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity .2s ease;
}

.work-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.work-card:hover .work-caption {
    opacity: .75;
}

.work-card.hero {
    outline-color: rgba(255, 255, 255, 0.96);
    transform: rotate(-0.6deg);
}

.rotate-left {
    transform: rotate(-2.5deg);
}

.rotate-right {
    transform: rotate(2.5deg);
}

/* Soft woven paper background for a cleaner stage that mutes stickers behind */
.work-row.paper-bg {
    position: relative;
    padding: 2rem 1rem 2.5rem;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)) padding-box;
}

.work-row.paper-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background:
        repeating-linear-gradient(0deg, rgba(44, 44, 44, 0.02) 0 2px, transparent 2px 6px),
        repeating-linear-gradient(90deg, rgba(44, 44, 44, 0.02) 0 2px, transparent 2px 6px);
    mix-blend-mode: normal;
    pointer-events: none;
}

/* Lift the row above background stickers slightly */
.work-row.paper-bg {
    z-index: 10;
}

.work-row.paper-bg.patone {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgb(195 210 222)) padding-box;
}

.work-row.paper-bg.brown {
    background: linear-gradient(211deg, rgba(255, 255, 255, 0.88), rgb(148 123 105)) padding-box
}

.work-row.paper-bg.pink {
    background: linear-gradient(197deg, rgb(250 235 235 / 88%), rgb(233 175 171)) padding-box
}

.work-row.paper-bg.yellow {
    background: linear-gradient(360deg, rgb(246 235 202 / 51%), rgb(239 208 149)) padding-box
}

/* Mobile Flipbook (hidden by default) */
.mobile-flipbooks {
    display: none;
}

/* Flipbook core styles */
.mobile-flipbooks .book-carousel {
    display: grid;
    gap: 1.5rem;
    overflow: visible;
    padding-bottom: 0;
}

.mobile-flipbooks .book {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    border: 1px solid rgba(44,44,44,0.08);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Book spine */
.mobile-flipbooks .book::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.0));
    pointer-events: none;
}

.mobile-flipbooks .book-header {
    padding: 0.9rem 1rem 0.5rem;
    text-align: left;
}

.mobile-flipbooks .book-header h4 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    margin: 0;
}

.mobile-flipbooks .book-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

.mobile-flipbooks .page-stack {
    position: relative;
    width: 100%;
    padding-top: 130%;
    perspective: 1400px;
    overflow: hidden;
    border-radius: 10px;
    transform-style: preserve-3d;
}

.mobile-flipbooks .page {
    position: absolute;
    inset: 0.5rem 0.75rem 0.75rem 0.75rem;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    transform-origin: left center;
    transform: rotateY(0deg);
    transition: transform 500ms ease, box-shadow 300ms ease;
    backface-visibility: hidden;
}

/* Page sheen and edge */
.mobile-flipbooks .page::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(0,0,0,0.06));
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    pointer-events: none;
}

/* Corner curl for current page */
.mobile-flipbooks .page.top::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    right: 6px;
    bottom: 6px;
    background: linear-gradient(135deg, rgba(0,0,0,0.08), rgba(255,255,255,0.0));
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    border-bottom-right-radius: 6px;
    opacity: 0.6;
}

.mobile-flipbooks .page:nth-child(1) { z-index: 3; }
.mobile-flipbooks .page:nth-child(2) { z-index: 2; }
.mobile-flipbooks .page:nth-child(3) { z-index: 1; }

.mobile-flipbooks .page.flipped {
    transform: rotateY(-180deg);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

/* Nudge animation to hint flipping */
@keyframes nudgeFlip {
    0% { transform: rotateY(0deg); }
    45% { transform: rotateY(-12deg); }
    100% { transform: rotateY(0deg); }
}

.mobile-flipbooks .page.nudge {
    animation: nudgeFlip 900ms ease;
}

.mobile-flipbooks .page-hotspot {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 5;
}

.mobile-flipbooks .page-hotspot.left { left: 0; }
.mobile-flipbooks .page-hotspot.right { right: 0; }

.mobile-flipbooks .book-indicators {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem 0 1rem;
}

.mobile-flipbooks .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(44,44,44,0.25);
}

.mobile-flipbooks .dot.active {
    background: var(--accent-gold);
}

/* Navigation arrows */
.mobile-flipbooks .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(44,44,44,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 6;
}

.mobile-flipbooks .nav-arrow.left { left: 6px; }
.mobile-flipbooks .nav-arrow.right { right: 6px; }

.mobile-flipbooks .nav-arrow svg {
    width: 18px;
    height: 18px;
}

/* Pulse to hint interaction (only when hint is visible) */
.mobile-flipbooks .nav-arrow.hint {
    animation: pulseArrow 1200ms ease-in-out infinite;
}

.mobile-flipbooks .nav-arrow.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@keyframes pulseArrow {
    0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
    50% { box-shadow: 0 6px 18px rgba(0,0,0,0.16); }
}

/* One-time flip hint banner */
.mobile-flipbooks .flip-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(44,44,44,0.08);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 7;
}

/* Responsive adjustments for works grid */
@media (max-width: 1024px) {
    .work-row-gallery {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .works-grid {
        gap: 3rem;
    }

    .work-row-header {
        justify-content: center;
    }

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

    .work-card,
    .work-card.hero {
        transform: none;
    }

    .rotate-left,
    .rotate-right {
        transform: none;
    }

    .work-row.paper-bg {
        padding: 1rem;
    }

    /* Replace desktop grid with flipbooks */
    .featured-work .works-grid {
        display: none;
    }

    .featured-work .mobile-flipbooks {
        display: block;
        max-width: 680px;
        margin: 0 auto;
    }
}

.work-categories {
    display: flex;
    justify-content: center;
    gap: 3rem;
    /* Increased from 2rem */
    margin-bottom: 4rem;
    /* Increased from 3rem */
}

.category-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s ease;
    color: black;
}

.category-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-btn:hover::after,
.category-btn.active::after {
    transform: scaleX(1);
}

.category-btn.active {
    font-weight: 700;
}

/* Tabs */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Personal Grid */
.personal-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.personal-card {
    position: relative;
    background: #a7a7a77d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    outline: 6px solid rgba(255, 255, 255, 0.92);
}

.personal-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

@media (max-width: 1024px) {
    .personal-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .personal-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

@media (max-width: 520px) {
    .personal-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
}

/* Image Modal */
.image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.image-modal.open { display: flex; }

.image-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.image-modal-content {
    position: relative;
    max-width: min(92vw, 1200px);
    max-height: 90vh;
    background: #fff;
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index: 1;
}

.image-modal-img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.image-modal-caption {
    margin-top: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    opacity: 0.7;
    text-align: center;
}

.image-modal-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(44,44,44,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Sticker Labels */
.sticker-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sticker:hover .sticker-label {
    opacity: 0.7;
}

/* Process Section - Increased spacing */
.process-section {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    z-index: 15;
    margin: 4rem 0;
}

.process-timeline {
    display: flex;
    justify-content: space-around;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--text-primary);
    opacity: 0.2;
}

.process-step {
    text-align: center;
    max-width: 250px;
    position: relative;
}

.step-marker {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    opacity: 0.8;
}

.process-step h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    /* Increased from 1.3rem */
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
    /* Increased from 1.5 */
}

/* Press Section - Increased spacing */
.press-section {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    z-index: 15;
    margin: 4rem 0;
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    /* Increased from 4rem */
    flex-wrap: wrap;
}

.press-item {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.press-item:hover {
    opacity: 0.6;
}

/* Testimonials - Increased spacing */
.testimonials-section {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    z-index: 15;
    margin: 4rem 0;
}

.testimonial-card {
    max-width: 400px;
    padding: 3rem;
    /* Increased from 2rem */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-style: italic;
    border-radius: 8px;
}

.testimonial-card p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    /* Increased from 1.1rem */
    line-height: 1.8;
    /* Increased from 1.6 */
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* Philosophy Section - Increased spacing */
.philosophy-section {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    text-align: center;
    z-index: 15;
    margin: 4rem 0;
}

.philosophy-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.philosophy-content blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    /* Increased from 1.3rem */
    line-height: 1.9;
    /* Increased from 1.8 */
    font-style: italic;
    opacity: 0.8;
}

/* Journal Section - Increased spacing */
.journal-section {
    position: relative;
    /* Changed from absolute */
    padding: 8rem 4rem;
    z-index: 15;
    margin: 4rem 0;
}

.view-all-link {
    position: absolute;
    right: 0;
    top: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    opacity: 1;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    /* Increased from 2rem */
    max-width: 1000px;
    margin: 0 auto;
}

.journal-entry {
    text-align: left;
    padding: 3rem;
    /* Increased from 2rem */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.journal-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.journal-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.journal-entry h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    /* Increased from 1.5rem */
    margin: 1rem 0;
}

.journal-entry p {
    font-size: 0.9rem;
    line-height: 1.8;
    /* Increased from 1.6 */
    opacity: 0.8;
}

/* Paper Notes */
.paper-note {
    position: absolute;
    background: linear-gradient(135deg,
            rgba(255, 253, 247, 0.9) 0%,
            rgba(254, 249, 243, 0.9) 100%);
    padding: 2rem;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.02);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    transform: rotate(-2deg);
    backdrop-filter: blur(5px);
}

.paper-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 24px,
            rgba(0, 0, 0, 0.05) 24px,
            rgba(0, 0, 0, 0.05) 25px);
    pointer-events: none;
}

.paper-clip {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 30px;
    height: 60px;
    border: 3px solid #c0c0c0;
    border-radius: 30px 30px 0 0;
    border-bottom: none;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.paper-clip::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 20px;
    border: 3px solid #c0c0c0;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

/* Sketch Elements */
.sketch-element {
    position: absolute;
    opacity: 0.5;
    mix-blend-mode: multiply;
    z-index: 2;
}

.sketch-1 {
    top: calc(100vh + 5vh);
    right: 35%;
    width: 150px;
    height: 150px;
    transform: rotate(12deg);
}

/* Washi Tape */
.washi-tape {
    position: absolute;
    width: 200px;
    height: 40px;
    opacity: 0.7;
    transform: rotate(-5deg);
    z-index: 2;
}

/* Washi Tape repositioned - Adjusted for new layout */
.washi-1 {
    top: 30vh;
    /* Adjusted */
    left: 30%;
    background: repeating-linear-gradient(45deg,
            rgba(212, 175, 55, 0.3),
            rgba(212, 175, 55, 0.3) 10px,
            rgba(255, 255, 255, 0.3) 10px,
            rgba(255, 255, 255, 0.3) 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

.washi-2 {
    top: 95vh;
    /* Adjusted */
    right: 15%;
    transform: rotate(85deg);
    background: repeating-linear-gradient(90deg,
            var(--accent-blush),
            var(--accent-blush) 5px,
            rgba(255, 255, 255, 0.4) 5px,
            rgba(255, 255, 255, 0.4) 10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0.4;
}

.washi-3 {
    top: 200vh;
    /* Simplified positioning */
    left: 20%;
    width: 150px;
    transform: rotate(45deg);
    background: repeating-linear-gradient(0deg,
            var(--accent-sage),
            var(--accent-sage) 3px,
            transparent 3px,
            transparent 8px);
    opacity: 0.3;
}

/* Fabric-aware section styling */
.services-section,
.featured-work,
.process-section,
.press-section,
.testimonials-section,
.philosophy-section,
.journal-section {
    backdrop-filter: blur(2px);
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 100%);
    border-radius: 20px;
    padding: 4rem;
    margin: 0px;
}

/* Fabric transition indicator */
.fabric-indicator {
    position: fixed;
    right: calc((100vw - 95%) / 2 + 2rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fabric-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 44, 44, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.fabric-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

.fabric-dot::after {
    content: attr(data-fabric);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.fabric-dot:hover::after {
    opacity: 0.7;
}

/* Fabric Pattern Decorations - Adjusted for new layout */
.fabric-pattern {
    position: absolute;
    opacity: 0.05;
    mix-blend-mode: multiply;
    z-index: 2;
}

.pattern-1 {
    top: 20vh;
    /* Adjusted */
    right: 25%;
    width: 150px;
    height: 150px;
    background: repeating-conic-gradient(from 0deg at 50% 50%,
            var(--accent-gold) 0deg,
            transparent 20deg,
            var(--accent-gold) 40deg);
    transform: rotate(15deg);
}

.pattern-2 {
    top: 150vh;
    /* Simplified */
    left: 20%;
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(45deg,
            transparent 0px,
            transparent 10px,
            var(--accent-blush) 10px,
            var(--accent-blush) 11px);
    transform: rotate(-20deg);
}

.pattern-3 {
    top: 300vh;
    /* Simplified */
    right: 35%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle,
            transparent 30%,
            var(--accent-sage) 30%,
            var(--accent-sage) 32%,
            transparent 32%,
            transparent 38%,
            var(--accent-sage) 38%,
            var(--accent-sage) 40%,
            transparent 40%);
}

/* Thread Spool Decorations - Adjusted for new layout */
.thread-spool {
    position: absolute;
    width: 60px;
    height: 80px;
    z-index: 4;
}

/* Thread Spool Decorations - Adjusted positioning */
.spool-1 {
    top: 20vh;
    /* Adjusted */
    left: 5%;
    transform: rotate(-15deg);
    z-index: 4;
}

.spool-2 {
    top: 400vh;
    /* Simplified */
    right: 5%;
    transform: rotate(20deg);
}

.spool-top,
.spool-bottom {
    position: absolute;
    width: 100%;
    height: 15px;
    background: #8b7355;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.spool-top {
    top: 0;
}

.spool-bottom {
    bottom: 0;
}

.spool-thread {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 25px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.spool-thread::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Fashion Quote Cards */
.quote-card {
    position: absolute;
    padding: 2rem;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    z-index: 6;
}

/* Quote cards repositioned - Adjusted for new layout */
.quote-1 {
    top: 70vh;
    /* Adjusted */
    right: 10%;
    transform: rotate(3deg);
}

.quote-2 {
    top: 250vh;
    /* Simplified */
    left: 15%;
    transform: rotate(-2deg);
}

.quote-card p {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.quote-card cite {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Measuring Tape repositioned - Adjusted for new layout */
.measuring-tape {
    position: absolute;
    top: 120vh;
    /* Simplified */
    left: 40%;
    width: 300px;
    opacity: 0.3;
    transform: rotate(-10deg);
    z-index: 2;
}

/* Button Decorations */
.button-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            #f0f0f0,
            #d0d0d0 40%,
            #b0b0b0 60%,
            #909090);
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.button-decoration::before,
.button-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: #606060;
    border-radius: 50%;
}

.button-decoration::before {
    transform: translate(-50%, -50%) translateX(-5px);
}

.button-decoration::after {
    transform: translate(-50%, -50%) translateX(5px);
}

/* Button Decorations - Adjusted for new layout */
.button-1 {
    top: 25vh;
    /* Adjusted */
    right: 30%;
    opacity: 0.6;
}

.button-2 {
    top: 80vh;
    /* Adjusted */
    left: 40%;
    opacity: 0.6;
}

.button-3 {
    top: 180vh;
    /* Simplified */
    right: 45%;
    opacity: 0.6;
}

.button-4 {
    top: 320vh;
    /* Simplified */
    left: 20%;
    opacity: 0.6;
}

/* Footer Styles - participate in normal flow to avoid overlapping contact section */
.footer {
    position: relative;
    /* was absolute; allows sections above to push it down */
    padding: 5rem 0 0;
    margin-top: 6rem;
    /* breathing room from contact section */
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(44, 44, 44, 0.02) 20%,
            rgba(44, 44, 44, 0.05) 100%);
    overflow: hidden;
    z-index: 10;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background:
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 50px,
            var(--text-primary) 50px,
            var(--text-primary) 51px),
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 50px,
            var(--text-primary) 50px,
            var(--text-primary) 51px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 6rem;
    /* Increased bottom padding */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 6rem;
    /* Increased from 4rem */
}

.footer-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-social a:hover .social-icon {
    background: var(--text-primary);
    color: var(--base-cream);
    transform: translateY(-2px);
}

.footer-section h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    opacity: 1;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    margin-top: 1rem;
    border: 1px solid var(--text-primary);
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background: transparent;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    cursor: none;
}

.newsletter-form input::placeholder {
    opacity: 0.5;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--text-primary);
    color: var(--base-cream);
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    cursor: none;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-gold);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(44, 44, 44, 0.1);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Footer Thread Decoration */
.footer-thread {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    opacity: 0.3;
}

/* Footer responsiveness */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding: 0 2rem 4rem;
    }

    .footer-section.newsletter {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding-top: 3rem;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 0 1.25rem 3rem;
        text-align: center;
    }

    .footer-title,
    .footer-tagline {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section ul {
        padding: 0;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1.25rem;
    }

    .footer-links {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Add animated elements to hero */
/* .hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 226, 213, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
} */

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.05);
        opacity: 0.6;
    }
}

/* Add subtle pattern overlay to hero */
/* .hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(232, 226, 213, 0.03) 0%, transparent 50%);
    z-index: -1;
    animation: rotate 60s linear infinite;
} */

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

    to {
        transform: rotate(360deg);
    }
}

/* Add geometric accent lines to hero */
.hero-text::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
    opacity: 0.4;
}

.hero-text::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--text-primary) 50%, transparent 100%);
    opacity: 0.2;
}

/* Hero entrance animations */
.hero-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    /* Increased from 0.9rem */
    letter-spacing: 0.35em;
    /* Slightly increased */
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 2rem;
    position: relative;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4.5rem, 10vw, 8.5rem);
    /* Slightly increased */
    font-weight: 400;
    line-height: 1.2;
    /* Improved from 1.1 for better readability */
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Increased from 1.1rem */
    letter-spacing: 0.2em;
    /* Adjusted */
    line-height: 1.8;
    /* Added for better spacing */
    opacity: 0.8;
    margin-bottom: 3rem;
    font-family: 'Space Mono', monospace;
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 600;
    animation: fadeInUp 1s ease 1.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Mobile & Responsive Design */

/* Mobile Navigation */
@media (max-width: 1024px) {
    .header {
        padding: 1.5rem 3rem;
    }

    .nav {
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-section {
        flex-direction: column;
    }

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


@media (max-width: 1024px) {

    /* Make hero text readable on mobile with a subtle paper card */
    .hero-section {
        min-height: min(85vh, 500px);
        height: min(85vh, 700px);
        padding: clamp(80px, 12vh, 120px) 1rem 2rem;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .hero-content {
        max-width: 95%;
        display: flex;
        justify-content: center;
    }

    .hero-text {
        width: min(92vw, 700px);
        margin: 0 auto;
        padding: 1rem 1.25rem 1.5rem;
        background: linear-gradient(135deg, rgba(255, 253, 247, 0.77) 0%, rgb(255 255 255 / 60%) 100%);
        border: 1px solid rgba(44, 44, 44, 0.08);
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), inset 0 2px 0 rgba(44, 44, 44, 0.05);
        backdrop-filter: blur(6px);
        text-shadow: none;
    }

    /* Replace desktop accent lines with washi tape strips to keep identity */
    .hero-text::before,
    .hero-text::after {
        content: '';
        position: absolute;
        top: -14px;
        width: 84px;
        height: 18px;
        background: var(--tape-color);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        opacity: 0.95;
    }

    .hero-text::before {
        left: 18%;
        transform: rotate(-6deg);
    }

    .hero-text::after {
        right: 18%;
        transform: rotate(6deg);
    }

    /* Reposition and soften hero-adjacent stickers so they frame, not cover, text */
    .sticker-1,
    .sticker-2 {
        opacity: 0.6;
        filter: blur(0.25px);
        z-index: 1;
        pointer-events: none;
    }

    .sticker-1 {
        top: 6vh;
        left: -8%;
        width: 160px;
    }

    .sticker-2 {
        top: 4vh;
        right: -10%;
        width: 170px;
    }

    .text-3 {
        display: none;
    }
}

/* Tablet and smaller laptop adjustments */
@media (max-width: 768px) {
    body {
        padding: 2vh 0;
    }

    .website-container {
        max-width: 98%;
        min-height: 700vh;
        /* Adjusted for mobile */
        border-radius: 10px;
    }


    /* Hide floating quote cards that otherwise collide with CTA on small screens */
    .quote-card {
        display: none;
    }

    .header {
        padding: 1rem 2rem;
    }

    .logo {
        font-size: 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 6rem);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-section,
    .featured-work,
    .process-section,
    .press-section,
    .testimonials-section,
    .philosophy-section,
    .journal-section {
        padding: 4rem 2rem;
    }

    .sticker {
        width: 80%;
        max-width: 300px;
    }

    .fabric-pattern,
    .thread-spool,
    .button-decoration {
        display: none;
        /* Hide some decorations on mobile for cleaner look */
    }

    /* Services – mobile rework: lighter paper sheets, centered, readable */
    .services-section {
        padding: 4rem 1rem;
    }

    .services-grid {
        gap: 1.25rem;
        max-width: 680px;
        margin-inline: auto;
    }

    .service-card {
        padding: 1.25rem 1.25rem 1.25rem 1.25rem;
        background: linear-gradient(135deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
        border: 1px solid rgba(44, 44, 44, 0.08);
        border-radius: 14px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
        backdrop-filter: blur(4px);
    }

    /* Replace gold bar with washi tape accent */
    .service-card::before {
        top: -12px;
        left: 18px;
        width: 86px;
        height: 18px;
        background: var(--tape-color);
        transform: rotate(-6deg);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    }

    .service-card:hover {
        transform: none;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    }

    .service-number {
        font-size: 2.2rem;
        top: .75rem;
        right: .9rem;
        opacity: 0.15;
    }

    .service-card h4 {
        font-size: 1.35rem;
        margin-bottom: .5rem;
        margin-right: 3rem;
    }

    .service-card p {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}

/* Extra small devices: ensure stable layout under 400px */
@media (max-width: 400px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-text {
        width: min(94vw, 480px);
        padding: 0.9rem 0.9rem 1.2rem;
    }

    .hero-text::before,
    .hero-text::after {
        width: 60px;
        height: 14px;
        top: -10px;
    }

    .hero-text::before {
        left: 14%;
    }

    .hero-text::after {
        right: 14%;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-cta {
        display: block;
        width: 100%;
        max-width: none;
        margin: 1rem auto 0;
    }
}

/* Reduce visual noise and keep identity: soften all stickers below 1300px */
@media (max-width: 1300px) {
    .sticker {
        opacity: 0.4;
    }
}

/* Mobile readability pass: give key text blocks a subtle paper card */
@media (max-width: 768px) {

    .section-header,
    .about-content,
    .contact-content,
    .philosophy-content,
    .process-step,
    .press-item {
        margin-left: auto;
        margin-right: auto;
        background: linear-gradient(135deg, rgba(255, 253, 247, 0.92) 0%, rgba(255, 255, 255, 0.88) 100%);
        border: 1px solid rgba(44, 44, 44, 0.08);
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(44, 44, 44, 0.05);
        backdrop-filter: blur(5px);
        padding: 1rem 1.25rem;
    }

    .press-item {
        display: inline-block;
        text-align: center;
    }

    .process-timeline {
        gap: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .service-card {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 50vh;
        padding: 1.5rem 1rem 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

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

    .process-timeline {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .process-step {
        max-width: 200px;
        flex: 1;
        min-width: 150px;
    }

    .testimonials-section {
        flex-direction: row;
        gap: 1rem;
    }

    .testimonial-card {
        flex: 1;
    }
}

/* Large screens optimization */
@media (min-width: 1800px) {
    .website-container {
        max-width: 1600px;
    }
}

@media (min-width: 1200px) {

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

    .journal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .testimonials-section {
        gap: 3rem;
    }

    .process-timeline {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 2vh 0;
    }

    .website-container {
        max-width: 95%;
        border-radius: 10px;
        box-shadow:
            0 0 30px rgba(0, 0, 0, 0.08),
            0 10px 20px rgba(0, 0, 0, 0.06);
    }

    .fabric-indicator {
        display: none;
    }

    .mood-board {
        position: relative;
        padding: 6rem 0rem 2rem;
        z-index: 2;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .sticker {
        width: 200px !important;
    }

    .hero-title {
        font-size: 3rem;
    }

    .floating-text {
        font-size: 1.2rem !important;
    }
}

/* Paper Notes repositioned - Adjusted for new layout */
.note-1 {
    top: 40vh;
    left: 10%;
    width: 200px;
    transform: rotate(5deg);
    z-index: 3;
    opacity: 0.9;
}

.note-2 {
    top: 150vh;
    /* Simplified */
    right: 10%;
    width: 180px;
    transform: rotate(-8deg);
    background: linear-gradient(135deg,
            #fef5e7 0%,
            #fdebd0 100%);
    z-index: 3;
    opacity: 0.9;
}

.note-3 {
    top: 280vh;
    /* Simplified */
    left: 15%;
    width: 220px;
    transform: rotate(3deg);
    background: linear-gradient(135deg,
            #fff9f5 0%,
            #fef6f0 100%);
    z-index: 3;
    opacity: 0.9;
}

/* About Section - Increased spacing */
.about-section {
    position: relative;
    /* Changed from absolute */
    padding: 4rem 4rem;
    text-align: center;
    z-index: 15;
    margin: 4rem 0;

}

.about-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.about-content p {
    line-height: 1.8;
    opacity: 0.8;
}

/* Contact Section - Increased spacing */
.contact-section {
    position: relative;
    /* Changed from absolute */
    padding: 2rem 4rem;
    text-align: center;
    z-index: 15;
    margin: 4rem 0;
    margin-bottom: 1rem;
}

.contact-intro {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.contact-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.contact-link {
    display: inline-block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Remove old cursor styles */
.cursor,
.cursor-follower {
    display: none;
}

/* Sewing Needle Cursor */
.needle-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 20px;
    height: 50px;
    transform-origin: 10px 8px;
    /* Rotate around the eye */
}

.needle {
    position: absolute;
    top: 12px;
    left: 9px;
    width: 2px;
    height: 38px;
    background: linear-gradient(to bottom,
            #e0e0e0 0%,
            #f0f0f0 20%,
            #d0d0d0 50%,
            #a0a0a0 100%);
    border-radius: 0 0 1px 1px;
    box-shadow:
        0 0 2px rgba(255, 255, 255, 0.5),
        1px 0 1px rgba(0, 0, 0, 0.1);
}

.needle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #909090 0%, #606060 100%);
    border-radius: 50% 50% 60% 60%;
}

.needle-eye {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 8px;
    height: 10px;
    border: 1.5px solid #c0c0c0;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Thread Path with smooth color transitions */
.thread-path {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.thread {
    stroke-width: 1.5;
    fill: none;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    stroke-dasharray: 3 3;
    animation: threadFlow 0.8s linear infinite;
    stroke: var(--thread-color);
    /* Use dynamic thread color */
}

/* Thread animation - more subtle */
@keyframes threadFlow {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 10;
    }
}

/* Hide default cursor */
body * {
    cursor: none !important;
}

/* Scale effect on hover - more subtle */
.needle-cursor.hover {
    transform: scale(1.1);
}

/* Sticker Styles - Lower z-index */
.sticker {
    position: absolute;
    transition: transform 0.4s ease;
    will-change: transform;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    z-index: 5;
}

.sticker img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.95) brightness(0.98);
    border: 10px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Enhanced tape effects with more realistic appearance */
.sticker-tape {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 35px;
    background: linear-gradient(135deg,
            rgba(255, 248, 220, 0.9) 0%,
            rgba(255, 243, 200, 0.95) 50%,
            rgba(255, 248, 220, 0.9) 100%);
    opacity: 0.9;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.05);
}

.sticker-tape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.2) 2px,
            rgba(255, 255, 255, 0.2) 4px);
}

.sticker-tape::after {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    right: -5%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 10%,
            rgba(255, 255, 255, 0.3) 90%,
            transparent 100%);
}

.tape-vertical {
    transform: translateX(-50%) rotate(90deg);
    top: 50%;
    left: -15px;
}

.tape-diagonal {
    transform: translateX(-50%) rotate(45deg);
    top: 10px;
    left: 10px;
}

/* Corner Stickers */
.sticker-corner {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent var(--base-cream) transparent;
    filter: drop-shadow(-2px -2px 3px rgba(0, 0, 0, 0.1));
}

.corner-gold {
    border-color: transparent transparent var(--accent-gold) transparent;
}

/* Enhanced Pin Effects */
.sticker-pin {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 30% 30%,
            #ff6b6b,
            #ee5a24,
            #c44569);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        inset 2px 2px 3px rgba(255, 255, 255, 0.3);
}

.sticker-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle,
            rgba(0, 0, 0, 0.3),
            transparent);
    border-radius: 50%;
}

.pin-red {
    background: radial-gradient(circle at 30% 30%,
            var(--accent-red),
            #a01729,
            #8b1420);
}

/* Individual Sticker Positions - Adjusted to avoid header interference */
.sticker-1 {
    top: 12vh;
    left: 5%;
    width: 280px;
    transform: rotate(-5deg);
    z-index: 5;
    background-color: white;
}

.sticker-2 {
    top: 18vh;
    right: 3%;
    width: 370px;
    transform: rotate(3deg);
    z-index: 5;
}

.sticker-3 {
    top: 80vh;
    left: 10%;
    width: 250px;
    transform: rotate(-8deg);
}

.sticker-4 {
    top: 98vh;
    right: 2%;
    width: 380px;
    transform: rotate(12deg);
}

.sticker-5 {
    top: calc(100vh + 40vh);
    left: 8%;
    width: 220px;
    transform: rotate(-3deg);
}

.sticker-6 {
    top: calc(100vh + 140vh);
    right: 12%;
    width: 280px;
    transform: rotate(7deg);
}

.sticker-7 {
    top: calc(100vh + 200vh);
    left: 20%;
    width: 300px;
    transform: rotate(-10deg);
}

.sticker-8 {
    top: calc(100vh + 280vh);
    right: 15%;
    width: 260px;
    transform: rotate(5deg);
}

/* New stickers below work section */
.sticker-9 {
    top: calc(100vh + 650vh);
    left: 12%;
    width: 260px;
    transform: rotate(-6deg);
    opacity: 0.2;
}

.sticker-10 {
    top: calc(100vh + 662vh);
    right: 10%;
    width: 300px;
    transform: rotate(8deg);
    opacity: 0.2;
}

.sticker-11 {
    top: calc(100vh + 760vh);
    left: 22%;
    width: 280px;
    transform: rotate(-12deg);
    opacity: 0.2;
}

.sticker-12 {
    top: calc(100vh + 772vh);
    right: 18%;
    width: 260px;
    transform: rotate(4deg);
    opacity: 0.2;
}

.sticker-13 {
    top: calc(100vh + 870vh);
    left: 8%;
    width: 300px;
    transform: rotate(-9deg);
    z-index: 6;
    opacity: 0.2;
}

.sticker-14 {
    top: calc(100vh + 1195vh);
    left: 14%;
    width: 240px;
    transform: rotate(6deg);
    z-index: 7;
    opacity: 0.2;
}

/* Keep stickers within view on smaller screens */
@media (max-width: 768px) {
    .sticker-9 { top: calc(100vh + 750vh); }
    .sticker-10 { top: calc(100vh + 780vh); }
    .sticker-11 { top: calc(100vh + 920vh); }
    .sticker-12 { top: calc(100vh + 950vh); }
    .sticker-13 { top: calc(100vh + 1020vh); }
    .sticker-14 { top: calc(100vh + 1345vh); bottom: auto; }
}

/* Enhanced Hover Effects */
.sticker:hover {
    transform: scale(1.05) rotate(calc(var(--rotation) * 1.1deg));
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));
    z-index: 20;
}

.sticker:hover img {
    filter: contrast(1.1) saturate(1.05) brightness(1);
}

.sticker:hover .sticker-tape {
    transform: translateX(-50%) scaleX(1.05);
}

.sticker:hover .sticker-pin {
    transform: rotate(-45deg) scale(1.1);
}

/* Add a subtle glow effect on hover */
.sticker::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.1),
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sticker:hover::after {
    opacity: 1;
}

/* Floating Text Elements - Better visibility without cards */
.floating-text {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 1;
    mix-blend-mode: normal;
    z-index: 18;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Floating Text Elements - Adjusted to avoid header */
.text-1 {
    top: 12vh;
    left: 75%;
    font-size: 2rem;
    transform: rotate(-15deg);
    z-index: 18;
}

.text-2 {
    top: 88vh;
    right: 45%;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transform: rotate(10deg);
}

.text-3 {
    top: calc(100vh + 90vh);
    left: 2%;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transform: rotate(-5deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(44, 44, 44, 0.2);
    border-radius: 999px;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-menu-btn:focus {
    outline: none;
}

/* Replace lines with icons */
.hamburger-line {
    display: none;
}

.hanger-icon,
.close-icon {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    transition: opacity 160ms ease, transform 200ms ease;
}

.close-icon {
    opacity: 0;
    position: absolute;
}

.mobile-menu-btn.active .hanger-icon {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.mobile-menu-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Mobile & Responsive Design */

/* Mobile full-screen nav overlay */
@media (max-width: 980px) {
    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 2rem;
        right: 1.5rem;
        z-index: 1101;
        /* Above overlay */
    }

    /* Hide nav by default on mobile; show only when active */
    .header .nav {
        display: none;
    }

    .header .nav.active {
        display: flex;
    }

    .nav {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: clamp(1rem, 3vh, 2rem);
        background: #ffffff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        transform: translateY(-110%);
        transition: transform 300ms ease, opacity 200ms ease;
        z-index: 1000;
        height: 100dvh;
        width: 100vw;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow: hidden;
        animation: none !important;
        /* prevent desktop fade animation flicker */
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        /* Prevent background scroll explicitly */
        overscroll-behavior: contain;
    }

    .nav a {
        display: block;
        font-size: clamp(1.25rem, 4.5vw, 1.8rem);
        letter-spacing: 0.08em;
        padding: 0.75rem 1.25rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
   
    .mobile-menu-btn {
        top: 1.5rem;
    }
}

@media (max-width: 480px) {

    .mobile-menu-btn {
        top: 1rem;
    }
    .about-section,
    .contact-section {
        padding: 2rem 2rem;
    }

    .header {
        padding: 1rem 2rem;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-tagline {
        font-size: 15px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 410px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .hero-cta {
        padding: 10px;
        margin-bottom: 13px;
    }
}


@media (max-width: 1200px) {
    .nav{
        gap: 1rem;
    }
}