/* =========================================================
   Macoyosh Builders — Style Sheet
   Warm desert modernism · Quiet luxury · Editorial feel
   ========================================================= */

/* --- Palette & Tokens ----------------------------------- */
:root {
    --cream:       #F5F0E8;
    --sand:        #D4C5A9;
    --terracotta:  #C4704B;
    --terra-deep:  #A85A3A;
    --walnut:      #5C3D2E;
    --oak:         #A0845C;
    --shadow:      #1C1714;
    --shadow-mid:  #2A2320;
    --shadow-soft: #362F2A;
    --sky:         #6A7F94;

    --text-light:  #F5F0E8;
    --text-dark:   #1C1714;
    --text-muted:  #8A7E72;

    --ff-serif:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ff-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease:        cubic-bezier(.25,.46,.45,.94);
    --ease-out:    cubic-bezier(.16,1,.3,1);

    --nav-h:       80px;
}

/* --- Reset ---------------------------------------------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body {
    font-family: var(--ff-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { font:inherit; border:none; background:none; cursor:pointer; color:inherit; }
address { font-style:normal; }

/* --- Typography ----------------------------------------- */
h1,h2,h3,h4 {
    font-family: var(--ff-serif);
    font-weight: 300;
    line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem);  letter-spacing: .015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem);  font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
h4 { font-size: 1.15rem; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }

/* --- Layout --------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 60px);
}

/* --- Buttons -------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--ff-sans);
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 16px 40px;
    border: 1px solid;
    transition: all .4s var(--ease);
}
.btn--primary {
    color: var(--cream);
    border-color: var(--cream);
    background: transparent;
}
.btn--primary:hover {
    background: var(--cream);
    color: var(--shadow);
}
.btn--submit {
    color: var(--cream);
    border-color: var(--terracotta);
    background: var(--terracotta);
    width: 100%;
}
.btn--submit:hover {
    background: var(--terra-deep);
    border-color: var(--terra-deep);
}

/* --- Navigation ----------------------------------------- */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.main-nav.scrolled {
    background: rgba(28,23,20,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(212,197,169,.08);
}
.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity .3s;
}
.nav-logo:hover img { opacity: .8; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: .8;
    transition: opacity .3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--terracotta);
    transition: width .3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    border: 1px solid rgba(245,240,232,.3) !important;
    padding: 10px 24px !important;
    opacity: 1 !important;
}
.nav-cta:hover { background: rgba(245,240,232,.08); }
.nav-cta::after { display: none !important; }
.nav-phone {
    opacity: 1 !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
}
.nav-phone::after { display: none !important; }

/* Nav social icons */
.nav-social {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-social a {
    display: flex;
    align-items: center;
    color: var(--cream);
    opacity: .6;
    transition: opacity .3s, color .3s;
}
.nav-social a:hover {
    opacity: 1;
    color: var(--terracotta);
}
.nav-social a::after { display: none !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--cream);
    transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero (scroll-driven canvas sequence) --------------- */
.hero {
    position: relative;
    height: 500vh;
}
.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--shadow);
}

/* Canvas fills the viewport, drawn with cover-fit logic in JS */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* noscript / failed-load fallback */
.hero-fallback-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loader — visible until all frames are in memory */
.hero-loader {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s var(--ease);
}
.hero-loader.done {
    opacity: 0;
    pointer-events: none;
}
.hero-loader-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.35);
}
.hero-loader-ui {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.hero-loader-track {
    width: 120px;
    height: 2px;
    background: rgba(245,240,232,.15);
    border-radius: 1px;
    overflow: hidden;
}
.hero-loader-fill {
    height: 100%;
    width: 0%;
    background: var(--terracotta);
    transition: width .15s linear;
}
.hero-loader-pct {
    font-family: var(--ff-sans);
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(245,240,232,.5);
}

/* Overlay gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(28,23,20,.15) 0%,
        transparent 35%,
        transparent 65%,
        rgba(28,23,20,.25) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Content & scroll cue */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cream);
    padding: 48px 48px;
    will-change: opacity, transform;
    background: rgba(28,23,20,.35);
    border-radius: 4px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.hero-pre {
    font-family: var(--ff-sans);
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: .7;
}
.hero h1 { margin-bottom: 24px; }
.hero-sub {
    font-family: var(--ff-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    opacity: .85;
    margin-bottom: 48px;
}

/* Scroll milestone text */
.hero-milestone {
    position: absolute;
    z-index: 2;
    color: var(--cream);
    opacity: 0;
    will-change: opacity, transform;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 4px;
    padding: 32px 40px;
    pointer-events: none;
    max-width: 520px;
    padding: 40px 48px;
}
.hero-milestone h3 {
    font-family: var(--ff-serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: .015em;
    text-transform: none;
    margin-bottom: 14px;
}
.hero-milestone p {
    font-family: var(--ff-sans);
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.75;
    opacity: .8;
}

/* Positions — keep transformation center-stage */
.hero-milestone--bl {
    bottom: 12%;
    left: 6%;
    text-align: left;
}
.hero-milestone--tl {
    top: 18%;
    left: 6%;
    text-align: left;
}
.hero-milestone--br {
    bottom: 12%;
    right: 6%;
    text-align: right;
}

.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    will-change: opacity;
}
.scroll-cue span {
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--cream);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { transform: scaleY(.4); opacity:.3; }
    50% { transform: scaleY(1); opacity:.8; }
}

