/*
Theme Name: Integritas Construction
Theme URI: https://integritasbuilders.com
Author: Integritas Builders
Description: Custom theme for Integritas Construction — Seattle residential builder. Warm editorial aesthetic with terra cotta accents.
Version: 1.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: integritas
Tags: one-page, custom-colors, custom-logo, featured-images, full-width-template
*/

/* ============================================================
   1. VARIABLES & RESET
============================================================ */
:root {
    --cream:        #FFFFFF;
    --cream-light:  #F4F6F8;
    --cream-dark:   #F4F6F8;
    --surface:      #FFFFFF;
    --border:       #D9DEE6;
    --border-light: #E8ECF1;
    --text:         #061B49;
    --text-muted:   #4A5468;
    --text-subtle:  #8A95A8;
    --navy:         #061B49;
    --accent:       #1E6BFF;
    --accent-hover: #38A5FF;
    --accent-light: #38A5FF;
    --white:        #FFFFFF;
    --nav-h:        72px;
}

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

/* prevent grid/flex items from overflowing their container */
img, video, svg, iframe {
    max-width: 100%;
}

html, body {
    overflow-x: clip;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

/* ============================================================
   2. TYPOGRAPHY UTILITIES
============================================================ */
.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.section-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
}

/* ============================================================
   3. BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 28px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 80%
    );
    animation: btn-shimmer 3.8s ease-in-out infinite;
    pointer-events: none;
}

.btn-primary:hover::after {
    display: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    position: relative;
    overflow: hidden;
}

.btn-ghost::after {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(75, 139, 240, 0.16) 50%,
        transparent 80%
    );
    animation: btn-shimmer 4.2s ease-in-out infinite;
    pointer-events: none;
}

.btn-ghost:hover::after {
    display: none;
}

.btn-ghost:hover {
    background: var(--navy);
    color: #FFFFFF;
    border-color: var(--navy);
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-footer {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(242, 234, 224, 0.4);
    font-size: 10px;
    padding: 11px 22px;
    letter-spacing: 0.12em;
}

.btn-footer:hover {
    background: var(--cream);
    color: var(--text);
    border-color: var(--cream);
}

/* ============================================================
   4. LAYOUT CONTAINERS
============================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ============================================================
   5. NAVIGATION
============================================================ */
#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding-inline: max(48px, calc((100% - 1144px) / 2));
    justify-content: space-between;
    transition: background 0.4s ease, height 0.35s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;

    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#site-nav.scrolled {
    background: rgba(6, 27, 73, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 54px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

#site-nav.scrolled .nav-logo-img {
    height: 30px;
    transition: height 0.35s ease;
}

#site-nav.scrolled .nav-logo-name {
    font-size: 16px;
    transition: font-size 0.35s ease;
}

#site-nav.scrolled .nav-cta {
    padding: 7px 14px;
    font-size: 9.5px;
    transition: padding 0.35s ease, font-size 0.35s ease;
}

.nav-close-btn {
    display: none;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 220px;
    transition: height 0.35s ease;
}

.nav-logo-name {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    transition: font-size 0.35s ease;
}

.nav-logo-vol {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.nav-links a.is-active {
    color: #FFFFFF;
    font-weight: 600;
}

.nav-links a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--accent-light);
    border-radius: 2px;
}

.nav-cta {
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 9px 18px;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    white-space: nowrap;
    animation: nav-cta-pulse 2.8s ease-in-out infinite;
}

/* Shimmer sweep */
.nav-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(75, 139, 240, 0.18) 50%,
        transparent 80%
    );
    animation: nav-cta-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

.nav-cta:hover {
    background: #FFFFFF;
    color: var(--navy);
    animation: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.nav-cta:hover::after {
    display: none;
}

@keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(75, 139, 240, 0); }
    45%       { box-shadow: 0 0 0 5px rgba(75, 139, 240, 0.32); }
    70%       { box-shadow: 0 0 0 8px rgba(75, 139, 240, 0); }
}

