:root {
    /* Colors from reference */
    --header-bg: #F5F2EF;
    --primary-text: #0E0E0E;
    --accent-gold: #F5B301;
    --accent-gold-light: #FFC01E;
    --sphere-black: #1A1A1A;
    --sphere-yellow: #F7C53A;
    --video-base: #E0C3A4;
    --glass-fill: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-highlight: rgba(255, 255, 255, 0.35);

    /* Typography */
    --font-family: 'Sora', sans-serif;
    --font-weight-headline: 800;
    --font-weight-body: 400;
    --font-weight-nav: 500;

    /* Layout */
    --header-height: 110px;
    --header-height-scrolled: 72px;
    --header-height-mobile: 72px;
    --header-height-mobile-scrolled: 64px;
    --glass-border-width: 1px;
    --glass-radius: 36px;
    --max-width: 1400px;
    --spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: var(--font-family);
    background-color: var(--header-bg);
    color: var(--primary-text);
    overflow-x: hidden;
}

/* ============ HEADER (fixed, transparent → solid on scroll) ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

header.scrolled {
    background-color: var(--header-bg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.header-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: height 0.35s ease;
    position: relative;
    z-index: 1000;
}

header.scrolled .header-container {
    height: var(--header-height-scrolled);
}

/* ---- Logo ---- */
.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-area img {
    height: 4rem;
    width: auto;
    transition: height 0.35s ease;
    display: block;
}

header.scrolled .logo-area img {
    height: 2.75rem;
}

.gold-rule {
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 4px 0;
}

.caption-text {
    font-size: 0.75rem;
    font-weight: var(--font-weight-body);
    color: var(--primary-text);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ---- Desktop navigation ---- */
.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.primary-nav a {
    text-decoration: none;
    font-weight: var(--font-weight-nav);
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--primary-text);
    transition: opacity 0.2s ease;
}

.primary-nav a:hover {
    opacity: 0.8;
}

/* ---- Desktop CTA ---- */
.cta-area {
    display: flex;
    gap: 1rem;
}

.btn-shop, .btn-talk {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-weight: var(--font-weight-nav);
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    letter-spacing: 0.5px;
}

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

.btn-shop:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.btn-talk {
    background-color: var(--accent-gold);
    color: var(--primary-text);
}

.btn-talk:hover {
    background-color: #e6a300;
    transform: translateY(-2px);
}

/* ============ BURGER BUTTON ============ */
.burger {
    display: none;                  /* hidden on desktop */
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.burger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Burger → X when open */
.burger[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============ MOBILE DRAWER (hidden on desktop) ============ */
.mobile-menu {
    display: none;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(224, 195, 164, 0.35) 0%,
        rgba(224, 195, 164, 0.10) 50%,
        rgba(224, 195, 164, 0.25) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ============ GLASS PANEL ============ */
.glass-panel {
    position: absolute;
    left: var(--spacing);
    top: 50%;
    transform: translateY(-50%);
    width: min(72%, 900px);
    z-index: 2;
    padding: 3rem;

    -webkit-backdrop-filter: blur(40px) saturate(140%);
    backdrop-filter: blur(40px) saturate(140%);
    background-color: var(--glass-fill);
    border: var(--glass-border-width) solid var(--glass-border);
    border-radius: var(--glass-radius);

    box-shadow:
        inset 0 1px 0 0 var(--glass-highlight),
        0 8px 32px rgba(0, 0, 0, 0.15);

    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 70%,
        rgba(245, 242, 239, 0.15) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.glass-content {
    position: relative;
    text-align: left;
    width: 100%;
    z-index: 2;
}

/* ============ HERO TYPOGRAPHY ============ */
.headline-main,
.headline-outline {
    font-weight: var(--font-weight-headline);
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    display: block;
}

.headline-main {
    color: var(--primary-text);
}

.headline-outline {
    color: var(--accent-gold-light);
    -webkit-text-stroke: 1px white;
    margin-top: -0.25rem;
}

.subhead {
    font-weight: var(--font-weight-body);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: #ffffff;
    max-width: 40rem;
    margin-top: 1.5rem;
    opacity: 0.9;
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    z-index: 3;
    animation: bounce 3s ease-in-out infinite;
}

.scroll-circle {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.3);
}

.scroll-arrow {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: translate(-50%, -50%) rotate(135deg);
}

.scroll-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 4px;
    height: 4px;
    border: 1px solid white;
    border-radius: 50%;
    background: transparent;
}

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

/* ============ RECENT PROJECTS ============ */
.projects {
    background-color: var(--header-bg);
    padding: 6rem 0 7rem;
}

.projects-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.projects-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-headline);
    letter-spacing: -1px;
    color: var(--primary-text);
    line-height: 1;
    margin: 0;
}

