#mobile-navigation:not([hidden]) { display: flex; flex-direction: column; padding: 1rem 1.5rem; background: var(--background); border-bottom: 1px solid var(--border); }
#mobile-navigation a { padding: .65rem 0; font-weight: 500; }
#mobile-navigation a:hover { color: var(--accent); }
.local-form-notice { padding: .85rem; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: .4rem; background: var(--muted); font-size: .875rem; }
.local-form-notice[data-tone="success"] { border-color: color-mix(in oklab, var(--accent) 45%, var(--border)); background: color-mix(in oklab, var(--accent) 14%, var(--background)); color: var(--foreground); }
.local-form-notice[data-tone="error"] { border-color: color-mix(in oklab, var(--destructive, #b91c1c) 50%, var(--border)); background: color-mix(in oklab, var(--destructive, #b91c1c) 10%, var(--background)); color: var(--foreground); }
@media (min-width: 64rem) { #mobile-navigation:not([hidden]) { display: none; } }
nav[aria-label="Primary"] a[aria-current="page"] { color: var(--foreground); }
nav[aria-label="Primary"] a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 64rem) and (max-width: 84rem) {
  nav[aria-label="Primary"] a { padding-left: .5rem; padding-right: .5rem; font-size: .75rem; white-space: nowrap; }
}
.remodeling-overview { max-width: 1280px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.remodeling-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.remodeling-photo { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 2px 6px #0000000d; }
.remodeling-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.remodeling-copy { min-width: 0; }
.remodeling-copy ul { grid-template-columns: 1fr; }
@media (max-width: 1023px) {
  .remodeling-overview { grid-template-columns: 1fr; gap: 36px; }
  .remodeling-gallery { max-width: 720px; width: 100%; margin: 0 auto; }
}
@media (max-width: 479px) {
  .remodeling-overview { padding: 40px 24px; }
  .remodeling-gallery { grid-template-columns: 1fr; gap: 20px; }
}
.remodeling-actions { flex-wrap: wrap; }
.project-gallery-page { max-width: 1152px; margin: auto; padding: 48px 24px 80px; }
.gallery-back { color: var(--primary); font-size: .875rem; font-weight: 600; }
.gallery-eyebrow { margin-top: 40px; color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-weight: 600; font-size: .875rem; }
.project-gallery-page h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; margin-top: 12px; }
.gallery-intro { max-width: 640px; margin-top: 20px; color: var(--muted-foreground); line-height: 1.7; }
.project-gallery-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; max-width: 800px; }
.project-gallery-grid figure { overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
.project-gallery-grid figure > a { display: flex; aspect-ratio: 4 / 3; background: var(--secondary); align-items: center; justify-content: center; }
.project-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery-grid figcaption { padding: 24px; }
.project-gallery-page h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; }
.project-gallery-grid figcaption p, .gallery-contact p { color: var(--muted-foreground); margin-top: 8px; line-height: 1.6; }
.gallery-contact { margin-top: 48px; padding: 32px; background: var(--secondary); border-radius: 8px; }
.gallery-contact a { display: inline-block; margin-top: 20px; padding: 12px 24px; background: var(--accent); color: var(--accent-foreground); font-weight: 600; border-radius: 6px; }
@media (max-width: 639px) { .project-gallery-grid { grid-template-columns: 1fr; gap: 24px; }  }
.remodeling-nav-dropdown { position: relative; }
.remodeling-nav-dropdown summary { cursor: pointer; list-style: none; padding: .5rem .65rem; font-size: .875rem; font-weight: 500; display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.remodeling-nav-dropdown summary::-webkit-details-marker { display: none; }
.remodeling-nav-dropdown summary::after { content: '⌄'; transition: transform .15s; }
.remodeling-nav-dropdown[open] summary::after { transform: rotate(180deg); }
.remodeling-nav-dropdown summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.remodeling-nav-links { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 210px; padding: 8px; background: var(--background); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px #0002; }
nav[aria-label="Primary"] .remodeling-nav-links a { display: block; padding: 10px 12px; font-size: .875rem; border-radius: 4px; white-space: nowrap; }
.remodeling-nav-links a:hover, .remodeling-nav-links a:focus-visible { background: var(--secondary); }
#mobile-navigation .remodeling-nav-dropdown summary { padding: .65rem 0; font-size: 1rem; }
#mobile-navigation .remodeling-nav-links { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--accent); border-radius: 0; margin: 0 0 8px 4px; padding: 0 0 0 16px; }
#mobile-navigation .remodeling-nav-links a { display: block; font-size: .875rem; }
@media (min-width: 64rem) and (max-width: 84rem) { nav[aria-label="Primary"] .remodeling-nav-dropdown summary { font-size: .75rem; padding-left: .5rem; padding-right: .5rem; } }
.remodeling-nav-dropdown summary a.remodeling-direct-link,
nav[aria-label="Primary"] .remodeling-nav-dropdown summary a.remodeling-direct-link,
#mobile-navigation .remodeling-nav-dropdown summary a.remodeling-direct-link { display: inline; padding: 0; font: inherit; }
.remodeling-direct-link:hover { color: var(--accent); }
.encapsulation-photo-placeholder { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; border: 2px dashed var(--border); border-radius: 8px; background: var(--secondary); color: var(--muted-foreground); }
.encapsulation-photo-placeholder span { font-size: 1.25rem; font-weight: 600; color: var(--primary); }
#encapsulation { border-top: 1px solid var(--border); scroll-margin-top: 150px; }
.encap-comparison { min-width: 0; }
.encap-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--secondary); }
.encap-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.encap-before { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.encap-label { position: absolute; top: 16px; padding: 6px 10px; border-radius: 4px; background: #20261de6; color: white; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.encap-label-before { left: 16px; } .encap-label-after { right: 16px; }
.encap-handle { position: absolute; top: 0; bottom: 0; left: var(--reveal); width: 2px; background: var(--accent); pointer-events: none; }
.encap-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--background); border: 2px solid var(--accent); font-size: 24px; }
.encap-stage input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.encap-stage:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.encap-comparison figcaption { margin-top: 16px; text-align: center; font-size: .875rem; color: var(--muted-foreground); }
.encap-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.encap-controls button { padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-weight: 600; color: var(--foreground); background: var(--background); cursor: pointer; }
.encap-controls button:hover { background: var(--secondary); }
#encap-play { background: var(--primary); color: var(--primary-foreground); }
.about-portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; align-items: start; }
.about-portrait { overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: var(--secondary); box-shadow: 0 2px 6px #0000000d; }
.about-portrait img { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center; }
.about-portrait:nth-child(2) { margin-top: 36px; }
.about-portrait:nth-child(3) { margin-top: 72px; }
@media (max-width: 479px) { .about-portraits { gap: 8px; } .about-portrait:nth-child(2) { margin-top: 20px; } .about-portrait:nth-child(3) { margin-top: 40px; } }
