@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  --red: #e60f0f;
  --cyan: #0fd7fa;
  --paper: #ffffff;
  --mist: #f0faff;
  --quote-surface: #e7f6fc;
  --footer-surface: #f4f9fc;
  --ink: #14242f;
  --deep-teal: #285e68;
  --light-teal: #449ba4;
  --silver: #c5d4d8;
  --dark-red: #b80406;
  --quiet: #354958;
  --line: #c8d9e2;
  --field-border: #657985;
  --radius: 16px;
  --inner-radius: calc(var(--radius) - 5px);
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Barlow Condensed", "Liberation Sans Narrow", "Arial Narrow", system-ui, sans-serif;
  color-scheme: only light;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; line-height: 1.61; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; }
h2 { font-size: clamp(3.1rem, 6.5vw, 5.85rem); line-height: .9; letter-spacing: -.024em; }
h3 { font-size: clamp(1.85rem, 4vw, 2.6rem); line-height: 1; }
:focus-visible { outline: 3px solid var(--deep-teal); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.section-pad { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 16px; background: var(--paper); }

.site-header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand img {
  width: 32px;
  height: 48px;
  object-fit: contain;
  background: #0c283a;
  border-radius: 5px;
  box-shadow: 0 0 0 3px #0c283a;
}
.brand > span { font-family: var(--display); font-size: 1.65rem; line-height: .84; font-weight: 800; }
.brand small { display: block; margin-top: 6px; color: var(--dark-red); font: 700 .65rem/1 var(--body); letter-spacing: .17em; text-transform: uppercase; }
#site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.35vw, 2.35rem); }
#site-nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; text-decoration: none; font-size: .9rem; font-weight: 700; }
#site-nav a:hover { color: var(--dark-red); }
#site-nav [aria-current]::after { content: ""; width: 100%; height: 2px; background: var(--red); position: absolute; bottom: 4px; left: 0; }
.menu-toggle { color: var(--ink); min-height: 44px; align-items: center; gap: 9px; background: transparent; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; font-size: .85rem; font-weight: 700; }
.menu-toggle i { position: relative; width: 16px; height: 13px; }
.menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink); transition: transform 180ms ease-in-out; }
.menu-toggle i::before { top: 3px; }
.menu-toggle i::after { top: 9px; }
.menu-toggle[aria-expanded="true"] i::before { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::after { transform: translateY(-3px) rotate(-45deg); }

.button { min-height: 46px; display: inline-flex; width: fit-content; text-align: left; align-items: center; justify-content: space-between; gap: 1.4rem; border-radius: 4px; border: 1px solid transparent; padding: .7rem 1.05rem; text-decoration: none; font-size: .88rem; font-weight: 700; transition: background-color 160ms ease-out, color 160ms ease-out, transform 150ms ease-out; }
.button--primary { color: white; background: var(--red); }
.button--primary:hover { background: var(--dark-red); }
.button--outline { color: var(--ink); border-color: var(--line); background: var(--paper); }
.button--outline:hover { background: var(--silver); }
.button:active, .menu-toggle:active { transform: scale(.97); transition-duration: 0ms; }
.arrow { display: inline-block; position: relative; flex: none; width: 13px; height: 13px; transition: transform 150ms ease-out; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: 7px; height: 7px; right: 1px; top: 1px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { width: 11px; height: 1.5px; top: 6px; left: 1px; background: currentColor; transform: rotate(-45deg); }
.arrow--down { transform: rotate(135deg); }
:is(.button,.text-link):hover .arrow--right { transform: translate(2px,-2px); }
:is(.button,.text-link):hover .arrow--down { transform: translateY(2px) rotate(135deg); }
.text-link { display: inline-flex; align-items: center; width: fit-content; gap: .7rem; font-size: .9rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 7px 4px; }

.services { border-top: 1px solid var(--line); }
.section-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.section-label::before { content: ""; display: inline-block; vertical-align: .2em; width: 21px; height: 4px; margin-right: 8px; background: var(--red); transform: skew(-18deg); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1.7rem; margin-bottom: 2rem; }
.section-title p { max-width: 23rem; color: var(--quiet); }
:is(.services,.about,.quote,.projects) h1 { font-size: clamp(3.8rem, 8vw, 7.3rem); line-height: .87; letter-spacing: -.025em; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2.1rem); border-bottom: 1px solid var(--line); padding: 1.2rem .15rem; scroll-margin-top: 1rem; }
.service:is(#interior, #exterior) {
  padding-inline: clamp(.7rem, 1.55vw, 1.25rem);
  background-image: linear-gradient(90deg, var(--paper) 39%, rgb(255 255 255 / 90%) 62%, rgb(255 255 255 / 73%)), var(--service-photo);
  background-position: center, right var(--service-photo-position);
  background-repeat: no-repeat;
  background-size: 100% 100%, 60% auto;
  background-clip: padding-box;
}
.service#interior {
  --service-photo: url("reference/fireplace-living-room.webp");
  --service-photo-position: 58%;
}
.service#exterior {
  --service-photo: url("reference/navy-porch.webp");
  --service-photo-position: 52%;
}
.service p { color: var(--quiet); margin-top: .38rem; }
.service-icon { display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid rgb(40 94 104 / 20%); background: #e6f8fa; border-radius: 4px; position: relative; color: var(--deep-teal); }
.service-icon b { display: block; width: 20px; height: 21px; border: 2px solid currentColor; position: relative; }
.service-icon--interior b::before, .service-icon--interior b::after { content: ""; position: absolute; background: currentColor; }
.service-icon--interior b::before { width: 2px; height: 100%; left: 7px; top: 0; }
.service-icon--interior b::after { width: 100%; height: 2px; top: 8px; left: 0; }
.service-icon--exterior b { height: 13px; margin-top: 10px; }
.service-icon--exterior b::before { content: ""; position: absolute; border-top: 2px solid; border-left: 2px solid; width: 16px; height: 16px; transform: rotate(45deg); top: -11px; left: 0; }
.service-link { white-space: nowrap; }

.family-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}
.family-copy { max-width: 36rem; }
.family-copy h2 { margin-bottom: 1.5rem; max-width: 10ch; }
.family-copy p { color: var(--quiet); font-size: clamp(1rem, 1.7vw, 1.2rem); }
.family-outdoors {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 75%;
  border-radius: var(--radius);
}
.family-keepsake { width: min(100%, 12rem); margin: 2rem 0 0; }
.family-keepsake img { border-radius: var(--inner-radius); }
.family-keepsake figcaption { margin-top: .65rem; font-size: .875rem; color: var(--quiet); }
@media (max-width: 730px) {
  .family-grid { grid-template-columns: minmax(0, 1fr); }
  .family-copy { grid-row: 1; }
  .family-copy h2 { max-width: none; }
  .family-outdoors { aspect-ratio: 1; }
}