.projects-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-nav);
    color: var(--accent-gold);
    text-decoration: none;
    transition: gap 0.25s ease, opacity 0.25s ease;
}

.projects-viewall:hover {
    gap: 0.75rem;
    opacity: 0.85;
}

.projects-viewall .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.projects-viewall:hover .arrow {
    transform: translateX(2px);
}

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

/* ---- Project card ---- */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    background-color: #d9d4ce;
    isolation: isolate;

    -webkit-mask-image: url('card-mask.svg');
            mask-image: url('card-mask.svg');
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

/* ---- Tags (top-right, sitting in the notch) ---- */
.project-tags {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.tag {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-text);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-nav);
    letter-spacing: 0.2px;
    border-radius: 999px;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* ---- Circular arrow (bottom-right, sitting in the notch) ---- */
.project-arrow {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-card:hover .project-arrow {
    transform: translateX(4px);
    background-color: #000;
}

.project-name {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    font-weight: var(--font-weight-nav);
    color: var(--primary-text);
    letter-spacing: -0.2px;
    line-height: 1.3;
}

/* ============ RESPONSIVE — TABLET ============ */
@media (max-width: 1024px) {
    :root {
        --header-height: 90px;
        --header-height-scrolled: 64px;
    }

    .header-container { gap: 1rem; }

    .logo-area { gap: 0.75rem; }
    .logo-area img { height: 2rem; }
    header.scrolled .logo-area img { height: 1.75rem; }

    .caption-text { font-size: 0.6875rem; }

    .primary-nav ul { gap: 2rem; }
    .primary-nav a { font-size: 0.875rem; }

    .cta-area { gap: 0.5rem; }
    .btn-shop, .btn-talk {
        padding: 0.5rem 1.5rem;
        font-size: 0.75rem;
    }

    .glass-panel {
        left: var(--spacing);
        width: 65%;
        max-width: 400px;
        padding: 1.5rem;
    }

    .headline-main,
    .headline-outline {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }

    .subhead {
        font-size: clamp(1rem, 1.8vw, 1.25rem);
    }

    .projects { padding: 4rem 0 5rem; }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .projects-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
}

/* ============ RESPONSIVE — MOBILE ============ */
@media (max-width: 768px) {
    /* Hide desktop nav and desktop CTA row */
    .primary-nav,
    .cta-area {
        display: none;
    }

    /* Show burger */
    .burger {
        display: flex;
    }

    /* Single clean header row */
    .header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem var(--spacing);
        gap: 1rem;
        height: var(--header-height-mobile);
    }

    header.scrolled .header-container {
        height: var(--header-height-mobile-scrolled);
        padding: 0.5rem var(--spacing);
    }

    .logo-area {
        width: auto;
        justify-content: flex-start;
    }

    .logo-area img { height: 2.25rem; }
    header.scrolled .logo-area img { height: 2rem; }

    /* ---- Drawer ---- */
    .mobile-menu {
        display: block;
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        padding: 1.5rem var(--spacing) 2rem;

        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            visibility 0s linear 0.3s;
        z-index: 999;
        max-height: calc(100vh - var(--header-height-mobile));
        overflow-y: auto;
    }

    .mobile-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            visibility 0s;
    }

    header.scrolled + .mobile-menu {
        top: var(--header-height-mobile-scrolled);
        max-height: calc(100vh - var(--header-height-mobile-scrolled));
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        list-style: none;
        gap: 0.25rem;
        margin-bottom: 1.5rem;
    }

    .mobile-nav-links a {
        display: block;
        padding: 0.85rem 0.5rem;
        font-size: 1.125rem;
        font-weight: var(--font-weight-nav);
        color: var(--primary-text);
        text-decoration: none;
        border-bottom: 1px solid rgba(14, 14, 14, 0.06);
        transition: padding-left 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-links a:hover {
        padding-left: 0.75rem;
        color: var(--accent-gold);
    }

    .mobile-cta-area {
        display: flex;
        gap: 0.75rem;
    }

    .mobile-cta-area .btn-shop,
    .mobile-cta-area .btn-talk {
        flex: 1;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    /* ---- Hero adjustments ---- */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 3rem 0 6rem;
    }

    .glass-panel {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 2rem auto;
        width: calc(100% - 2 * var(--spacing));
        padding: 1.75rem;
        border-radius: 24px;
    }

    .headline-main,
    .headline-outline {
        text-align: center;
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .subhead {
        text-align: center;
        margin-inline: auto;
    }

    .scroll-indicator { bottom: 2rem; }

    /* ---- Projects ---- */
    .projects { padding: 3rem 0 4rem; }
    .projects-header {
        margin-bottom: 2rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image { border-radius: 24px; }

    .tag {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    .project-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }

    .project-name { font-size: 1.0625rem; }
}

/* ============ RESPONSIVE — SMALL MOBILE ============ */
@media (max-width: 480px) {
    .logo-area img { height: 2rem; }
    header.scrolled .logo-area img { height: 1.75rem; }

    .caption-text { font-size: 0.625rem; }
    .gold-rule { width: 20px; }

    .mobile-nav-links a {
        font-size: 1rem;
        padding: 0.75rem 0.5rem;
    }

    .btn-shop, .btn-talk {
        padding: 0.5rem 1rem;
        font-size: 0.6875rem;
        white-space: nowrap;
    }

    .glass-panel {
        padding: 1.25rem;
    }

    .headline-main,
    .headline-outline {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
        letter-spacing: -1px;
    }

    .subhead { font-size: 0.9375rem; }

    .projects-container { width: calc(100% - 2 * var(--spacing)); }

    .project-tags { top: 0.75rem; right: 0.75rem; gap: 0.35rem; }

    .tag {
        padding: 0.3rem 0.65rem;
        font-size: 0.6875rem;
    }

    .project-arrow {
        bottom: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .btn-shop:hover,
    .btn-talk:hover {
        transform: none;
    }
}

/* ============ ABOUT SECTION ============ */
.about {
    background-color: var(--header-bg);
    padding: 6rem 0 7rem;
}

.about-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* ---- Left: image + badge ---- */
.about-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 520px;
    background-color: #d9d4ce;
}

.about-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Community badge (bottom-left of image) */
.community-badge {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    max-width: 240px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.avatar-stack {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.avatar-stack img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-right: -8px;
    display: block;
}

.avatar-count {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: var(--primary-text);
    font-size: 0.625rem;
    font-weight: var(--font-weight-nav);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: 2px;
    flex-shrink: 0;
}

.badge-text {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-nav);
    line-height: 1.35;
    color: var(--primary-text);
    margin: 0;
}

/* ---- Right: content card ---- */
.about-card {
    background-color: #FAF7F4;
    border-radius: 28px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--font-weight-headline);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--primary-text);
    margin-bottom: 1.25rem;
    text-align: center;
}

