:root {
  --ink: #171916;
  --ink-soft: #282b27;
  --cream: #f5f1e8;
  --paper: #fbfaf6;
  --white: #ffffff;
  --muted: #6b6d67;
  --line: #dedbd2;
  --sage: #677363;
  --sage-dark: #475245;
  --brass: #aa8351;
  --brass-light: #d4b78e;
  --shadow: 0 22px 60px rgba(19, 22, 18, .12);
  --radius: 4px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }

.topbar { background: var(--ink); color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.topbar a { color: var(--brass-light); font-weight: 700; }
.topbar-divider { height: 10px; width: 1px; background: rgba(255,255,255,.25); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,246,.92); border-bottom: 1px solid rgba(23,25,22,.07); backdrop-filter: blur(16px); }
.nav-wrap { height: 82px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 43px; display: inline-flex; }
.brand-mark svg { width: 100%; fill: var(--ink); }
.brand-mark .brand-cut { fill: var(--paper); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.brand-text small { margin-top: 6px; font-size: 7px; letter-spacing: .27em; color: var(--muted); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; }
.main-nav a { font-size: 13px; font-weight: 700; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: var(--brass); transition: .3s; }
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; height: 1.5px; width: 24px; background: var(--ink); margin: 5px 0; }

.button { min-height: 50px; padding: 0 24px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 800; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--sage-dark); border-color: var(--sage-dark); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--brass); }
.button-ghost { background: transparent; border-color: var(--line); }
.button-ghost:hover { border-color: var(--ink); }
.button-light { background: var(--cream); color: var(--ink); }
.button-light:hover { background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.4); background: transparent; }
.button-outline-light:hover { background: white; color: var(--ink); }
.button-full { width: 100%; }

