/* SANA Design + Build */

:root {
    --dark: #27303f;
    --stone: #c5c0a2;
    --brown: #73644d;
    --sage: #918b71;
    --bg: #F7F6F3;
    --white: #ffffff;
    --accent: #B87333;
    --accent-hover: #A3652D;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }

body {
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* --- Typography --- */

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown);
}

/* --- Layout --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: #EDEAE4;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.grid {
    display: grid;
    gap: 3rem;
}

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

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 3px;
    transition: all 0.25s ease;
}

.btn:hover {
    background: #1a2230;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-light {
    background: rgba(255,255,255,0.95);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Nav --- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255,255,255,0.97);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo hidden by default, shown on scroll */
.nav-logo img {
    height: 44px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo .logo-dark { display: none; }
.nav-logo .logo-light { opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }

.nav.scrolled .nav-logo .logo-light { display: none; }
.nav.scrolled .nav-logo .logo-dark { display: block; opacity: 1; pointer-events: all; transition: opacity 0.3s ease; }

/* Nav corner items: Contact us (left) + Menu (right) */
.nav-contact {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s ease;
}

.nav-contact:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
}

.nav.scrolled .nav-contact {
    color: var(--dark);
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(39,48,63,0.1);
}

.nav.scrolled .nav-contact:hover {
    background: var(--accent);
    color: var(--white);
}

.nav-menu-label {
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--sans);
    transition: color 0.25s ease;
}

.nav-menu-label:hover { color: var(--white); }

.nav.scrolled .nav-menu-label { color: var(--dark); }
.nav.scrolled .nav-menu-label:hover { color: var(--brown); }

.nav-menu-label .hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-menu-label .hamburger-lines span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: all 0.25s ease;
}

.nav-menu-label .hamburger-lines span:first-child {
    width: 20px;
}

.nav-menu-label .hamburger-lines span:last-child {
    width: 16px;
}

.nav-links { display: none; }

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
    transition: color 0.25s ease;
}

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

.nav.scrolled .nav-links a { color: var(--dark); }
.nav.scrolled .nav-links a:hover { color: var(--brown); }

/* Old hamburger - hidden, using nav-menu-label instead */
.nav-toggle { display: none; }

/* Fullscreen menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.25s ease;
}

.mobile-menu.open a {
    opacity: 1;
    transform: none;
}

.mobile-menu.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.3s; }

.mobile-menu a:hover {
    color: var(--stone);
}

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 2rem;
    color: var(--white);
    font-size: 0.8125rem;
    font-family: var(--sans);
    font-weight: 400;
    letter-spacing: 0.03em;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.25s ease;
}

.mobile-menu-close:hover { opacity: 0.6; }

/* --- Hero --- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-frame {
    position: absolute;
    inset: 0;
    border: 12px solid #D5CEC6;
    z-index: 2;
    pointer-events: none;
}

/* Hero corner links */
.hero-corner {
    position: absolute;
    bottom: 1.5rem;
    z-index: 3;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s ease;
}

.hero-corner:hover { color: var(--white); }
.hero-corner-left { left: 2rem; }
.hero-corner-right { right: 2rem; }