.about-body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--primary-text);
    opacity: 0.8;
    text-align: center;
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: center;
    padding: 0.85rem 1.75rem;
    background-color: var(--primary-text);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: var(--font-weight-nav);
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.25s ease, gap 0.25s ease, transform 0.25s ease;
    margin-bottom: 2.5rem;
}

.about-cta:hover {
    background-color: #000;
    gap: 0.75rem;
    transform: translateY(-2px);
}

/* ---- Feature cards ---- */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.feature-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(245, 179, 1, 0.12);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: 1.0625rem;
    font-weight: var(--font-weight-nav);
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.feature-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--primary-text);
    opacity: 0.7;
    margin: 0;
}

/* ============ ABOUT — RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
    .about { padding: 4rem 0 5rem; }

    .about-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-visual { min-height: 420px; }
    .about-card { padding: 2rem; }
    .about-title { font-size: clamp(1.5rem, 4vw, 2rem); }
}

/* Mobile */
@media (max-width: 768px) {
    .about { padding: 3rem 0 4rem; }

    .about-container {
        width: calc(100% - 2 * var(--spacing));
        gap: 1.25rem;
    }

    .about-visual {
        min-height: 340px;
        border-radius: 24px;
    }

    .about-card {
        padding: 1.75rem;
        border-radius: 24px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .community-badge {
        left: 0.75rem;
        bottom: 0.75rem;
        padding: 0.7rem 0.85rem;
        max-width: 200px;
    }

    .badge-text { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-body {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .about-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }

    .feature-card { padding: 1.25rem 1rem; }
}

/* ============ SERVICES SECTION ============ */
.services {
    background-color: var(--header-bg);
    padding: 6rem 0 8rem;
}

.services-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-headline);
    letter-spacing: -1px;
    color: var(--primary-text);
    text-align: center;
    line-height: 1;
    margin: 0 0 3rem;
}