.hero { position: relative; min-height: 760px; padding: 82px 0 0; background: var(--cream); overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(90deg, transparent 49.8%, rgba(23,25,22,.25) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(23,25,22,.25) 50%, transparent 50.2%); background-size: 92px 92px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 72px; align-items: center; position: relative; }
.hero-copy { padding: 40px 0 120px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-dark); }
.eyebrow span { width: 34px; height: 1px; background: var(--brass); }
.eyebrow-light { color: var(--brass-light); }
.hero h1 { font-family: var(--serif); font-size: clamp(54px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; font-weight: 400; margin: 25px 0 28px; }
.hero h1 em { display: block; color: var(--sage-dark); font-weight: 400; }
.hero-lead { font-size: 18px; line-height: 1.75; color: #51544f; max-width: 610px; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.hero-proof { margin-top: 38px; display: flex; align-items: center; gap: 15px; }
.avatar-stack { width: 48px; height: 48px; background: var(--ink); color: var(--brass-light); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.hero-proof div:last-child { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 13px; }
.hero-proof small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.hero-media { position: relative; height: 630px; }
.hero-photo { position: absolute; inset: 0 58px 0 54px; margin: 0; overflow: hidden; box-shadow: var(--shadow); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.25), transparent 45%); }
.hero-photo img { height: 100%; object-fit: cover; object-position: center 46%; }
.hero-detail { position: absolute; margin: 0; width: 180px; height: 220px; left: -6px; bottom: 48px; border: 8px solid var(--cream); box-shadow: 0 16px 35px rgba(0,0,0,.16); overflow: hidden; z-index: 2; }
.hero-detail img { height: 100%; object-fit: cover; }
.warranty-float { position: absolute; right: 0; top: 64px; width: 160px; min-height: 142px; padding: 18px; background: var(--sage-dark); color: white; display: flex; align-items: center; gap: 10px; box-shadow: 0 18px 45px rgba(27,35,25,.24); z-index: 3; }
.warranty-number { font-family: var(--serif); font-size: 78px; line-height: 1; color: var(--brass-light); }
.warranty-float strong { display: block; font-size: 15px; letter-spacing: .18em; }
.warranty-float small { display: block; font-size: 8px; line-height: 1.5; letter-spacing: .12em; opacity: .72; margin-top: 5px; }
.craft-note { position: absolute; bottom: 18px; right: 20px; color: white; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; z-index: 3; writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; }
.craft-note .line { height: 42px; width: 1px; background: var(--brass-light); }
.trust-strip { position: relative; margin-top: -18px; background: var(--paper); min-height: 108px; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 16px 50px rgba(23,25,22,.08); }
.trust-strip div { padding: 25px 30px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.trust-strip span { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-top: 5px; }

.intro-section { padding-bottom: 70px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.section-heading h2, .section-header-row h2, .process-sticky h2, .planner-copy h2, .faq-heading h2 { font-family: var(--serif); font-size: clamp(42px, 5vw, 66px); line-height: 1.05; letter-spacing: -.045em; font-weight: 400; margin: 22px 0 0; }
.intro-copy { border-left: 1px solid var(--line); padding-left: 48px; }
.intro-copy p { font-size: 18px; color: var(--muted); margin: 0 0 25px; }
.text-link, .card-link { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.text-link span, .card-link span { transition: transform .2s; }
.text-link:hover span, .card-link:hover span { transform: translateX(5px); }

.services-section { padding-top: 20px; background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 420px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .3s, color .3s, transform .3s; overflow: hidden; }
.service-card::after { content: ''; position: absolute; inset: auto 0 0; height: 0; background: var(--sage-dark); transition: height .35s; z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover::after, .service-featured::after { height: 100%; }
.service-card:hover, .service-featured { color: white; transform: translateY(-8px); box-shadow: var(--shadow); }
.service-index { font-size: 10px; letter-spacing: .15em; color: var(--brass); }
.service-icon { width: 56px; margin: 48px 0 30px; }
.service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.2; }
.service-card h3 { font-family: var(--serif); font-size: 28px; line-height: 1.12; font-weight: 400; margin: 0 0 18px; }
.service-card p { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.service-card:hover p, .service-featured p { color: rgba(255,255,255,.7); }
.service-card .card-link { margin-top: auto; text-align: left; color: var(--ink); }
.service-card:hover .card-link, .service-featured .card-link { color: var(--brass-light); }

.projects-section { background: var(--ink); color: white; }
.section-header-row { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 56px; }
.section-header-row h2 { margin-top: 18px; }
.filter-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.2); }
.filter { border: 0; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; padding: 10px 14px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; position: relative; }
.filter::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brass-light); transform: scaleX(0); transition: .25s; }
.filter.active { color: white; }
.filter.active::after { transform: scaleX(1); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; gap: 16px; }
.project-card { position: relative; overflow: hidden; background: #242724; transition: opacity .35s, transform .35s; }
.project-card.hidden { opacity: 0; transform: scale(.96); pointer-events: none; position: absolute; visibility: hidden; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s; }
.project-card:hover img { transform: scale(1.045); }
.project-tall { grid-row: span 2; }
.project-wide { grid-column: span 2; }
.project-overlay { position: absolute; inset: auto 0 0; padding: 55px 24px 23px; display: flex; align-items: end; justify-content: space-between; background: linear-gradient(to top, rgba(0,0,0,.78), transparent); }
.project-overlay span { font-size: 9px; text-transform: uppercase; letter-spacing: .16em; color: var(--brass-light); }
.project-overlay h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 4px 0 0; }
.project-overlay button { border: 1px solid rgba(255,255,255,.45); color: white; background: rgba(0,0,0,.2); width: 42px; height: 42px; cursor: pointer; backdrop-filter: blur(5px); }
.projects-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); margin-top: 42px; padding-top: 28px; }
.projects-footer p { color: rgba(255,255,255,.5); font-size: 12px; }

.process-section { background: var(--cream); }
.process-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; }
.process-sticky { align-self: start; position: sticky; top: 130px; }
.process-sticky p { color: var(--muted); font-size: 16px; margin: 28px 0 32px; max-width: 470px; }
.process-steps { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.step-number { font-family: var(--serif); font-size: 26px; color: var(--brass); }
.process-step h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; margin: 0 0 10px; }
.process-step p { color: var(--muted); margin: 0; font-size: 14px; }

