/* ================================
   Member Threads
   Custom Apparel for Communities
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
    /* Primary Colors - Warm & Community-Focused */
    --warm-navy: #2c3e50;
    --cream: #faf8f5;
    --soft-black: #1a1a1a;

    /* Secondary Colors */
    --terracotta: #c75b39;
    --sage: #7d9a78;
    --golden: #e8b84a;

    /* Gradient */
    --gradient: linear-gradient(135deg, var(--warm-navy) 0%, var(--terracotta) 100%);
    --gradient-reverse: linear-gradient(135deg, var(--terracotta) 0%, var(--warm-navy) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(44, 62, 80, 0.08) 0%, rgba(199, 91, 57, 0.08) 100%);
    --gradient-warm: linear-gradient(135deg, var(--terracotta) 0%, var(--golden) 100%);

    /* Neutrals */
    --gray-50: #faf9f7;
    --gray-100: #f5f3f0;
    --gray-200: #e8e5e1;
    --gray-300: #d4d0ca;
    --gray-400: #a8a299;
    --gray-500: #7a756c;
    --gray-600: #5c574f;
    --gray-700: #3d3935;
    --gray-800: #2a2724;
    --gray-900: #1a1a1a;

    /* Typography */
    --font-display: 'DM Sans', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   Floating Background Shapes
   ================================ */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 25s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--warm-navy);
    top: -15%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--terracotta);
    top: 50%;
    left: -15%;
    animation-delay: -7s;
    opacity: 0.25;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--sage);
    bottom: 15%;
    right: 25%;
    animation-delay: -12s;
    opacity: 0.3;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--golden);
    top: 70%;
    right: -8%;
    animation-delay: -18s;
    opacity: 0.2;
}

.shape-5 {
    width: 450px;
    height: 450px;
    background: var(--warm-navy);
    bottom: -15%;
    left: 35%;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -25px) scale(1.03); }
    50% { transform: translate(-15px, 15px) scale(0.97); }
    75% { transform: translate(15px, 25px) scale(1.01); }
}

/* ================================
   Typography
   ================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--soft-black);
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ================================
   Section Tags
   ================================ */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    padding: 8px 16px;
    background: var(--gradient-subtle);
    border-radius: 100px;
    margin-bottom: 16px;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    border-bottom-color: var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img,
.logo-icon {
    height: 32px;
    width: auto;
    transition: transform 0.3s var(--ease);
    margin-right: 10px;
}

.logo:hover .logo-img,
.logo:hover .logo-icon {
    transform: scale(1.05);
}

/* Logo text fallback */
.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--warm-navy);
    letter-spacing: -0.02em;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-links li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.3s var(--ease);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease);
}

.nav-links li a:hover {
    color: var(--warm-navy);
}

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

.nav-cta {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--warm-navy);
    color: var(--cream);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terracotta);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta span,
.nav-cta svg {
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .nav-cta { display: inline-flex; }
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.3);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}

.nav-cta:hover .btn-arrow,
.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--soft-black);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-links a {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-links a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-links a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-menu-links a:nth-child(7) { transition-delay: 0.4s; }

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

.mobile-cta {
    margin-top: 16px;
    padding: 14px 32px;
    background: var(--warm-navy);
    color: var(--cream) !important;
    border-radius: 100px;
    font-size: 16px !important;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.pre-headline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    margin-bottom: 16px;
    padding: 10px 20px;
    background: var(--gradient-subtle);
    border-radius: 100px;
    border: 1px solid rgba(199, 91, 57, 0.15);
}

.sparkle {
    color: var(--golden);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(40px, 8vw, 68px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 1023px) {
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-ctas {
        justify-content: flex-start;
    }
}

/* Hero Visual */
.hero-visual {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 480px;
    margin: 0 auto;
}

.placeholder-box {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    border-radius: 24px;
    border: 2px dashed var(--gray-300);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: all 0.4s var(--ease);
}

.placeholder-box:hover {
    border-color: var(--terracotta);
    transform: scale(1.02);
}

.placeholder-logo {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.placeholder-box span {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    animation: badgeFloat 4s ease-in-out infinite;
    z-index: 10;
}

.badge-emoji {
    font-size: 16px;
}

.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: -1.5s;
}

.badge-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: -3s;
}

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

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(44, 62, 80, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-bg-gradient-2 {
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(199, 91, 57, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ================================
   Marquee Section
   ================================ */
.marquee-section {
    padding: 24px 0;
    background: var(--warm-navy);
    overflow: hidden;
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-dot {
    color: var(--terracotta) !important;
    font-size: 12px !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--warm-navy);
    color: var(--cream);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terracotta);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.3);
}

.btn-glow {
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 5px 20px rgba(44, 62, 80, 0.25); }
    50% { box-shadow: 0 5px 40px rgba(199, 91, 57, 0.35); }
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-secondary:hover {
    border-color: var(--warm-navy);
    color: var(--warm-navy);
    background: var(--gradient-subtle);
    transform: translateY(-2px);
}

/* ================================
   Section Styles
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Scroll Reveal Animations
   ================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }
.scroll-reveal[data-delay="4"] { transition-delay: 0.4s; }
.scroll-reveal[data-delay="5"] { transition-delay: 0.5s; }
.scroll-reveal[data-delay="6"] { transition-delay: 0.6s; }

/* Hero animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

/* ================================
   Who We Serve Section (Home)
   ================================ */
.who-we-serve {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .serve-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.serve-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.serve-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--terracotta);
}

.serve-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

.serve-card:hover .serve-icon {
    background: var(--warm-navy);
}

.serve-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--warm-navy);
    transition: stroke 0.3s var(--ease);
}