.about { background: var(--mist); color: var(--ink); border-block: 1px solid var(--line); }
.about-grid, .faq-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: start; gap: clamp(1.7rem, 6vw, 5rem); }
.about .section-label::before, .quote .section-label::before { background: var(--red); }
.about-copy { max-width: 37rem; font-size: clamp(1.03rem, 1.65vw, 1.23rem); color: var(--quiet); }
.about-copy .text-link { color: var(--deep-teal); }
.about-copy .text-link:hover { color: var(--dark-red); }
.about-copy img { width: 100%; margin-block: 1.5rem; border-radius: var(--inner-radius); }

.project-meta { color: var(--deep-teal); font-weight: 700; margin: .3rem 0; }
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin-top: 1.6rem; }
.review-list figure { margin: 0; border-top: 2px solid var(--cyan); padding: 1.2rem 0; }
.review-list blockquote { margin: 0 0 .6rem; line-height: 1.5; }
.review-list figcaption { font-weight: 700; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 56px; padding: .85rem .15rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--dark-red); }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; color: var(--deep-teal); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; width: 14px; height: 2px; top: 7px; left: 1px; transition: transform 160ms ease-out, opacity 160ms ease-out; }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); opacity: 0; }
.faq-answer { color: var(--quiet); }
.faq-answer p { padding: 0 1.2rem 1.05rem .15rem; }