@keyframes nav-cta-shimmer {
    0%        { left: -110%; }
    55%, 100% { left: 160%; }
}

@keyframes btn-shimmer {
    0%        { left: -110%; }
    55%, 100% { left: 160%; }
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--accent);
    transition: all 0.2s;
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   6. HERO
============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-inner {
    position: relative;
    height: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: 48px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 24px) 64px 48px 0;
    width: 60%;
    height: 100%;
}

.hero-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: hero-fade-up 0.6s ease-out 0.1s forwards;
}

.hero-eyebrow::before {
    display: none;
}

.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Curtain wrapper — clips overflowing text during reveal */
.hero-line-wrap {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.hero-line-wrap--em {
    padding-bottom: 28px;
    margin-bottom: -28px;
    overflow: visible; /* let SVG underline breathe */
}

.hero-headline-line1 {
    display: block;
    color: var(--text);
    transform: translateY(106%);
    animation: hero-curtain 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-headline-line1.hero-headline-split,
.hero-headline-line2.hero-headline-split {
    transform: none;
    opacity: 1;
    animation: none;
}

.hero-word-wrap {
    display: inline-block;
    line-height: 1.05;
    vertical-align: bottom;
    padding-bottom: 0.08em;
    perspective: 800px;
}

.hero-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em) rotateX(-90deg);
    transform-origin: 50% 100%;
    backface-visibility: hidden;
    animation: hero-letter-flip 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-letter-flip {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-headline-line2 {
    display: inline-block;
    max-width: 100%;
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
    position: relative;
    opacity: 0;
    transform: translateY(32px);
    animation: hero-line2-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.52s forwards;
}

.hero-headline-line2::after {
    display: none;
}

/* SVG underline replaced by per-letter reveal */
.hero-underline { display: none; }

@keyframes hero-curtain {
    to { transform: translateY(0); }
}

@keyframes hero-line2-in {
    to { transform: translateY(0); opacity: 1; }
}

@keyframes hero-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(16px);
    animation: hero-fade-up 0.7s ease-out 0.88s forwards;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
    opacity: 0;
    transform: translateY(14px);
    animation: hero-fade-up 0.7s ease-out 1.05s forwards;
}

.trust-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-fade-up 0.6s ease-out 1.22s forwards;
}

.trust-bar-item {
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-bar-item::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
    flex-shrink: 0;
}

.trust-bar-item:first-child::before {
    display: none;
}

.trust-bar-sep {
    color: var(--border);
    font-size: 14px;
}

.hero-right {
    position: absolute;
    top: calc(var(--nav-h) + 20px);
    right: 48px;
    height: calc(100vh - var(--nav-h) - 56px);
    max-height: 760px;
    min-height: 460px;
    aspect-ratio: 4 / 5;
    width: auto;
    overflow: hidden;
}

.hero-right::before,
.hero-right::after {
    display: none;
}

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

.hero-badge-group {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
}

.hero-badge {
    background: rgba(30, 107, 255, 0.28);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 11px 20px;
    display: inline-block;
}

/* ============================================================
   6b. HERO SLIDESHOW
============================================================ */

/* Linear flex carousel — current slide + peek of next on right */
.hero-slides {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    position: relative;
    flex: 0 0 88%;
    height: 100%;
    overflow: hidden;
}

/* Last slide takes full width — no slide after it to peek */
.hero-slide:last-child {
    flex-basis: 100%;
}

.hero-slide.active {
    z-index: 1;
}

/* Inherit base img styles, add Ken Burns prep */
.hero-slide img {
    transform-origin: center center;
    will-change: transform;
}

.hero-slide.active img {
    animation: hero-ken-burns 8s ease-out forwards;
}

@keyframes hero-ken-burns {
    from { transform: scale(1.0);   }
    to   { transform: scale(1.015); }
}

