 :root {
            --color-bg: #F7F3EE;
            --color-text: #111111;
            --color-accent: #8A5937;
            --color-border: #E9E6E2;
            --color-footer-bg: #111111;
            --color-footer-text: #F7F3EE;
            --color-footer-muted: rgba(247, 243, 238, 0.6);
            --color-footer-border: rgba(183, 125, 83, 0.2);
            
            --font-body: 'Hanken Grotesk', sans-serif;
            --font-heading: 'Libre Caslon Text', serif;
            
            --spacing-unit: 8px;
            --spacing-gutter: 32px;
            --spacing-margin-mobile: 24px;
            --spacing-margin-desktop: 80px;
            --spacing-section: 160px;
            /* Compatibility names used by other pages */
--color-ivory: var(--color-bg);
--color-black: var(--color-text);
--color-copper: var(--color-accent);
--color-gray: #555555;
--color-light-gray: #E8E4DF;

--font-primary: var(--font-heading);
--font-secondary: var(--font-body);

--container-max: 1440px;
--margin-mobile: var(--spacing-margin-mobile);
--margin-desktop: var(--spacing-margin-desktop);
--section-gap-mobile: 80px;
--section-gap-desktop: var(--spacing-section);
        }
     * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--color-bg);
            color: var(--color-text);
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        ::selection {
            background-color: var(--color-accent);
            color: #fff;
        }

        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
        }
a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

html {
    scroll-padding-top: 100px;
}


/* Accessible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #8A5937;
    outline-offset: 4px;
}

/* Skip to main content */
.skip-link {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translate(-50%, -200%);
    z-index: 9999;
    padding: 12px 18px;
    background: #111111;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translate(-50%, 0);
}


/* Header */
        .header {
            background-color: rgba(247, 243, 238, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 50;
            border-bottom: 1px solid rgba(233, 230, 226, 0.5);
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            padding: 0 var(--spacing-margin-mobile);
            transition: all 0.3s ease-in-out;
        }

        @media (min-width: 768px) {
            .header {
                padding: 0 var(--spacing-margin-desktop);
            }
        }

        .menu-toggle {
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: color 0.5s;
             padding: 10px;
        }
        
        .menu-toggle:hover {
            color: var(--color-accent);
        }

        .menu-icon {
            font-size: 32px;
            margin-right: 16px;
        }

        .header-logo-container {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .header-logo {
            font-family: var(--font-heading);
            font-size: 32px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            font-weight: 400;
        }

        .header-cta {
            display: none;
        }

        @media (min-width: 768px) {
            .header-cta {
                display: block;
            }
        }

        .header-cta a {
            font-family: var(--font-body);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            text-decoration: none;
            color: #444748;
            transition: color 0.5s;
        }
        
        .header-cta a:hover {
            color: var(--color-accent);
        }

        /* Drawer */
        .drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-margin-mobile);
    background-color: var(--color-bg);
    height: 100vh;
    width: 100%;
    border-right: 1px solid var(--color-border);
    transform: translateX(-100%);
    transition: transform 0.7s ease-in-out;

    overflow-y: auto;
    overscroll-behavior: contain;
}
        
        @media (min-width: 768px) {
            .drawer {
                width: 33.333%;
            }
        }

        .drawer.is-open {
            transform: translateX(0);
        }

      .drawer-header {
    margin-bottom: 28px;
}


