:root {
    --orange: #ec7837;
    --light: #e6e4e5;
    --orange-light: #f4a06a;
    --cream: #faf8f6;
    --cream-alt: #f2efec;
    --cream-deep: #ede9e5;
    --text: #35202f;
    --text-muted: rgba(53, 32, 47, 0.5);
    --text-subtle: rgba(53, 32, 47, 0.35);
    --border: rgba(53, 32, 47, 0.1);
    --border-strong: rgba(53, 32, 47, 0.18);

    --custom-primary-color: #35202f;
    --custom-secondary-color: #ec7837;
    --custom-secondary-light: #f4a06a;
    --custom-light-color: #e6e4e5;

    --custom-text-color: #35202f;
    --background-color: #faf8f6;
}

[data-theme="dark"] {
    /* Base background shades */
    --cream: #35202f;
    --cream-alt: #2a1826;
    --cream-deep: #1f111c;

    /* Accent colors */
    --orange: #ec7837;
    --orange-light: #f4a06a;

    /* Neutral light */
    --light: #e6e4e5;

    /* Text colors */
    --text: #e6e4e5;
    --text-muted: rgba(230, 228, 229, 0.6);
    --text-subtle: rgba(230, 228, 229, 0.35);

    /* Borders */
    --border: rgba(230, 228, 229, 0.08);
    --border-strong: rgba(230, 228, 229, 0.15);

    /* Custom variables */
    --custom-primary-color: #ec7837;
    --custom-secondary-color: #e6e4e5;
    --custom-secondary-light: #f4a06a;
    --custom-light-color: #e6e4e5;

    --custom-text-color: #e6e4e5;
    --background-color: #35202f;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--custom-text-color);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* Smooth global theme transition */
body,
body * {
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}



/* ─── THEME TOGGLE BUTTON ─── */
.theme-toggle {
    width: 4rem;
    height: 2rem;
    background: var(--border-strong);
    border: none;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.35s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(2rem - 6px);
    height: calc(2rem - 6px);
    background: var(--cream);
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle {
    background: #ec7837;
}

[data-theme="dark"] .theme-toggle::after {
    transform: translateX(2rem);
    background: #35202f;
}

.theme-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.theme-toggle-label {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.45;
    color: var(--text);
    transition: color 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
    display: none;
}

[data-theme="dark"] .theme-toggle-label {
    color: #e6e4e5;
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-size: 1.15rem;
}

.toggle-sun-icon {
    left: 0.5rem;
    color: #FFF;
    display: none;
}
[data-theme="dark"] .toggle-sun-icon {
    display: block;
}

.toggle-moon-icon {
    right: 0.5rem;
    color: var(--custom-primary-color);
}

[data-theme="dark"] .toggle-moon-icon {
    display: none;
}


/* Exempt animation-driven elements from the blanket transition */
.cursor,
.hero-title,
.hero-sub,
.hero-tag,
.hero-actions,
.hero-scroll-hint,
.marquee-inner,
.scroll-line,
.project-thumb-inner,
.team-photo-inner {
    transition: none !important;
}

.cursor {
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease !important;
}

.project-thumb-inner {
    transition: transform 0.6s ease !important;
}

.team-photo-inner {
    transition: transform 0.5s ease !important;
}



/* ─── CUSTOM CURSOR ─── */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--custom-secondary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
}

.cursor.hovered {
    width: 40px;
    height: 40px;
    background: rgba(236, 120, 55, 0.15);
    border: 1.5px solid var(--custom-secondary-color);
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
    background: rgba(250, 248, 246, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
}

[data-theme="dark"] nav.scrolled {
    background: rgba(53, 32, 47, 0.95) !important;
    box-shadow: 0 1px 0 rgba(230, 228, 229, 0.08) !important;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--custom-primary-color);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--custom-secondary-color);
}

.nav-cta {
    background: var(--custom-primary-color);
    color: var(--light);
    border: none;
    padding: 0.6rem 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--custom-secondary-color);
    transform: translateY(-2px);
    color: var(--custom-primary-color);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    background: var(--cream);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 3rem 4rem;
}

/* Subtle grain texture overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg-circle.c1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 120, 55, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: float 9s ease-in-out infinite;
}

.hero-bg-circle.c2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(53, 32, 47, 0.05) 0%, transparent 70%);
    bottom: 60px;
    left: 3%;
    animation: float 11s ease-in-out infinite reverse;
}

/* Large decorative text behind hero */
.hero-watermark {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px rgba(53, 32, 47, 0.06);
    letter-spacing: -0.05em;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-28px);
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--custom-secondary-color);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease both;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--custom-secondary-color);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--custom-primary-color);
    animation: fadeUp 0.8s 0.15s ease both;
}

.hero-title em {
    font-style: italic;
    color: var(--custom-secondary-color);
    position: relative;
    display: inline-block;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--custom-secondary-color);
    opacity: 0.3;
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 480px;
    margin-top: 1.5rem;
    animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: fadeUp 0.8s 0.45s ease both;
}