.hero-consult {
    background: rgba(213,206,198,0.85);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-consult:hover {
    background: rgba(213,206,198,1);
    color: var(--dark);
}

/* Hero CTA block - bottom right, aligned with nav container */
.hero-cta {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    z-index: 3;
    max-width: 1200px;
    margin: 0 0 0 auto;
    padding: 0 2.25rem 0 2rem;
    display: flex;
    justify-content: flex-end;
}

.hero-cta-inner {
    text-align: left;
    max-width: 480px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(40px) saturate(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hero-cta-title {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(1.625rem, 3.5vw, 2.25rem);
    color: #fff;
    line-height: 1.25;
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

.hero-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.hero-cta-actions {
    display: flex;
    justify-content: flex-end;
}

/* Hero CTA button - subtle, right-aligned */
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.btn-hero-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .hero-cta { bottom: 2rem; padding: 0 1rem; margin: 0 auto; }
    .hero-cta-inner { max-width: none; padding: 1.25rem 1rem; }
    .hero-cta-text { font-size: 1rem; }
    .hero-cta-actions { justify-content: stretch; }
}

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

/* Dim video only on sub-pages with background images */
.hero > div[style*="background"] { opacity: 0.5; }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
}

.hero-logo {
    height: clamp(104px, 18vw, 260px);
    width: auto;
}

/* --- Stats --- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(39,48,63,0.08);
}

.stat-number {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
}

/* --- Services --- */

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    border: 1px solid rgba(39,48,63,0.08);
    transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent);
    background: rgba(184,115,51,0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.service-card::after {
    content: '\2192';
    display: block;
    margin-top: 1.25rem;
    font-size: 1.125rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Heritage Restoration card: subtle historic photo on hover */
.service-card-heritage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/lucid-origin_Vintage_black_and_white_photograph_from_the_1940s_of_a_craftsman_applying_lime_p-0.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card-heritage:hover::before {
    opacity: 0.16;
}

/* Custom Builds card: subtle project photo on hover */
.service-card-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/projects/daylesford-interior-furnished.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
}
.service-card-custom:hover::before {
    opacity: 0.14;
}

/* Hempcrete Construction card: subtle hempcrete texture on hover */
.service-card-hemp::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hemp-render-37.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
}
.service-card-hemp:hover::before {
    opacity: 0.14;
}

/* Specialty Projects card: subtle project photo on hover */
.service-card-specialty::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/joe-workshop.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
}
.service-card-specialty:hover::before {
    opacity: 0.14;
}

.service-num {
    font-family: var(--serif);
    font-size: 0.875rem;
    color: var(--stone);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: rgba(39,48,63,0.85);
    line-height: 1.7;
}

/* --- Projects --- */

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

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
}

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

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--white);
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.project-info p {
    font-size: 0.8125rem;
    opacity: 0.75;
}

/* --- Blog post pages --- */

.blog-post {
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.blog-header .container {
    padding-top: 0;
}

.blog-breadcrumb {
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    color: rgba(39, 48, 63, 0.6);
    margin-bottom: 1rem;
}

.blog-breadcrumb a {
    color: var(--brown);
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-header h1 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1rem;
    font-size: 0.8125rem;
    color: rgba(39, 48, 63, 0.6);
    margin-bottom: 2.5rem;
}

.blog-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 1rem;
    color: rgba(39, 48, 63, 0.4);
}

.blog-hero-img {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    overflow: hidden;
}

.blog-hero-img img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-content {
    max-width: 720px;
    margin: 0 auto;
}

.blog-content .lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(39, 48, 63, 0.85);
    margin-bottom: 2.5rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.blog-content p,
.blog-content li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(39, 48, 63, 0.85);
}

.blog-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-cta {
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: rgba(39, 48, 63, 0.04);
    border-radius: 8px;
    text-align: center;
}

.blog-cta h3 {
    margin-bottom: 0.75rem;
}

.blog-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.25rem;
}

/* --- Testimonial --- */

.testimonial {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.testimonial cite {
    font-style: normal;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
}

/* --- Process --- */

.process-list {
    max-width: 700px;
    margin: 3rem auto 0;
}

.process-item {
    border-bottom: 1px solid rgba(39,48,63,0.1);
}

.process-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    cursor: pointer;
    user-select: none;
}

.process-header h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.process-num {
    font-family: var(--serif);
    font-size: 0.875rem;
    color: var(--stone);
    min-width: 2rem;
}

.process-toggle {
    font-size: 1.25rem;
    color: var(--sage);
    transition: transform 0.3s ease;
}

.process-item.open .process-toggle {
    transform: rotate(45deg);
}

.process-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.process-body p {
    padding: 0 0 1.5rem 3rem;
    font-size: 0.9375rem;
    color: rgba(39,48,63,0.85);
    line-height: 1.7;
}

/* --- CTA banner --- */

.cta-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-banner video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2rem; opacity: 0.85; max-width: 500px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }

/* --- FAQ --- */

.faq-list {
    max-width: 700px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(39,48,63,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    color: var(--dark);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--sage);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: rgba(39,48,63,0.85);
    line-height: 1.7;
}

/* --- Values --- */

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

.value-card {
    padding: 2rem 0;
}