/* Progress bar at bottom of hero viewport */
.hero-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    z-index: 3;
    background: rgba(212,197,169,.1);
}
.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--terracotta);
    will-change: width;
}

/* --- Intro ---------------------------------------------- */
.intro {
    padding: 48px 0;
    background: var(--cream);
}
.intro-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    margin-left: -40px;
}
.intro-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: 340px;
}
.intro-image {
    overflow: hidden;
    border-radius: 2px;
}
.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}
.intro-image:hover img {
    transform: scale(1.05);
}
.intro-inner {
    max-width: 800px;
    text-align: center;
}
.intro-rule {
    width: 60px;
    height: 1px;
    background: var(--terracotta);
    margin: 0 auto 40px;
}
.intro-quote {
    font-family: var(--ff-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--shadow);
    margin-bottom: 60px;
}
.intro-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--ff-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--terracotta);
    margin-bottom: 4px;
}
.stat-label {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand);
}

/* --- About the Owner ------------------------------------ */
.about-owner {
    padding: 120px 0;
    background: #EDE8DF;
}
.about-owner-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.about-owner-text .section-tag {
    color: var(--terracotta);
    margin-bottom: 16px;
    display: block;
}
.about-owner-text h2 {
    margin-bottom: 24px;
}
.about-owner-text p {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 36px;
}
.btn--dark {
    color: var(--cream);
    border-color: var(--shadow);
    background: var(--shadow);
}
.btn--dark:hover {
    background: var(--shadow-mid);
    border-color: var(--shadow-mid);
}
.about-owner-img {
    border-radius: 2px;
    overflow: hidden;
}
.about-owner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}
.about-owner-img:hover img {
    transform: scale(1.05);
}

/* --- Section Headers ------------------------------------ */
.section-head {
    text-align: center;
    margin-bottom: 72px;
}
.section-head--light { color: var(--cream); }
.section-head--light .section-tag { color: var(--terracotta); }
.section-head--light .section-desc { color: rgba(245,240,232,.6); }
.section-tag {
    display: block;
    font-family: var(--ff-sans);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 20px; }