.drawer-nav span {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    transition: all 0.3s;
}

        .drawer-title {
            font-family: var(--font-heading);
            font-size: 48px;
            letter-spacing: -0.01em;
            text-transform: uppercase;
            font-weight: 400;
        }

        .drawer-close {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--color-text);
            transition: color 0.3s;
        }

        .drawer-close:hover {
            color: var(--color-accent);
        }

    

        .drawer-nav a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--color-text);
            cursor: pointer;
        }


        .drawer-nav a.active span {
            color: var(--color-accent);
            transform: translateX(16px);
            font-weight: 700;
        }

        .drawer-nav a:not(.active):hover span {
            color: var(--color-accent);
            transform: translateX(16px);
        }

        .drawer-overlay {
            position: fixed;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 55;
            display: none;
            opacity: 0;
            transition: opacity 0.5s;
            pointer-events: none;
        }

        .drawer-overlay.is-visible {
            display: block;
        }

        .drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

        
        
        /* Hero Section */
        .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 130px var(--spacing-margin-mobile) 140px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 125px var(--spacing-margin-desktop) 150px;
    }
}

       

        .hero-content {
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 896px;
            margin: 0 auto;
        }

        .hero-logo-wrapper {
            margin-bottom: 22px;
        }

       .hero-logo {
    width: min(340px, 82vw);
    margin: 0 auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .hero-logo {
        width: 500px;
    }
}

        .hero-title {
            font-family: var(--font-heading);
            font-size: 42px;
            line-height: 1.16;
            letter-spacing: -0.01em;
            font-weight: 400;
            margin-bottom: 32px;
        }

        @media (min-width: 768px) {
            .hero-title {
                font-size: 70px;
                letter-spacing: -0.02em;
            }
        }

        .hero-desc {
            font-family: var(--font-body);
            font-size: 20px;
            line-height: 1.6;
            color: #444748;
            max-width: 672px;
            margin-bottom: 48px;
        }

        .hero-actions {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        @media (min-width: 640px) {
            .hero-actions {
                flex-direction: row;
            }
        }
.scroll-down {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.75;
    cursor: default;
    transition: opacity 0.3s ease;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down p {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #666;
}

.scroll-down span {
    font-size: 32px;
    color: var(--color-accent);
    animation: bounce 2s infinite;
}

          /* Divider */
        .divider-h {
            width: 100%;
            border-bottom: 0.5px solid var(--color-border);
        }

        /* Footer */
        .footer {
    width: 100%;
    padding: 90px var(--spacing-margin-mobile) 55px;
            display: flex;
            flex-direction: column;
            gap: var(--spacing-gutter);
            background-color: var(--color-footer-bg);
            color: var(--color-footer-text);
            border-top: 1px solid var(--color-footer-border);
            transition: all 0.3s ease-out;
        }

        @media (min-width: 768px) {
    .footer {
        padding: 90px var(--spacing-margin-desktop) 55px;
    }
}
@media (min-width: 768px) {
    .footer-brand {
        transform: translateY(-12px);
    }
}

        .footer-top {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            gap: 48px;
        }
@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        align-items: flex-start;
    }
}

        .footer-brand h2 {
            font-family: var(--font-heading);
            font-size: 48px;
            letter-spacing: -0.01em;
            margin-bottom: 16px;
            font-weight: 400;
        }

        .footer-brand p {
            font-family: var(--font-body);
            font-size: 16px;
            color: var(--color-footer-muted);
            max-width: 384px;
        }

        /* Footer Navigation */

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 72px;
    align-items: start;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-nav-title {
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.footer-nav-column a {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(247, 243, 238, 0.75);
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-nav-column a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

        .footer-divider {
            width: 100%;
            height: 1px;
            background-color: rgba(229, 226, 222, 0.2);
            margin-top: 30px;
            margin-bottom: 24px;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: rgba(247, 243, 238, 0.7);
        }

        .footer-bottom p {
            font-family: var(--font-body);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }

        .footer-badge {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-badge span:first-child {
            font-size: 14px;
        }

        .footer-badge span:last-child {
            font-family: var(--font-body);
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }

        /* Buttons */
        .btn-primary {
            background-color: var(--color-text);
            color: #ffffff;
            font-family: var(--font-body);
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.1em;
            padding: 16px 32px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.5s;
        }

        .btn-primary:hover {
            background-color: var(--color-accent);
        }

        .btn-ghost {
            background-color: transparent;
            border: 1px solid var(--color-accent);
            color: var(--color-accent);
            font-family: var(--font-body);
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.1em;
            padding: 16px 32px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.5s;
        }

        .btn-ghost:hover {
            background-color: var(--color-accent);
            color: #ffffff;
        }

        /* Animations */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
       @keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}
        .animate-fade-up { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
        .delay-100 { animation-delay: 100ms; }
        .delay-200 { animation-delay: 200ms; }
        .delay-300 { animation-delay: 300ms; }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--color-bg);
        }
        ::-webkit-scrollbar-thumb {
            background: #e5e2de;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #c4c7c7;
        }
        /* ================================================= */
/*                    ABOUT PAGE                      */
/* ================================================= */

.about-page .founders-section {
    padding-bottom: var(--section-gap-mobile);
}

.about-page .section-header {
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    padding-top: 64px;
    margin-bottom: 64px;
}

.about-page .founders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.about-page .founder-card {
    cursor: default;
}

.about-page .founder-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--color-light-gray);
    margin-bottom: 32px;
    position: relative;
}

.about-page .founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-page .founder-card:hover .founder-image {
    transform: scale(1.05);
}

.about-page .image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.05);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-page .founder-card:hover .image-overlay {
    opacity: 1;
}

.about-page .founder-name {
    margin-bottom: 8px;
}

.about-page .founder-title {
    color: var(--color-accent);
    margin-bottom: 24px;
    display: block;
}

.about-page .founder-bio {
    color: var(--color-gray);
}

@media (min-width: 768px) {
    .about-page .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 64px;
    }

    .about-page .founder-card:nth-child(2) {
        margin-top: 96px;
    }

    .about-page .founders-section {
        padding-bottom: var(--section-gap-desktop);
    }
}
/* ================================================= */
/*              ABOUT PAGE — HERO                    */
/* ================================================= */

.about-page main {
    padding-top: 110px;
    min-height: calc(100vh - 80px);
}

.about-page .hero-section {
    margin-bottom: 70px;
}

.about-page .hero-title {
    margin-bottom: 32px;
}

.about-page .divider {
    height: 1px;
    width: 100%;
    background-color: rgba(183, 125, 83, 0.3);
    margin-bottom: 32px;
}

.about-page .hero-text {
    color: var(--color-gray);
    max-width: 800px;
}

@media (min-width: 768px) {
    .about-page main {
        padding-top: 135px;
    }

    .about-page .hero-section {
        margin-bottom: 90px;
    }
}


/* ================================================= */
/*            ABOUT PAGE — TYPOGRAPHY                 */
/* ================================================= */

.about-page h1,
.about-page h2,
.about-page h3,
.about-page .font-serif {
    font-family: var(--font-heading);
    font-weight: 400;
}

.about-page .text-display {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.about-page .text-headline-lg {
    font-size: 40px;
    line-height: 1.2;
}

.about-page .text-headline-md {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: 0.05em;
}

.about-page .text-body-lg {
    font-size: 20px;
    line-height: 1.6;
}

.about-page .text-label-caps {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
}

.about-page .text-cta {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .about-page .text-display {
        font-size: 80px;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }
}

/* ================================================= */
/*          ABOUT PAGE — LAYOUT & UTILITIES          */
/* ================================================= */

.about-page .grid {
    display: grid;
}

.about-page .flex {
    display: flex;
}

/* ================================================= */
/*                  CONTACT PAGE                     */
/* ================================================= */

.contact-page.drawer-active {
    overflow: hidden;
}

.contact-page main {
    padding-top: 80px;
}

.contact-page .contact-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--spacing-margin-mobile);
    padding-right: var(--spacing-margin-mobile);
}

.contact-page .contact-label,
.contact-page .contact-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}


/* ================================================= */
/*                CONTACT PAGE — HERO                */
/* ================================================= */

.contact-page .contact-hero {
    padding-top: 96px;
    padding-bottom: 80px;
}

.contact-page .contact-hero .contact-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-page .contact-eyebrow {
    margin-bottom: 32px;
}

.contact-page .contact-title {
    max-width: 1000px;
    margin-bottom: 32px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 9vw, 112px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 400;
}

.contact-page .contact-intro {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-gray);
}

.contact-page .contact-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(183, 125, 83, 0.3);
}
.contact-page .contact-hero-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

.contact-page .contact-hero-copy {
    max-width: 820px;
}