.quote { background: var(--quote-surface); color: var(--ink); }
.quote-layout { max-width: 48rem; }
.quote-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.25rem; margin-top: 1.5rem; color: var(--deep-teal); font-size: .925rem; }
.quote-panel[hidden] + .quote-contact { margin-top: 0; }
.email-link { display: inline-block; overflow-wrap: anywhere; font-weight: 700; }
.quote-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgb(40 94 104 / 21%); border-radius: var(--radius); background: var(--paper); box-shadow: 5px 5px 0 rgb(40 94 104 / 8%); }
.form-title { margin-bottom: .8rem; font-size: 2.55rem; line-height: 1; letter-spacing: -.02em; }
.preview-note { display: block; border-left: 3px solid var(--cyan); padding-left: .55rem; margin-bottom: 1.1rem; color: var(--quiet); font-size: .86rem; }
.quote-form { display: grid; gap: .9rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.quote-form label { display: block; font-size: .86rem; font-weight: 700; }
.quote-form label span, .form-hint { color: var(--quiet); font-size: .875rem; font-weight: 400; }
.quote-form :is(input, select, textarea) { width: 100%; min-height: 44px; padding: .52rem; margin-top: .27rem; color: var(--ink); border: 1px solid var(--field-border); border-radius: 5px; background: white; font-size: 1rem; }
.quote-form textarea { resize: vertical; }
.quote-form input::placeholder { color: var(--quiet); opacity: 1; }
.quote-form fieldset { margin: 0; min-width: 0; padding: 0; border: 0; }
.quote-form legend { padding: 0; font-size: .86rem; font-weight: 700; }
.form-hint { margin-bottom: .45rem; }
.form-status { margin: 0; font-size: .87rem; color: var(--deep-teal); font-weight: 700; }
.form-status[data-error] { color: var(--dark-red); }
.form-status[data-success] { animation: confirm 260ms ease-out; }
@keyframes confirm { 40% { opacity: .65; transform: translateY(-1px); } }
.site-footer { color: var(--ink); background: var(--footer-surface); border-top: 4px solid var(--cyan); }
.footer-inner { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; font-size: .85rem; }
.footer-inner span { color: var(--quiet); }
.footer-inner a { color: var(--deep-teal); }
.footer-inner a:hover { color: var(--dark-red); }

@media (max-width: 900px) {
  .header-inner { min-height: 76px; gap: 12px; }
  #site-nav { gap: 13px; }
  #site-nav a { font-size: .83rem; }
  .header-quote { gap: .6rem; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; }
  .header-quote { margin-left: auto; min-height: 44px; padding-inline: .55rem; gap: .45rem; }
  .menu-toggle { display: inline-flex; }
  #site-nav { width: 100%; order: 4; padding-bottom: .45rem; flex-wrap: wrap; }
  .js #site-nav { flex-direction: column; align-items: stretch; gap: 0; position: absolute; right: 1rem; top: calc(100% - 1px); width: min(260px, calc(100% - 2rem)); max-height: calc(100dvh - 84px); overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 6px 6px; box-shadow: 0 14px 24px rgb(9 9 9 / 12%); padding: .4rem .9rem; transform-origin: top right; }
  .js #site-nav[hidden] { display: none; }
  .js #site-nav:not([hidden]) { animation: menu-in 190ms ease-out both; }
  .js #site-nav a { padding: .45rem .3rem; }
  .js #site-nav [aria-current]::after { width: 1rem; bottom: 5px; left: .3rem; }
  @keyframes menu-in { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 2rem); }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; gap: 1rem; }
  .section-title p { margin-bottom: 0; }
  .footer-inner { align-items: start; flex-direction: column; justify-content: center; gap: .4rem; padding-block: 1.4rem; }
}
@media (max-width: 650px) {
  .service { grid-template-columns: 48px 1fr; gap: .65rem .85rem; }
  .service-icon { width: 45px; height: 45px; }
  .service-link { grid-column: 2; }
  .service:is(#interior, #exterior) {
    background-image: linear-gradient(105deg, rgb(255 255 255 / 96%) 20%, rgb(255 255 255 / 83%)), var(--service-photo);
    background-size: cover;
  }
}
@media (max-width: 440px) {
  .header-inner { gap: 6px; }
  .brand img { width: 24px; height: 36px; }
  .brand { gap: 6px; }
  .brand > span { font-size: 1.3rem; }
  .brand small { font-size: .55rem; }
  .header-quote { font-size: .72rem; gap: .3rem; }
  .menu-toggle { padding-inline: .36rem; gap: 4px; font-size: .72rem; }
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.process { border-bottom: 1px solid var(--line); }
.process-list { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.process-list li { border-top: 2px solid var(--light-teal); padding-top: .8rem; }
.process-list p { color: var(--quiet); margin-top: .55rem; }
@media (max-width: 660px) { .process-list { grid-template-columns: 1fr; } }

.service-quote-notes { margin-top: 1rem; }
.service-quote-notes h3 { font: 700 .9rem/1.4 var(--body); }
.service-quote-notes ul { margin: .38rem 0 0; padding-left: 1.2rem; color: var(--quiet); line-height: 1.65; }
.gallery-empty { max-width: 54rem; padding: clamp(1.5rem, 5vw, 3rem); background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-empty h2 { font-size: clamp(2rem, 5vw, 3rem); }
.gallery-empty p { max-width: 38rem; color: var(--quiet); margin-block: .9rem 1.2rem; }
.quote-teaser { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.quote-teaser p { margin-top: .9rem; color: var(--quiet); }

.project-backdrop {
  background-color: var(--backdrop-surface);
  background-image: var(--backdrop-fade), var(--backdrop-photo);
  background-position: center, var(--backdrop-position);
  background-size: cover;
}
.project-backdrop--work {
  --backdrop-surface: var(--mist);
  --backdrop-photo: url("projects/ranch-front-after.webp");
  --backdrop-position: center 53%;
  --backdrop-fade: linear-gradient(100deg, rgb(240 250 255 / 72%), rgb(240 250 255 / 87%) 38%, var(--mist) 64%);
}
.project-backdrop--teaser {
  --backdrop-surface: var(--quote-surface);
  --backdrop-photo: url("reference/gray-driveway-front-large.webp");
  --backdrop-position: center 50%;
  --backdrop-fade: linear-gradient(104deg, var(--quote-surface) 28%, rgb(231 246 252 / 91%) 53%, rgb(231 246 252 / 69%));
}
.project-backdrop--quote {
  --backdrop-surface: var(--quote-surface);
  --backdrop-photo: url("projects/modern-rear-after.webp");
  --backdrop-position: center 57%;
  --backdrop-fade: linear-gradient(90deg, rgb(231 246 252 / 71%), rgb(231 246 252 / 89%) 32%, rgb(231 246 252 / 89%) 68%, rgb(231 246 252 / 71%));
}
@media (max-width: 730px) {
  .project-backdrop--work {
    --backdrop-fade: linear-gradient(180deg, rgb(240 250 255 / 76%), var(--mist) 55%);
  }
  .project-backdrop--teaser {
    --backdrop-fade: linear-gradient(180deg, var(--quote-surface), rgb(231 246 252 / 80%));
  }
  .project-backdrop--quote {
    --backdrop-fade: linear-gradient(180deg, rgb(231 246 252 / 78%), var(--quote-surface) 72%);
  }
}


.page-home { min-height: 100svh; display: flex; flex-direction: column; }
.page-home main { flex: 1; display: flex; flex-direction: column; }
.page-home .page-hero { flex: 1; display: grid; align-items: center; }
.service h2 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }

.gallery-heading { align-items: end; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.15rem, 3.4vw, 2.75rem); }
.gallery-card { border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem; background: var(--paper); }
.gallery-card-media { position: relative; display: grid; border-radius: var(--inner-radius); background: var(--mist); }
.gallery-card-media--comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .22rem; }
.gallery-photo { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--inner-radius); }
.gallery-photo:focus-visible { outline-offset: -3px; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; transition: transform 420ms cubic-bezier(.2,.65,.35,1); }
.gallery-alternates { position: absolute; inset: auto 3.35rem .55rem .55rem; display: flex; gap: .4rem; max-width: max-content; overflow-x: auto; }
.gallery-alternates .gallery-photo { width: clamp(70px, 12vw, 110px); flex: none; border: 2px solid white; border-radius: 6px; box-shadow: 0 2px 12px rgb(9 9 9 / 30%); }
.gallery-image-label, .gallery-open-icon { position: absolute; background: white; color: var(--ink); }
.gallery-image-label { bottom: .35rem; left: .35rem; max-width: calc(100% - .7rem); padding: .18rem .35rem; border-radius: 3px; font-size: .7rem; font-weight: 700; }
.gallery-open-icon { right: .7rem; bottom: .7rem; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 1px 8px rgb(9 9 9 / 17%); }
.gallery-open-icon::before { content: ""; width: 13px; height: 13px; background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor,currentColor) center / 2px 100% no-repeat; }
.gallery-card-copy { padding: clamp(.85rem, 2vw, 1.45rem); }
.gallery-card-copy h3 { font-size: clamp(2.1rem, 3.9vw, 3.4rem); letter-spacing: -.015em; line-height: .94; margin-bottom: .65rem; }
.gallery-card-copy .project-meta { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .6rem; }
.gallery-card-copy > p:last-child { color: var(--quiet); }