/* Progress bar */
.hero-progress {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.hero-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
}

/* Prev / Next arrows — circular, subtle by default, blue on hover */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.3s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(6, 27, 73, 0.18);
}

.hero-nav svg {
    width: 10px;
    height: 10px;
}

.hero-nav-prev { left: 12px; }
.hero-nav-next { right: 12px; }

.hero-right:hover .hero-nav { opacity: 1; }

.hero-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 22px rgba(30, 107, 255, 0.45);
    opacity: 1;
}

.hero-nav:active {
    transform: translateY(-50%) scale(0.98);
}

/* Slide counter — bottom right */
.hero-slide-counter {
    position: absolute;
    bottom: 14px;
    right: 20px;
    z-index: 4;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* Badge fade on slide change */
.hero-badge {
    transition: opacity 0.28s ease;
}
.hero-badge.fade-out {
    opacity: 0 !important;
}

/* ============================================================
   7. SERVICES
============================================================ */
.services {
    padding: 88px 0;
    background: var(--cream);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: end;
    gap: 48px;
    margin-bottom: 32px;
}

.services-header-desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-muted);
    padding-bottom: 4px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
}

.service-card {
    background: var(--cream);
    padding: 36px 28px;
    transition: background 0.25s ease, border-color 0.25s ease;
    cursor: default;
    border-left: 2px solid transparent;
}

.service-card:hover {
    background: var(--cream-light);
    border-left-color: var(--accent);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-num {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    color: var(--accent);
    display: block;
}

.service-icon {
    width: 26px;
    height: 26px;
    opacity: 0.4;
    flex-shrink: 0;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ============================================================
   8. FEATURED PROJECTS
============================================================ */
.projects {
    padding: 120px 0;
    background: var(--surface);
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}

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

/* Slider */
.projects-slider-wrap {
    position: relative;
}

.projects-slider {
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 3px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-track .project-card {
    flex: 0 0 calc(50% - 1.5px);
    min-width: 0;
}

.projects-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
}

.projects-prev,
.projects-next {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.projects-prev:hover,
.projects-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.projects-prev:disabled,
.projects-next:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.projects-counter {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    min-width: 64px;
    text-align: center;
}

.projects-counter-sep {
    color: var(--border);
}

.projects-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.projects-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
    flex-shrink: 0;
}

.projects-dot.active {
    background: var(--accent);
    width: 20px;
}

.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--border-light);
}

.projects-empty {
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* Archive page */
.projects-archive {
    padding: 120px 0;
    background: var(--surface);
}

.projects-archive-header {
    margin-bottom: 56px;
}

.projects-grid--archive {
    grid-template-columns: repeat(3, 1fr);
}

/* Single project page */
.single-project {
    background: var(--surface);
    padding: 36px 0 120px;
}

.single-project-header {
    margin-bottom: 24px;
}

.single-project-back {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
}

.single-project-back:hover {
    color: var(--accent);
}

.single-project-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    color: var(--text);
    line-height: 1.15;
    max-width: 800px;
}

.single-project-image {
    position: relative;
    width: 100%;
    height: calc(100vh - 340px);
    max-height: 480px;
    min-height: 320px;
    overflow: hidden;
    margin-bottom: 0;
}

.single-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-project-image .project-tag {
    top: 24px;
    left: 24px;
}

.single-project-meta-bar {
    display: flex;
    background: var(--surface);
    border-top: 3px solid var(--accent);
    border-bottom: 1px solid var(--border-light);
    margin: 0 0 56px;
}

.single-project-meta-bar .single-project-meta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 36px;
    border-right: 1px solid var(--border-light);
}

.single-project-meta-bar .single-project-meta-item:last-child {
    border-right: none;
}

.single-project-meta-label {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.single-project-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
}

.single-project-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.single-project-body p {
    margin-bottom: 20px;
}

/* ============================================================
   PROJECT GALLERY
============================================================ */
.project-gallery-section {
    margin: 64px 0 48px;
    padding-top: 56px;
    border-top: 1px solid var(--border-light);
}