.contact-page .featured-project {
    width: 100%;
    max-width: none;
    justify-self: stretch;
}

.contact-page .featured-label {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.contact-page .browser-frame {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.contact-page .browser-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(17, 17, 17, 0.12);
}

.contact-page .browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: #faf9f7;
}

.contact-page .browser-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d7d3cf;
}

.contact-page .browser-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-page .featured-caption {
    margin-top: 16px;
}

.contact-page .featured-caption h3 {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
}

.contact-page .featured-caption p {
    color: var(--color-gray);
    font-size: 15px;
}


/* ================================================= */
/*             CONTACT PAGE — FORM AREA              */
/* ================================================= */

.contact-page .contact-section {
    padding-top: 80px;
    padding-bottom: var(--section-gap-mobile);
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 96px;
}

.contact-page .contact-info {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.contact-page .contact-info-intro h2 {
    max-width: 520px;
    margin-top: 24px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.contact-page .contact-info-intro > p:last-child {
    max-width: 520px;
    color: var(--color-gray);
}

.contact-page .contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-page .contact-detail {
    padding-top: 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.contact-page .contact-detail .contact-label {
    margin-bottom: 12px;
}

.contact-page .contact-detail a,
.contact-page .contact-detail > p:last-child {
    display: block;
    max-width: 360px;
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.45;
    color: var(--color-text);
}

.contact-page .contact-detail a {
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-page .contact-detail a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}


/* Form */

.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-page .contact-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-page .contact-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-page .contact-field label {
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gray);
}

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
    width: 100%;
    min-height: 56px;
    padding: 12px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.3);
    border-radius: 0;
    outline: none;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-page .contact-field select {
    cursor: default;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--color-accent) 50%),
        linear-gradient(135deg, var(--color-accent) 50%, transparent 50%);
    background-position:
        calc(100% - 15px) 50%,
        calc(100% - 9px) 50%;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.contact-page .contact-field textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field select:focus,
.contact-page .contact-field textarea:focus {
    border-bottom-color: var(--color-accent);
    box-shadow: 0 1px 0 var(--color-accent);
}

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
    color: #666666;
}

.contact-page .contact-submit-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 16px;
}  

.contact-page .contact-submit-area > p {
    max-width: 420px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-gray);
}

.contact-page .contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 32px;
    background-color: var(--color-text);
    border: 1px solid var(--color-text);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition:
        background-color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease;
}

.contact-page .contact-submit span {
    font-size: 20px;
    transition: transform 0.4s ease;
}

.contact-page .contact-submit:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.contact-page .contact-submit:hover span {
    transform: translateX(5px);
}


/* ================================================= */
/*              CONTACT PAGE — LOWER CTA             */
/* ================================================= */

.contact-page .contact-lower-cta {
    padding-top: var(--section-gap-mobile);
    padding-bottom: var(--section-gap-mobile);
    background-color: rgba(233, 230, 226, 0.45);
}

.contact-page .contact-lower-cta-content {
    max-width: 900px;
}

.contact-page .contact-lower-cta h2 {
    margin-top: 24px;
    margin-bottom: 48px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 7vw, 80px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 400;
}


/* ================================================= */
/*             CONTACT PAGE — RESPONSIVE             */
/* ================================================= */

