:root {
    --navy-950: #041033;
    --navy-900: #07184b;
    --navy-800: #102763;
    --navy-700: #173777;
    --gold-500: #f2ca3d;
    --gold-400: #ffda55;
    --cream: #f7f4ea;
    --paper: #fffefd;
    --ink: #151926;
    --muted: #626a7b;
    --line: #dde1e9;
    --soft-blue: #eef3ff;
    --success: #12745b;
    --danger: #ae2d2d;
    --shadow-sm: 0 10px 30px rgba(7, 24, 75, .08);
    --shadow-lg: 0 25px 70px rgba(4, 16, 51, .18);
    --radius-sm: .65rem;
    --radius-md: 1.1rem;
    --radius-lg: 1.75rem;
    --container: 1180px;
    --header-height: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
    color: var(--navy-950);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}
h1 { font-size: clamp(2.75rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { color: var(--muted); }
ul { margin-top: 0; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-tight { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-soft { background: var(--cream); }
.section-blue { background: var(--soft-blue); }
.section-dark { background: var(--navy-950); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cbd4ea; }
.section-heading { max-width: 760px; margin-bottom: 2.75rem; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading p { font-size: 1.12rem; max-width: 680px; }
.section-heading.center p { margin-inline: auto; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .8rem;
    color: var(--navy-700);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold-500); }
.eyebrow-light { color: var(--gold-400); }
.kicker { color: var(--gold-500); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.max-copy { max-width: 680px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 9999; background: #fff; color: var(--navy-950); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    color: #fff;
    background: rgba(7, 24, 75, .96);
    border-bottom: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; line-height: 1; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--navy-950);
    background: var(--gold-500);
    border-radius: 50% 50% 10px 10px;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: -.06em;
}
.brand strong { display: block; font-size: 1.22rem; letter-spacing: .02em; }
.brand small { display: block; margin-top: .28rem; color: #b9c5e1; font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav > a { position: relative; color: #e7ecf8; text-decoration: none; font-weight: 700; font-size: .9rem; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--gold-500); transition: right .2s ease; }
.site-nav > a:hover::after, .site-nav > a.is-current::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: .55rem; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 52px;
    padding: .9rem 1.35rem;
    border: 1px solid transparent;
    border-radius: .7rem;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy-950) !important; background: var(--gold-500); box-shadow: 0 10px 24px rgba(242, 202, 61, .2); }
.button-gold:hover { background: var(--gold-400); box-shadow: 0 14px 30px rgba(242, 202, 61, .28); }
.button-navy { color: #fff; background: var(--navy-900); }
.button-outline { color: var(--navy-900); background: transparent; border-color: var(--navy-900); }
.button-ghost-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.button-small { min-height: 42px; padding: .7rem 1rem; font-size: .86rem; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.hero {
    position: relative;
    min-height: calc(88vh - var(--header-height));
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background: var(--navy-950);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,51,.96) 0%, rgba(4,16,51,.78) 50%, rgba(4,16,51,.2) 100%); z-index: 1; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(transparent, rgba(4,16,51,.45)); z-index: 1; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; max-width: 830px; padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead { max-width: 700px; color: #dbe3f4; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin: 1.7rem 0 2rem; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: .45rem; font-weight: 750; }
.hero-trust li::before { content: "✓"; color: var(--gold-500); }
.hero-mini { min-height: 420px; align-items: center; }
.hero-mini .hero-content { padding-block: 5.5rem; }
.hero-mini h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); }

.trust-strip { position: relative; z-index: 3; margin-top: -1.5rem; }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.trust-item { padding: 1.5rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

.split { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { aspect-ratio: 4/3; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: auto 1.25rem 1.25rem auto; width: 78px; height: 78px; border-right: 5px solid var(--gold-500); border-bottom: 5px solid var(--gold-500); }
.feature-list, .check-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.feature-list li, .check-list li { position: relative; padding-left: 1.75rem; color: var(--ink); }
.feature-list li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card, .project-card, .review-card, .value-card, .info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.service-card { display: flex; min-height: 100%; flex-direction: column; }
.service-card img { aspect-ratio: 16/10; object-fit: cover; }
.service-card-body { padding: 1.6rem; }
.service-card .eyebrow { margin-bottom: .5rem; }
.service-card h3 { margin-bottom: .8rem; }
.service-card p { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; color: var(--navy-800); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; color: var(--gold-500); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.project-card { position: relative; }
.project-card img { aspect-ratio: 4/3; object-fit: cover; transition: transform .45s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card-media { overflow: hidden; }
.project-card-body { padding: 1.5rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.pill { display: inline-flex; align-items: center; padding: .35rem .62rem; color: var(--navy-800); background: var(--soft-blue); border-radius: 999px; font-size: .73rem; font-weight: 800; }
.pill-gold { background: #fff4bd; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card { padding: 1.7rem; color: #fff; background: var(--navy-900); border-radius: var(--radius-md); }
.stat-card strong { display: block; color: var(--gold-500); font-size: 2.3rem; line-height: 1; }
.stat-card span { display: block; margin-top: .6rem; color: #d7dff0; }

.process-preview { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-preview article { position: relative; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.process-preview article::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 1.2rem; color: var(--gold-500); font-size: 1.5rem; font-weight: 900; }
.process-preview p { margin-bottom: 0; font-size: .92rem; }

.ai-showcase { position: relative; overflow: hidden; }
.ai-showcase::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -140px; top: -220px; background: radial-gradient(circle, rgba(242,202,61,.28), transparent 68%); }
.ai-panel { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ai-panel h2, .ai-panel h3 { color: #fff; }
.ai-panel p { color: #cbd4ea; }
.ai-badges { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; }
.ai-badges li { padding: .45rem .7rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.planner-preview { padding: 1.4rem; background: #fff; border-radius: var(--radius-md); }
.planner-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.planner-preview-head strong { color: var(--navy-900); }
.planner-lines { display: grid; gap: .8rem; }
.planner-line { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start; }
.planner-line span { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy-900); background: #fff4bd; border-radius: .65rem; font-weight: 900; }
.planner-line p { margin: 0; font-size: .9rem; }

.realtor-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.realtor-panel img { height: 100%; object-fit: cover; }
.realtor-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); background: var(--cream); }

.review-card { padding: 1.7rem; }
.review-card-link { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.review-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { color: #e8b80e; letter-spacing: .12em; }
.review-card blockquote { margin: 1rem 0 1.3rem; color: var(--ink); font-size: 1.02rem; }
.review-card footer { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.google-review-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 1.4rem; padding: 1.2rem 1.35rem; background: var(--soft-blue); border: 1px solid var(--line); border-radius: var(--radius-md); }
.google-review-cta > div:first-child { display: grid; gap: .2rem; }
.google-review-cta .button-row { margin-top: 0; }
.google-review-cta strong { color: var(--navy-900); font-size: 1.05rem; }
.google-review-cta span { color: var(--muted); font-size: .86rem; }

.page-hero { padding: clamp(4.5rem, 8vw, 7rem) 0; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.page-hero h1 { margin-bottom: 1rem; color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { max-width: 720px; color: #d7dff0; font-size: 1.15rem; }
.breadcrumbs { display: flex; gap: .45rem; margin-bottom: 1.3rem; color: #b8c4e0; font-size: .82rem; }
.breadcrumbs a { color: var(--gold-400); text-decoration: none; }

.service-detail { display: grid; grid-template-columns: .86fr 1.14fr; gap: 2.5rem; align-items: center; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.service-detail + .service-detail { margin-top: 1.5rem; }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); }

.timeline { position: relative; display: grid; gap: 1.2rem; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; align-items: start; }
.timeline-number { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; color: var(--navy-950); background: var(--gold-500); border: 6px solid var(--paper); border-radius: 50%; font-weight: 900; }
.timeline-card { padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.timeline-card p { margin-bottom: 0; }

.gallery-controls { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.filter-button { padding: .6rem .95rem; color: var(--navy-800); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }
.filter-button.is-active { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: .85rem; }
.gallery-item { grid-column: span 4; position: relative; overflow: hidden; border-radius: var(--radius-md); }
.gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 6; }
.gallery-item img { height: 100%; min-height: 260px; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { position: absolute; left: .9rem; bottom: .9rem; padding: .4rem .65rem; color: #fff; background: rgba(4,16,51,.86); border-radius: 999px; font-size: .76rem; font-weight: 800; }
.gallery-item[hidden] { display: none; }
.project-detail-hero { position: relative; min-height: 620px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--navy-950); }
.project-detail-image { position: absolute; inset: 0; }
.project-detail-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,51,.97) 0%, rgba(4,16,51,.76) 52%, rgba(4,16,51,.28) 100%); }
.project-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.project-detail-copy { position: relative; z-index: 1; padding-top: 9rem; padding-bottom: 5rem; }
.project-detail-copy h1 { max-width: 850px; color: #fff; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.project-detail-copy p { max-width: 720px; color: #dbe3f3; font-size: 1.15rem; }
.pill-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.project-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.project-detail-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem; }
.project-detail-gallery figure { grid-column: span 4; margin: 0; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.project-detail-gallery figure:first-child { grid-column: span 8; grid-row: span 2; }
.project-detail-gallery img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .35s ease; }
.project-detail-gallery figure:hover img { transform: scale(1.03); }

.projects-hero-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.projects-hero-grid h1 { max-width: 720px; margin-bottom: 0; }
.projects-hero-grid > p { margin: 0 0 .5rem; }
.projects-intro, .projects-trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; margin-bottom: 3rem; }
.projects-intro h2, .projects-trust h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.projects-intro p, .projects-trust p { margin: .2rem 0 0; font-size: 1.05rem; }
.project-index-grid .project-card { display: flex; min-height: 100%; flex-direction: column; }
.project-index-grid .project-card-body { display: flex; flex: 1; flex-direction: column; }
.project-index-grid .project-card h3 a { text-decoration: none; }
.project-index-grid .project-card .text-link { margin-top: auto; }
.timeline-proof { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1.4rem, 4vw, 2.6rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.timeline-proof img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); }
.timeline-proof h3 { margin-bottom: .7rem; }
.timeline-proof p { margin-bottom: 1rem; }
.timeline-proof strong { display: inline-block; padding-left: .8rem; color: var(--navy-900); border-left: 4px solid var(--gold-500); font-style: italic; }
.legacy-company-story { display: grid; gap: 2rem; max-width: 1040px; }
.legacy-company-story > img { max-height: 620px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.legacy-company-copy { max-width: 940px; margin-inline: auto; }
.legacy-company-copy p { color: #3f4655; }
.legacy-company-copy p:last-child { margin-bottom: 0; color: var(--navy-900); font-weight: 800; }
.legacy-project-strip { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.legacy-project-strip img { height: 180px; object-fit: cover; }

.project-introduction { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.project-quote { margin: 0; padding: 1.5rem 1.6rem; color: var(--navy-900); background: var(--cream); border-left: 5px solid var(--gold-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 800; font-style: italic; line-height: 1.45; }
.project-overview h2 { font-size: clamp(1.8rem, 3.5vw, 3.15rem); }
.project-overview .lead { margin-bottom: 0; }
.legacy-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 140px; gap: 1rem; }
.legacy-gallery figure { grid-column: span 4; grid-row: span 2; min-width: 0; margin: 0; overflow: hidden; background: var(--navy-950); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.legacy-gallery figure.legacy-gallery-feature { grid-column: span 8; grid-row: span 4; }
.legacy-gallery figure:nth-child(7n+4), .legacy-gallery figure:nth-child(7n+5) { grid-column: span 6; }
.legacy-gallery-button { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; color: #fff; background: transparent; border: 0; text-align: left; }
.legacy-gallery-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.legacy-gallery-view { position: absolute; right: .8rem; bottom: .8rem; padding: .42rem .68rem; opacity: 0; background: rgba(4,16,51,.86); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .76rem; font-weight: 800; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.legacy-gallery-button:hover img, .legacy-gallery-button:focus-visible img { opacity: .84; transform: scale(1.035); }
.legacy-gallery-button:hover .legacy-gallery-view, .legacy-gallery-button:focus-visible .legacy-gallery-view { opacity: 1; transform: none; }
.legacy-gallery-button:focus-visible { outline: 4px solid var(--gold-500); outline-offset: -4px; }
.project-lightbox { width: min(1180px, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; overflow: visible; background: transparent; border: 0; }
.project-lightbox::backdrop { background: rgba(2,8,26,.92); backdrop-filter: blur(6px); }
.project-lightbox-panel { position: relative; padding: .75rem; background: var(--navy-950); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md); box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.project-lightbox figure { margin: 0; }
.project-lightbox img { width: 100%; height: min(76dvh, 820px); object-fit: contain; background: #020817; border-radius: .65rem; }
.project-lightbox figcaption { min-height: 2.2rem; padding: .7rem 8rem .1rem; color: #dbe3f4; text-align: center; font-size: .84rem; font-weight: 700; }
.project-lightbox-close { position: absolute; z-index: 2; top: -14px; right: -14px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: var(--navy-950); background: var(--gold-500); border: 3px solid #fff; border-radius: 50%; box-shadow: var(--shadow-lg); font-size: 1.7rem; line-height: 1; }
.project-lightbox-controls { position: absolute; right: 1.2rem; bottom: 1rem; left: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; pointer-events: none; }
.project-lightbox-controls button { min-height: 42px; padding: .65rem .85rem; color: #fff; background: rgba(16,39,99,.92); border: 1px solid rgba(255,255,255,.22); border-radius: .55rem; font-weight: 800; pointer-events: auto; }
.project-content { max-width: 940px; }
.project-goals { margin-bottom: clamp(3rem, 7vw, 5.5rem); padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--soft-blue); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.project-goals .check-list { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
.work-list { display: grid; gap: 0; margin-bottom: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.work-item { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.work-item h3 { position: relative; padding-left: 1.7rem; }
.work-item h3::before { content: "✓"; position: absolute; left: 0; color: var(--navy-700); }
.work-item p:last-child, .work-item ul:last-child { margin-bottom: 0; }
.result-panel { padding: clamp(1.7rem, 5vw, 3.5rem); color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.result-panel h2 { color: #fff; }
.result-panel p { color: #d6def0; }
.result-panel .result-list { grid-template-columns: repeat(2, 1fr); margin: 1.7rem 0; }
.result-panel .result-list li { color: #fff; }
.result-panel .result-list li::before { color: var(--gold-500); }
.project-cta .offer-card { box-shadow: var(--shadow-sm); }

.insights-hero h1 { max-width: 920px; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.article-grid-home { grid-template-columns: repeat(3, 1fr); }
.article-card { display: flex; min-height: 100%; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.article-card-media { display: block; overflow: hidden; background: var(--navy-950); }
.article-card-media img { aspect-ratio: 16/10; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.article-card:hover .article-card-media img { opacity: .92; transform: scale(1.025); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.6rem; }
.article-card time { color: var(--navy-700); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-card h2, .article-card h3 { margin: .65rem 0 .8rem; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.article-card h2 a, .article-card h3 a { text-decoration: none; }
.article-card p { display: -webkit-box; overflow: hidden; margin-bottom: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.article-card .text-link { margin-top: auto; padding-top: 1.2rem; }
.section-action { margin: 2rem 0 0; text-align: center; }
.article-hero { position: relative; min-height: 600px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--navy-950); }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,51,.96), rgba(4,16,51,.72) 60%, rgba(4,16,51,.3)); }
.article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero-copy { position: relative; z-index: 1; padding-block: clamp(4rem, 8vw, 7rem); }
.article-hero-copy h1 { max-width: 950px; margin: .6rem 0 1.2rem; color: #fff; font-size: clamp(2.5rem, 5.5vw, 5rem); }
.article-hero-copy time { color: #dbe3f4; font-weight: 700; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.article-copy { max-width: 780px; font-size: 1.05rem; }
.article-copy h2 { margin: 2.8rem 0 1rem; font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
.article-copy h2:first-child { margin-top: 0; }
.article-copy h3 { margin: 2rem 0 .8rem; }
.article-copy p { color: #3f4655; }
.article-copy li { margin-bottom: .55rem; color: #3f4655; }
.article-copy hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
.article-aside { position: sticky; top: calc(var(--header-height) + 24px); padding: 1.6rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article-aside h2 { font-size: 1.75rem; }
.article-aside .button + .button { margin-top: .75rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: .8rem; }
.info-card { padding: 1.2rem 1.3rem; }
.info-card small { display: block; margin-bottom: .25rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.info-card strong, .info-card a { color: var(--navy-900); text-decoration: none; font-size: 1.04rem; }
.form-card { padding: clamp(1.4rem, 4vw, 2.4rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: .42rem; color: var(--navy-950); font-size: .86rem; font-weight: 800; }
input, select, textarea {
    width: 100%;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd5e1;
    border-radius: .65rem;
    padding: .82rem .9rem;
    outline: none;
    transition: border .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(16,39,99,.1); }
textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: .65rem; }
.form-status.success { color: #0d543f; background: #e1f7ef; }
.form-status.error { color: #8a2020; background: #fdeaea; }
.upload-field { gap: .55rem; }
.upload-dropzone {
    display: grid;
    gap: .42rem;
    padding: 1.15rem;
    color: var(--navy-900);
    background: var(--soft-blue);
    border: 1px dashed #9ba9c6;
    border-radius: .8rem;
}
.upload-dropzone input[type="file"] { padding: .65rem; background: #fff; }
.upload-dropzone small, .file-summary, .form-privacy { color: var(--muted); font-weight: 500; line-height: 1.5; }
.file-summary { display: block; font-size: .8rem; }
.consent-row span { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.consent-row input { width: auto; margin-top: .2rem; flex: 0 0 auto; }
.form-privacy { margin: -.25rem 0 0; font-size: .8rem; }
.form-privacy a { color: var(--navy-800); font-weight: 800; }
.optional-label { color: var(--muted); font-size: .82em; font-weight: 600; }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin-top: 2.2rem; margin-bottom: .65rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy a, .privacy-note a { color: var(--navy-700); font-weight: 800; }
.archive-gallery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.archive-gallery-cta h3 { margin: .35rem 0 .5rem; }
.archive-gallery-cta p { margin: 0; }
.archive-gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.archive-gallery-head h2 { margin: .35rem 0 0; }
.archive-gallery-head p { margin: 0; color: var(--muted); font-weight: 800; }
.archive-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.archive-photo { position: relative; overflow: hidden; min-height: 240px; background: var(--navy-950); border-radius: var(--radius-sm); text-decoration: none; }
.archive-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.archive-photo span { position: absolute; inset: auto .75rem .75rem; padding: .55rem .7rem; overflow: hidden; color: #fff; background: rgba(4,16,51,.82); border-radius: .45rem; font-size: .78rem; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.archive-photo:hover img { opacity: .86; transform: scale(1.035); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.pagination a, .pagination span { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .55rem; font-weight: 800; text-decoration: none; }
.pagination a { color: #fff; background: var(--navy-800); }
.pagination span { color: var(--muted); background: #fff; }
.empty-gallery { max-width: 720px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem); text-align: center; background: var(--soft-blue); border-radius: var(--radius-lg); }
.empty-gallery .button { margin-top: .75rem; }

.offer-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0; color: #fff; background: var(--navy-950); }
.offer-hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 52%; background: linear-gradient(90deg, var(--navy-950), transparent), url('../images/gallery-bathroom-bright.jpg') center/cover; opacity: .78; }
.offer-hero .container { position: relative; z-index: 1; }
.offer-hero h1 { max-width: 780px; color: #fff; }
.offer-price { color: var(--gold-400); white-space: nowrap; }
.offer-card { padding: clamp(1.5rem, 4vw, 2.6rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.offer-card-price { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.offer-card-price strong { color: var(--navy-900); font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1; }
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { padding: 1rem 1.15rem; color: var(--navy-900); font-weight: 800; cursor: pointer; }
.faq details p { padding: 0 1.15rem 1rem; margin: 0; }

.final-cta { padding: 3.5rem 0; background: var(--navy-800); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { max-width: 700px; margin: 0; color: #fff; }
.site-footer { padding: 4rem 0 1.5rem; color: #fff; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 3rem; }
.brand-footer { margin-bottom: 1.2rem; }
.site-footer p { max-width: 480px; color: #aebbd9; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.service-area { color: var(--gold-400) !important; font-weight: 700; }
.footer-links { display: grid; gap: .55rem; padding: 0; list-style: none; color: #aebbd9; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; color: #8290b1; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

.ai-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1rem;
    color: var(--navy-950);
    background: var(--gold-500);
    border: 0;
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    font-weight: 900;
}
.ai-pulse { width: 10px; height: 10px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px rgba(18,116,91,.15); }
.ai-drawer {
    position: fixed;
    z-index: 1300;
    top: 0;
    right: 0;
    width: min(520px, 100%);
    height: 100dvh;
    padding: clamp(1.2rem, 4vw, 2rem);
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 70px rgba(4,16,51,.25);
    transform: translateX(105%);
    transition: transform .32s ease;
}
.ai-drawer.is-open { transform: translateX(0); }
.ai-drawer-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.ai-drawer-head h2 { margin-bottom: .6rem; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--navy-900); background: var(--soft-blue); border: 0; border-radius: 50%; font-size: 1.6rem; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 1200; background: rgba(4,16,51,.58); backdrop-filter: blur(3px); }
.ai-form { display: grid; gap: .9rem; margin: 1.4rem 0; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.voice-wrap { position: relative; display: block; }
.voice-wrap textarea { padding-right: 3.3rem; }
.voice-button { position: absolute; right: .55rem; bottom: .6rem; display: grid; place-items: center; width: 40px; height: 40px; background: var(--soft-blue); border: 0; border-radius: .55rem; }
.voice-button.is-listening { background: #ffe2e2; animation: pulse 1s infinite; }
.ai-result { display: none; margin-top: 1rem; padding: 1rem; white-space: pre-wrap; color: var(--ink); background: var(--cream); border-left: 4px solid var(--gold-500); border-radius: .5rem; }
.ai-result.is-visible { display: block; }
.ai-result.is-loading { color: var(--muted); }
.privacy-note { display: block; margin-top: 1rem; color: var(--muted); line-height: 1.45; }
.ai-expectation { margin: 1rem 0 1.3rem; padding: 1rem 1.1rem; color: var(--navy-900); background: var(--soft-blue); border-radius: .75rem; }
.ai-expectation strong { display: block; margin-bottom: .55rem; }
.ai-expectation ol { display: grid; gap: .35rem; margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.ai-contact-panel { display: grid; gap: .8rem; margin-top: .35rem; padding: 1.05rem; background: var(--cream); border: 1px solid var(--line); border-radius: .8rem; }
.ai-contact-panel h3 { margin: -.2rem 0 0; font-size: 1.2rem; }
.ai-contact-panel > p { margin: -.35rem 0 .15rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.ai-contact-panel .eyebrow { margin: 0; }
.ai-follow-up { margin-top: 1rem; padding: 1rem; color: var(--navy-900); background: #e9f7f1; border-left: 4px solid var(--success); border-radius: .5rem; }
.ai-follow-up h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.ai-follow-up p { margin: 0 0 .85rem; color: #345b50; line-height: 1.5; }
.ai-follow-up[hidden] { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes pulse { 50% { transform: scale(.92); } }

@media (max-width: 980px) {
    :root { --header-height: 74px; }
    .menu-toggle { display: block; }
    .site-nav {
        position: fixed;
        left: 20px;
        right: 20px;
        top: calc(var(--header-height) + 8px);
        display: grid;
        gap: 0;
        padding: .7rem;
        background: var(--navy-950);
        border: 1px solid rgba(255,255,255,.13);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .2s ease;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav > a { padding: .85rem 1rem; }
    .site-nav > a:not(.button)::after { display: none; }
    .site-nav .button { margin-top: .45rem; }
    .split, .ai-panel, .realtor-panel, .contact-grid, .project-story, .projects-hero-grid, .projects-intro, .projects-trust, .timeline-proof, .project-introduction, .article-layout { grid-template-columns: 1fr; }
    .split-reverse > :first-child { order: initial; }
    .realtor-panel img { max-height: 440px; }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .cards-3 > :last-child { grid-column: 1 / -1; }
    .process-preview { grid-template-columns: repeat(2, 1fr); }
    .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) .service-detail-media { order: initial; }
    .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; gap: 1.5rem; }
    .project-detail-gallery figure, .project-detail-gallery figure:first-child { grid-column: span 6; grid-row: auto; }
    .archive-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .legacy-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
    .legacy-gallery figure, .legacy-gallery figure:nth-child(7n+4), .legacy-gallery figure:nth-child(7n+5) { grid-column: span 1; grid-row: span 2; }
    .legacy-gallery figure.legacy-gallery-feature { grid-column: span 2; grid-row: span 3; }
    .legacy-project-strip { grid-template-columns: repeat(3, 1fr); }
    .legacy-project-strip img { height: 160px; }
    .article-grid-home { grid-template-columns: repeat(2, 1fr); }
    .article-grid-home .article-card:last-child { grid-column: 1 / -1; }
    .article-aside { position: static; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand small { display: none; }
    .brand strong { font-size: 1.02rem; }
    .brand-mark { width: 40px; height: 40px; }
    .hero { min-height: 720px; }
    .hero::before { background: linear-gradient(180deg, rgba(4,16,51,.55), rgba(4,16,51,.97) 72%); }
    .hero-content { padding-top: 9rem; }
    .hero .button-row .button { width: 100%; }
    .trust-strip { margin-top: 0; padding-top: 1rem; background: var(--navy-950); }
    .trust-strip-inner { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .cards-3, .stats-grid, .process-preview, .form-grid, .form-split { grid-template-columns: 1fr; }
    .cards-3 > :last-child, .form-grid .full { grid-column: auto; }
    .ai-panel { padding: 1.25rem; }
    .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 12; }
    .gallery-item img { min-height: 220px; }
    .timeline::before { left: 22px; }
    .timeline-item { grid-template-columns: 46px 1fr; gap: .85rem; }
    .timeline-number { width: 46px; height: 46px; border-width: 4px; }
    .timeline-card { padding: 1.15rem; }
    .offer-hero::after { width: 100%; opacity: .3; }
    .offer-card-price { align-items: start; flex-direction: column; }
    .final-cta-inner, .footer-bottom, .google-review-cta { align-items: flex-start; flex-direction: column; }
    .final-cta .button-row .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: 6rem; }
    .ai-launcher { left: 14px; right: 14px; bottom: 14px; justify-content: center; }
    .project-detail-hero { min-height: 560px; }
    .project-detail-image::after { background: linear-gradient(180deg, rgba(4,16,51,.45), rgba(4,16,51,.96) 72%); }
    .project-detail-gallery figure, .project-detail-gallery figure:first-child { grid-column: span 12; }
    .legacy-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 88px; gap: .55rem; }
    .legacy-gallery figure, .legacy-gallery figure:nth-child(7n+4), .legacy-gallery figure:nth-child(7n+5) { grid-column: span 1; grid-row: span 2; border-radius: .7rem; }
    .legacy-gallery figure.legacy-gallery-feature { grid-column: span 2; grid-row: span 3; }
    .legacy-gallery-view { right: .45rem; bottom: .45rem; padding: .35rem .5rem; opacity: 1; transform: none; font-size: .68rem; }
    .project-lightbox { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
    .project-lightbox-panel { padding: .45rem; }
    .project-lightbox img { height: 72dvh; }
    .project-lightbox figcaption { padding: .65rem 6.5rem .1rem; font-size: .75rem; }
    .project-lightbox-close { top: -8px; right: -4px; width: 42px; height: 42px; }
    .project-lightbox-controls { right: .7rem; bottom: .65rem; left: .7rem; }
    .project-lightbox-controls button { min-height: 38px; padding: .5rem .65rem; font-size: .78rem; }
    .project-goals .check-list, .result-panel .result-list, .article-grid, .article-grid-home { grid-template-columns: 1fr; }
    .article-grid-home .article-card:last-child { grid-column: auto; }
    .article-hero { min-height: 540px; }
    .legacy-project-strip { grid-template-columns: repeat(2, 1fr); }
    .legacy-project-strip img { height: 150px; }
    .archive-gallery-cta, .archive-gallery-head { align-items: flex-start; flex-direction: column; }
    .archive-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-photo, .archive-photo img { min-height: 190px; }
    .pagination { align-items: stretch; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