.project-gallery-header {
    margin-bottom: 32px;
}

.project-gallery-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text);
    margin: 6px 0 0;
    letter-spacing: -0.01em;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.project-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--cream);
    cursor: zoom-in;
    border-radius: 2px;
}

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

.project-gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 16, 0);
    color: rgba(255, 255, 255, 0);
    transition: background 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.project-gallery-item:hover img {
    transform: scale(1.06);
}

.project-gallery-item:hover .project-gallery-item-overlay {
    background: rgba(20, 18, 16, 0.32);
    color: rgba(255, 255, 255, 0.95);
}

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

@media (max-width: 640px) {
    .project-gallery-section { margin: 40px 0 32px; padding-top: 36px; }
    .project-gallery-title { font-size: 24px; }
    .project-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .project-gallery-item:hover img { transform: none; }
    .project-gallery-item-overlay { display: none; }
}

/* ============================================================
   LIGHTBOX
============================================================ */
.project-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(14, 13, 12, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 48px 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-lightbox.is-open {
    display: flex;
    animation: project-lightbox-fade 0.3s ease forwards;
}

@keyframes project-lightbox-fade {
    to { opacity: 1; }
}

.project-lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.project-lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    display: block;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    border-radius: 2px;
}

.project-lightbox-counter {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.project-lightbox-close,
.project-lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
}

.project-lightbox-close:hover,
.project-lightbox-nav:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.35);
}

.project-lightbox-close {
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    padding: 0;
}

.project-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    padding: 0;
}

.project-lightbox-prev { left: 24px; }
.project-lightbox-next { right: 24px; }

@media (max-width: 640px) {
    .project-lightbox { padding: 24px 12px; }
    .project-lightbox-img { max-height: calc(100vh - 120px); }
    .project-lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
    .project-lightbox-prev { left: 8px; }
    .project-lightbox-next { right: 8px; }
    .project-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
}

.single-project-cta {
    margin-bottom: 0;
}

.single-project-others {
    padding: 80px 0 120px;
    background: var(--cream);
    border-top: 1px solid var(--border);
}

.single-project-others-heading {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 48px;
}

.project-card {
    background: var(--cream);
    overflow: hidden;
}

.project-image {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--accent);
    color: var(--white);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 7px 14px;
}

.project-body {
    padding: 36px 36px 40px;
}