.btn-primary-custom {
    background: var(--custom-primary-color);
    color: var(--light);
    padding: 0.9rem 2.2rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--custom-secondary-color);
    color: var(--custom-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(236, 120, 55, 0.25);
}

.btn-outline-custom {
    background: transparent;
    color: var(--custom-primary-color);
    padding: 0.9rem 2.2rem;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    border: 1.5px solid var(--border-strong);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    border-color: var(--custom-secondary-color);
    color: var(--custom-secondary-color);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeUp 0.8s 0.6s ease both;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--custom-primary-color);
    opacity: 0.15;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MARQUEE ─── */
.marquee-strip {
    background: var(--custom-primary-color);
    overflow: hidden;
    padding: 0.85rem 0;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 22s linear infinite;
}

.marquee-inner span {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.marquee-inner .dot {
    color: var(--custom-secondary-color);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── SECTION BASE ─── */
section {
    padding: 7rem 3rem;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--custom-secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--custom-secondary-color);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--custom-primary-color);
}

/* ─── ABOUT ─── */
.about-section {
    background: var(--cream);
}

.about-stat {
    padding: 1.8rem 2rem;
    border-left: 2px solid rgba(236, 120, 55, 0.3);
    transition: border-color 0.3s ease;
}

.about-stat:hover {
    border-color: var(--custom-secondary-color);
}

.about-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--custom-secondary-color);
    display: block;
}

.about-stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(236, 120, 55, 0.2);
    z-index: 0;
}

.about-img-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--cream-deep) 0%, #e0d8d4 100%);
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-img-inner svg {
    opacity: 0.2;
    width: 200px;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    z-index: 2;
    background: var(--custom-secondary-color);
    padding: 1.5rem 2rem;
}

.about-badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--custom-primary-color);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--custom-primary-color);
    opacity: 0.65;
    margin-top: 0.2rem;
}