.value-num {
    font-family: var(--serif);
    font-size: 0.875rem;
    color: var(--stone);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.875rem;
    color: rgba(39,48,63,0.8);
    line-height: 1.7;
}

/* --- Footer --- */

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
    margin-top: 1rem;
}

.footer h4 {
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; }
.footer a { font-size: 0.875rem; transition: color 0.25s ease; }
.footer a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

.footer-credit img {
    height: 16px;
    width: auto;
    opacity: 0.9;
    filter: grayscale(1) contrast(1.05);
    transform: translateY(1px);
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-credit:hover {
    color: rgba(255,255,255,0.8);
}

.footer-credit:hover img {
    opacity: 1;
    filter: grayscale(0) contrast(1);
}

/* --- Animations --- */

.reveal {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Images: scale in instead of slide up */
.reveal img,
.reveal > img,
a.reveal img {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.reveal.visible img,
.reveal.visible > img,
a.reveal.visible img {
    transform: scale(1);
}

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Section heading line draw */
.label {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.reveal.visible .label::after,
.reveal .label.visible::after,
.label.visible::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 1px;
    background: var(--accent);
    animation: lineDraw 0.5s ease forwards;
}

@keyframes lineDraw {
    from { width: 0; }
    to { width: 2rem; }
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 0.8125rem;
    font-family: var(--sans);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.lightbox-close:hover { opacity: 1; }

/* Make project detail images clickable */
.zoomable { cursor: zoom-in; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.25s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
}

/* --- Responsive --- */

/* Hide 4th project on desktop, show on mobile */
.projects-grid-4 .project-card.mobile-only { display: none; }

@media (max-width: 768px) {
    .projects-grid-4 .project-card.mobile-only { display: block; }
}

@media (max-width: 1024px) {
    .grid-4, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* nav already hamburger-only */
    
    .grid-2, .services-grid { grid-template-columns: 1fr; }
    .grid-3, .projects-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid-4 { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .projects-grid-4 .project-card.desktop-only { display: block; }
    
    .section { padding: 3.5rem 0; }
    
    .hero-frame { border: none; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }

    /* Mobile image heights */
    .grid-2 img[style*="height:500px"],
    .grid-2 img[style*="height:450px"],
    .grid-2 img[style*="height:400px"] { height: 300px !important; }
    
    /* Reverse order fix for alternating layouts */
    .grid-2 > div[style*="order:2"] { order: 0 !important; }
    .grid-2 > div[style*="order:1"] { order: 0 !important; }

    /* Process and FAQ touch targets */
    .process-header, .faq-question { min-height: 48px; }

    /* Blog post content */
    .blog-post { padding-top: 5.5rem; }
    .blog-hero-img { margin-bottom: 2rem; padding: 0 1.25rem; }
    .blog-hero-img img { max-height: 280px; }

    /* Testimonial */
    blockquote { font-size: clamp(1.25rem, 4vw, 1.75rem); }

    /* CTA banner */
    .cta-banner { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .hero-frame { inset: 0.75rem; }
    .grid-3 { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    .stat-number { font-size: 2rem; }
}

/* --- Marquee Section --- */
.marquee-section {
    overflow: hidden;
    background: var(--dark);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-container {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeMove 30s linear infinite;
}

.marquee-content span {
    color: var(--stone);
    font-family: var(--serif);
    font-size: 2rem;
    margin-right: 4rem;
}

@keyframes marqueeMove {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- Hero Logo Fade In --- */
.hero-logo {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: logoFadeIn 2s cubic-bezier(0.4, 0.0, 0.2, 1) 0.8s forwards;
    will-change: opacity, transform;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateY(5px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Bigger Footer Logo --- */
.footer-brand img {
    height: 80px !important;
}

/* --- Blog Cost Breakdown --- */
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cost-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(39,48,63,0.08);
}

.cost-item h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.cost-range {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cost-item p {
    color: rgba(39,48,63,0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* --- Material Specs --- */
.material-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(184,115,51,0.05);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
}

.spec-item {
    font-size: 0.875rem;
    color: var(--dark);
}

/* --- Heritage Levels --- */
.heritage-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.heritage-item {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid rgba(39,48,63,0.1);
    border-radius: 6px;
}

.heritage-item h4 {
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.heritage-item p {
    color: rgba(39,48,63,0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* --- Comparison Table --- */
.comparison-table {
    margin: 2rem 0;
    border: 1px solid rgba(39,48,63,0.12);
    border-radius: 6px;
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--dark);
    color: var(--white);
}

.comparison-header .comparison-category,
.comparison-header .comparison-col {
    padding: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: center;
}

.comparison-header .comparison-category {
    text-align: left;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(39,48,63,0.08);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-category {
    padding: 1.5rem 1rem;
    font-weight: 500;
    background: rgba(39,48,63,0.02);
    border-right: 1px solid rgba(39,48,63,0.08);
}

.comparison-col {
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.comparison-col strong {
    display: block;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .comparison-header .comparison-category,
    .comparison-header .comparison-col {
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-category,
    .comparison-col {
        padding: 1rem 0.5rem;
    }
}

/* --- Scroll Indicator (hero) --- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 500;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.4);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Project Category Badge --- */
.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

/* --- Testimonials Grid (3-card) --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-grid .testimonial-card {
    text-align: left;
    max-width: none;
    padding: 2rem;
    background: var(--white);
    border: 1px solid rgba(39,48,63,0.08);
    border-radius: 4px;
}

.testimonial-card .quote-icon {
    font-family: var(--serif);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--stone);
    margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(39,48,63,0.85);
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .client-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--stone);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 500;
    flex-shrink: 0;
}

.testimonial-card .client-details strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.testimonial-card .client-details span {
    font-size: 0.75rem;
    color: var(--sage);
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --- Process Grid (always visible, no accordion) --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    padding: 2rem;
    background: var(--white);
    border: 1px solid rgba(39,48,63,0.08);
    border-radius: 4px;
}

.process-step .step-num {
    font-family: var(--serif);
    font-size: 0.875rem;
    color: var(--stone);
    margin-bottom: 1rem;
}

.process-step h4 {
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9375rem;
    color: rgba(39,48,63,0.85);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.process-step .duration {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--sage);
    padding: 0.25rem 0.625rem;
    background: rgba(39,48,63,0.04);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Section Spacing Variation --- */
.section-tight { padding: 4rem 0; }
.section-spacious { padding: 8rem 0; }

/* --- Image Framing --- */
.img-framed {
    border-radius: 4px;
    border: 1px solid rgba(39,48,63,0.06);
}

/* --- Home: About split (make image feel custom/premium) --- */
.home-about .grid {
    gap: 4rem;
}

.home-about-media-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px 10px 28px 10px;
    box-shadow: 0 24px 60px rgba(39,48,63,0.10);
    background: rgba(255,255,255,0.35);
}

.home-about-media-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 10% 10%, rgba(255,255,255,0.28), rgba(255,255,255,0) 55%),
                linear-gradient(180deg, rgba(39,48,63,0.06), rgba(39,48,63,0) 40%);
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 1;
}

.home-about-media-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(39,48,63,0.08);
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

.home-about-image {
    width: 100%;
    height: clamp(420px, 40vw, 620px);
    object-fit: cover;
    transform: translate3d(0, var(--home-about-parallax, 0px), 0) scale(1.08);
    filter: contrast(1.06) saturate(1.06);
    will-change: transform;
}

@media (max-width: 768px) {
    .home-about .grid {
        gap: 2.25rem;
    }

    .home-about-media-frame {
        border-radius: 18px 8px 18px 8px;
        box-shadow: 0 18px 44px rgba(39,48,63,0.10);
    }

    .home-about-image {
        height: 360px;
        transform: none;
    }
}

/* --- About page: hero + philosophy --- */
/* Slightly darker overlay + minimal blur reduce grain; replace hero image with high-res when possible */
.hero-about-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    filter: blur(0.5px);
}

.philosophy-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-body {
    max-width: 58ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    text-align: left;
}

/* --- Mobile Menu Active Page --- */
.mobile-menu a.active {
    color: var(--accent);
}

.mobile-menu a.active::before {
    content: '\2014\00a0';
    color: var(--accent);
}

/* --- Contact Form Success Fade --- */
.form-success {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