.project-viewer { width: min(820px, calc(100% - 1.3rem)); max-height: calc(100dvh - 1.3rem); padding: clamp(.7rem, 2vw, 1.2rem); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.project-viewer::backdrop { background: rgb(12 25 34 / 76%); }
.viewer-header, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.viewer-header h2 { font-size: clamp(1.6rem, 5vw, 2.65rem); line-height: 1; }
.viewer-photo { margin: .65rem 0; }
.viewer-photo img { width: 100%; height: min(65dvh, 610px); object-fit: contain; background: var(--mist); border-radius: var(--inner-radius); }
.viewer-photo figcaption { font-weight: 700; font-size: .86rem; color: var(--quiet); padding: .5rem .1rem 0; }
.viewer-control { color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 4px; min-height: 44px; padding-inline: .75rem; font-size: .88rem; font-weight: 700; }
.viewer-control:hover { background: var(--quote-surface); }
html:has(.project-viewer[open]) { overflow: hidden; }

@media (max-width: 730px) {
  .gallery-heading { align-items: start; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-photo:hover img { transform: scale(1.045); }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header .brand, .page-hero-copy h1 { animation: settle-in 420ms cubic-bezier(.2,.65,.35,1) backwards; }
  .project-viewer[open], .viewer-photo img { animation: settle-in 180ms ease-out backwards; }
  @keyframes settle-in { from { opacity: .58; transform: translateY(9px); } }
}

.gallery-extra-angles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-top: .45rem; }
.gallery-extra-angles .gallery-photo { aspect-ratio: 2 / 1; }
.project-videos { background: var(--mist); }
.project-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.75rem; align-items: start; }
.project-video { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.12rem, 3vw, 1.9rem); }
.project-video p { color: var(--quiet); margin-top: .7rem; }
.project-video-player { margin: .85rem 0; }
.project-video-player iframe { display: block; width: min(100%, 267px); height: auto; aspect-ratio: 267 / 476; border: 0; border-radius: var(--inner-radius); background: var(--mist); }
@media (max-width: 640px) { .project-video-grid { grid-template-columns: 1fr; } }

.reference-photos { background: var(--mist); border-block: 1px solid var(--line); }
.reference-group { scroll-margin-top: 1.3rem; }
.reference-group + .reference-group { margin-top: clamp(2rem, 4vw, 3.25rem); }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); list-style: none; padding: 0; margin: .95rem 0 0; }
.reference-grid li { min-width: 0; border: 1px solid var(--line); border-radius: var(--inner-radius); padding: .35rem; background: var(--paper); }
.reference-grid figure { margin: 0; }
.reference-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); border-radius: 5px; }
.reference-image img { width: 100%; height: 100%; object-fit: cover; }
.reference-grid figcaption { padding: .65rem .45rem .45rem; color: var(--ink); font-size: .95rem; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 840px) { .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .reference-grid { grid-template-columns: minmax(0, 1fr); } }

.reference-image-link { position: relative; display: block; }
.reference-image-link:focus-visible { outline-offset: -3px; }

