:root {
  --paper: #f5f4ee;
  --white: #fffefa;
  --ink: #171d23;
  --muted: #4a535b;
  --line: #d3d5cf;
  --accent: #d7f64e;
  --display: 'Arial', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--body);
  font-synthesis: none;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; width: 100%; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid #477520; outline-offset: 5px; }
.hero :focus-visible, .estimate :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }
[id] { scroll-margin-block-start: 1.5rem; }
.wrap { width: min(100% - 112px, 1248px); margin-inline: auto; }
.section { padding-block: 92px; }
.skip-link { position: fixed; z-index: 4; left: 1rem; top: 1rem; padding: 10px 16px; background: var(--accent); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.header { position: relative; z-index: 1; background: var(--paper); }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; flex: 0 0 auto; font: 800 .875rem/.98 var(--display); letter-spacing: .04em; }
.brand-mark { width: 36px; height: 35px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 5px; color: var(--ink); background: var(--accent); }
.brand-mark i { background: currentColor; height: 74%; transform: skewY(-21deg); }
.brand-mark i:nth-child(2) { height: 88%; }
.brand-mark i:nth-child(3) { height: 100%; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(1.3rem, 2.45vw, 2.85rem); font-size: .99rem; font-weight: 600; }
.desktop-nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .8rem 1.38rem; border: 1px solid transparent; border-radius: 2px; font-size: .99rem; font-weight: 700; line-height: 1.24; text-align: center; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.button.accent { background: var(--accent); color: #141b12; }
.button.accent:hover { background: #e6ff85; }
.button.outlined { color: var(--ink); border-color: #303941; background: transparent; }
.button.outlined:hover { background: var(--ink); color: var(--white); }
.button.ghost { border-color: #eaf0f480; color: var(--white); }
.button.ghost:hover { background: #ffffff20; border-color: var(--white); }
.header-cta { min-height: 46px; padding-inline: 1.14rem; }
.mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: #25313a; }
.hero-image { position: absolute; z-index: -3; inset: 0; height: 100%; object-fit: cover; object-position: center 57%; }
.hero-assembly { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #121b22ee 0%, #161f27d9 24%, #12191f85 47%, #14191f0b 76%), linear-gradient(0deg, #111920ef 0%, #11192061 14%, transparent 36%); }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 674px; }
.hero-copy { padding-block: 105px 76px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; width: fit-content; margin-bottom: 1.1rem; font-size: .8125rem; line-height: 1.35; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #506c34; }
.hero-label { color: var(--accent); margin-bottom: 1.42rem; }
.hero-label::before { background: var(--accent); }
h1, h2, h3 { font-family: var(--display); }
h1 { width: fit-content; font-size: clamp(4rem, 7vw, 6.15rem); line-height: .98; letter-spacing: -.058em; font-weight: 800; }
h1 span { color: var(--accent); }
.hero-description { max-width: 555px; font-size: clamp(1.06rem, 1.65vw, 1.27rem); line-height: 1.48; margin-top: 1.72rem; color: #edf0f0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.78rem; }
.hero-bottom { border-top: 1px solid #e6edf24f; padding-block: 24px 29px; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.hero-facts { list-style: none; display: flex; padding: 0; gap: clamp(1.2rem, 4vw, 4rem); }
.hero-facts li { display: grid; gap: .12rem; }
.hero-facts li + li { border-left: 1px solid #e6edf245; padding-left: clamp(1.2rem, 4vw, 4rem); }
.hero-facts strong { font-size: clamp(.95rem, 1.6vw, 1.16rem); font-weight: 700; }
.hero-facts span { color: #d5dde0; font-size: .875rem; }
.image-credit { color: #e4e9ec; font-size: .8rem; white-space: nowrap; }
.hero-tools { flex: 0 0 auto; display: grid; justify-items: end; gap: .45rem; }
.assembly-control { min-height: 38px; display: inline-flex; gap: .55rem; align-items: center; padding: .36rem .7rem; border: 1px solid #dfeaf46e; border-radius: 2px; background: #19242cca; color: var(--white); font-size: .82rem; font-weight: 650; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.assembly-control:hover { background: #273640; border-color: var(--accent); color: var(--accent); }
.assembly-icon { position: relative; display: block; width: 13px; height: 13px; flex: 0 0 13px; }
.assembly-icon::before { content: ''; position: absolute; inset: 1px; border: 1.4px solid currentColor; border-left-color: transparent; border-radius: 50%; transform: rotate(-35deg); }
.assembly-icon::after { content: ''; position: absolute; top: 0; left: 1px; width: 4px; height: 5px; border: solid currentColor; border-width: 0 0 1.4px 1.4px; transform: rotate(12deg); }
.assembly-control[data-running="true"] .assembly-icon::before { inset: 3px; border: 0; border-radius: 0; background: currentColor; transform: none; }
.assembly-control[data-running="true"] .assembly-icon::after { display: none; }

h2 { font-size: clamp(2.3rem, 5vw, 4.65rem); line-height: 1.02; letter-spacing: -.052em; }
.section-intro { display: grid; grid-template-columns: 1fr .46fr; align-items: end; gap: 2rem; margin-bottom: 2.65rem; }
.section-intro > p { font-size: 1.07rem; max-width: 33ch; justify-self: end; color: var(--muted); line-height: 1.5; }
.work-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(2.25rem, 5vw, 5rem); align-items: start; }
.service-list { border-top: 1px solid #8e9694; }
.service-list details { border-bottom: 1px solid var(--line); }
.service-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; padding-block: 1.4rem; font: 700 clamp(1.13rem, 2.1vw, 1.63rem)/1.16 var(--display); letter-spacing: -.025em; }
.service-list summary:hover span { color: #3d5726; }
.service-list summary i { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; position: relative; }
.service-list summary i::before, .service-list summary i::after { content: ''; width: 12px; height: 1.5px; background: currentColor; position: absolute; }
.service-list summary i::after { transform: rotate(90deg); }
.service-list details[open] i { border-color: var(--accent); background: var(--accent); }
.service-list details[open] i::after { transform: none; }
.detail-body { padding: 0 2.65rem 1.5rem 0; color: var(--muted); }
.detail-body p { max-width: 48ch; }
.text-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .26em; }
.detail-body .text-link { display: inline-block; margin-top: 1rem; font-size: .94rem; }
.work-photo { position: relative; min-height: 332px; overflow: hidden; background: #303c43; color: var(--white); isolation: isolate; }
.work-photo img { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; object-position: center 56%; }
.work-photo::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #141a1fee 0%, transparent 62%); }
.work-photo figcaption { min-height: 332px; padding: 1.25rem 1.4rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.work-photo h3 { margin-bottom: .15rem; font-size: 1.45rem; line-height: 1.25; }
.work-photo figcaption span { font-size: .87rem; color: #e7e9eb; }
.photo-tag { border: 1px solid #f0f3f382; padding: .22rem .52rem; }

.gallery { color: var(--white); background: #202a32; }
.gallery .eyebrow { color: var(--accent); }
.gallery .eyebrow::before { background: var(--accent); }
.gallery .section-intro > p { color: #e0e6e9; }
.gallery-tabs { display: flex; align-items: stretch; gap: .45rem; border-bottom: 1px solid #60707c; }
.gallery-tabs button { border: 0; border-top: 2px solid transparent; background: transparent; color: #e5e9eb; padding: .85rem 1.15rem; min-height: 48px; font-size: .97rem; font-weight: 700; cursor: pointer; }
.gallery-tabs button:hover { background: #ffffff10; }
.gallery-tabs button[aria-selected="true"] { color: var(--accent); border-top-color: var(--accent); background: #ffffff10; }
.gallery :focus-visible { outline-color: var(--accent); }
.gallery-panel { display: grid; grid-template-columns: 1.65fr 1fr; min-width: 0; background: #2b3741; }
.gallery-panel figure { position: relative; min-width: 0; min-height: 390px; isolation: isolate; overflow: hidden; background: #30404e; }
.gallery-panel figure::before { content: ''; position: absolute; z-index: -1; inset: 45% 0 0; background: linear-gradient(transparent, #141a1fcc); }
.gallery-panel img { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; object-position: center 54%; }
.gallery-panel figcaption { position: absolute; bottom: 1.15rem; left: 1.3rem; padding: .18rem .42rem; color: #fff; background: #161f27d9; font-size: .8rem; }
.gallery-copy { padding: clamp(1.65rem, 4vw, 3.6rem); align-self: center; }
.gallery-copy h3 { font-size: clamp(1.8rem, 3.15vw, 3.2rem); line-height: 1.02; letter-spacing: -.042em; }
.gallery-copy p { margin-block: 1rem 1.4rem; color: #e0e6e9; max-width: 34ch; }
.gallery-copy .text-link { color: var(--accent); }

.contract { background: #e8e9df; border-block: 1px solid var(--line); }
.contract-grid, .estimate-grid, .geo-grid, .brief-grid, .faq-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 8vw, 8.5rem); align-items: start; }
.contract-copy { margin-block: 1.55rem 1.4rem; max-width: 37ch; color: var(--muted); }
.process { list-style: none; padding: 0; border-top: 1px solid #aeb5ab; }
.process li { display: grid; grid-template-columns: 3.1rem 1fr; padding-block: 1.27rem; border-bottom: 1px solid #aeb5ab; }
.process li > span { font-size: .84rem; color: #3f5730; font-weight: 750; }
.process h3 { margin-bottom: .25rem; font-size: 1.31rem; letter-spacing: -.025em; }
.process p { color: var(--muted); }

.geography { background: var(--paper); }
.geo-grid { align-items: center; }
.geo-lead { position: relative; isolation: isolate; padding-block: 1rem; }
.geo-lead::before { content: ''; position: absolute; z-index: -1; inset: -1rem -1.6rem; background: repeating-linear-gradient(90deg, transparent 0 39px, #a5b09275 39px 40px), repeating-linear-gradient(0deg, transparent 0 39px, #a5b09275 39px 40px); mask-image: radial-gradient(ellipse at 42% 50%, #000 5%, transparent 70%); opacity: .8; pointer-events: none; }
.geo-lead p:last-child, .brief-intro { margin-top: 1.45rem; max-width: 37ch; color: var(--muted); }
.geo-card { background: var(--accent); padding: clamp(1.35rem, 4.2vw, 3.7rem); }
.geo-card h3 { font-size: clamp(1.55rem, 3vw, 2.65rem); letter-spacing: -.04em; line-height: 1.08; }
.geo-card h3 + p { max-width: 33ch; margin-top: .75rem; }
.city-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.4rem 1.15rem; }
.city-list a { padding: .52rem .75rem; min-height: 42px; display: inline-flex; align-items: center; border: 1px solid #54662e; border-radius: 2px; font-size: .91rem; font-weight: 700; transition: background-color .18s, color .18s; }
.city-list a:hover { background: var(--ink); color: var(--white); }
.geo-card .text-link { font-size: .94rem; }

.brief { background: #e8e9df; border-block: 1px solid var(--line); }
.brief h2 { max-width: 10ch; }
.checklist { background: var(--white); border: 1px solid var(--line); padding: clamp(1.25rem, 3.1vw, 2.45rem); display: grid; gap: .75rem; }
.checklist-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.checklist-head h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -.035em; }
.checklist-head p { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.checklist progress { display: block; width: 100%; appearance: none; border: none; height: 6px; margin-block: .2rem .55rem; background: #dce1d7; color: #576d24; }
.checklist progress::-webkit-progress-bar { background: #dce1d7; }
.checklist progress::-webkit-progress-value { background: #576d24; transition: width .28s ease-out; }
.checklist progress::-moz-progress-bar { background: #576d24; transition: width .28s ease-out; }
.checklist label { display: flex; align-items: center; gap: .7rem; padding: .72rem .8rem; min-height: 49px; background: #f0f1eb; cursor: pointer; font-weight: 650; transition: background-color .22s; }
.checklist label:has(input:checked) { background: #e9f4c4; }
.checklist input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: #485e24; }
.checklist .button { margin-top: .35rem; justify-self: start; }

.faq { background: var(--white); }
.faq-list summary { font-size: clamp(1.05rem, 1.65vw, 1.35rem); }
.faq-list .detail-body p { max-width: 58ch; }

.estimate { color: var(--white); background: #1b242c; }
.estimate h2 span { color: var(--accent); }
.estimate-grid > div > p { margin-top: 1.4rem; max-width: 38ch; color: #e0e5e6; font-size: 1.08rem; }
.estimate-form { background: #263139; border: 1px solid #536069; padding: clamp(1.15rem, 3vw, 2rem); display: grid; gap: 1rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.estimate-form label { display: block; font-size: .93rem; font-weight: 650; }
.estimate-form label span { color: var(--accent); }
.estimate-form input, .estimate-form textarea { width: 100%; display: block; border: 1px solid #77848b; border-radius: 2px; background: #1b242c; color: var(--white); padding: .65rem .75rem; margin-top: .38rem; line-height: 1.45; }
.estimate-form textarea { resize: vertical; min-height: 5.25rem; }
.estimate-form ::placeholder { color: #c1cbd0; font-weight: 400; }
.estimate-form .button { justify-self: start; }
.form-hint { color: #d9e0e2; font-size: .83rem; }
.form-status { font-size: .93rem; border-left: 3px solid var(--accent); padding-left: .72rem; }
.request-context { border-left: 3px solid var(--accent); color: #e2e8ea; padding: .22rem .7rem; font-size: .88rem; }
.footer { background: var(--paper); }
.footer-inner { min-height: 89px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer .text-link { font-size: .94rem; }

.scroll-progress { position: fixed; z-index: 3; inset: 0 0 auto; height: 3px; background: var(--accent); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; pointer-events: none; }
.motion-enabled .hero-image { transform: scale(1.065) translateY(var(--hero-shift, 0px)); }
.motion-enabled .gallery-panel:not([hidden]) { animation: enter .38s cubic-bezier(.2,.7,.25,1) both; }
.motion-enabled details[open] .detail-body { animation: enter .24s ease-out both; }
.motion-enabled [data-reveal] { transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.25,1); }
.motion-enabled [data-reveal]:not(.in-view):not(:focus-within) { opacity: 0; transform: translateY(17px); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 72px, 1248px); }
  .section { padding-block: 74px; }
  .hero-inner { min-height: 630px; }
  .hero-copy { padding-top: 103px; padding-bottom: 76px; }
  .image-credit { font-size: .75rem; white-space: normal; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 42px); }
  .section { padding-block: 58px; }
  .header-inner { min-height: 65px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { min-height: 43px; display: flex; align-items: center; gap: .55rem; font-size: .93rem; font-weight: 700; }
  .mobile-nav summary span { width: 16px; height: 9px; border-block: 1.5px solid currentColor; }
  .mobile-nav nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: .5rem 21px 1.1rem; border-bottom: 1px solid var(--line); box-shadow: 0 .4rem .8rem #121b2220; }
  .mobile-nav nav a { display: block; padding-block: .75rem; font-weight: 650; border-top: 1px solid var(--line); }
  h1 { font-size: clamp(1.9rem, 9.6vw, 4.6rem); }
  .hero-inner { min-height: auto; }
  .hero-image { object-position: 66% center; }
  .hero::after { background: linear-gradient(90deg, #121b22e8, #121b225b), linear-gradient(0deg, #111920f4, transparent 70%); }
  .hero-copy { padding-block: 84px 67px; }
  .hero-bottom { padding-block: 19px 17px; display: grid; gap: 1rem; }
  .hero-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; }
  .hero-facts { gap: .85rem; }
  .hero-facts li + li { padding-left: .85rem; }
  .hero-facts span { font-size: .75rem; line-height: 1.35; }
  .hero-facts strong { font-size: .9rem; }
  .section-intro { grid-template-columns: 1fr; gap: .9rem; margin-bottom: 1.8rem; }
  .section-intro > p { justify-self: start; }
  .work-grid, .contract-grid, .estimate-grid, .geo-grid, .brief-grid, .faq-grid, .gallery-panel { grid-template-columns: 1fr; }
  .work-photo, .work-photo figcaption { min-height: 295px; }
  .gallery-panel figure { min-height: clamp(214px, 51vw, 415px); }
  .gallery-tabs { gap: .1rem; }
  .gallery-tabs button { flex: 1 1 0; min-width: 0; padding: .65rem .45rem; font-size: clamp(.78rem, 2.6vw, .97rem); line-height: 1.22; }
  .brief h2 { max-width: 14ch; }
  .geo-lead::before { inset-inline: -1rem; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 34px); }
  .hero-copy { padding-block: 68px 49px; }
  .actions { display: grid; width: fit-content; }
  .hero-description { margin-top: 1.3rem; }
  .hero-facts { gap: .65rem; }
  .hero-facts li + li { padding-left: .65rem; }
  .work-photo figcaption { padding-inline: .9rem; flex-wrap: wrap; align-content: end; }
  .field-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .scroll-progress { display: none; }
  .hero-assembly, .assembly-control { display: none; }
  .motion-enabled .hero-image { transform: none; }
  .motion-enabled [data-reveal]:not(.in-view):not(:focus-within) { opacity: 1; transform: none; }
}

body.home {
    margin: 0;
    font: 16px/1.55 var(--body);
    color: var(--ink);
    background: var(--paper);
}
body.home .wp-site-blocks, body.home .fasad-front { padding: 0; margin: 0; }
body.home .wp-site-blocks > *, body.home .fasad-front > * { margin-block: 0; }
body.home .hero { overflow: hidden; }
body.home a:where(:not(.wp-element-button)) { text-decoration: none; }
body.home a.text-link { text-decoration: underline; }
.brand > span:last-child { max-width: 13ch; line-height: 1.04; text-transform: uppercase; }
.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .scroll-progress { top: 46px; } }