/* ---- The "stage" holds the hero image + the row of cards ---- */
.services-stage {
    position: relative;
}

/* Hero image at the top of the stage */
.services-hero {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 6;
    background-color: #d9d4ce;
}

.services-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 30%;
}

/* Cards overlay the bottom of the image */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 88%;
    margin: -110px auto 0;   /* pull up to overlap the image */
    position: relative;
    z-index: 2;
}

/* ---- Individual service card ---- */
.service-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 3.25rem 1.75rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
}

/* Black rounded icon chip that sits half-on / half-off the card */
.service-icon {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background-color: #111111;
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-headline);
    color: var(--primary-text);
    letter-spacing: -0.3px;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.service-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--primary-text);
    opacity: 0.65;
    margin: 0 0 1.5rem;
    max-width: 28ch;
}

.service-more {
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: var(--font-weight-nav);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-text);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1.5px solid var(--primary-text);
    transition: color 0.2s ease, border-color 0.2s ease, padding-bottom 0.2s ease;
}

.service-more:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    padding-bottom: 4px;
}

/* ============ SERVICES — RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
    .services { padding: 4rem 0 6rem; }
    .services-title { margin-bottom: 2.5rem; }

    .services-hero { aspect-ratio: 16 / 7; }

    .services-grid {
        width: 92%;
        margin-top: -90px;
        gap: 1.25rem;
    }

    .service-card { padding: 3rem 1.25rem 1.75rem; }
    .service-title { font-size: 1rem; }
    .service-text { font-size: 0.85rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .services { padding: 3rem 0 4rem; }

    .services-container { width: calc(100% - 2 * var(--spacing)); }

    .services-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 2rem;
    }

    .services-hero {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    /* On mobile the cards no longer overlap the image — stack cleanly */
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 2rem auto 0;
        gap: 2.5rem;
    }

    .service-card { padding: 3rem 1.5rem 2rem; }
}

@media (max-width: 480px) {
    .services-hero { aspect-ratio: 3 / 4; }

    .services-grid { gap: 2.25rem; }

    .service-card {
        padding: 2.75rem 1.25rem 1.75rem;
        border-radius: 18px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        top: -28px;
        border-radius: 12px;
    }

    .service-icon svg { width: 24px; height: 24px; }

    .service-title { font-size: 1.0625rem; }
    .service-text { font-size: 0.875rem; }
}

/* ============ CONTACT SECTION ============ */
.contact {
    background-color: var(--header-bg);
    padding: 6rem 0 6rem;
}

.contact-container {
    width: 90%;
    max-width: 1100px; /* slightly narrower than max-width for tighter cards */
    margin: 0 auto;
}

/* ---- Header ---- */
.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: var(--font-weight-headline);
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--accent-gold);
}

.contact-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--primary-text);
    opacity: 0.75;
    max-width: 40rem;
    margin: 0 auto;
}

/* ---- Grid ---- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ---- Individual Card ---- */
.contact-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ---- Icon ---- */
.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

/* Color variations matching our palette */
.icon-gold {
    background-color: rgba(245, 179, 1, 0.15);
    color: var(--accent-gold);
}

.icon-charcoal {
    background-color: rgba(14, 14, 14, 0.06);
    color: var(--primary-text);
}

.icon-soft-gold {
    background-color: rgba(245, 179, 1, 0.08);
    color: var(--accent-gold-light);
}

/* ---- Card Typography ---- */
.contact-card-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-nav);
    color: var(--primary-text);
    margin-bottom: 0.35rem;
}

.contact-card-text {
    font-size: 0.875rem;
    color: var(--primary-text);
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

/* ---- Card Actions ---- */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--accent-gold);
    color: var(--primary-text);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: var(--font-weight-nav);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: auto;
}

.contact-btn:hover {
    background-color: #e6a300;
    transform: translateY(-1px);
}