@media (min-width: 640px) {
    .contact-page .contact-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .contact-page .contact-submit-area {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .contact-page .contact-container {
        padding-left: var(--spacing-margin-desktop);
        padding-right: var(--spacing-margin-desktop);
    }

    .contact-page .contact-hero {
        padding-top: 144px;
        padding-bottom: 112px;
    }

    .contact-page .contact-intro {
        font-size: 20px;
    }

    .contact-page .contact-section {
        padding-top: 112px;
        padding-bottom: var(--section-gap-desktop);
    }

    .contact-page .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-page .contact-lower-cta {
        padding-top: var(--section-gap-desktop);
        padding-bottom: var(--section-gap-desktop);
    }
}

@media (min-width: 1024px) {
    .contact-page .contact-grid {
        grid-template-columns:
            minmax(0, 5fr)
            minmax(0, 7fr);
        gap: 96px;
        align-items: start;
    }
  .contact-page .contact-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contact-page .contact-title {
    max-width: 760px;
}

    .contact-page .contact-info {
        position: sticky;
        top: 128px;
    }

    .contact-page .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1280px) {
    .contact-page .contact-grid {
        gap: 144px;
    }
}

@media (max-width: 767px) {
    .contact-page .header-logo {
        font-size: 26px;
    }

    .contact-page .menu-toggle > span:last-child {
        display: none;
    }

    .contact-page .contact-submit {
        width: 100%;
    }

    .contact-page .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
/*                     FAQ PAGE                      */
/* ================================================= */

.faq-page main {
    padding-top: 128px;
}

.faq-hero,
.faq-divider,
.faq-content,
.faq-cta {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.faq-hero {
    padding-top: 64px;
    padding-bottom: 80px;
}

.faq-eyebrow,
.faq-side .text-label-caps,
.faq-cta .text-label-caps {
    margin-bottom: 20px;
    color: var(--color-accent);
}

.faq-title {
    max-width: 980px;
    margin-bottom: 32px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.faq-intro {
    max-width: 720px;
    color: var(--color-gray);
    font-size: 20px;
    line-height: 1.65;
}

.faq-divider {
    height: 1px;
    background: var(--color-border);
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 88px;
    padding-bottom: var(--section-gap-mobile);
}

.faq-side h2,
.faq-cta h2 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.faq-side h2 {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.faq-side > p:last-child {
    max-width: 520px;
    color: var(--color-gray);
    font-size: 17px;
}

.faq-list {
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 30px 0;
    color: var(--color-text);
    text-align: left;
}

.faq-question > span:first-child {
    font-family: var(--font-heading);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.faq-question:hover > span:first-child,
.faq-item.is-open .faq-question > span:first-child {
    color: var(--color-accent);
}

.faq-icon {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-size: 28px;
    transition: transform 0.35s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer-inner {
    padding: 0 48px 32px 0;
}

.faq-answer p {
    max-width: 700px;
    color: var(--color-gray);
    font-size: 17px;
    line-height: 1.75;
}

.faq-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-top: 72px;
    padding-bottom: 96px;
    border-top: 1px solid var(--color-border);
}

.faq-cta h2 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.14;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .faq-page main {
        padding-top: 160px;
    }

    .faq-hero {
        padding-top: 88px;
        padding-bottom: 112px;
    }

    .faq-content {
        padding-top: 120px;
        padding-bottom: var(--section-gap-desktop);
    }

    .faq-cta {
        flex-direction: row;
        align-items: flex-end;
        padding-top: 96px;
        padding-bottom: 128px;
    }
}

@media (min-width: 1024px) {
    .faq-content {
        grid-template-columns: minmax(0, 0.75fr) minmax(560px, 1.25fr);
        gap: 104px;
    }

    .faq-side {
        position: sticky;
        top: 136px;
        align-self: start;
    }
}

@media (max-width: 640px) {
    .faq-answer-inner {
        padding-right: 0;
    }

    .faq-page .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .faq-page .menu-toggle .text-label-caps {
        display: none;
    }
}



/* ================================================= */
/*                  PORTFOLIO PAGE                   */
/* ================================================= */

.portfolio-page.drawer-open {
    overflow: hidden;
}

.portfolio-page main {
    padding-top: 80px;
}

.portfolio-page .portfolio-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--spacing-margin-mobile);
    padding-right: var(--spacing-margin-mobile);
}

.portfolio-page .portfolio-eyebrow,
.portfolio-page .portfolio-number {
    color: var(--color-accent);
}

/* Hero */

.portfolio-page .portfolio-hero {
    padding-top: 96px;
    padding-bottom: 80px;
}

.portfolio-page .portfolio-eyebrow {
    margin-bottom: 32px;
}

.portfolio-page .portfolio-title {
    max-width: 1050px;
    margin-bottom: 32px;
    font-family: var(--font-heading);
    font-size: clamp(52px, 9vw, 112px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 400;
}

.portfolio-page .portfolio-intro {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-gray);
}

.portfolio-page .portfolio-divider {
    height: 1px;
    background-color: rgba(183, 125, 83, 0.3);
    background-clip: content-box;
}

/* Projects */

.portfolio-page .portfolio-projects {
    display: flex;
    flex-direction: column;
    gap: 112px;
    padding-top: 96px;
    padding-bottom: var(--section-gap-mobile);
}

.portfolio-page .portfolio-project {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.portfolio-page .portfolio-image-wrap,
.portfolio-page .portfolio-placeholder {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--color-light-gray);
}

.portfolio-page .portfolio-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.06);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-page .portfolio-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.portfolio-page .portfolio-image-wrap:hover img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.portfolio-page .portfolio-image-wrap:hover::after {
    opacity: 1;
}

.portfolio-page .portfolio-project-copy {
    max-width: 520px;
}

.portfolio-page .portfolio-number {
    margin-bottom: 24px;
}

.portfolio-page .portfolio-project-copy h2 {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.portfolio-page .portfolio-project-copy > p:not(.portfolio-number) {
    margin-bottom: 32px;
    color: var(--color-gray);
}

.portfolio-page .portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.portfolio-page .portfolio-link .material-symbols-outlined {
    font-size: 20px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.portfolio-page .portfolio-link:hover {
    color: var(--color-accent);
}

.portfolio-page .portfolio-link:hover .material-symbols-outlined {
    transform: translateX(5px);
}

.portfolio-page .portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background-color: rgba(233, 230, 226, 0.45);
}

.portfolio-page .portfolio-placeholder span {
    font-size: clamp(64px, 10vw, 112px);
    font-weight: 200;
    color: var(--color-accent);
    opacity: 0.7;
}

/* Responsive */

@media (min-width: 768px) {
    .portfolio-page .portfolio-container {
        padding-left: var(--spacing-margin-desktop);
        padding-right: var(--spacing-margin-desktop);
    }

    .portfolio-page .portfolio-hero {
        padding-top: 144px;
        padding-bottom: 112px;
    }

    .portfolio-page .portfolio-intro {
        font-size: 20px;
    }

    .portfolio-page .portfolio-projects {
        gap: var(--section-gap-desktop);
        padding-top: 128px;
        padding-bottom: var(--section-gap-desktop);
    }
}

@media (min-width: 960px) {
    .portfolio-page .portfolio-project {
        grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
        gap: 8.333%;
    }

    .portfolio-page .portfolio-project-reverse {
        grid-template-columns: minmax(300px, 4fr) minmax(0, 7fr);
    }

    .portfolio-page .portfolio-project-reverse .portfolio-image-wrap {
        grid-column: 2;
        grid-row: 1;
    }

    .portfolio-page .portfolio-project-reverse .portfolio-project-copy {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    .portfolio-page .header-logo {
        font-size: 26px;
    }

    .portfolio-page .menu-toggle > span:last-child {
        display: none;
    }

    .portfolio-page .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}



/* ================================================= */
/*                   PROCESS PAGE                    */
/* ================================================= */

.process-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.process-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.process-page .process-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: var(--spacing-margin-mobile);
}

.process-page .process-main {
    flex-grow: 1;
    padding-top: 105px;
    padding-bottom: 120px;
}

/* Process typography */
.process-page .process-display,
.process-page .process-heading-large,
.process-page .process-heading-medium {
    font-family: var(--font-heading);
    font-weight: 400;
}

.process-page .process-display {
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.process-page .process-heading-large {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.process-page .process-heading-medium {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: 0.05em;
}

.process-page .process-body-large {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.process-page .process-label {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Process hero */
.process-page .process-hero {
    position: relative;
    padding-top: 24px;
    margin-bottom: 90px;
}

.process-page .process-hero-line {
    display: none;
    position: absolute;
    left: -32px;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--color-border);
}

.process-page .process-hero-content {
    max-width: 768px;
}

.process-page .process-methodology {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.process-page .process-methodology::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 24px);
    width: 64px;
    height: 1px;
    background-color: var(--color-accent);
    transform: translateY(-50%);
}

.process-page .process-hero-title {
    margin-bottom: 24px;
}

.process-page .process-hero-description {
    max-width: 600px;
    color: #444748;
}

/* Process steps */
.process-page .process-steps-section {
    position: relative;
    width: 100%;
}

.process-page .process-horizontal-line {
    position: absolute;
    top: 0;
    left: -50vw;
    right: -50vw;
    height: 1px;
    background-color: var(--color-border);
}

.process-page .process-steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-gutter);
    padding-top: 64px;
}

.process-page .process-line-desktop,
.process-page .process-line-tablet {
    display: none;
}

.process-page .process-line-mobile {
    position: absolute;
    left: 32px;
    top: 64px;
    bottom: 64px;
    width: 1px;
    background-color: var(--color-accent);
    opacity: 0.5;
    z-index: 0;
}

.process-page .process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 48px;
    background-color: var(--color-bg);
}

.process-page .process-step-icon-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.process-page .process-step-circle {
    position: relative;
    width: 64px;
    height: 64px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    color: var(--color-accent);
}

.process-page .process-step-circle-filled {
    border-color: var(--color-text);
    background-color: var(--color-text);
    color: #ffffff;
}

.process-page .process-step-icon {
    position: absolute;
    top: -16px;
    right: -16px;
    padding: 4px;
    background-color: var(--color-bg);
    color: var(--color-accent);
    line-height: 1;
}

.process-page .process-step-icon .material-symbols-outlined {
    font-size: 20px;
}

.process-page .process-step-icon-dark {
    color: var(--color-accent);
}

.process-page .process-step-content {
    padding-left: 80px;
}

.process-page .process-step-title {
    margin-bottom: 16px;
}

.process-page .process-step-description {
    color: #444748;
}

/* Process image section */
.process-page .process-image-section {
    position: relative;
    margin-top: var(--spacing-section);
}

.process-page .process-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-gutter);
    padding-top: 64px;
}