.section-desc {
    font-size: .95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Testimonials --------------------------------------- */
.testimonials {
    padding: 120px 0;
    background: var(--shadow);
    color: var(--cream);
}
.testimonials .section-head h2 { color: var(--cream); }
.testimonials .section-tag { color: var(--terracotta); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.testi-card {
    background: var(--shadow-mid);
    padding: 48px 36px 40px;
    border: 1px solid rgba(212,197,169,.06);
    display: flex;
    flex-direction: column;
    transition: border-color .4s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testi-card.visible:hover {
    border-color: rgba(196,112,75,.25);
    transform: translateY(0) translateX(0) scale(1.04);
    box-shadow: 0 0 30px rgba(196,112,75,.15), 0 8px 32px rgba(0,0,0,.2);
    transition-delay: 0s;
}
.testi-mark {
    font-family: var(--ff-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--terracotta);
    margin-bottom: 16px;
    opacity: .6;
}
.testi-body {
    font-size: .92rem;
    line-height: 1.8;
    color: rgba(245,240,232,.8);
    flex: 1;
    margin-bottom: 32px;
}
.testi-footer {
    border-top: 1px solid rgba(212,197,169,.1);
    padding-top: 20px;
}
.testi-name {
    display: block;
    font-family: var(--ff-serif);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 2px;
}
.testi-loc {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Gallery -------------------------------------------- */
.gallery {
    padding: 120px 0;
    background: #EDE8DF;
}
.gallery .section-tag {
    font-size: 1rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 16px;
}
.gallery-cell {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}
.gallery-cell--hero {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-cell--wide {
    grid-column: span 2;
}
.gallery-cell img,
.gallery-ph {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.gallery-cell:hover img,
.gallery-cell:hover .gallery-ph { transform: scale(1.04); }

.gallery-ph {
    background: linear-gradient(135deg, var(--ph-a) 0%, var(--ph-b) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-ph span {
    font-family: var(--ff-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(245,240,232,.5);
    letter-spacing: .04em;
}
.gallery-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(28,23,20,.7));
    opacity: 0;
    transform: translateY(8px);
    transition: all .4s var(--ease);
}
.gallery-cell:hover .gallery-label { opacity: 1; transform: translateY(0); }
.gallery-label span {
    font-family: var(--ff-serif);
    font-size: 1rem;
    color: var(--cream);
    font-style: italic;
}

/* --- Lightbox ------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28,23,20,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lb-body {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}
.lb-body img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}
.lb-caption {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(245,240,232,.6);
    margin-top: 16px;
}
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    color: var(--cream);
    opacity: .6;
    transition: opacity .3s;
    z-index: 10;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close {
    top: 24px; right: 32px;
    font-size: 2rem;
}
.lb-prev, .lb-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    padding: 16px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* --- Building Methods ----------------------------------- */
.methods {
    padding: 120px 0;
    background: var(--shadow);
    color: var(--cream);
}
.methods-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}
.method-col h3 {
    font-size: .85rem;
    color: var(--terracotta);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212,197,169,.1);
}
/* Expand all toggle */
.methods-expand-wrap {
    text-align: right;
    margin-bottom: 12px;
}
.methods-expand-all {
    font-family: var(--ff-sans);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: none;
    border: 1px solid var(--terracotta);
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    transition: background .3s, color .3s;
}
.methods-expand-all:hover {
    background: var(--terracotta);
    color: var(--charcoal);
}
/* Method accordions */
.method-item {
    border-bottom: 1px solid rgba(212,197,169,.08);
}
.method-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family: var(--ff-serif);
    font-size: 1.05rem;
    font-weight: 400;
    text-align: left;
    color: var(--cream);
    transition: color .3s;
}
.method-q:hover { color: var(--terracotta); }
.method-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 16px;
}
.method-icon::before,
.method-icon::after {
    content: '';
    position: absolute;
    background: var(--terracotta);
    transition: transform .35s var(--ease), opacity .35s;
}
.method-icon::before {
    top: 50%; left: 0;
    width: 100%; height: 1px;
    transform: translateY(-50%);
}
.method-icon::after {
    top: 0; left: 50%;
    width: 1px; height: 100%;
    transform: translateX(-50%);
}
.method-q[aria-expanded="true"] .method-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.method-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease);
}
.method-a-inner {
    padding: 0 0 20px;
    font-family: var(--ff-sans);
    font-size: .85rem;
    color: rgba(245,240,232,.55);
    line-height: 1.7;
}
.methods-aside {
    text-align: center;
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(245,240,232,.6);
    max-width: 700px;
    margin: 0 auto 80px;
    padding: 40px 0;
    border-top: 1px solid rgba(212,197,169,.1);
    border-bottom: 1px solid rgba(212,197,169,.1);
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.service {
    padding: 36px 28px;
    border: 1px solid rgba(212,197,169,.08);
    transition: border-color .4s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service.visible:hover {
    border-color: rgba(196,112,75,.25);
    transform: translateY(0) translateX(0) scale(1.04);
    box-shadow: 0 0 30px rgba(196,112,75,.15), 0 8px 32px rgba(0,0,0,.2);
    transition-delay: 0s;
}
.service-num {
    display: block;
    font-family: var(--ff-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--terracotta);
    opacity: .4;
    margin-bottom: 20px;
}
.service h4 {
    font-size: .85rem;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.service p {
    font-size: .85rem;
    line-height: 1.7;
    color: rgba(245,240,232,.6);
}

/* --- FAQ ------------------------------------------------ */
.faq {
    padding: 120px 0;
    background: var(--cream);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--sand);
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    font-family: var(--ff-serif);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    text-align: left;
    color: var(--shadow);
    transition: color .3s;
}
.faq-q:hover { color: var(--terracotta); }
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--terracotta);
    transition: transform .35s var(--ease);
}
.faq-icon::before {
    top: 50%; left: 0;
    width: 100%; height: 1px;
    transform: translateY(-50%);
}
.faq-icon::after {
    top: 0; left: 50%;
    width: 1px; height: 100%;
    transform: translateX(-50%);
}
.faq-q[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease);
}
.faq-a-inner {
    padding: 0 0 28px;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.faq-a-inner ul {
    margin-top: 12px;
    padding-left: 0;
}
.faq-a-inner li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: .88rem;
}
.faq-a-inner li::before {
    content: '';
    position: absolute;
    left: 0; top: 16px;
    width: 6px; height: 1px;
    background: var(--terracotta);
}
.faq-a-inner strong {
    font-weight: 500;
    color: var(--shadow);
}