.page-hero { --hero-navy: #0c283a; --hero-cyan: #72e6fa; color: var(--paper); background: var(--hero-navy); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(1.4rem, 5vw, 5.5rem); align-items: center; padding-block: clamp(2rem, 6vw, 5.8rem); }
.page-hero-copy { position: relative; }
.page-hero-copy h1 { font-size: clamp(4.3rem, 9vw, 8.5rem); line-height: .87; letter-spacing: -.025em; }
.page-hero-copy h1 span { display: block; color: var(--hero-cyan); }
.page-hero-copy p { color: #daedf3; max-width: 32ch; margin: 1.4rem 0 1.55rem; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.page-hero-copy .page-hero-kicker { color: var(--hero-cyan); font-size: .79rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1.25rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.page-hero-actions .text-link { color: var(--hero-cyan); }
.page-hero :focus-visible { outline-color: var(--hero-cyan); }
.page-hero-art { display: block; position: relative; border: 1px solid #578597; border-radius: var(--radius); isolation: isolate; }
.page-hero-art::before { content: ""; position: absolute; z-index: -1; inset: .7rem -.62rem -.67rem .7rem; border: 2px solid #3f849b; border-radius: var(--radius); }
.page-hero-art img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 53%; border-radius: calc(var(--radius) - 1px); }
.project-showcase { background: linear-gradient(#e7f5fa, var(--paper) 55%); }
.project-showcase .section-title h2 { color: #103849; }
.project-showcase .section-title p { margin: 0; }
.gallery-card--featured { scroll-margin-top: 1.5rem; background: var(--paper); box-shadow: 0 14px 36px #0c283a11; border-color: #b7d5de; }
.gallery-card--featured .gallery-card-copy { border-top: 1px solid #dcebf0; margin-top: .48rem; }
.gallery-card--featured .project-meta { color: #19576a; }
.featured-finishes { margin-top: clamp(1.15rem, 3.4vw, 2.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-finishes .gallery-card-copy h3 { font-size: clamp(2rem, 2.8vw, 3rem); }
.more-projects { background: var(--paper); border-top: 1px solid #dbe8ec; }
.reference-photos { background: #edf7fa; }
.project-videos { background: #ddeef5; border-top: 1px solid #c7e0e9; }

@media (max-width: 910px) { .featured-finishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 730px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-copy h1 { font-size: clamp(2.85rem, 11.5vw, 6rem); line-height: .94; } .page-hero-art img { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .featured-finishes { grid-template-columns: 1fr; } }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-card--featured { transition: translate 220ms ease, box-shadow 220ms ease; }
  .gallery-card--featured:hover { translate: 0 -4px; box-shadow: 0 18px 36px #0c283a20; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.page-hero) { scroll-behavior: smooth; }
  .page-hero h1 span { display: block; animation: project-color-in 600ms cubic-bezier(.2,.65,.35,1) backwards; }
  .page-hero-art { animation: settle-in 540ms cubic-bezier(.2,.65,.35,1) backwards; }
  @keyframes project-color-in { from { clip-path: inset(0 100% -10% 0); } to { clip-path: inset(0 0 -10% 0); } }
}

.google-reviews { background: var(--mist); border-bottom: 1px solid var(--line); }
.google-reviews-layout { max-width: 44rem; }
.google-rating { text-align: center; margin: 0 0 .75rem; }
.google-review-count { color: var(--quiet); }
.google-review-card { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: 0 5px 22px rgb(20 36 47 / 7%); }
.google-review-card:hover { border-color: var(--light-teal); }
.google-leave-review { display: table; margin: 1rem auto 0; color: var(--deep-teal); }
.google-review-carousel.is-enhanced { touch-action: pan-y pinch-zoom; }
.google-review-slides article { padding: .85rem 0; }
.google-review-slides article + article { border-top: 1px solid var(--line); }
.google-review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar { position: relative; overflow: hidden; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--deep-teal); color: white; font-weight: 700; }
.review-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.google-review-author h3 { font: 700 1rem/1.4 var(--body); }
.google-review-author div > span { color: var(--quiet); font-size: .82rem; }
.google-review-stars { color: #865305; letter-spacing: .1em; margin-block: .85rem .5rem; }
.google-review-slides article p { font-size: clamp(1rem, 1.6vw, 1.12rem); }
.is-enhanced .google-review-slides { display: grid; }
.is-enhanced .google-review-slides article { grid-area: 1 / 1; border: 0; }
.is-enhanced .google-review-slides article[hidden] { display: block !important; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .is-enhanced .google-review-slides article:not([hidden]) { animation: google-review-fade 360ms ease-out; }
}
@keyframes google-review-fade { from { opacity: 0; } to { opacity: 1; } }

/* The marks are decorative and clipped to their own sections. */
:is(.process, .services, .family, .faq, .google-reviews) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
:is(.process, .services, .family, .faq, .google-reviews)::before,
:is(.process, .services, .family, .faq, .google-reviews)::after {
  --paint-drops:
    radial-gradient(ellipse at center, var(--paint) 65%, transparent 73%) 63% 13% / 9% 13%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 88% 26% / 10% 8%,
    radial-gradient(ellipse at center, var(--paint) 65%, transparent 75%) 78% 50% / 16% 11%,
    radial-gradient(ellipse at center, var(--paint) 63%, transparent 75%) 97% 65% / 5% 6%,
    radial-gradient(ellipse at center, var(--paint) 65%, transparent 73%) 58% 83% / 13% 9%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 32% 6% / 6% 6%,
    radial-gradient(ellipse at center, var(--paint) 65%, transparent 72%) 2% 58% / 74% 53%,
    radial-gradient(ellipse at center, var(--paint) 65%, transparent 73%) 19% 65% / 33% 31%;
  --paint-flick:
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 2% 16% / 7% 11%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 19% 11% / 14% 9%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 28% 31% / 8% 13%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 42% 41% / 10% 7%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 53% 12% / 5% 9%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 71% 35% / 23% 18%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 48% 68% / 7% 15%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 82% 74% / 55% 49%,
    radial-gradient(ellipse at center, var(--paint) 66%, transparent 74%) 90% 95% / 11% 7%;
  --paint-roller:
    radial-gradient(circle, rgb(255 255 255 / 50%) .65px, transparent 1.2px) 0 0 / 4px 5px repeat,
    radial-gradient(circle, rgb(255 255 255 / 40%) .7px, transparent 1.45px) 2px 3px / 7px 9px repeat,
    linear-gradient(90deg, var(--paint) 12%, color-mix(in srgb, var(--paint) 80%, white) 78%, color-mix(in srgb, var(--paint) 45%, white));
  --roller-edge: polygon(0 9%, 5% 4%, 13% 7%, 22% 2%, 32% 7%, 45% 4%, 58% 8%, 67% 3%, 82% 7%, 92% 5%, 99% 13%, 97% 21%, 100% 29%, 98% 38%, 100% 47%, 98% 57%, 100% 64%, 97% 74%, 99% 81%, 96% 93%, 87% 97%, 75% 95%, 66% 99%, 54% 94%, 42% 98%, 30% 94%, 17% 99%, 8% 93%, 0 96%);
}
:is(.process, .services, .family, .faq, .google-reviews)::before,
:is(.process, .services, .family, .faq, .google-reviews)::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}
:is(.process, .services, .family, .faq, .google-reviews)::before {
  --paint: var(--cyan);
  width: clamp(10rem, 24vw, 22rem);
  aspect-ratio: 1.65;
  top: -.75rem;
  right: -2.5rem;
  transform: rotate(158deg);
  opacity: .48;
  background: var(--paint-drops);
  background-repeat: no-repeat;
}
:is(.process, .services, .family, .faq, .google-reviews)::after {
  --paint: var(--red);
  width: clamp(8rem, 17vw, 15rem);
  aspect-ratio: 1.65;
  bottom: -.65rem;
  left: -2.2rem;
  transform: rotate(-14deg);
  opacity: .34;
  background: var(--paint-flick);
  background-repeat: no-repeat;
}
:is(.process, .family)::after,
:is(.google-reviews)::before {
  background: var(--paint-roller);
  clip-path: var(--roller-edge);
  aspect-ratio: 3.6;
}
.process::after { bottom: 1rem; transform: rotate(12deg); }
.services::before { right: -3.5rem; transform: rotate(-48deg); background: var(--paint-flick); background-repeat: no-repeat; }
.family::before { right: -4rem; top: 3.5rem; transform: rotate(122deg); }
.family::after { --paint: var(--cyan); bottom: 1.3rem; transform: rotate(-13deg); }
.faq::before { right: auto; left: -5rem; top: 40%; transform: rotate(27deg); opacity: .33; }
.faq::after { left: auto; right: -3rem; bottom: -1.65rem; transform: rotate(138deg); }
.google-reviews::before { --paint: var(--light-teal); top: 24%; right: -4.5rem; transform: rotate(18deg); }
.google-reviews::after { bottom: 5%; left: -3rem; transform: rotate(-25deg); opacity: .27; }
@media (max-width: 730px) {
  :is(.process, .services, .family, .faq, .google-reviews)::before {
    width: 9rem;
    opacity: .30;
  }
  :is(.process, .services, .family, .faq, .google-reviews)::after {
    width: 7rem;
    opacity: .25;
  }
}


/* Keep the header color below the navigation, including the brand. */
.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background:
    linear-gradient(105deg, var(--red) 0 8%, transparent 8.15%),
    linear-gradient(105deg, transparent 84%, var(--cyan) 84.2% 100%),
    var(--mist);
  pointer-events: none;
}

/* Each mark fits in the top padding above its gallery heading. */
:is(.project-showcase, .more-projects, .reference-photos, .project-videos) {
  position: relative;
  isolation: isolate;
}
:is(.project-showcase, .more-projects, .reference-photos, .project-videos)::before,
:is(.project-showcase, .more-projects, .reference-photos, .project-videos)::after {
  content: "";
  position: absolute;
  top: clamp(.65rem, 1.8vw, 1.8rem);
  right: max(1.5rem, calc((100% - 1280px) / 2));
  width: clamp(6.5rem, 17vw, 13rem);
  height: clamp(1rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle, rgb(255 255 255 / 45%) .65px, transparent 1.3px) 0 0 / 4px 5px,
    linear-gradient(90deg, var(--project-paint, var(--cyan)), color-mix(in srgb, var(--project-paint, var(--cyan)) 45%, transparent));
  clip-path: polygon(0 14%, 11% 7%, 19% 12%, 29% 2%, 38% 10%, 53% 5%, 71% 12%, 85% 6%, 97% 12%, 100% 32%, 98% 51%, 100% 70%, 96% 86%, 82% 94%, 68% 88%, 56% 96%, 42% 90%, 25% 98%, 14% 91%, 0 94%);
  transform: rotate(-4deg);
  opacity: .62;
  pointer-events: none;
  z-index: -1;
}
.more-projects::before,
.project-videos::before { --project-paint: var(--red); transform: rotate(3deg); }
.reference-photos::before { --project-paint: var(--light-teal); }

:is(.project-showcase, .more-projects, .reference-photos, .project-videos)::after {
  --project-paint: var(--red);
  right: auto;
  left: max(1.5rem, calc((100% - 1280px) / 2));
  width: clamp(5rem, 13vw, 10rem);
  transform: rotate(5deg) scaleX(-1);
}
:is(.more-projects, .project-videos)::after { --project-paint: var(--cyan); transform: rotate(-3deg) scaleX(-1); }

.social-links { display: flex; align-items: center; gap: .3rem; flex: none; }
.social-links a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; }
.social-links a:hover { border-color: var(--deep-teal); }
.social-links svg { width: 1.35rem; height: 1.35rem; }
.header-inner .social-links { margin-inline-start: -.55rem; }

.reference-galleries { display: grid; gap: clamp(2.75rem, 7vw, 6rem); margin-top: 2.25rem; }
.reference-galleries .reference-group { width: min(76%, 58rem); min-width: 0; margin: 0; }
.reference-galleries .reference-group:nth-child(2) { justify-self: center; }
.reference-galleries .reference-group:nth-child(3) { justify-self: end; }
.reference-galleries .reference-group h3 { font-size: clamp(1.65rem, 3vw, 2.7rem); }
.reference-galleries .reference-grid { grid-template-columns: minmax(0, 1fr); margin: 0; }
.reference-gallery-body { position: relative; margin-top: .95rem; }
.reference-controls { position: absolute; inset: calc(.35rem + 1px) calc(.35rem + 1px) auto; aspect-ratio: 4 / 3; display: flex; justify-content: space-between; pointer-events: none; border-radius: 5px; }
.reference-controls button {
  pointer-events: auto;
  width: clamp(2.75rem, 8%, 5rem);
  padding: 0;
  justify-content: center;
  align-self: stretch;
  border: 0;
  border-radius: 5px 0 0 5px;
  background: rgb(12 40 58 / 48%);
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}
.reference-controls button:last-child { border-radius: 0 5px 5px 0; }
.reference-controls button:hover, .reference-controls button:focus-visible { background: rgb(12 40 58 / 78%); }
.reference-controls button:focus-visible { outline-color: white; outline-offset: -5px; }
@media (prefers-reduced-motion: no-preference) {
  [data-reference-gallery]:has(.reference-controls:not([hidden])) .reference-grid li:not([hidden]) { animation: google-review-fade 300ms ease-out; }
}
@media (max-width: 740px) {
  .reference-galleries { gap: 2.75rem; }
  .reference-galleries .reference-group { width: 94%; }
  .header-inner .social-links { margin-inline-start: 0; gap: .2rem; }
  .header-inner .social-links a { width: 2rem; height: 2rem; }
  .header-inner .social-links svg { width: 1.05rem; height: 1.05rem; }
}
@media (max-width: 370px) {
  .header-inner { justify-content: flex-start; }
  .header-inner .social-links { margin-inline-start: auto; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner { gap: .75rem; }
  .header-inner #site-nav { gap: 1rem; }
}

/* A short roller mark gives major headings a consistent accent across pages. */
.paint-heading::after {
  content: "";
  display: block;
  width: clamp(3rem, 9vw, 6.5rem);
  height: .42rem;
  margin-top: .22em;
  background: linear-gradient(95deg, var(--heading-paint, var(--cyan)) 8%, color-mix(in srgb, var(--heading-paint, var(--cyan)) 55%, transparent));
  clip-path: polygon(0 19%, 9% 5%, 24% 11%, 45% 4%, 62% 15%, 80% 2%, 98% 12%, 100% 77%, 87% 88%, 64% 80%, 39% 98%, 18% 86%, 1% 95%);
  transform-origin: left;
}
:is(.family, .process, .more-projects, .project-videos, .faq) .paint-heading { --heading-paint: var(--red); }

.page-hero {
  background:
    radial-gradient(ellipse at 90% 8%, rgb(15 215 250 / 15%), transparent 53%),
    linear-gradient(125deg, var(--hero-navy) 36%, #164153);
}
.quote-panel { border-top: 4px solid var(--cyan); }
.quote-form :is(input, select, textarea):focus { border-color: var(--deep-teal); box-shadow: 0 0 0 3px rgb(15 215 250 / 18%); }
.faq-list details[open] { background: linear-gradient(90deg, var(--mist), transparent); }
.site-footer { background: linear-gradient(105deg, var(--footer-surface), var(--quote-surface)); }
.social-links a:hover { background: var(--mist); }
.service:focus-within { border-bottom-color: var(--deep-teal); }

@media (prefers-reduced-motion: no-preference) {
  .paint-heading.painted::after { animation: roller-heading-in 480ms cubic-bezier(.2,.65,.35,1) both; }
  .page-hero-copy > p:not(.page-hero-kicker) { animation: settle-in 420ms 120ms backwards; }
  .page-hero-actions { animation: settle-in 440ms 175ms backwards; }
  .quote-form :is(input, select, textarea) { transition: border-color 170ms ease-out, box-shadow 170ms ease-out; }
  .social-links a { transition: background-color 170ms ease-out, border-color 170ms ease-out; }
  @keyframes roller-heading-in { from { transform: scaleX(.04); opacity: .3; } to { transform: scaleX(1); opacity: 1; } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service .service-icon, .social-links svg { transition: translate 170ms ease-out; }
  .service:hover .service-icon, .social-links a:hover svg { translate: 0 -2px; }
}

.paint-intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .play-paint-intro .paint-intro {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    overflow: hidden;
    pointer-events: none;
    background: var(--paper);
    animation: paint-intro-exit 330ms 1.06s ease-out both;
  }
  .paint-intro-fill {
    position: absolute;
    inset: 0;
    background: var(--cyan);
    transform-origin: left;
    animation: paint-intro-fill 890ms 90ms cubic-bezier(.55,.08,.33,.98) both;
  }
  .paint-intro-roller {
    --sleeve: clamp(5rem, 17vh, 9rem);
    position: absolute;
    left: -5rem;
    top: 46%;
    width: 6rem;
    height: var(--sleeve);
    animation: paint-intro-travel 890ms 90ms cubic-bezier(.55,.08,.33,.98) both;
  }
  .paint-intro-sleeve, .paint-intro-arm, .paint-intro-grip { position: absolute; display: block; }
  .paint-intro-sleeve {
    inset: 0 auto 0 3.65rem;
    width: 2.7rem;
    border-radius: .65rem;
    background:
      radial-gradient(circle, rgb(255 255 255 / 32%) .65px, transparent 1.25px) 0 0 / 4px 5px,
      linear-gradient(90deg, #0685aa, var(--cyan) 42%, #7beafb 66%, #0899bf);
    box-shadow: 2px 4px 8px rgb(12 40 58 / 25%);
  }
  .paint-intro-arm {
    right: 2rem;
    top: 47%;
    width: 3.6rem;
    height: 43%;
    border-left: 5px solid var(--silver);
    border-bottom: 5px solid var(--silver);
    border-radius: 0 0 0 .9rem;
    transform: translateY(-100%);
    filter: drop-shadow(1px 2px 1px rgb(12 40 58 / 30%));
  }
  .paint-intro-grip {
    right: 5.15rem;
    top: calc(4% - 3.7rem);
    width: .95rem;
    height: 4.35rem;
    border-radius: .45rem;
    background: linear-gradient(90deg, var(--dark-red), var(--red) 60%, var(--dark-red));
  }
  .play-paint-intro .page-home:has(:focus-visible) .paint-intro { display: none; }
  @keyframes paint-intro-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes paint-intro-travel { from { transform: translate(0, -50%); } to { transform: translate(100vw, -50%); } }
  @keyframes paint-intro-exit { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
}

.quote-form .house-picker { margin-block: .5rem; }
.house-picker legend { font-weight: 700; }
.house-picker legend span { color: var(--quiet); font-weight: 400; }
.house-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: .8rem; }
.house-view { min-width: 0; }
.house-view > strong {
  display: grid;
  place-items: end center;
  min-height: 4rem;
  padding-bottom: .45rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #0c283a;
  color: white;
}
.house-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
  padding: .5rem;
  border: 2px solid #0c283a;
  border-radius: 0 0 .65rem .65rem;
  background: var(--mist);
}
.house-view--exterior .house-areas { background: repeating-linear-gradient(0deg, var(--quote-surface) 0 10px, var(--mist) 10px 12px); }
.house-areas button {
  min-height: 2.75rem;
  padding: .35rem .25rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: white;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
}
.house-areas button:hover { border-color: var(--deep-teal); }
.house-areas button[aria-pressed="true"] { background: var(--cyan); border-color: var(--deep-teal); box-shadow: inset 0 -3px 0 var(--deep-teal); }
@media (max-width: 540px) {
  .house-views { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .house-areas button { transition: background-color 160ms ease-out, border-color 160ms ease-out; }
}

@media (max-width: 900px) {
  .js #site-nav { max-height: min(70dvh, 28rem); overscroll-behavior: contain; }
  .header-inner .social-links a { width: 2.75rem; height: 2.75rem; }
}

@media (max-width: 730px) {
  h2 { font-size: clamp(2.35rem, 8vw, 3.6rem); line-height: .98; }
  .section-pad { padding-block: 2.75rem; }
  .page-hero-grid { padding-block: 2rem 2.6rem; gap: 1.5rem; }
  .page-hero-copy p { margin-block: .9rem 1.15rem; }
  .page-hero-actions { gap: .55rem 1rem; }
  .page-hero-actions .text-link { min-height: 44px; justify-content: center; }
  .page-hero-art::before { inset: .4rem -.36rem -.36rem .4rem; }
  .family-grid, .about-grid, .faq-grid { gap: 1.4rem; }
  .reference-galleries .reference-group { width: 100%; }
  .reference-galleries .reference-grid figcaption { min-height: 3.35rem; }
  .gallery-alternates {
    position: static;
    max-width: none;
    padding: .45rem .25rem;
    box-shadow: none;
    scroll-snap-type: x proximity;
  }
  .gallery-alternates .gallery-photo {
    width: clamp(5rem, 23vw, 7rem);
    scroll-snap-align: start;
    box-shadow: none;
  }
  .gallery-alternates .gallery-image-label { position: static; display: block; max-width: none; padding: .25rem .15rem; overflow-wrap: anywhere; }
  .gallery-alternates .gallery-photo { aspect-ratio: auto; }
  .gallery-alternates .gallery-photo img { height: auto; aspect-ratio: 4 / 3; }
  .viewer-photo img { height: min(59dvh, 610px); }
  .project-video-player iframe { margin-inline: auto; }
  .form-title { font-size: 2.05rem; }
  .quote-panel { padding: 1rem; }
  .quote-form > .button { width: 100%; justify-content: center; }
  .quote-contact { justify-content: flex-start; }
  .quote-contact span { flex-basis: 100%; }
  .footer-inner { gap: .65rem; }
}

.mobile-menu-actions { display: none; }

@media (max-width: 600px) {
  .js .header-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 68px;
    gap: .75rem;
    padding-block: .4rem;
  }
  .js .header-inner .brand { min-height: 44px; }
  .js .header-inner .menu-toggle { gap: .55rem; padding-inline: .75rem; font-size: .85rem; }
  .js .header-inner > :is(.header-quote, .social-links) { display: none; }
  .js #site-nav { inset-inline: 1rem; width: auto; padding: .45rem .85rem .85rem; }
  .js #site-nav > a { padding-inline: .35rem; }
  .js #site-nav .mobile-menu-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
    border-top: 1px solid var(--line);
    margin-top: .4rem;
    padding-top: .75rem;
  }
  .js #site-nav .mobile-menu-actions .button { color: white; padding-inline: .75rem; gap: .5rem; }
  .js #site-nav .mobile-menu-actions .social-links a { display: grid; padding: 0; }
}

@media (max-width: 520px) {
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .service:not(:has(.service-icon)) { grid-template-columns: minmax(0, 1fr); }
  .quote-form textarea { min-height: 7rem; }
}