.process-page .process-image-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 48px;
}

.process-page .process-image-title {
    margin-bottom: 24px;
}

.process-page .process-image-description {
    margin-bottom: 32px;
    color: #444748;
}

.process-page .process-portfolio-button {
    width: max-content;
}

.process-page .process-image-wrap {
    position: relative;
    height: min(600px, 70vw);
    min-height: 360px;
    border: 1px solid var(--color-border);
    padding: 8px;
    background-color: #ffffff;
}

.process-page .process-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.8s ease;
}

.process-page .process-image-inner:hover {
    filter: grayscale(0%);
}

/* Featured Project — Process Page */

.process-page .process-featured-project {
    width: 100%;
}

.process-page .process-featured-label {
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.process-page .process-browser-frame {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(17, 17, 17, 0.08);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.process-page .process-browser-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(17, 17, 17, 0.13);
}

.process-page .process-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 16px;

    background-color: #faf9f7;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.process-page .process-browser-bar > span {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #d3cfca;
}

.process-page .process-browser-bar p {
    margin-left: 10px;
    overflow: hidden;
    color: #777;
    font-size: 11px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.process-page .process-browser-image {
    width: 100%;
    overflow: hidden;
}

.process-page .process-browser-image img {
    display: block;
    width: 100%;
    height: auto;

    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}

.process-page .process-browser-frame:hover .process-browser-image img {
    transform: scale(1.025);
}

.process-page .process-featured-caption {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 18px;
}

.process-page .process-featured-caption h3 {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
}

.process-page .process-featured-caption p {
    color: #666;
    font-size: 14px;
}

.process-page .process-live-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: max-content;

    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-accent);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.process-page .process-live-link span {
    font-size: 18px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.process-page .process-live-link:hover {
    color: var(--color-accent);
}

.process-page .process-live-link:hover span {
    transform: translate(3px, -3px);
}

@media (min-width: 640px) {
    .process-page .process-featured-caption {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .process-page .process-container {
        padding-inline: var(--spacing-margin-desktop);
    }

    .process-page .process-main {
        padding-top: 110px;
    }

    .process-page .process-display {
        font-size: 80px;
        letter-spacing: -0.02em;
    }

    .process-page .process-hero {
        padding-top: 28px;
    }

    .process-page .process-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-page .process-line-mobile {
        display: none;
    }

    .process-page .process-line-tablet {
        display: block;
        position: absolute;
        left: 25%;
        right: 25%;
        height: 1px;
        background-color: var(--color-accent);
        opacity: 0.5;
        z-index: 0;
    }

    .process-page .process-line-tablet-one {
        top: 96px;
    }

    .process-page .process-line-tablet-two {
        top: 53%;
    }

    .process-page .process-step {
        padding-bottom: 0;
        background-color: transparent;
    }

    .process-page .process-step-icon-wrap {
        justify-content: center;
    }

    .process-page .process-step-content {
        padding-inline: 16px;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .process-page .process-hero-line {
        display: block;
    }

    .process-page .process-steps-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .process-page .process-line-tablet {
        display: none;
    }

    .process-page .process-line-desktop {
        display: block;
        position: absolute;
        top: 96px;
        left: 12.5%;
        right: 12.5%;
        height: 1px;
        background-color: var(--color-accent);
        opacity: 0.5;
        z-index: 0;
    }

    .process-page .process-image-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .process-page .process-image-content {
        grid-column: span 5;
        margin-bottom: 0;
        padding-right: 32px;
    }

    .process-page .process-featured-project {
    grid-column: span 7;
    width: 100%;
}
}

@media (max-width: 639px) {
    .process-page .process-methodology::after {
        width: 36px;
        left: calc(100% + 16px);
    }

    .process-page .process-heading-large {
        font-size: 36px;
    }

    .process-page .process-heading-medium {
        font-size: 28px;
    }
}



/* ================================================= */
/*                  SERVICES PAGE                    */
/* ================================================= */

.services-page main {
    padding-top: 80px;
}

.services-page .services-hero {
    padding-top: 64px;
    padding-bottom: 56px;
}

.services-page .services-eyebrow {
    margin-bottom: 20px;
}

.services-page .services-title {
    max-width: 1050px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 104px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 400;
}

.services-page .services-intro {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-gray);
}

.services-page .services-section {
    padding-top: 64px;
    padding-bottom: 96px;
}

.services-page .services-section-heading {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 40px;
}

.services-page .services-section-heading p { margin-bottom: 0; white-space: nowrap; }
.services-page .services-section-heading div { width: 100%; height: 1px; background: var(--color-border); }

.services-page .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.services-page .service-card {
    min-height: 360px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition: background-color .4s ease, transform .4s ease;
}
.services-intro a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(183, 125, 83, 0.45);
    transition: border-color 0.3s ease;
}

.services-intro a:hover {
    border-bottom-color: var(--color-accent);
}

.services-page .service-card:hover { background: #fff; transform: translateY(-3px); }
.services-page .service-number { margin-bottom: 32px; color: var(--color-accent); }
.services-page .service-card h2 { margin-bottom: 20px; font-family: var(--font-heading); font-size: 32px; line-height: 1.2; font-weight: 400; }
.services-page .service-card p:last-child { color: var(--color-gray); }
.services-page .service-card > .material-symbols-outlined { align-self: flex-end; margin-top: 32px; color: var(--color-gray); transition: transform .4s ease, color .4s ease; }
.services-page .service-card:hover > .material-symbols-outlined { color: var(--color-accent); transform: translate(7px,-7px); }

.services-page .services-cta {
    padding-top: var(--section-gap-mobile);
    padding-bottom: var(--section-gap-mobile);
    text-align: center;
}

.services-page .services-cta h2 {
    max-width: 820px;
    margin: 0 auto 48px;
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.12;
    font-weight: 400;
}

@media (min-width: 768px) {
    .services-page .services-container {
        padding-left: var(--spacing-margin-desktop);
        padding-right: var(--spacing-margin-desktop);
    }

    .services-page .services-hero {
        padding-top: 88px;
        padding-bottom: 72px;
    }

    .services-page .services-intro {
        font-size: 20px;
    }

    .services-page .services-section {
        padding-top: 80px;
        padding-bottom: 120px;
    }

    .services-page .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

   .services-page .services-cta {
    padding-top: 70px;
    padding-bottom: 100px;
}
}

@media (min-width: 1024px) {
    .services-page .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .services-page .header-logo { font-size: 26px; }
   
    .services-page .service-card { min-height: 320px; padding: 32px 28px; }
    .services-page .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 767px) {
    .menu-toggle > span:last-child {
        display: none;
    }
}

/* ============================================== */
/* CONTACT HERO — FINAL SPACING OVERRIDE          */
/* ============================================== */

@media (min-width: 768px) {

    .contact-page .contact-hero {
        padding-top: 40px !important;
        padding-bottom: 64px !important;
    }

    .contact-page .contact-hero-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 56px !important;
        align-items: center;
    }

    .contact-page .featured-project {
        width: 100% !important;
        max-width: none !important;
        justify-self: stretch !important;
    }
}

/* =============================================
   RESET
============================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f0e7;
    color: #171717;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =============================================
   VARIABLES
============================================= */

:root {
    --cream: #f4f0e7;
    --light-cream: #faf7f0;
    --dark: #171717;
    --soft-dark: #222222;
    --text-soft: #6f6b64;
    --border: rgba(23, 23, 23, 0.14);
    --light-border: rgba(255, 255, 255, 0.15);
}


/* =============================================
   GLOBAL
============================================= */

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-heading > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.8;
}