.serve-card:hover .serve-icon svg {
    stroke: var(--cream);
}

.serve-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--soft-black);
    margin-bottom: 4px;
}

.serve-card p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ================================
   Products/What We Make Section
   ================================ */
.products {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
    z-index: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Product Cards - Equal height with flexbox */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-200);
}

.product-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.product-card:hover .product-icon {
    background: var(--warm-navy);
}

.product-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--warm-navy);
    transition: stroke 0.3s var(--ease);
}

.product-card:hover .product-icon svg {
    stroke: var(--cream);
}

.product-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--soft-black);
}

.product-card ul {
    margin-bottom: 16px;
}

.product-card ul li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 3px 0;
    padding-left: 14px;
    position: relative;
}

.product-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: rgba(199, 91, 57, 0.5);
    border-radius: 50%;
}

.product-custom {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    flex-grow: 1;
}

.perfect-for {
    font-size: 12px;
    color: var(--gray-400);
    font-style: normal;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
}

.products-footer {
    text-align: center;
    margin-top: 48px;
    font-size: 16px;
    color: var(--gray-600);
}

.products-footer a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.products-footer a:hover {
    color: var(--warm-navy);
}

/* ================================
   Differentiators Section
   ================================ */
.differentiators {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.diff-card {
    text-align: center;
    padding: 32px 24px;
}

.diff-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 20px;
}

.diff-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--terracotta);
}

.diff-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--soft-black);
}

.diff-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ================================
   Process Section
   ================================ */
.process {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
    z-index: 1;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        align-items: flex-start;
    }
}

.step {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 24px;
    position: relative;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--gray-100);
}

.step:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--warm-navy);
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s var(--ease);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.35);
    background: var(--terracotta);
}

.step-number span {
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: flex;
        align-items: center;
        width: 60px;
        height: 100px;
        margin-top: 32px;
        flex-shrink: 0;
    }

    .step-connector svg {
        width: 100%;
        height: 20px;
    }
}

.process-footer {
    text-align: center;
    margin-top: 48px;
}

.timeline-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

/* ================================
   Featured Work Section
   ================================ */
.featured-work {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.work-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--gradient-subtle);
    border: 2px dashed var(--gray-300);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.work-card:hover {
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.work-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    gap: 8px;
}

.work-placeholder .placeholder-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
}

.work-placeholder .placeholder-text {
    font-size: 14px;
    color: var(--gray-500);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-overlay {
    opacity: 0.95;
}

.work-overlay span {
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease);
}

.work-card:hover .work-overlay span {
    transform: translateY(0);
}

.work-overlay .work-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 4px;
}

.work-overlay .work-title {
    font-size: 18px;
}

/* ================================
   Testimonial Section
   ================================ */
.testimonial {
    padding: 80px 0;
    background: var(--warm-navy);
    position: relative;
    z-index: 1;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    color: var(--cream);
    line-height: 1.5;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    color: rgba(250, 248, 245, 0.7);
    font-size: 16px;
}

.testimonial-author strong {
    color: var(--cream);
    font-weight: 600;
}

/* ================================
   CTA Section
   ================================ */
.cta-section {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

/* ================================
   FAQ Section
   ================================ */
.faq {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-item:hover {
    background: var(--gray-50);
    margin: 0 -20px;
    padding: 0 20px;
    border-radius: 12px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--soft-black);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--terracotta);
}

.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--gradient-subtle);
    border-radius: 50%;
    transition: all 0.3s var(--ease);
}

.faq-item.active .faq-icon,
.faq-item:hover .faq-icon {
    background: var(--warm-navy);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--warm-navy);
    transition: all 0.3s var(--ease);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after,
.faq-item:hover .faq-icon::before,
.faq-item:hover .faq-icon::after {
    background: var(--cream);
}

.faq-icon::before {
    top: 50%;
    left: 8px;
    right: 8px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 2px;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--cream) 100%);
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

@media (max-width: 640px) {
    .contact-form {
        padding: 32px 24px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-body);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: white;
    color: var(--soft-black);
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--warm-navy);
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-300);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 640px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--gray-700);
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
}

.checkbox-label:hover {
    background: var(--gray-50);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s var(--ease-bounce);
    position: relative;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--warm-navy);
    border-color: var(--warm-navy);
    transform: scale(1.1);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--cream);
    font-size: 14px;
    font-weight: 700;
}

.checkmark {
    display: none;
}

