.cta-divider-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}
.cta-divider {
    height: 1px;
    width: 100px;
    background: #ccc;
    margin: 0 auto;
}
/* ==========================================================================
   Hanson Build — Master Stylesheet
   ========================================================================== */

/* ─── Reset & Variables ──────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FCFAF7;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #5a5a5a;
    --color-border: #CFCDC7;
    --font-serif: 'Literata', serif;
    --font-sans: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Shared Layout ──────────────────────────────────────────────────────── */
.split-layout {
    display: grid;
    min-height: 100vh;
    max-width: 1800px;
    margin: 0 auto;
}

.panel {
    display: flex;
    flex-direction: column;
}

.left-panel {
    border-right: 1px solid var(--color-border);
}

.divider {
    height: 1px;
    background-color: var(--color-border);
    width: 100%;
}

/* ─── Panel Headers ──────────────────────────────────────────────────────── */
.panel-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.left-panel .panel-header {
    justify-content: flex-start;
}

.right-panel .panel-header {
    justify-content: center;
    gap: 60px;
}

.logo-img {
    height: 22px;
    width: auto;
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav-link {
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: var(--color-border);
    pointer-events: none;
}

.nav-link:hover {
    opacity: 0.6;
}

/* ─── Nav Dropdown ─────────────────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 160px;
    padding: 12px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
    margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item {
    display: block;
    padding: 8px 24px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    opacity: 0.6;
}

.mobile-nav-sub {
    font-size: 22px !important;
    padding-left: 24px !important;
    opacity: 0.7;
}

/* ─── Hamburger Menu ─────────────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Mobile Menu Overlay ────────────────────────────────────────────────── */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 32px;
    text-decoration: none;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-menu-logo {
    position: absolute;
    top: 40px;
    height: 20px;
}

/* ─── Shared Form Styles ─────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-text-primary);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-text-primary);
}

textarea.form-input {
    resize: none;
    height: 80px;
    padding-top: 8px;
}

.form-submit {
    background: var(--color-text-primary);
    color: var(--color-bg);
    border: none;
    padding: 16px 40px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
    width: 100%;
    margin-top: 8px;
}

.form-submit:hover {
    background: #3d3d3d;
}

/* ─── Animated Arrow ─────────────────────────────────────────────────────── */
.animated-arrow {
    position: relative;
    width: 20px;
    height: 1px;
    background-color: var(--color-border);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.animated-arrow::before,
.animated-arrow::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background-color: var(--color-text-primary);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Left Arrow (Back) */
.animated-arrow.back::before,
.animated-arrow.back::after {
    left: 0;
    transform-origin: left center;
}

/* Right Arrow (Forward) */
.animated-arrow.forward::before,
.animated-arrow.forward::after {
    right: 0;
    transform-origin: right center;
}

.back-btn:hover .animated-arrow.back::before { transform: rotate(35deg); opacity: 1; }
.back-btn:hover .animated-arrow.back::after { transform: rotate(-35deg); opacity: 1; }

.cta-link:hover .animated-arrow.forward::before { transform: rotate(-35deg); opacity: 1; }
.cta-link:hover .animated-arrow.forward::after { transform: rotate(35deg); opacity: 1; }

.back-link:hover .animated-arrow.back { width: 40px; opacity: 1; }
.back-link:hover .animated-arrow.back::before { transform: rotate(35deg); opacity: 1; }
.back-link:hover .animated-arrow.back::after { transform: rotate(-35deg); opacity: 1; }

.btn-light:hover .animated-arrow.forward { width: 40px; opacity: 1; }
.btn-light:hover .animated-arrow.forward::before { transform: rotate(-35deg); opacity: 1; }
.btn-light:hover .animated-arrow.forward::after { transform: rotate(35deg); opacity: 1; }

.next-project:hover .animated-arrow.forward { width: 40px; opacity: 1; }
.next-project:hover .animated-arrow.forward::before { transform: rotate(-35deg); opacity: 1; }
.next-project:hover .animated-arrow.forward::after { transform: rotate(35deg); opacity: 1; }


/* ==========================================================================
   INDEX PAGE
   ========================================================================== */

/* Hero Fader */
.fader-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    display: block;
    transition: opacity 2s ease;
}

.index-split {
    grid-template-columns: 1.35fr 1fr;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

/* Hero Media Area */
.hero-media {
    padding: 0;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    height: 700px;
    overflow: hidden;
}

/* Hero Branding Area */
.branding-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 20px 0 20px;
    height: 700px;
    text-align: center;
    min-height: 0;
    /* height: 700px; */
    position: relative;
    overflow: visible;
    border-bottom: 1px solid var(--color-border);
}

.branding-initial,
.branding-form-view {
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.branding-form-view {
    display: none;
    opacity: 1;
    pointer-events: auto;
    padding: 40px;
}

.contact-form {
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.back-btn {
    margin-top: 40px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn:hover {
    color: var(--color-text-primary);
}

.cta-link {
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 13px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: color 0.3s ease;
}

.cta-link:hover,
.back-btn:hover {
    color: var(--color-text-primary);
}

/* Hover States for arrows */
.cta-link:hover .animated-arrow,
.back-btn:hover .animated-arrow {
    width: 45px;
    background-color: var(--color-text-primary);
}

/* Branding Elements */
.hero-monogram {
    height: 52px;
    width: auto;
    margin-bottom: 8px;
}

.hero-brand-name {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -1px;
    margin-bottom: 40px;
    max-width: 650px;
    text-transform: uppercase;
    text-wrap: balance;
}

.cta-wrap {
    margin-top: 10px;
}

/* Section Dividers */
.divider-wrap {
    padding: 0 60px;
}

/* Feature Block */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 60px;
    align-items: center;
}

.feature-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.feature-quote {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--color-text-primary);
}

/* Gallery Slider (Homepage) */
.gallery-block {
    padding: 20px;
    position: relative;
}

.gallery-item.hidden {
    display: none !important;
}

.gallery-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--color-text-secondary);
    margin-top: 24px;
    transition: color 0.3s ease;
}