.contact-link {
    font-size: 1rem;
    font-weight: var(--font-weight-nav);
    color: var(--primary-text);
    text-decoration: none;
    margin-top: auto;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* ---- Footer Note ---- */
.contact-footer-note {
    background-color: #ffffff;
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--primary-text);
    opacity: 0.7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* ============ CONTACT — RESPONSIVE ============ */

@media (max-width: 1024px) {
    .contact { padding: 4rem 0 5rem; }
    .contact-grid { gap: 1rem; }
}

@media (max-width: 768px) {
    .contact { padding: 3rem 0 4rem; }
    .contact-container { width: calc(100% - 2 * var(--spacing)); }

    .contact-header { margin-bottom: 2.5rem; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-card-text { margin-bottom: 1.25rem; }

    .contact-footer-note {
        font-size: 0.875rem;
        padding: 1rem;
    }
}

/* ============ FOOTER ============ */
.site-footer {
    background-color: #FAF8F6; /* Very light warm gray to contrast with white cards */
    padding-top: 6rem;
    position: relative;
}

/* ---- Newsletter Block ---- */
.newsletter-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-box {
    background-color: var(--accent-gold);
    border-radius: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 4rem 0 0;
    min-height: 320px;
}

.newsletter-image {
    flex: 0 0 40%;
    height: 100%;
    min-height: 320px;
    background: url('newsletter-illustration.png') no-repeat center left / contain;
    position: relative;
}

/* Fallback if no image is present */
.sparkle-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    opacity: 0.3;
}

.newsletter-content {
    flex: 1;
    padding: 3rem 0;
    color: var(--primary-text); /* Gold bg needs dark text */
}

.newsletter-title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: var(--font-weight-headline);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.newsletter-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

/* ---- Newsletter Form ---- */
.newsletter-input-group {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 999px;
    padding: 4px;
    max-width: 460px;
    margin-bottom: 1.25rem;
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    color: #999;
}

.input-icon svg {
    width: 18px;
    height: 18px;
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.65rem 0;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--primary-text);
}

.newsletter-input-group button {
    background-color: var(--primary-text);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-family: inherit;
    font-weight: var(--font-weight-nav);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.newsletter-input-group button:hover {
    background-color: #000;
}

.newsletter-fineprint {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.5;
}

.newsletter-fineprint a {
    color: var(--primary-text);
    font-weight: var(--font-weight-nav);
    text-decoration: underline;
}

/* ---- Main Footer Area ---- */
.footer-main {
    padding: 4rem 0 5rem;
    margin-top: -2rem; /* Pull up under the floating newsletter box */
    background-color: #FAF8F6;
}

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

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    padding-top: 4rem; /* Space for the overlapping newsletter */
}

/* Brand Column */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 1rem;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: var(--font-weight-headline);
    letter-spacing: 2px;
    color: var(--primary-text);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--primary-text);
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

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

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--primary-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-text);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

/* Links Columns */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: var(--font-weight-headline);
    color: var(--primary-text);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-col a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: var(--font-weight-nav);
    color: var(--primary-text);
    opacity: 0.7;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

/* Contact List specific */
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon-sm {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
}

.contact-icon-sm svg {
    width: 16px;
    height: 16px;
}

/* ---- Bottom Legal Bar ---- */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem 0;
    background-color: #FAF8F6;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--primary-text);
    opacity: 0.6;
}

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

.footer-legal-links a {
    text-decoration: none;
    font-size: 0.8125rem;
    color: var(--primary-text);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* ============ FOOTER — RESPONSIVE ============ */

@media (max-width: 1024px) {
    .newsletter-box {
        padding: 0 2rem 0 0;
        flex-direction: column;
        padding: 2rem;
    }
    
    .newsletter-image {
        width: 100%;
        min-height: 200px;
        margin-bottom: 1.5rem;
        background-position: center;
    }

    .newsletter-content {
        padding: 0;
        text-align: center;
    }

    .newsletter-input-group {
        margin: 0 auto 1.25rem;
    }

    .footer-main .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-footer { padding-top: 4rem; }
    .newsletter-container { width: calc(100% - 2 * var(--spacing)); }
    .newsletter-box { padding: 1.5rem; border-radius: 20px; }
    
    .footer-container { width: calc(100% - 2 * var(--spacing)); }
    
    .footer-main { padding: 3rem 0; }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}