.project-num {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.project-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.project-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.project-meta {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-meta-label {
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.project-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

/* ============================================================
   9. PROCESS
============================================================ */
.process {
    padding: 120px 0;
    background: var(--cream);
}

.process-header {
    margin-bottom: 72px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(10% - 26px);
    width: calc(80% + 52px);
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.process-line-fill {
    position: absolute;
    top: 26px;
    left: calc(10% - 26px);
    width: 0;
    height: 1px;
    background: var(--accent);
    z-index: 1;
    transition: width 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-steps.animated .process-line-fill {
    width: calc(80% + 52px);
}

.process-step {
    padding: 0 12px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    position: relative;
}

.process-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: scale(1.12);
}

.process-step:first-child .process-dot:not(.active) {
    background: var(--cream);
    border-color: var(--border);
    color: var(--accent);
}

.process-step-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-step-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================================
   10. ABOUT
============================================================ */
.about {
    padding: 120px 0;
    background: var(--surface);
}

.about-head {
    max-width: 880px;
    margin: 0 auto 64px;
    text-align: center;
}

.about-head .section-label {
    margin-bottom: 22px;
}

.about-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-headline em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

.about-attribution {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-attribution-name {
    color: var(--text);
}

.about-attribution-sep {
    color: var(--text-subtle);
}

.about-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    max-width: 1020px;
    margin: 0 auto 32px;
}

.about-body {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

.about-background {
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-subtle);
    text-align: center;
    margin-bottom: 80px;
    font-style: normal;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 920px;
    margin: 0 auto 56px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-stat {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.about-stat:last-child {
    border-right: none;
}

.about-stat-num {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.about-stat-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.4;
}

.trust-signals {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 32px;
    background: none;
    border: none;
}

.trust-badge + .trust-badge {
    border-left: 1px solid var(--border);
}

.trust-badge::before {
    content: '✓';
    color: var(--accent);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
}

/* ============================================================
   11. TESTIMONIAL
============================================================ */
.testimonial {
    padding: 100px 0;
    background: var(--text);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '\201C';
    font-family: 'Inter', sans-serif;
    font-size: 320px;
    color: rgba(255,255,255,0.04);
    position: absolute;
    top: -40px;
    left: 40px;
    line-height: 1;
    pointer-events: none;
}

.testimonial-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(242, 234, 224, 0.92);
    margin-bottom: 40px;
}

.testimonial-attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.testimonial-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.testimonial-role {
    font-size: 12px;
    color: rgba(242, 234, 224, 0.5);
    letter-spacing: 0.06em;
}

/* ============================================================
   11b. PRINCIPLES
============================================================ */
.principles {
    padding: 120px 0;
    background: var(--navy);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.principles::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(30, 107, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(56, 165, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.principles .container {
    position: relative;
    z-index: 1;
}

.principles-header {
    max-width: 720px;
    margin-bottom: 64px;
}

.principles-header .section-label {
    color: var(--accent-light);
    margin-bottom: 18px;
}

.principles-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.1;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.principles-sub {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 28px;
    border-radius: 4px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.principle-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(56, 165, 255, 0.45);
    transform: translateY(-2px);
}

.principle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(30, 107, 255, 0.15);
    color: var(--accent-light);
    margin-bottom: 22px;
}

.principle-icon svg {
    width: 22px;
    height: 22px;
}

.principle-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.principle-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 640px) {
    .principles { padding: 80px 0; }
    .principles-header { margin-bottom: 40px; }
    .principles-grid { grid-template-columns: 1fr; gap: 12px; }
    .principle-card { padding: 24px 22px; }
}

/* ============================================================
   12. CONTACT / INTAKE FORM
============================================================ */
.contact {
    padding: 120px 0;
    background: var(--cream-light);
}

.contact-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

.contact-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
}

.contact-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
}

.contact-headline em {
    color: var(--accent);
    font-style: normal;
}

.contact-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-info-label {
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.contact-info-value {
    font-size: 14.5px;
    color: var(--text);
}

.contact-info-value a {
    transition: color 0.2s;
}

.contact-info-value a:hover {
    color: var(--accent);
}

/* Form */
.intake-form {
    background: var(--white);
    padding: 56px 52px;
    border: 1px solid var(--border);
}

/* Honeypot anti-spam — visually hidden but in DOM */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.form-section {
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--border-light);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

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

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-row.one-col {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group label .req {
    color: var(--accent);
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--text);
    background: var(--white);
}

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

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6A58' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* Radio / option buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.radio-group label {
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text-muted);
    padding: 9px 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-group input[type="radio"]:checked + label,
.radio-group label:has(input:checked) {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(139, 53, 32, 0.06);
}

.radio-option {
    position: relative;
    display: inline-block;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.radio-option label {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none !important;
    color: var(--text-muted);
    padding: 9px 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.radio-option input[type="radio"]:checked ~ label {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(139, 53, 32, 0.06);
}

.form-submit-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.form-note {
    font-size: 12px;
    color: var(--text-subtle);
    text-align: center;
    letter-spacing: 0.02em;
}

/* Form status messages */
.form-status {
    display: none;
    padding: 14px 18px;
    font-size: 13px;
    border-left: 3px solid;
}

.form-status.success {
    display: block;
    border-left-color: #4A7C59;
    background: rgba(74, 124, 89, 0.08);
    color: #3A6448;
}

.form-status.error {
    display: block;
    border-left-color: var(--accent);
    background: rgba(139, 53, 32, 0.06);
    color: var(--accent);
}

/* ============================================================
   13. FOOTER
============================================================ */
#site-footer {
    background: var(--navy);
    padding: 72px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr 1fr auto;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 36px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 220px;
}

.footer-tagline {
    font-size: 12.5px;
    line-height: 1.65;
    color: #FFFFFF;
}

.footer-nav-title {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 20px;
}

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

.footer-nav-list a {
    font-size: 13.5px;
    color: #FFFFFF;
    transition: color 0.2s;
}

.footer-nav-list a:hover {
    color: var(--accent-light);
}

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

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

.footer-contact-label {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer-contact-value {
    font-size: 13.5px;
    color: #FFFFFF;
}

.footer-contact-value a {
    color: #FFFFFF;
    transition: color 0.2s;
}

.footer-contact-value a:hover {
    color: var(--accent-light);
}

.footer-cta-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.footer-cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    color: #FFFFFF;
    line-height: 1.4;
    max-width: 200px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 11.5px;
    color: #FFFFFF;
    letter-spacing: 0.04em;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 11.5px;
    color: #FFFFFF;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--accent-light);
}

/* ============================================================
   15. RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .container,
    .container-wide {
        padding: 0 32px;
    }

    #site-nav {
        padding: 0 32px;
    }

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

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .contact-sidebar {
        position: static;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    :root { --nav-h: 70px; }

    .hero {
        height: auto;
        min-height: auto;
    }

    .hero-inner {
        padding-inline: 0;
    }

    .hero-left {
        width: 100%;
        height: auto;
        padding: calc(var(--nav-h) + 32px) 32px 48px;
    }

    .hero-right {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        max-width: none;
        right: auto;
        top: auto;
        aspect-ratio: 3 / 4;
    }

    .hero-right::before,
    .hero-right::after {
        display: none;
    }

    /* On mobile fall back to absolute opacity crossfade — more reliable than flex+transform */
    .hero-slides {
        display: block;
        transform: none !important;
        transition: none;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        flex: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .hero-slide.active {
        opacity: 1;
        z-index: 1;
    }

    .about-body-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .trust-signals {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 32px;
        padding-top: 0;
        border-top: none;
    }

    .trust-badge {
        padding: 10px 14px;
        border-left: 2px solid var(--accent);
        border-right: none;
        background: var(--cream);
    }

    .trust-badge + .trust-badge {
        border-left: 2px solid var(--accent);
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
        isolation: isolate;
    }

    .process-steps::before {
        display: none;
    }

    .process-line-fill {
        left: 25px;
        top: 0;
        bottom: auto;
        width: 1px;
        height: 0;
        transform: scaleY(0);
        transform-origin: top center;
        transition: transform 5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    .process-steps.animated .process-line-fill {
        transform: scaleY(1);
        width: 1px;
    }

    .process-step {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 20px;
        row-gap: 6px;
        align-items: start;
        padding: 0;
        position: relative;
        z-index: auto;
    }

    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 25px;
        top: 26px;
        bottom: -58px;
        width: 1px;
        background: var(--border);
        z-index: 0;
    }

    .process-dot {
        grid-row: 1 / 3;
        margin-bottom: 0;
        align-self: start;
    }

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

    .projects-grid--archive {
        grid-template-columns: 1fr;
    }

    .projects-track .project-card {
        flex: 0 0 100%;
    }

    .projects-nav {
        display: none;
    }

    .projects-dots {
        display: flex;
    }

    .single-project-meta-bar {
        flex-direction: column;
    }

    .single-project-meta-bar .single-project-meta-item {
        padding: 20px 24px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .single-project-meta-bar .single-project-meta-item:last-child {
        border-bottom: none;
    }

    .intake-form {
        padding: 36px 28px;
    }

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

    .form-row.three-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container,
    .container-wide {
        padding: 0 20px;
    }

    #site-nav {
        padding: 0 20px;
    }

    .nav-right {
        display: flex;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100dvh;
        background: var(--cream-light);
        padding: calc(var(--nav-h) + 56px) 36px 52px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        z-index: 190;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-right.open {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
        opacity: 0;
        transform: translateX(-16px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-right.open .nav-links li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.08s; }
    .nav-right.open .nav-links li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.14s; }
    .nav-right.open .nav-links li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.20s; }
    .nav-right.open .nav-links li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.26s; }
    .nav-right.open .nav-links li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }

    .nav-links a {
        display: block;
        padding: 20px 0;
        font-family: 'Inter', sans-serif;
        font-size: 28px;
        font-weight: 500;
        letter-spacing: -0.01em;
        text-transform: none;
        color: var(--text);
    }

    .nav-cta {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 16px;
        line-height: 1;
        min-height: 48px;
        margin-top: 40px;
        opacity: 0;
        transition: opacity 0.3s ease 0.4s;
        color: var(--navy);
        border-color: var(--navy);
        animation: none;
    }

    .nav-right.open .nav-cta {
        opacity: 1;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        background: none;
        border: 1px solid var(--border);
        border-radius: 50%;
        font-size: 18px;
        color: var(--text);
        cursor: pointer;
        line-height: 1;
    }

    #site-nav.scrolled {
        height: 56px;
    }

    #site-nav.menu-open {
        background: var(--navy);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-shadow: none;
    }

    .nav-mobile-toggle.active span {
        background: #ffffff;
    }

    .hero-left {
        padding: calc(var(--nav-h) + 24px) 20px 44px;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 0.1em;
        white-space: nowrap;
        margin-bottom: 28px;
    }

    .hero-eyebrow::before {
        display: none;
    }

    .hero-underline {
        display: none;
    }

    .hero-line-wrap--em {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .hero-right {
        height: 240px;
        border-radius: 6px;
    }

    .hero-right .hero-nav {
        display: none;
    }

    .trust-bar {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0;
        border-top: 1px solid var(--border-light);
        padding: 14px 0 0;
        margin-top: 20px;
    }

    .trust-bar-item {
        flex: none;
        font-size: 8px;
        letter-spacing: 0.1em;
        padding: 0 8px;
        white-space: nowrap;
    }

    .trust-bar-item::before {
        display: inline-block;
    }

    .trust-bar-sep {
        display: none;
    }

    .hero-headline {
        font-size: 36px;
        overflow-wrap: break-word;
    }

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

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 8px;
    }

    .hero-ctas .btn {
        text-align: center;
        justify-content: center;
    }

    .hero-slide-counter {
        display: none;
    }

    .hero-right {
        overflow: visible;
        margin-top: 8px;
        height: auto;
    }

    .hero-slides {
        overflow: hidden;
        border-radius: 6px;
    }

    .hero-badge-group {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .hero-badge {
        font-size: 8px;
        padding: 7px 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .trust-bar {
        margin-top: 24px;
    }

    /* prevent large serif headlines from busting grid min-content */
    .section-headline {
        font-size: clamp(26px, 6.5vw, 36px);
        min-width: 0;
    }

    .services {
        padding: 80px 0;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

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

    .projects {
        padding: 80px 0;
    }

    .process {
        padding: 80px 0;
    }

    .about {
        padding: 80px 0;
    }

    .about-head {
        margin-bottom: 40px;
    }

    .about-background {
        margin-bottom: 48px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stat {
        padding: 28px 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-left: 0;
    }

    .about-stat:first-child {
        padding-left: 0;
    }

    .about-stat:last-child {
        border-bottom: none;
    }

    .about-stat-num {
        font-size: 56px;
    }

    .contact {
        padding: 80px 0;
    }

    .testimonial {
        padding: 72px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .projects-header .btn {
        align-self: flex-start;
    }
}