.warranty-section { position: relative; padding: 120px 0; background: var(--sage-dark); color: white; overflow: hidden; }
.warranty-texture { position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(135deg, transparent 0 48%, white 49% 51%, transparent 52%), linear-gradient(45deg, transparent 0 48%, white 49% 51%, transparent 52%); background-size: 70px 70px; }
.warranty-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 110px; align-items: center; position: relative; }
.warranty-copy h2 { font-family: var(--serif); font-size: clamp(46px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -.05em; font-weight: 400; margin: 22px 0 26px; }
.warranty-copy p { max-width: 620px; color: rgba(255,255,255,.68); font-size: 17px; }
.system-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 33px; }
.system-list span { border: 1px solid rgba(255,255,255,.25); padding: 10px 14px; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.warranty-card { background: var(--paper); color: var(--ink); padding: 42px; box-shadow: 0 30px 75px rgba(0,0,0,.2); }
.warranty-big { font-size: 10px; letter-spacing: .16em; color: var(--muted); display: flex; align-items: baseline; gap: 10px; }
.warranty-big strong { font-family: var(--serif); font-size: 92px; line-height: .8; color: var(--sage-dark); font-weight: 400; }
.warranty-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 30px 0 12px; }
.warranty-card p { color: var(--muted); font-size: 13px; }
.warranty-options { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); margin-top: 30px; padding-top: 25px; }
.warranty-options div { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding-left: 16px; }
.warranty-options div:first-child { padding-left: 0; }
.warranty-options div:last-child { border: 0; }
.warranty-options strong { font-family: var(--serif); font-size: 32px; font-weight: 400; }
.warranty-options span { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

.reviews-section { background: var(--paper); }
.review-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: center; }
.review-score { border-right: 1px solid var(--line); padding-right: 70px; }
.stars { color: var(--brass); letter-spacing: .18em; }
.review-score strong { display: block; font-family: var(--serif); font-size: 31px; line-height: 1.2; font-weight: 400; margin-top: 18px; }
.review-score p { color: var(--muted); font-size: 13px; }
.review-quote { position: relative; margin: 0; padding: 20px 0 15px 62px; }
.quote-mark { position: absolute; left: 0; top: -15px; font-family: var(--serif); font-size: 100px; line-height: 1; color: var(--brass-light); }
.review-quote p { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.review-quote footer { display: flex; flex-direction: column; margin-top: 28px; }
.review-quote footer strong { font-size: 13px; }
.review-quote footer span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 3px; }

.planner-section { background: var(--cream); }
.planner-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.planner-copy p { color: var(--muted); max-width: 470px; font-size: 16px; }
.check-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.check-list span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-dark); color: white; font-size: 11px; }
.contact-direct { margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-direct small { text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-direct a { font-family: var(--serif); font-size: 30px; margin-top: 3px; }
.project-form { background: var(--paper); padding: 42px; box-shadow: var(--shadow); min-height: 590px; }
.form-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 40px; }
.form-progress span { height: 3px; background: var(--line); }
.form-progress span.active { background: var(--sage-dark); }
.form-step { display: none; }
.form-step.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.form-kicker { font-size: 9px; color: var(--brass); text-transform: uppercase; letter-spacing: .14em; }
.form-step h3, .form-success h3 { font-family: var(--serif); font-size: 34px; line-height: 1.1; font-weight: 400; margin: 12px 0 28px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { min-height: 58px; border: 1px solid var(--line); padding: 14px 15px; display: flex; align-items: center; font-size: 12px; transition: .2s; }
.choice-grid input:checked + span { border-color: var(--sage-dark); background: rgba(71,82,69,.08); box-shadow: inset 3px 0 var(--sage-dark); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-grid label, .modal-form > label { display: flex; flex-direction: column; gap: 7px; }
.field-grid label > span, .modal-form label > span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.field-full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: white; border-radius: 0; padding: 13px 14px; outline: none; transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(71,82,69,.08); }
textarea { resize: vertical; }
.upload-field { position: relative; border: 1px dashed #b9b6ae; background: #f7f5ef; min-height: 102px; align-items: center; justify-content: center; text-align: center; padding: 16px; cursor: pointer; }
.upload-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-field > span { position: absolute; top: 8px; left: 10px; }
.upload-field strong { font-size: 12px; }
.upload-field small { color: var(--muted); }
.form-controls { display: flex; justify-content: space-between; margin-top: 28px; }
.consent { display: flex; flex-direction: row !important; gap: 10px !important; align-items: flex-start; margin-top: 16px; }
.consent input { width: auto; margin-top: 4px; }
.consent span { text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; font-size: 10px !important; }
.form-success { display: none; text-align: center; padding: 65px 20px; }
.form-success.active { display: block; }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-dark); color: white; font-size: 28px; margin: auto; }
.form-success p { color: var(--muted); max-width: 480px; margin: 0 auto 25px; }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item button { width: 100%; background: none; border: 0; padding: 26px 0; display: flex; justify-content: space-between; text-align: left; cursor: pointer; font-family: var(--serif); font-size: 21px; }
.accordion-item i { width: 18px; height: 18px; position: relative; flex: 0 0 18px; }
.accordion-item i::before, .accordion-item i::after { content: ''; position: absolute; top: 8px; left: 1px; width: 16px; height: 1px; background: var(--ink); transition: transform .25s; }
.accordion-item i::after { transform: rotate(90deg); }
.accordion-item.open i::after { transform: rotate(0); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-content p { margin: 0 45px 25px 0; color: var(--muted); font-size: 13px; }
.accordion-item.open .accordion-content { max-height: 180px; }

.closing-cta { position: relative; background: var(--ink); color: white; padding: 85px 0; overflow: hidden; }
.closing-bg { position: absolute; right: -80px; top: -220px; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.08); transform: rotate(45deg); }
.closing-bg::before, .closing-bg::after { content: ''; position: absolute; inset: 70px; border: 1px solid rgba(255,255,255,.08); }
.closing-bg::after { inset: 140px; }
.closing-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.closing-inner span { color: var(--brass-light); font-size: 9px; letter-spacing: .16em; }
.closing-inner h2 { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 58px); line-height: 1.08; font-weight: 400; max-width: 760px; margin: 10px 0 0; }