/* --- Contact -------------------------------------------- */
.contact {
    padding: 120px 0;
    background: var(--shadow-mid);
    color: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info .section-tag { color: var(--terracotta); }
.contact-info h2 { margin-bottom: 24px; }
.contact-lead {
    font-size: .95rem;
    color: rgba(245,240,232,.6);
    margin-bottom: 48px;
    line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-block { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.contact-val {
    font-family: var(--ff-serif);
    font-size: 1.05rem;
    color: var(--cream);
    transition: color .3s;
}
a.contact-val:hover { color: var(--terracotta); }

/* Form */
.contact-form-wrap {
    background: var(--shadow-soft);
    padding: 48px;
    border: 1px solid rgba(212,197,169,.06);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(212,197,169,.2);
    padding: 12px 0;
    font-family: var(--ff-sans);
    font-size: .92rem;
    font-weight: 300;
    color: var(--cream);
    transition: border-color .3s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Macoyosh Family ------------------------------------ */
.family {
    padding: 120px 0;
    background: var(--shadow);
    color: var(--cream);
}
.family .section-tag {
    color: var(--terracotta);
    font-size: 1.1rem;
}
.family .section-head h2 { color: var(--cream); }
.family-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.family-label {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-family: var(--ff-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: .02em;
    color: rgba(245,240,232,.9);
}
.family-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 3 / 4;
    display: block;
    cursor: pointer;
    text-decoration: none;
}
.family-card-bg,
.family-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .5s var(--ease), transform .5s var(--ease);
}
.family-card-bg {
    background: linear-gradient(135deg, var(--ph-a) 0%, var(--ph-b) 100%);
}
.family-card:hover .family-card-bg,
.family-card:hover .family-card-img {
    filter: blur(6px) brightness(.55);
    transform: scale(1.05);
}
.family-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.family-card:hover .family-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.family-card-overlay h3 {
    font-family: var(--ff-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 8px;
    letter-spacing: .02em;
    text-transform: none;
}
.family-card-overlay p {
    font-family: var(--ff-sans);
    font-size: .85rem;
    font-weight: 300;
    color: rgba(245,240,232,.7);
    letter-spacing: .06em;
}

/* --- Footer --------------------------------------------- */
.footer {
    padding: 80px 0 40px;
    background: var(--shadow);
    color: rgba(245,240,232,.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-logo {
    height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .6;
    margin-bottom: 20px;
}
.footer-brand p {
    font-size: .85rem;
    line-height: 1.7;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.footer-social a {
    display: flex;
    align-items: center;
    color: rgba(245,240,232,.5);
    transition: color .3s;
}
.footer-social a:hover {
    color: var(--terracotta);
}
.footer-col h4 {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 20px;
    opacity: .7;
}
.footer-col li {
    font-size: .85rem;
    margin-bottom: 10px;
}
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
    border-top: 1px solid rgba(212,197,169,.06);
    padding-top: 24px;
    font-size: .75rem;
    letter-spacing: .06em;
}

/* --- Section vignettes (rendered behind content) -------- */
.intro,
.about-owner,
.gallery,
.faq,
.testimonials,
.methods,
.contact,
.family {
    position: relative;
}
.intro::before,
.about-owner::before,
.gallery::before,
.faq::before,
.testimonials::before,
.methods::before,
.contact::before,
.family::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.intro > .container,
.about-owner > .container,
.gallery > .container,
.faq > .container,
.testimonials > .container,
.methods > .container,
.contact > .container,
.family > .container {
    position: relative;
    z-index: 1;
}

/* Light cream sections */
.intro::before,
.faq::before {
    box-shadow: inset 0 100px 140px -20px rgba(28,23,20,.28),
                inset 0 -100px 140px -20px rgba(28,23,20,.28);
}

/* Light sand sections */
.about-owner::before,
.gallery::before {
    box-shadow: inset 0 100px 140px -20px rgba(28,23,20,.25),
                inset 0 -100px 140px -20px rgba(28,23,20,.25);
}

/* Dark sections — warm glow */
.testimonials::before,
.family::before {
    box-shadow: inset 0 80px 120px -20px rgba(196,112,75,.18),
                inset 0 -80px 120px -20px rgba(196,112,75,.18);
}

/* Methods — top glow only, bottom clear for service cards */
.methods::before {
    box-shadow: inset 0 80px 120px -20px rgba(196,112,75,.18);
}

/* Contact — subtle */
.contact::before {
    box-shadow: inset 0 60px 90px -20px rgba(196,112,75,.06),
                inset 0 -60px 90px -20px rgba(196,112,75,.06);
}

/* --- Reveal Animation ----------------------------------- */
/* Base reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Directional variants */
.reveal-left {
    transform: translateX(-40px) translateY(0);
}
.reveal-right {
    transform: translateX(40px) translateY(0);
}

/* Scale variant — cards, images */
.reveal-scale {
    transform: translateY(24px) scale(0.97);
}

/* Line reveal — decorative rules */
.reveal-line {
    transform: none;
    transform-origin: left center;
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.reveal-line:not(.visible) {
    transform: scaleX(0);
}

/* --- Section image break -------------------------------- */
.section-break {
    position: relative;
    height: 45vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.section-break::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28,23,20,.3);
}

/* --- Responsive ----------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }
    .methods-columns { grid-template-columns: 1fr; gap: 40px; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
    }
    .gallery-cell--hero { grid-column: span 2; grid-row: span 2; }
    .gallery-cell--wide { grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(28,23,20,.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s var(--ease);
    }
    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a {
        font-size: .9rem;
        letter-spacing: .2em;
    }
    .nav-cta {
        margin-top: 12px;
    }

    .hero { height: 350vh; }
    .hero-sticky { min-height: 100svh; }
    .hero-loader-track { width: 80px; }
    .hero-milestone {
        max-width: 360px;
        padding: 28px 32px;
    }
    .hero-milestone--bl,
    .hero-milestone--tl { left: 5%; }
    .hero-milestone--br { right: 5%; }
    .hero-milestone h3 { font-size: 1.25rem; }
    .hero-milestone p { font-size: .85rem; }

    .section-break { background-attachment: scroll; height: 35vh; min-height: 220px; }
    .reveal-left, .reveal-right { transform: translateY(28px) translateX(0); }

    .intro { padding: 80px 0; }
    .intro-split { grid-template-columns: 1fr; gap: 40px; }
    .intro-images { height: 280px; }
    .intro-split { grid-template-columns: 1fr; }
    .intro-inner { text-align: center; }
    .about-owner { padding: 80px 0; }
    .about-owner-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-owner-img { min-height: 350px; }
    .intro-quote { font-size: 1.15rem; }
    .intro-stats { flex-direction: column; gap: 24px; }
    .stat-divider { width: 40px; height: 1px; }

    .testimonials { padding: 80px 0; }
    .testi-card { padding: 36px 28px 32px; }

    .gallery { padding: 80px 0; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .gallery-cell--hero { grid-column: span 2; grid-row: span 1; }

    .methods { padding: 80px 0; }
    .services { grid-template-columns: 1fr; }
    .service { padding: 28px 24px; }

    .faq { padding: 80px 0; }
    .faq-q { font-size: 1rem; padding: 24px 0; }

    .contact { padding: 80px 0; }
    .contact-form-wrap { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }

    .family { padding: 80px 0; }
    .family-grid { grid-template-columns: 1fr; gap: 20px; }
    .family-card { aspect-ratio: 4 / 3; }

    .footer { padding: 60px 0 32px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: span 1; }

    .section-head { margin-bottom: 48px; }
    .section-desc br { display: none; }
}

/* Small phones */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero-sub { font-size: .95rem; margin-bottom: 36px; }
    .btn { padding: 14px 32px; font-size: .75rem; }
    .gallery-grid { grid-auto-rows: 150px; gap: 8px; }
}