.btn-submit {
    width: 100%;
    padding: 18px 32px;
    font-size: 16px;
    margin-top: 12px;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.form-note a {
    color: var(--terracotta);
    font-weight: 600;
    transition: color 0.3s;
}

.form-note a:hover {
    color: var(--warm-navy);
}

/* Budget warning message */
.budget-warning {
    background: rgba(232, 184, 74, 0.15);
    border: 1px solid var(--golden);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray-700);
    display: none;
}

.budget-warning.visible {
    display: block;
}

/* What happens next section */
.form-footer-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.form-footer-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--soft-black);
    margin-bottom: 12px;
}

.form-footer-info p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 60px 0 40px;
    background: var(--soft-black);
    color: var(--gray-400);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    transition: opacity 0.3s;
}

.footer-logo:hover .footer-logo-img {
    opacity: 0.8;
}

/* Footer logo text fallback */
.footer-logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.footer-brand .tagline {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 15px;
    color: var(--gray-400);
    transition: all 0.3s var(--ease);
    position: relative;
    display: inline-block;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease);
}

.footer-nav a:hover {
    color: var(--cream);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 15px;
    color: var(--gray-400);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--terracotta);
}

.footer-social {
    color: var(--terracotta) !important;
}

.footer-social:hover {
    color: var(--golden) !important;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

.parent-brand a {
    color: var(--terracotta);
    font-weight: 500;
    transition: color 0.3s;
}

.parent-brand a:hover {
    color: var(--golden);
}

/* ================================
   Page Headers (for multi-page)
   ================================ */
.page-header {
    padding: 140px 0 60px;
    background: var(--cream);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Who We Serve Page Sections
   ================================ */
.serve-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-200);
}

.serve-section:last-child {
    border-bottom: none;
}

.serve-section:nth-child(even) {
    background: var(--gray-50);
}

.serve-section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .serve-section-content {
        grid-template-columns: 1fr 1fr;
    }

    .serve-section:nth-child(even) .serve-section-content {
        direction: rtl;
    }

    .serve-section:nth-child(even) .serve-section-content > * {
        direction: ltr;
    }
}

.serve-section-text h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.serve-section-text p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.serve-section-text ul {
    margin-bottom: 24px;
}

.serve-section-text ul li {
    font-size: 15px;
    color: var(--gray-700);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.serve-section-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--terracotta);
    border-radius: 50%;
}

.serve-section-image {
    aspect-ratio: 4/3;
    background: var(--gradient-subtle);
    border-radius: 20px;
    border: 2px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.serve-section-image span {
    font-size: 14px;
    color: var(--gray-400);
}

/* ================================
   Services Page
   ================================ */
.services-intro {
    padding: 60px 0 80px;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--terracotta);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--soft-black);
}

.service-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Customization Options Section */
.customization-section {
    padding: 80px 0;
    background: white;
}

.customization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .customization-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .customization-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.custom-option {
    text-align: center;
    padding: 24px 16px;
    background: var(--gray-50);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

.custom-option:hover {
    background: var(--gradient-subtle);
    transform: translateY(-2px);
}

.custom-option-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
}

.custom-option-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--warm-navy);
}

.custom-option span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

/* Design Support Section */
.design-support {
    padding: 80px 0;
    background: var(--warm-navy);
    color: var(--cream);
}

.design-support-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.design-support h2 {
    color: var(--cream);
    margin-bottom: 16px;
}

.design-support p {
    font-size: 18px;
    color: rgba(250, 248, 245, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.design-support .btn-primary {
    background: var(--cream);
    color: var(--warm-navy);
}

.design-support .btn-primary:hover {
    background: var(--golden);
}

.design-support .btn-primary::before {
    background: var(--golden);
}

/* ================================
   Portfolio/Work Page
   ================================ */
.portfolio-grid {
    padding: 60px 0 100px;
    background: var(--cream);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--warm-navy);
    background: var(--warm-navy);
    color: var(--cream);
}

.portfolio-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .portfolio-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--gradient-subtle);
    border: 2px dashed var(--gray-300);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.portfolio-item:hover {
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.portfolio-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    gap: 8px;
}

.portfolio-placeholder .org-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
}

.portfolio-placeholder .org-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--soft-black);
}

.portfolio-placeholder .project-desc {
    font-size: 14px;
    color: var(--gray-500);
}

/* ================================
   About Page
   ================================ */
.about-story {
    padding: 60px 0 80px;
    background: var(--cream);
}

.about-story-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-story-content p {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-approach {
    padding: 80px 0;
    background: white;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.approach-item {
    text-align: center;
    padding: 32px 24px;
}

.approach-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.approach-item p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.about-values {
    padding: 80px 0;
    background: var(--gray-50);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--gray-100);
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--soft-black);
}

.value-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ================================
   Scrollbar
   ================================ */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--warm-navy);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta);
}
::selection {
    background: var(--warm-navy);
    color: var(--cream);
}

/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 640px) {
    .section-header h2 {
        font-size: 28px;
    }

    .hero-title {
        font-size: 36px;
    }

    .products,
    .process,
    .who-we-serve,
    .differentiators,
    .featured-work,
    .faq,
    .contact,
    .cta-section {
        padding: 60px 0;
    }

    .floating-shapes {
        display: none;
    }
}

/* 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;
    }
}