.values-list {
    list-style: none;
    margin-top: 2rem;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list .val-icon {
    width: 28px;
    height: 28px;
    background: rgba(236, 120, 55, 0.1);
    border: 1px solid rgba(236, 120, 55, 0.3);
    color: var(--custom-secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.values-list strong {
    color: var(--custom-primary-color);
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

/* ─── SERVICES ─── */
.services {
    background: var(--cream-alt);
}

.service-card {
    border: 1px solid var(--border);
    background: var(--cream);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 120, 55, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: rgba(236, 120, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(53, 32, 47, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(236, 120, 55, 0.15);
    line-height: 1;
    margin-bottom: 1.2rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-num {
    color: rgba(236, 120, 55, 0.4);
}

.service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--custom-primary-color);
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--custom-secondary-color);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-arrow {
    background: var(--custom-secondary-color);
    color: var(--custom-primary-color);
    border-color: var(--custom-secondary-color);
}

/* ─── PROJECTS ─── */
.projects-section {
    background: var(--cream);
    overflow: hidden;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
    padding: 0.5rem 1.3rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--custom-secondary-color);
    color: var(--custom-secondary-color);
}

.filter-btn.active {
    background: var(--custom-primary-color);
    border-color: var(--custom-primary-color);
    color: var(--light);
    font-weight: 500;
}

.projects-grid {
    margin-top: 3.5rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-thumb {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.project-thumb-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-card:hover .project-thumb-inner {
    transform: scale(1.06);
}

.pt-1 {
    background: linear-gradient(135deg, #f5ece9 0%, #ecd5c8 50%, #e8c4a8 100%);
}

.pt-2 {
    background: linear-gradient(135deg, #e8ecf5 0%, #c8d5ec 50%, #a8bce8 100%);
}

.pt-3 {
    background: linear-gradient(135deg, #e8f5ea 0%, #c8eccc 50%, #a8e2ae 100%);
}

.pt-4 {
    background: linear-gradient(135deg, #f5f2e8 0%, #ece5c8 50%, #e2d5a0 100%);
}

.pt-5 {
    background: linear-gradient(135deg, #f2e8f5 0%, #e0c8ec 50%, #cca8e0 100%);
}

.pt-6 {
    background: linear-gradient(135deg, #e8f5f5 0%, #c8e8ec 50%, #a8d8e2 100%);
}

.project-thumb.large {
    height: 420px;
}

.project-thumb.medium {
    height: 300px;
}

.project-thumb.small {
    height: 240px;
}

.project-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: repeating-linear-gradient(45deg, var(--custom-primary-color) 0, var(--custom-primary-color) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
}

.project-label-float {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(250, 248, 246, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(236, 120, 55, 0.4);
    color: var(--custom-secondary-color);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    z-index: 2;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(250, 248, 246, 0.97) 0%, rgba(250, 248, 246, 0.5) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--custom-primary-color);
    transform: translateY(12px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay-title {
    transform: translateY(0);
}

.project-overlay-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    transform: translateY(12px);
    transition: transform 0.4s 0.05s ease;
}

.project-card:hover .project-overlay-tags {
    transform: translateY(0);
}

.project-overlay-tag {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--custom-secondary-color);
}

.project-overlay-tag::before {
    content: '# ';
    opacity: 0.5;
}

.project-overlay-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--custom-primary-color);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateY(12px);
    transition: transform 0.4s 0.1s ease;
}

.project-card:hover .project-overlay-link {
    transform: translateY(0);
}

.project-overlay-link .arrow-box {
    width: 28px;
    height: 28px;
    background: var(--custom-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.project-overlay-link:hover .arrow-box {
    background: var(--custom-secondary-color);
    color: var(--custom-primary-color);
}

.project-info-bar {
    padding: 1.2rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.project-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--custom-primary-color);
}

.project-info-cat {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--custom-secondary-color);
}

.project-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    display: none;
}

/* ─── PROCESS ─── */
.process-section {
    background: var(--cream-alt);
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.3s ease;
}

.process-step:hover {
    padding-left: 1rem;
}

.process-step:first-child {
    border-top: 1px solid var(--border);
}

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(236, 120, 55, 0.2);
    min-width: 80px;
    transition: color 0.3s ease;
}

.process-step:hover .step-num {
    color: var(--custom-secondary-color);
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--custom-primary-color);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 500px;
}

.step-tag {
    display: inline-block;
    background: rgba(236, 120, 55, 0.1);
    border: 1px solid rgba(236, 120, 55, 0.25);
    color: var(--custom-secondary-color);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.7rem;
}

/* ─── TEAM ─── */
.team-section {
    background: var(--cream);
}

.team-card {
    position: relative;
    overflow: hidden;
    cursor: default;
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.team-photo-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--cream-deep) 0%, #ddd8d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo-inner {
    transform: scale(1.04);
}

.team-photo-inner .initials {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(53, 32, 47, 0.12);
    letter-spacing: -0.05em;
    transition: color 0.3s ease;
}

.team-card:hover .initials {
    color: rgba(236, 120, 55, 0.3);
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(250, 248, 246, 0.94) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-photo-overlay {
    opacity: 1;
}

.team-social {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--custom-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light);
    font-size: 0.78rem;
    transition: background 0.2s ease;
}

.team-social a:hover {
    background: var(--custom-secondary-color);
    color: var(--custom-primary-color);
}

.team-info {
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--border);
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--custom-primary-color);
}

.team-role {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--custom-secondary-color);
}

/* ─── CONTACT ─── */
.contact-section {
    background: var(--cream-alt);
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child {
    border-top: 1px solid var(--border);
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(236, 120, 55, 0.08);
    border: 1px solid rgba(236, 120, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--custom-secondary-color);
    font-size: 1rem;
}

.contact-info-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--custom-primary-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label-custom {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-control-custom {
    width: 100%;
    background: var(--cream);
    border: 1px solid var(--border-strong);
    color: var(--custom-primary-color);
    padding: 0.85rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.form-control-custom::placeholder {
    color: var(--text-subtle);
}

.form-control-custom:focus {
    border-color: var(--custom-secondary-color);
    box-shadow: 0 0 0 3px rgba(236, 120, 55, 0.08);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    background: var(--custom-primary-color);
    color: var(--light);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    cursor: pointer;
    letter-spacing: 0.04em;
    width: 100%;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
    background: var(--custom-secondary-color);
    color: var(--custom-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 120, 55, 0.25);
}

.map-placeholder {
    background: var(--cream-deep);
    border: 1px solid var(--border);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-top: 2rem;
}

/* ─── CTA ─── */
.cta-section {
    background: var(--custom-primary-color);
    text-align: center;
    padding: 7rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 40px,
            rgba(230, 228, 229, 0.02) 40px, rgba(230, 228, 229, 0.02) 80px);
}

.cta-watermark {
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px rgba(230, 228, 229, 0.04);
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}

.cta-section .section-title {
    color: var(--light);
    position: relative;
}

.cta-section .section-label {
    color: rgba(236, 120, 55, 0.8);
    position: relative;
}

.cta-section p {
    color: rgba(230, 228, 229, 0.55);
    position: relative;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.cta-section .btn-light-custom {
    background: var(--custom-secondary-color);
    color: var(--custom-primary-color);
    padding: 1rem 2.5rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    margin-top: 2.5rem;
    letter-spacing: 0.04em;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-section .btn-light-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(236, 120, 55, 0.4);
    color: var(--custom-primary-color);
}

/* ─── FOOTER ─── */
footer {
    background: var(--cream-deep);
    padding: 4rem 3rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--custom-primary-color);
}

.footer-logo span {
    color: var(--custom-secondary-color);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--custom-primary-color);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--custom-secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-subtle);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ─── REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .theme-toggle-label {
        display: none;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .hero-watermark {
        display: none;
    }
}

[data-theme="dark"] .logo-light {
    display: block !important;
}

[data-theme="dark"] .logo-dark {
    display: none !important;
}