.gallery-viewall:hover {
    color: var(--color-text-primary);
}

.gallery-viewport {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.gallery-item:hover .gallery-label {
    text-decoration: underline;
}

a.gallery-item img {
    transition: opacity 0.3s ease;
}

a.gallery-item:hover img {
    opacity: 0.85;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 12px;
}

.gallery-label {
    font-size: 14px;
    font-family: var(--font-serif);
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.gallery-desc {
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-weight: 300;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}

.gallery-dots {
    display: flex;
    gap: 8px;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot.active {
    background: var(--color-text-primary);
}

.gallery-arrows {
    display: flex;
    gap: 12px;
}

.gallery-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.gallery-arrow:hover {
    border-color: var(--color-text-primary);
    background: var(--color-text-primary);
}

.gallery-arrow:hover svg path {
    stroke: var(--color-bg);
}

.gallery-arrow svg {
    width: 14px;
    height: 14px;
}

.gallery-arrow svg path {
    stroke: var(--color-text-primary);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s ease;
}

.gallery-row-small {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.gallery-row-small .gallery-img-tiny {
    height: 120px;
}

/* Tagline Section */
.tagline-section {
    padding: 60px 80px;
    text-align: center;
}

.tagline-text {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.4;
    color: var(--color-text-primary);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-heading {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
}


/* ==========================================================================
   PROJECTS PAGE (Portfolio Grid)
   ========================================================================== */

.projects-split {
    grid-template-columns: 1fr 2fr;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.projects-split .left-panel {
    background-color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.projects-split .right-panel .panel-header {
    justify-content: flex-end;
    flex-shrink: 0;
}

.projects-split .right-panel {
    display: flex;
    flex-direction: column;
}

/* Page Hero */
.page-hero {
    padding: 120px 80px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.projects-copy-hero {
    min-height: 64vh;
    flex-grow: 0;
    justify-content: center;
}

.projects-copy-intro {
    border-top: 1px solid var(--color-border);
    padding: 84px 56px;
}

.projects-copy-intro p {
    font-family: var(--font-serif);
    font-size: 27px;
    line-height: 1.45;
    color: var(--color-text-secondary);
    max-width: 430px;
}

.hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* Filter Bar */
.projects-body {
    display: flex;
    flex: 1;
    min-height: 0;
}

.projects-scroll {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
}

.filter-drawer {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(calc(100% - 36px));
    width: 280px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-right: none;
    display: flex;
    flex-direction: row;
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.filter-drawer:hover,
.filter-drawer.open {
    transform: translateY(-50%) translateX(0);
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
}

.filter-drawer-tab {
    width: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    border-right: 1px solid var(--color-border);
    padding: 20px 0;
}

.filter-drawer-tab span {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

.filter-pills-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 24px 20px;
    overflow-y: auto;
    max-height: 60vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-pills-wrap::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 0;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: color 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.filter-pill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text-primary);
    transition: width 0.2s ease;
}

.filter-pill:hover {
    color: var(--color-text-primary);
}

.filter-pill.active {
    color: var(--color-text-primary);
}

.filter-pill.active::after {
    width: 100%;
}



/* Portfolio Grid */
.portfolio-grid {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.project-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.project-card.hidden,
.project-card.card-hidden {
    display: none;
}

.project-img-wrap {
    height: 300px;
    overflow: hidden;
    background-color: #eee;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 0 0;
}

.project-title {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-summary {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Projects page arrow variant */
.projects-split .animated-arrow {
    background-color: currentColor;
    opacity: 0.35;
    display: inline-flex;
    flex-shrink: 0;
}

.projects-split .animated-arrow::before,
.projects-split .animated-arrow::after {
    background-color: currentColor;
    right: 0;
    transform-origin: right center;
}

.project-card:hover .animated-arrow { width: 40px; opacity: 1; }
.project-card:hover .animated-arrow::before { transform: rotate(-35deg); opacity: 1; }
.project-card:hover .animated-arrow::after { transform: rotate(35deg); opacity: 1; }


/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-split {
    grid-template-columns: 1.35fr 1fr;
}

.about-split .left-panel {
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.about-split .left-panel .panel-header {
    position: relative;
    z-index: 3;
}

.about-split .left-panel .hamburger span {
    background-color: #fff;
}

.about-hero {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    margin-top: -80px;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Strip Transition */
/* (strip effect CSS removed) */

/* Dark Gradient Overlay */
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    padding: 60px;
    z-index: 4;
    pointer-events: none;
}

.hero-overlay .section-label {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero-overlay .about-title {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.0;
    text-transform: uppercase;
    margin-bottom: 0;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.0;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.about-content {
    padding: 120px 80px;
    max-width: 800px;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: block;
    color: var(--color-text-secondary);
}

.philosophy-text {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 60px;
}

.copy-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    column-count: 1;
}


/* ==========================================================================
   AGE-IN-PLACE PAGE (Service Page)
   ========================================================================== */

.age-split {
    grid-template-columns: 1.35fr 1fr;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.hero-panel {
    background-color: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.0;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.scroll-panel {
    background-color: var(--color-bg);
}

.scroll-panel .panel-content {
    padding: 120px 80px;
}

.service-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    display: block;
}

.service-intro {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 60px;
}

.service-details p {
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--color-text-secondary);
}

.feature-list {
    list-style: none;
    margin: 60px 0;
}

.feature-item {
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 30px;
}

.feature-num {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.feature-text h4 {
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}


/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-split {
    grid-template-columns: 1.35fr 1fr;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.panel-content {
    padding: 120px 80px;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.0;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.contact-details {
    margin-top: 80px;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    display: block;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 18px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.checkbox-item input[type="checkbox"]:checked {
    border-color: var(--color-text-primary);
    background: var(--color-text-primary);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.checkbox-item label {
    font-size: 14px;
    cursor: pointer;
}

.submit-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 20px 40px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}


/* ==========================================================================
   PROJECT DETAIL PAGES
   ========================================================================== */

.project-split {
    grid-template-columns: 340px 1fr;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.project-split .left-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    background-color: var(--color-bg);
    overflow: hidden;
}

.project-split .panel-header {
    padding: 0 48px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    justify-content: space-between;
}

.project-split .logo-img {
    height: 20px;
}

.left-meta {
    padding: 48px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--color-text-secondary);
    margin-bottom: 56px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--color-text-primary);
}

.project-index {
    font-family: var(--font-serif);
    font-size: 96px;
    line-height: 1;
    color: var(--color-border);
    margin-bottom: 32px;
    font-style: italic;
}

.left-project-title {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.left-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin-bottom: 24px;
}

.left-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    display: block;
}

.left-location {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    display: block;
}

.left-cta {
    margin-top: auto;
    padding-top: 48px;
}

.left-cta p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    background: var(--color-text-primary);
    color: var(--color-bg);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 28px;
    transition: background 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary:hover {
    background: #3d3d3d;
}

/* Right Panel */
.right-panel {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow-x: hidden;
}

.right-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 60px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

/* Project Hero */
.project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.project-hero > img,
.project-hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}

.project-hero:hover > img,
.project-hero:hover .project-hero-slide.is-active {
    transform: scale(1.03);
}

.project-hero-slider .project-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.9s ease, transform 8s ease;
}

.project-hero-slider .project-hero-slide.is-active {
    opacity: 1;
}

.project-hero-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.project-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.project-hero-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

.hero-caption h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-caption .hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 12px;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    padding: 36px 40px;
    border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.2;
}

/* Content Sections */
.content-section {
    padding: 80px;
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
    overflow-x: hidden;
}

.section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    display: block;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.08;
    margin-bottom: 32px;
    max-width: 680px;
    text-wrap: balance;
}

.section-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 680px;
    width: 100%;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 3000;
    max-width: 460px;
    width: calc(100% - 40px);
    background: #fcfaf7;
    border: 1px solid var(--color-border);
    padding: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.cookie-consent p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.cookie-consent a {
    color: var(--color-text-primary);
}

.cookie-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    border: 1px solid var(--color-border);
    padding: 10px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.cookie-btn-light {
    background: transparent;
    color: var(--color-text-primary);
}

.cookie-btn-dark {
    background: var(--color-text-primary);
    color: #fcfaf7;
    border-color: var(--color-text-primary);
}

.privacy-page {
    max-width: 980px;
    margin: 0 auto;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    min-height: 100vh;
}

.privacy-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid var(--color-border);
}

.privacy-content {
    padding: 48px 40px 60px;
}

.privacy-title {
    font-family: var(--font-serif);
    font-size: 46px;
    line-height: 1.05;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.privacy-meta {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.privacy-content h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    margin: 34px 0 12px;
}

.privacy-content p,
.privacy-content li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.privacy-content ul {
    padding-left: 20px;
    margin: 10px 0 10px;
}

@media (max-width: 768px) {
    .privacy-header,
    .privacy-content { padding-left: 24px; padding-right: 24px; }
    .privacy-title { font-size: 34px; }
}

.section-body * {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.section-body p {
    margin: 0;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    text-wrap: pretty;
}
@media (max-width: 900px) {
    .content-section {
        padding: 32px;
    }
}

.section-body p + p {
    margin-top: 20px;
}

.section-body ul,
.section-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.section-body li {
    margin-bottom: 8px;
}

.section-body a {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.section-body strong { font-weight: 600; }
.section-body em { font-style: italic; }

.pull-quote {
    border-left: 3px solid var(--color-text-primary);
    padding: 4px 0 4px 32px;
    margin: 48px 0;
    max-width: 560px;
}

.pull-quote p {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    color: var(--color-text-primary);
}

/* Gallery Grid (Project Detail) */
.gallery-section {
    padding: 80px;
    border-bottom: 1px solid var(--color-border);
}

.gallery-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    gap: 2px;
}

.gallery-grid .g-wide {
    grid-column: span 2;
}

.gallery-grid .g-tall .gallery-img {
    aspect-ratio: 3/4;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: filter 0.6s ease, transform 0.6s ease;
    filter: grayscale(20%);
}

.g-wide .gallery-img {
    aspect-ratio: 16/7;
}

.gallery-img:hover {
    filter: grayscale(0%);
    transform: scale(1.01);
}

.gallery-frame {
    overflow: hidden;
}

/* Lightbox */
.lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.93);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lb-overlay.open {
    display: flex;
}

.lb-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
    cursor: default;
}

.lb-img.loaded {
    opacity: 1;
}

.lb-close {
    position: fixed;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s;
    z-index: 10001;
    line-height: 1;
    padding: 4px;
}

.lb-close:hover {
    opacity: 1;
}

.lb-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    z-index: 10001;
}

.lb-arrow:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

.lb-counter {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    letter-spacing: 2px;
    z-index: 10001;
    pointer-events: none;
    font-family: var(--font-sans);
}

/* Scope List */
.scope-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 640px;
    margin-top: 40px;
}

.scope-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scope-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-text-primary);
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 80px;
    background: var(--color-text-primary);
    color: var(--color-bg);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
}

.cta-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    display: block;
}

.cta-heading {
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1.1;
    max-width: 480px;
}

.cta-sub {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 440px;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 18px 36px;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    font-family: var(--font-sans);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Next Project */
.next-project {
    display: flex;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.next-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(40%);
    transition: filter 0.6s ease, transform 0.8s ease;
}

.next-project:hover .next-project-img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.next-project-img-wrap {
    width: 50%;
    overflow: hidden;
    flex-shrink: 0;
    height: 320px;
}

.next-project-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.next-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    display: block;
}

.next-title {
    font-family: var(--font-serif);
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.next-summary {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Modal (Contact) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--color-bg);
    width: 90%;
    max-width: 540px;
    padding: 64px;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--color-text-secondary);
    line-height: 1;
    transition: color 0.2s ease;
    font-family: var(--font-sans);
}

.modal-close:hover {
    color: var(--color-text-primary);
}

.modal-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    display: block;
}

.modal-heading {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.modal-sub {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.modal::-webkit-scrollbar {
    width: 4px;
}

.modal::-webkit-scrollbar-track {
    background: transparent;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 2px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}


/* ==========================================================================
   RESPONSIVE — Shared Breakpoints
   ========================================================================== */

@media (max-width: 1420px) {
    .nav-links-container { gap: 40px; }
    .nav-link:not(:last-child)::after { right: -20px; }
}

/* ── 1200px ── */

@media (max-width: 1200px) {
    /* INDEX */
    .index-split {
        display: flex;
        flex-direction: column;
        border-left: none;
        border-right: none;
    }
    .index-split .left-panel,
    .index-split .right-panel {
        display: contents;
    }
    .index-split .right-panel > header.panel-header { order: 1; border-bottom: 1px solid var(--color-border); }
    #heroBranding { order: 2; border-bottom: 1px solid var(--color-border); }
    #heroFader { order: 3; }
    .tagline-section { order: 4; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
    .index-split .left-panel > .divider-wrap { display: none; }
    .gallery-block { order: 5; }
    .index-split .right-panel > .divider-wrap { display: none; }
    .site-footer { order: 7; border-top: 1px solid var(--color-border); }
    .index-split .left-panel > header.panel-header { display: none; }

    .hamburger { display: flex; }
    .nav-links-container { display: none; }
    .panel-header { justify-content: space-between !important; padding: 0 40px; }
    .logo-img { display: block; }

    .hero-headline { font-size: 44px; }
    .branding-hero { height: auto; min-height: 0; padding: 60px 40px; }
    .hero-media { height: 55vw; min-height: 300px; }

    /* PROJECTS */
    .projects-split { grid-template-columns: 1fr; }
    .projects-split .left-panel { border-right: none; position: relative; height: auto; }
    .page-hero { padding: 60px 40px; min-height: auto; }
    .projects-copy-hero { min-height: 360px; }
    .projects-copy-intro { padding: 48px 40px; }
    .projects-copy-intro p { font-size: 24px; max-width: 520px; }
    .hero-title { font-size: 44px; }
    .project-card { grid-template-columns: 1fr; }
    .project-img-wrap { height: 300px; }
    .portfolio-grid { padding: 40px; gap: 32px; }
    .projects-split .left-panel section[style] { padding: 40px !important; }

    /* ABOUT */
    .about-split { grid-template-columns: 1fr; }
    .about-split .left-panel { min-height: 50vh; }

    /* AGE-IN-PLACE */
    .age-split { grid-template-columns: 1fr; }
    .hero-panel { height: 60vh; position: relative; }

    /* CONTACT */
    .contact-split { grid-template-columns: 1fr; }
    .contact-info-panel { border-right: none; border-bottom: 1px solid var(--color-border); padding: 80px 40px; }
    .form-panel { padding: 80px 40px; }

    /* PROJECT DETAIL */
    .project-split { grid-template-columns: 1fr; }
    .project-split .left-panel {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .left-meta { padding: 40px; }
    .project-index { font-size: 72px; }
    .right-header { padding: 0 40px; }
    .hero-caption h1 { font-size: 36px; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-item { border-bottom: 1px solid var(--color-border); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-bottom: none; }
    .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
    .content-section { padding: 60px 40px; }
    .section-heading { font-size: 30px; }
    .gallery-section { padding: 60px 40px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .g-wide { grid-column: span 1; }
    .g-tall { grid-column: span 1; }
    .g-wide .gallery-img { aspect-ratio: 4/3; }
    .scope-list { grid-template-columns: 1fr; }
    .cta-section { grid-template-columns: 1fr; padding: 60px 40px; gap: 40px; }
    .cta-heading { font-size: 32px; }
    .next-project { flex-direction: column; }
    .next-project-img-wrap { width: 100%; }
    .next-project-info { padding: 40px; }
    .modal { padding: 40px; }
}

/* ── 768px ── */

@media (max-width: 768px) {
    .panel-header { padding: 0 24px !important; height: 64px; }
    .logo-img { height: 18px; }

    /* INDEX */
    .hero-monogram { height: 36px; }
    .hero-headline { font-size: 28px; line-height: 1.1; letter-spacing: -0.5px; }
    .hero-brand-name { margin-bottom: 20px; font-size: 10px; }
    .branding-hero { padding: 44px 24px; }
    .hero-media { height: 62vw; min-height: 220px; }
    .gallery-block { padding: 28px 20px 36px; }
    .gallery-item { flex: 0 0 78vw; }
    .gallery-item img { height: 180px; }
    .gallery-controls { flex-wrap: wrap; gap: 14px; }
    .divider-wrap { padding: 0; }
    .tagline-section { padding: 36px 24px; }
    .tagline-text { font-size: 20px; }
    .site-footer { padding: 36px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    /* PROJECTS */
    .page-hero { padding: 40px 30px; }
    .projects-copy-hero { min-height: 300px; }
    .projects-copy-intro { padding: 40px 30px; }
    .projects-copy-intro p { font-size: 21px; }
    .hero-title { font-size: 36px; }
    .hero-label { font-size: 11px; }
    .portfolio-grid { padding: 30px; gap: 24px; grid-template-columns: 1fr; }
    .project-title { font-size: 24px; }
    .project-summary { font-size: 13px; }
    .project-img-wrap { height: 250px; }

    /* ABOUT */
    .about-title { font-size: 44px; }
    .about-hero { margin-top: -80px; }
    .hero-overlay { padding: 30px; }
    .hero-overlay .about-title { font-size: 44px; }
    .about-content { padding: 60px 30px; }
    .philosophy-text { font-size: 24px; }

    /* PROJECT DETAIL */
    .left-meta { padding: 32px 24px; }
    .project-index { font-size: 56px; }
    .right-header { padding: 0 24px; }
    .hero-caption { padding: 32px; }
    .hero-caption h1 { font-size: 28px; }
    .hero-caption .hero-sub { font-size: 12px; letter-spacing: 1.4px; }
    .stat-item { padding: 24px; }
    .stat-label { font-size: 11px; }
    .stat-value { font-size: 22px; }
    .content-section { padding: 48px 24px; }
    .section-heading { font-size: 26px; }
    .section-body { font-size: 17px; line-height: 1.75; }
    .section-eyebrow { font-size: 12px; }
    .pull-quote p { font-size: 28px; line-height: 1.45; }
    .gallery-section { padding: 48px 24px; }
    .gallery-label { font-size: 12px; }
    .scope-item { font-size: 16px; line-height: 1.6; }
    .cta-section { padding: 48px 24px; }
    .next-project-info { padding: 32px 24px; }
    .modal { padding: 32px 24px; }
}

/* ── 480px ── */

@media (max-width: 480px) {
    .logo-img { display: none; }
    .hero-headline { font-size: 24px; }
    .branding-hero { padding: 36px 20px; }
    .gallery-item { flex: 0 0 88vw; }
    .gallery-item img { height: 160px; }
    .tagline-text { font-size: 18px; }
    .mobile-nav-link { font-size: 26px; }
    .cta-link { font-size: 12px; }

    /* PROJECT DETAIL (small phones) */
    .content-section { padding: 40px 20px; }
    .section-heading { font-size: 30px; line-height: 1.12; }
    .section-body { font-size: 18px; line-height: 1.78; }
    .section-eyebrow { font-size: 12px; }
    .pull-quote { padding-left: 20px; }
    .pull-quote p { font-size: 31px; line-height: 1.42; }
    .scope-item { font-size: 17px; line-height: 1.62; }
    .hero-caption h1 { font-size: 30px; line-height: 1.12; }
    .hero-caption .hero-sub { font-size: 13px; letter-spacing: 1.2px; }
    .left-category { font-size: 12px; }
    .left-location { font-size: 16px; }
    .left-cta p { font-size: 15px; }
    .btn-primary { font-size: 12px; padding: 15px 24px; }
    .stat-value { font-size: 24px; }
}