.site-footer { background: #10120f; color: white; padding: 75px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 70px; }
.brand-light .brand-mark svg { fill: white; }
.brand-light .brand-mark .brand-cut { fill: #10120f; }
.brand-light .brand-text small { color: rgba(255,255,255,.5); }
.footer-brand p { color: rgba(255,255,255,.5); max-width: 300px; font-size: 12px; margin-top: 22px; }
.footer-grid h4 { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin: 4px 0 22px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid span, .footer-link { color: rgba(255,255,255,.65); font-size: 12px; margin-bottom: 10px; border: 0; background: none; padding: 0; cursor: pointer; }
.footer-grid a:hover, .footer-link:hover { color: white; }
.footer-link { margin-top: 10px; color: var(--brass-light); }
.footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 10px; }
.footer-bottom div { display: flex; gap: 22px; }

.mobile-actions { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.active { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,12,10,.76); backdrop-filter: blur(7px); }
.modal-panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.4); padding: 48px; animation: modalIn .28s ease; }
@keyframes modalIn { from { opacity:0; transform: translateY(16px) scale(.98);} to { opacity:1; transform:none;} }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: none; font-family: var(--serif); font-size: 35px; cursor: pointer; }
.modal-intro h2 { font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: 1.05; margin: 13px 0 13px; }
.modal-intro p { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.modal-form { display: grid; gap: 16px; }
.upload-field.compact { min-height: 75px; }
.modal-disclaimer { text-align: center; color: var(--muted); font-size: 9px; }
.modal-success { display: none; text-align: center; padding: 65px 20px; }
.modal-success h3 { font-family: var(--serif); font-size: 36px; font-weight: 400; margin-bottom: 10px; }
.modal-success p { color: var(--muted); max-width: 470px; margin: 0 auto 25px; }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(8,9,8,.94); padding: 40px; display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 25px; color: white; background: none; border: 0; font-size: 40px; cursor: pointer; }
.lightbox-caption { position: absolute; bottom: 18px; color: rgba(255,255,255,.7); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .nav-cta { display: none; }
  .hero-grid { gap: 35px; }
  .hero-photo { inset-right: 25px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout, .warranty-grid, .planner-grid, .faq-grid { gap: 55px; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 720px); }
  .section { padding: 82px 0; }
  .topbar-inner { justify-content: center; }
  .topbar-inner span:nth-child(2), .topbar-inner span:nth-child(3), .topbar-inner span:nth-child(4) { display: none; }
  .nav-wrap { height: 70px; }
  .brand-text strong { font-size: 23px; }
  .menu-toggle { display: block; margin-left: auto; z-index: 2; }
  .main-nav { position: fixed; inset: 106px 0 auto; background: var(--paper); padding: 28px 24px; display: none; flex-direction: column; align-items: flex-start; box-shadow: 0 20px 30px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .hero { padding-top: 48px; min-height: auto; }
  .hero-grid, .intro-grid, .process-layout, .warranty-grid, .review-layout, .planner-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 20px 0 40px; }
  .hero h1 { font-size: clamp(50px, 13vw, 74px); }
  .hero-media { height: 590px; }
  .hero-photo { inset: 0 15px 0 25px; }
  .warranty-float { right: -5px; }
  .hero-detail { left: 0; }
  .trust-strip { grid-template-columns: 1fr 1fr; margin-top: 25px; }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid { gap: 35px; }
  .intro-copy { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; }
  .section-header-row { align-items: flex-start; flex-direction: column; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-tall { grid-row: span 1; }
  .project-wide { grid-column: span 2; }
  .process-sticky { position: static; }
  .review-score { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 35px; }
  .review-layout { gap: 35px; }
  .review-quote { padding-left: 50px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  body { padding-bottom: 64px; }
  .topbar { font-size: 9px; }
  .topbar-inner { min-height: 31px; }
  .brand-mark { width: 36px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 6px; }
  .main-nav { inset: 101px 0 auto; }
  .hero { padding-top: 38px; }
  .hero h1 { margin-top: 19px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-media { height: 510px; margin-top: 10px; }
  .hero-photo { inset: 0 0 0 28px; }
  .hero-detail { width: 135px; height: 165px; border-width: 6px; bottom: 25px; }
  .warranty-float { top: 30px; width: 138px; min-height: 115px; padding: 13px; }
  .warranty-number { font-size: 62px; }
  .warranty-float strong { font-size: 12px; }
  .trust-strip { width: 100%; }
  .trust-strip div { padding: 18px 16px; }
  .trust-strip strong { font-size: 18px; }
  .trust-strip span { font-size: 8px; }
  .section-heading h2, .section-header-row h2, .process-sticky h2, .planner-copy h2, .faq-heading h2 { font-size: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .service-featured, .service-card:hover { transform: none; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
  .project-wide { grid-column: auto; }
  .projects-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .filter-row { overflow-x: auto; width: 100%; }
  .process-step { grid-template-columns: 55px 1fr; }
  .warranty-section { padding: 85px 0; }
  .warranty-card { padding: 30px 24px; }
  .warranty-big strong { font-size: 74px; }
  .review-quote { padding-left: 38px; }
  .quote-mark { font-size: 75px; }
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .project-form { padding: 27px 20px; min-height: 620px; }
  .form-controls { gap: 10px; }
  .form-controls .button { flex: 1; padding: 0 12px; }
  .modal-panel { padding: 38px 20px 24px; }
  .modal-intro h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 64px; background: var(--ink); color: white; display: grid; grid-template-columns: repeat(3,1fr); box-shadow: 0 -10px 30px rgba(0,0,0,.15); }
  .mobile-actions a, .mobile-actions button { border: 0; border-right: 1px solid rgba(255,255,255,.12); background: transparent; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
  .mobile-actions span { color: var(--brass-light); font-size: 17px; line-height: 1; }
  .lightbox { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Live estimate form states */
.spam-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-error {
  display: none;
  width: 100%;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #b94a48;
  border-radius: 8px;
  background: #fff1f0;
  color: #8c2523;
  font-size: 14px;
  line-height: 1.45;
}
.form-error.active { display: block; }
button[type="submit"].is-loading { opacity: .72; cursor: wait; }
button[type="submit"]:disabled { pointer-events: none; }


/* Complete categorized gallery */
.gallery-intro {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}
.filter-row {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 670px;
}
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  margin-left: 5px;
  padding: 0 5px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 99px;
  font-size: 8px;
  color: rgba(255,255,255,.55);
}
.filter.active .filter-count {
  border-color: rgba(211,178,129,.65);
  color: var(--brass-light);
}
.full-gallery-grid {
  grid-auto-flow: dense;
}
.project-card {
  cursor: zoom-in;
  outline: none;
}
.project-card:focus-visible {
  box-shadow: 0 0 0 3px var(--brass-light);
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.project-card img {
  width: 100%;
  background: #242724;
}
.gallery-card-enter {
  animation: galleryCardIn .45s ease both;
}
@keyframes galleryCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.projects-footer .button[hidden] {
  display: none;
}
.gallery-noscript {
  padding-top: 22px;
  color: rgba(255,255,255,.65);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  color: white;
  font: 300 38px/1 var(--sans);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: var(--brass-light);
  background: rgba(0,0,0,.58);
  outline: none;
}
.lightbox-caption {
  max-width: calc(100vw - 160px);
  text-align: center;
}

@media (max-width: 900px) {
  .filter-row { justify-content: flex-start; max-width: none; }
}

@media (max-width: 560px) {
  .gallery-intro { font-size: 13px; }
  .filter-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .filter { flex: 0 0 auto; }
  .full-gallery-grid { grid-auto-rows: 360px; }
  .project-tall { grid-row: span 1; }
  .project-overlay { padding: 48px 18px 18px; }
  .project-overlay h3 { font-size: 20px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 30px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-caption { max-width: calc(100vw - 36px); bottom: 12px; }
}