/* =============================================
   HEADER
============================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.header-inner {
    width: min(1280px, calc(100% - 48px));
    height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.desktop-nav a {
    position: relative;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.desktop-nav a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--dark);
    transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.nav-button {
    padding: 12px 20px;
    background: var(--dark);
    color: var(--cream);
}

.mobile-menu-button {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 23px;
    height: 1px;
    margin: 6px auto;
    background: var(--dark);
    transition: 0.25s ease;
}

.mobile-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}


/* =============================================
   HERO
============================================= */

.pricing-hero {
    min-height: 640px;
    padding: 165px 0 90px;
    display: flex;
    align-items: center;
    background: var(--cream);
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 9vw, 7.5rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.hero-description {
    max-width: 640px;
    margin: 0 auto 35px;
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-link {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--dark);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* =============================================
   PACKAGES
============================================= */

.packages-section {
    background: var(--light-cream);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1060px;
    margin: 0 auto;
}

.package-card {
    position: relative;
    padding: 50px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    background: var(--cream);
}

.premium-card {
    background: var(--dark);
    color: var(--cream);
}

.premium-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 11px 18px;
    background: var(--cream);
    color: var(--dark);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.dark-badge {
    background: #171717;
    color: #f4f0e7;
    border: 1px solid #171717;
}

.package-name {
    margin-bottom: 16px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.package-card h3 {
    margin-bottom: 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
}

.package-price {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

.package-price span {
    margin-bottom: 3px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.package-price strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
}

.package-description {
    margin-bottom: 32px;
    font-size: 0.94rem;
    line-height: 1.75;
    opacity: 0.68;
}

.feature-list {
    margin-bottom: 40px;
    flex: 1;
}

.feature-row {
    min-height: 52px;
    padding: 13px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.premium-card .feature-row {
    border-color: var(--light-border);
}

.check {
    flex: 0 0 auto;
    font-size: 1rem;
}


/* =============================================
   BUTTONS
============================================= */

.card-button {
    width: fit-content;
    min-width: 175px;
    padding: 16px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.card-button:hover {
    transform: translateY(-2px);
    opacity: 0.82;
}

.dark-button {
    background: var(--dark);
    color: var(--cream);
}

.light-button {
    background: var(--cream);
    color: var(--dark);
}


/* =============================================
   PAGE PRICING
============================================= */

.page-pricing-section {
    background: var(--dark);
    color: var(--cream);
}

.light-heading > p:last-child {
    color: rgba(244, 240, 231, 0.65);
}

.pricing-table-wrap {
    max-width: 920px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 23px 25px;
    border-bottom: 1px solid var(--light-border);
    text-align: center;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
}

.pricing-table th {
    color: rgba(244, 240, 231, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pricing-table td {
    font-size: 1rem;
}

.payment-split {
    max-width: 700px;
    margin: 55px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    text-align: center;
}

.payment-split > div:not(.payment-divider) {
    flex: 1;
}

.payment-number {
    display: block;
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
}

.payment-split p {
    color: rgba(244, 240, 231, 0.65);
    font-size: 0.82rem;
}

.payment-divider {
    width: 1px;
    height: 52px;
    background: var(--light-border);
}


/* =============================================
   WEBSITE CARE
============================================= */

.care-section {
    background: var(--cream);
}

.care-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    border: 1px solid var(--border);
    background: var(--light-cream);
}

.care-info h2 {
    margin-bottom: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
}

.care-price {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
}

.care-price strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 0.95;
}

.care-price span {
    margin: 0 0 7px 8px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.care-description {
    max-width: 450px;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.75;
}

.care-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.care-list div {
    padding: 17px 0;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}


/* =============================================
   ADVANCED FEATURES
============================================= */

.advanced-section {
    background: var(--light-cream);
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.advanced-item {
    min-height: 240px;
    padding: 35px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.advanced-item > span {
    display: block;
    margin-bottom: 30px;
    color: var(--text-soft);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
}

.advanced-item h3 {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.advanced-item p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.7;
}

.custom-quote-note {
    max-width: 650px;
    margin: 35px auto 30px;
    color: var(--text-soft);
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.65;
}

.center-button {
    display: flex;
    justify-content: center;
}


/* =============================================
   FINAL CTA
============================================= */

.final-cta {
    padding: 125px 0;
    background: var(--dark);
    color: var(--cream);
}

.final-cta-content {
    max-width: 800px;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.final-cta p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto 35px;
    color: rgba(244, 240, 231, 0.65);
    line-height: 1.8;
}


/* =============================================
   FOOTER
============================================= */

.site-footer {
    background: #111111;
    color: var(--cream);
}

.footer-top {
    padding: 65px 0 45px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.footer-brand p {
    color: rgba(244, 240, 231, 0.55);
    font-size: 0.86rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 70px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(244, 240, 231, 0.7);
    text-decoration: none;
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(244, 240, 231, 0.45);
    font-size: 0.7rem;
}


/* =============================================
   TABLET
============================================= */

@media (max-width: 900px) {

    .section {
        padding: 90px 0;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-nav {
        padding: 15px 24px 25px;
        display: none;
        flex-direction: column;
        gap: 4px;
        border-top: 1px solid var(--border);
        background: var(--cream);
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        text-decoration: none;
        font-size: 0.78rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .package-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .care-card {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 55px 45px;
    }

    .advanced-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =============================================
   MOBILE
============================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 36px, 1180px);
    }

    .header-inner {
        width: min(100% - 36px, 1280px);
        height: 76px;
    }

    .brand {
        font-size: 0.76rem;
    }

    .pricing-hero {
        min-height: 560px;
        padding-top: 135px;
    }

    .hero-content h1 {
        font-size: clamp(3.6rem, 18vw, 5.3rem);
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .package-card {
        padding: 40px 27px;
    }

    .package-price strong {
        font-size: 3.4rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 19px 14px;
    }

    .payment-split {
        flex-direction: column;
        gap: 22px;
    }

    .payment-divider {
        width: 55px;
        height: 1px;
    }

    .care-card {
        padding: 38px 27px;
    }

    .care-price strong {
        font-size: 4rem;
    }

    .advanced-grid {
        grid-template-columns: 1fr;
    }

    .advanced-item {
        min-height: auto;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
        gap: 55px;
    }

}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-link {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-text);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.hero-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* =============================================
   PORTFOLIO WEBSITE MOCKUP
============================================= */
.portfolio-page .portfolio-browser-showcase {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: clamp(24px, 4vw, 56px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
    background: transparent;
}

/* remove the old image overlay behavior */
.portfolio-page .portfolio-browser-showcase::after {
    display: none;
}

.portfolio-page .portfolio-browser {
    position: relative;
    z-index: 2;
    width: 88%;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 10px;
    background: #ffffff;
    box-shadow:
        0 28px 60px rgba(17, 17, 17, 0.13),
        0 8px 20px rgba(17, 17, 17, 0.08);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.portfolio-page .portfolio-browser-showcase:hover .portfolio-browser {
    transform: translateY(-7px);
    box-shadow:
        0 36px 75px rgba(17, 17, 17, 0.17),
        0 10px 25px rgba(17, 17, 17, 0.1);
}

.portfolio-page .portfolio-browser-bar {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: #f8f7f5;
}

.portfolio-page .browser-dots {
    display: flex;
    gap: 6px;
}

.portfolio-page .browser-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9c5c0;
}

.portfolio-page .browser-address {
    flex: 1;
    min-width: 0;
    padding: 4px 10px;
    overflow: hidden;
    border-radius: 4px;
    background: #eeece9;
    color: #555555;
    font-family: var(--font-body);
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.portfolio-page .portfolio-browser-screen {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ffffff;
}

.portfolio-page .portfolio-browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    filter: none;
    transform: none;
}

/* Override your existing portfolio image hover rules */
.portfolio-page .portfolio-browser-showcase:hover
.portfolio-browser-screen img {
    transform: none;
    filter: none;
}

/* Small client logo detail */
.portfolio-page .portfolio-client-mark {
    position: absolute;
    right: clamp(18px, 3vw, 36px);
    bottom: clamp(18px, 3vw, 34px);
    z-index: 3;

    width: clamp(72px, 10vw, 115px);
    aspect-ratio: 1;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(17, 17, 17, 0.1);
    background: rgba(247, 243, 238, 0.95);
    box-shadow: 0 10px 25px rgba(17, 17, 17, 0.08);
}

.portfolio-page .portfolio-client-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

@media (max-width: 767px) {

    .portfolio-page .portfolio-browser-showcase {
        padding: 24px;
    }

    .portfolio-page .portfolio-browser {
        width: 94%;
    }

    .portfolio-page .portfolio-client-mark {
        width: 72px;
        right: 14px;
        bottom: 14px;
    }

    .portfolio-page .browser-address {
        display: none;
    }
}


/* FIX PORTFOLIO PROJECT WIDTH */

    .portfolio-page .portfolio-browser-showcase {
        width: 100%;
        min-width: 0;
        padding: 24px;
    }

    .portfolio-page .portfolio-browser {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .portfolio-page .portfolio-project-copy {
        min-width: 0;
        width: 100%;
        max-width: 520px;
    }


    /* =================================================
   KODO LEGAL PAGES
================================================= */

.legal-page main {
    padding-top: 80px;
}

.legal-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: var(--spacing-margin-mobile);
    padding-right: var(--spacing-margin-mobile);
}

.legal-hero {
    padding-top: 96px;
    padding-bottom: 80px;
}

.legal-eyebrow {
    margin-bottom: 24px;
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.legal-title {
    max-width: 950px;
    margin-bottom: 28px;
    font-family: var(--font-heading);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.legal-intro {
    max-width: 720px;
    margin-bottom: 18px;
    color: var(--color-gray);
    font-size: 19px;
    line-height: 1.75;
}

.legal-effective {
    color: var(--color-gray);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.legal-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(183, 125, 83, 0.3);
}

.legal-content {
    padding-top: 88px;
    padding-bottom: var(--section-gap-mobile);
}

.legal-section {
    max-width: 800px;
    margin-bottom: 64px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
    color: var(--color-gray);
    font-size: 16px;
    line-height: 1.85;
}

.legal-section p + p {
    margin-top: 18px;
}

.legal-section ul {
    margin-top: 18px;
    padding-left: 22px;
}

.legal-section li {
    margin-bottom: 10px;
}

.legal-section a {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-accent);
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--color-accent);
}

.legal-contact-card {
    max-width: 800px;
    padding: 38px;
    border: 1px solid var(--color-border);
    background-color: rgba(233, 230, 226, 0.35);
}

.legal-contact-card h2 {
    margin-bottom: 18px;
}

.legal-contact-card p {
    margin-top: 0;
}

.legal-page .footer {
    margin-top: 0;
}

@media (min-width: 768px) {

    .legal-container {
        padding-left: var(--spacing-margin-desktop);
        padding-right: var(--spacing-margin-desktop);
    }

    .legal-hero {
        padding-top: 140px;
        padding-bottom: 110px;
    }

    .legal-content {
        padding-top: 120px;
        padding-bottom: var(--section-gap-desktop);
    }

    .legal-section {
        margin-bottom: 82px;
    }

    .legal-contact-card {
        padding: 48px;
    }
}

@media (max-width: 767px) {

    .legal-page .menu-toggle > span:last-child {
        display: none;
    }

    .legal-page .header-logo {
        font-size: 26px;
    }

    .legal-page .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Contact location refinement */

.contact-location {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 8px;
}

.contact-location-sub {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray);
    margin: 0;
}


/* =========================================
   HERO HOURGLASS — SVG VERSION
========================================= */

.hero-hourglass {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 68px;
}

.hero-hourglass svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hg-frame {
    stroke: var(--color-accent);
    stroke-width: 1.4;
    stroke-linecap: round;
}

.hg-glass {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.15;
    stroke-linecap: round;
    opacity: 0.9;
}

.hg-highlight {
    fill: none;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 1;
    stroke-linecap: round;
    opacity: 0.6;
}

.hg-sand {
    fill: var(--color-accent);
}

.hg-sand-top {
    transform-origin: 32px 17px;
    animation: hourglassTopSand 4s ease-in-out infinite;
}

.hg-sand-bottom {
    transform-origin: 32px 69px;
    animation: hourglassBottomSand 4s ease-in-out infinite;
}

.hg-stream {
    stroke: var(--color-accent);
    stroke-width: 1;
    stroke-linecap: round;
    animation: hourglassStream 1s linear infinite;
}

@keyframes hourglassTopSand {
    0%,
    8% {
        transform: scaleY(1);
        opacity: 1;
    }

    92%,
    100% {
        transform: scaleY(0.18);
        opacity: 0.75;
    }
}

@keyframes hourglassBottomSand {
    0%,
    8% {
        transform: scaleY(0.18);
        opacity: 0.65;
    }

    92%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes hourglassStream {
    0% {
        opacity: 0.25;
        stroke-dasharray: 2 3;
        stroke-dashoffset: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
        stroke-dasharray: 2 3;
        stroke-dashoffset: -10;
    }
}

/* =========================================
   HOME INTRO / SEO SECTION
========================================= */

.home-intro {
    padding: 110px 24px 120px;
    background: var(--color-bg, #f4efe6);
}

.home-intro-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: center;
}

.home-intro-eyebrow {
    margin: 0 0 18px;

    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--color-accent);
}

.home-intro h2 {
    margin: 0 auto 24px;
    max-width: 760px;

    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;

    color: var(--color-text, #111111);
}

.home-intro-inner > p:not(.home-intro-eyebrow) {
    margin: 0 auto;
    max-width: 760px;

    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;

    color: var(--color-gray);
}

.home-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 34px;

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--color-accent);
    text-decoration: none;

    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;

    transition:
        gap 0.25s ease,
        opacity 0.25s ease;
}

.home-intro-link::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.25s ease;
}

.home-intro-link:hover {
    gap: 14px;
    opacity: 0.8;
}

.home-intro-link:hover::after {
    transform: translateX(3px);
}

@media (max-width: 700px) {

    .home-intro {
        padding: 80px 22px 90px;
    }

    .home-intro h2 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .home-intro-inner > p:not(.home-intro-eyebrow) {
        font-size: 16px;
        line-height: 1.7;
    }

}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}