@font-face {
  font-family: "Noto Serif";
  src: url("assets/noto-serif-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("assets/noto-serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("assets/noto-sans-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("assets/noto-sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f8f6ef;
  --white: #fdfbf6;
  --sand: #eeeadf;
  --sage: #e7e9dc;
  --ink: #192e25;
  --pine: #183027;
  --pine-deep: #11241c;
  --muted: #515950;
  --rule: #d4d4c7;
  --accent: #dce7a7;
  --shell: 1280px;
  --gutter: clamp(22px, 5.5vw, 94px);
  --edge: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Noto Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, h4, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #527847; outline-offset: 4px; }
::selection { background: var(--accent); color: var(--pine-deep); }

.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon-definitions { width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { flex: none; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 10; inset: 10px auto auto 10px; transform: translateY(-150%); background: var(--accent); color: var(--pine-deep); padding: 10px 15px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: none; align-items: center; padding-block: 3px; }
.brand img { width: 195px; height: auto; }
.site-nav { width: min(650px, 100%); display: flex; align-items: center; justify-content: flex-start; gap: clamp(20px, 3vw, 44px); }
.site-nav > a:not(.button) { font-size: 0.88rem; font-weight: 700; white-space: nowrap; text-underline-offset: 5px; }
.site-nav > a:not(.button):hover { text-decoration: underline; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 3px; min-height: 50px; padding: 12px 19px; color: inherit; font-size: 0.88rem; font-weight: 700; line-height: 1.3; transition: background-color 160ms, color 160ms, border-color 160ms; }
.button .icon { width: 17px; height: 17px; }
.button-header { margin-left: auto; border-color: #859282; min-height: 43px; padding-inline: 15px; white-space: nowrap; }
.button-header:hover { background: var(--pine); color: var(--paper); border-color: var(--pine); }

.hero { display: grid; grid-template-columns: 46% 54%; }
.hero-copy { position: relative; isolation: isolate; display: flex; align-items: center; min-width: 0; background: var(--pine); color: var(--paper); padding: clamp(54px, 5.4vw, 93px) clamp(28px, 4vw, 67px) clamp(60px, 5.7vw, 95px) var(--edge); }
.hero-copy::before, .quote::before {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  inset: auto 0 0 auto;
  width: 270px;
  height: 255px;
  background-image: linear-gradient(to right, #f8f6ef14 1px, transparent 1px), linear-gradient(to bottom, #f8f6ef14 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, transparent 22%, #000 100%);
}
.hero-content { max-width: 575px; }
.eyebrow { font-size: 0.72rem; line-height: 1.4; font-weight: 700; letter-spacing: 0.145em; text-transform: uppercase; }
.hero-eyebrow, .quote-label { display: flex; align-items: center; gap: 11px; color: #d4e0c8; }
.eyebrow-mark { display: inline-block; flex: none; width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
.hero h1 { margin-top: 22px; font: 400 clamp(3.4rem, 5.85vw, 6.15rem)/0.99 var(--serif); letter-spacing: -0.071em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em, .quote h2 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 405px; margin-top: 25px; color: #e2e7db; font-size: clamp(0.95rem, 1.15vw, 1.06rem); line-height: 1.7; }
.hero-actions { margin-top: 31px; display: flex; gap: 12px; flex-wrap: wrap; }
.button-primary { background: var(--accent); color: var(--pine-deep); border-color: var(--accent); }
.button-primary:hover { background: #edf2ca; border-color: #edf2ca; }
.button-ghost { color: var(--paper); border-color: #728878; }
.button-ghost:hover { background: #2c4437; border-color: #bac9ac; }
.hero a:focus-visible, .quote a:focus-visible, .site-footer a:focus-visible, .photo-dialog button:focus-visible { outline-color: var(--accent); }
.hero-visual { position: relative; min-height: 100%; overflow: hidden; background: #6d6e62; border-left: 1px solid #718071; }
.hero-visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 33%; }
.hero-caption { display: flex; align-items: center; gap: 13px; position: absolute; bottom: 25px; left: 25px; background: var(--paper); color: var(--ink); padding: 10px 15px 10px 11px; border-radius: 3px; line-height: 1.35; }
.hero-caption-index { background: var(--sage); display: grid; place-items: center; width: 36px; height: 36px; font: 400 1rem var(--serif); }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: 0.78rem; }
.hero-caption small { font-size: 0.68rem; margin-top: 2px; color: var(--muted); }

.quick-facts { background: var(--sage); border-bottom: 1px solid #d7d9cd; }
.fact-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 15px 0; }
.fact-list li { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 34px; padding-inline: 12px; font-size: 0.86rem; font-weight: 700; }
.fact-list li + li { border-left: 1px solid #c7cebf; }
.fact-list .icon { color: #3c604a; width: 19px; height: 19px; }

.section { padding-block: clamp(66px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 355px); gap: 26px; align-items: end; margin-bottom: 35px; }
.section-label { display: flex; align-items: center; gap: 10px; color: #3a5b45; margin-bottom: 15px; }
.section-label span:not(.eyebrow-mark) { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.section-label span:not(.eyebrow-mark)::after { display: block; width: 18px; height: 1px; content: ""; background: #819486; }
h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
.section-heading h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); line-height: 1.09; letter-spacing: -0.055em; }
.section-heading > p { color: var(--muted); line-height: 1.65; margin-bottom: 3px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 265px; padding: clamp(23px, 2.55vw, 36px); background: var(--white); border: 1px solid var(--rule); border-radius: 3px; }
.service-icon { width: 52px; height: 52px; border-radius: 3px; display: grid; place-items: center; background: var(--sage); color: #345440; margin-bottom: 19px; }
.service-icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.service-card h3 { font-size: clamp(1.45rem, 2.35vw, 2.04rem); letter-spacing: -0.04em; line-height: 1.12; }
.service-card p { color: var(--muted); margin: 11px 0 24px; font-size: 0.91rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-block: 4px; font-size: 0.83rem; font-weight: 700; text-decoration: underline; text-decoration-color: #9fa99b; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link .icon { width: 15px; height: 15px; }

.gallery { background: var(--sand); }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.gallery-filters button { border: 1px solid #c8cabe; background: transparent; color: var(--ink); min-height: 39px; border-radius: 3px; padding: 7px 14px; font-weight: 700; font-size: 0.8rem; }
.gallery-filters button:hover { border-color: #587362; }
.gallery-filters button[aria-pressed="true"] { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.gallery-count { color: var(--muted); font-size: 0.77rem; white-space: nowrap; }
.gallery-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.gallery-card { min-width: 0; }
.gallery-card > a { display: block; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: 3px; }
.gallery-image, .stage-image { position: relative; overflow: hidden; aspect-ratio: 1.48; background: #d8d7ce; border-radius: 2px 2px 0 0; }
.gallery-image img, .stage-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms ease; }
.photo-galley img { object-position: 50% 49%; }
.photo-shaker img { object-position: 50% 58%; }
.photo-gloss img { object-position: 50% 46%; }
.photo-tall img { object-position: 50% 56%; }
.photo-rack img { object-position: 50% 42%; }
.photo-progress img { object-position: 50% 41%; }
.photo-expand { display: grid; place-items: center; position: absolute; inset: 11px 11px auto auto; background: var(--paper); color: var(--ink); width: 34px; height: 34px; border-radius: 3px; transition: background-color 150ms ease, color 150ms ease; }
.photo-expand .icon { width: 18px; height: 18px; }
[data-photo]:hover .photo-expand { background: var(--pine); color: var(--paper); }
@media (hover: hover) { [data-photo]:hover img { transform: scale(1.035); } }
.gallery-card-copy { padding: 15px 18px 19px; }
.photo-label { display: block; color: #4b6553; font-weight: 700; font-size: 0.65rem; letter-spacing: 0.115em; text-transform: uppercase; }
.gallery-card h3 { margin-top: 4px; font-size: clamp(1.1rem, 1.9vw, 1.51rem); line-height: 1.25; letter-spacing: -0.035em; }

.renovation-feature { display: grid; grid-template-columns: minmax(190px, 0.8fr) minmax(0, 2.2fr); align-items: center; gap: clamp(24px, 4vw, 58px); border-top: 1px solid #c9cabe; margin-top: 46px; padding-top: 43px; }
.renovation-copy h3 { max-width: 310px; font-size: clamp(1.75rem, 3.15vw, 3.02rem); letter-spacing: -0.055em; line-height: 1.08; }
.renovation-copy > p:last-child { color: var(--muted); margin-top: 13px; font-size: 0.91rem; }
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stage-photo { display: block; min-width: 0; border: 1px solid var(--rule); background: var(--white); border-radius: 3px; }
.stage-strip img { object-position: 50% 48%; }
.stage-fitted img { object-position: 50% 57%; }
.stage-caption { display: flex; gap: 11px; align-items: center; padding: 12px; }
.stage-index { flex: none; display: grid; place-items: center; width: 30px; height: 30px; background: var(--sage); color: #365440; font-family: var(--serif); font-size: 0.85rem; }
.stage-caption h4 { font-size: clamp(0.97rem, 1.7vw, 1.28rem); line-height: 1.2; letter-spacing: -0.025em; }

.process .section-heading { grid-template-columns: 1fr; }
.step-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step-grid li { padding: 19px 20px 0 0; border-top: 1px solid #b9c2b6; }
.step-number { display: block; margin-bottom: 12px; font: italic 400 1.5rem/1.1 var(--serif); color: #4a6853; }
.step-grid h3 { font-size: clamp(1.2rem, 2vw, 1.62rem); line-height: 1.25; letter-spacing: -0.04em; }
.step-grid p { margin-top: 9px; font-size: 0.92rem; color: var(--muted); }

.reviews { background: var(--sand); }
.reviews .section-heading > a { justify-self: start; }
.review-card { max-width: 780px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--rule); border-radius: 3px; background: var(--white); }
.review-card blockquote { margin: 12px 0 14px; font: 400 clamp(1.25rem, 2.5vw, 1.85rem)/1.45 var(--serif); }
.review-card figcaption { color: var(--muted); font-size: 0.85rem; }

.quote { position: relative; isolation: isolate; padding-block: clamp(58px, 7vw, 100px); background: var(--pine); color: var(--paper); }
.quote::before { inset: auto auto 0 0; transform: scaleX(-1); width: min(42%, 515px); height: 285px; }
.quote-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(33px, 6vw, 105px); }
.quote h2 { margin-top: 16px; font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -0.065em; line-height: 1.06; }
.quote h2 em { display: block; }
.quote-copy > p:not(.eyebrow) { max-width: 405px; margin-top: 20px; color: #e2e7db; }
.contact-links { display: grid; justify-items: start; gap: 12px; margin-top: 26px; font-style: normal; }
.contact-links a { display: inline-flex; align-items: center; gap: 11px; font-size: 0.93rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #6b8373; border-radius: 3px; color: var(--accent); }
.contact-icon .icon { width: 17px; height: 17px; }

.quote-form { padding: clamp(22px, 3vw, 38px); background: var(--white); color: var(--ink); border-radius: 3px; }
.quote-form h3 { margin-bottom: 17px; font-size: clamp(1.6rem, 2.55vw, 2.1rem); line-height: 1.2; letter-spacing: -0.045em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; }
.form-grid label { font-size: 0.81rem; line-height: 1.4; font-weight: 700; min-width: 0; }
.form-grid label small { font-size: inherit; color: var(--muted); font-weight: 400; }
.form-full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; min-width: 0; border: 1px solid #a6ad9f; border-radius: 3px; background: #fffefa; color: var(--ink); font-size: 1rem; font-weight: 400; padding: 9px 10px; margin-top: 6px; min-height: 44px; }
.form-grid textarea { resize: vertical; min-height: 100px; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #666d62; }
.select-wrap { display: block; position: relative; }
.select-wrap select { appearance: none; padding-right: 32px; }
.select-wrap .icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; height: 16px; }
.button-form { margin-top: 17px; min-height: 45px; background: var(--pine); color: var(--paper); }
.button-form:hover { background: #2e4a3c; }
.form-note, .email-fallback { margin-top: 10px; color: var(--muted); font-size: 0.78rem; }
.email-fallback a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 27px 0; background: var(--pine-deep); color: #dce5d6; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 18px; font-size: 0.78rem; }
.footer-brand { display: inline-block; color: var(--paper); font-weight: 700; letter-spacing: 0.17em; font-size: 1.11rem; line-height: 1.4; }
.footer-brand span { color: var(--accent); }
.footer-inner p { margin-top: 3px; }
.company-number { text-align: center; }
.footer-top { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 700; }
.footer-top:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-top .icon { width: 15px; height: 15px; }

body:has(.photo-dialog[open]) { overflow: hidden; }
.photo-dialog { width: min(860px, calc(100% - 26px)); max-width: none; max-height: calc(100dvh - 26px); border: 1px solid #526858; border-radius: 4px; padding: 0; background: var(--pine-deep); color: var(--paper); }
.photo-dialog::backdrop { background: #101810d9; }
.photo-viewer { padding: 13px 17px 15px; }
.viewer-header, .viewer-nav { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.viewer-count { color: var(--accent); }
.viewer-control { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #849b87; border-radius: 3px; background: transparent; color: var(--paper); }
.viewer-control:hover { background: #2e493a; }
.viewer-figure { margin-top: 10px; }
.viewer-image { width: 100%; height: min(62dvh, 620px); object-fit: contain; background: #0c1b15; }
.viewer-figure figcaption { margin-top: 10px; }
.viewer-figure h2 { font-size: clamp(1.2rem, 3vw, 1.8rem); letter-spacing: -0.035em; line-height: 1.2; }
.viewer-figure p { color: #d9e1d5; font-size: 0.88rem; margin-top: 5px; }
.viewer-nav { margin-top: 10px; justify-content: flex-end; }
.previous-photo .icon { transform: rotate(180deg); }

@media (max-width: 1050px) {
  .site-nav { width: min(570px, 100%); }
  .hero-actions { gap: 9px; }
  .hero-actions .button { padding-inline: 12px; gap: 8px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 81px; }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 167px; }
  .site-nav { width: 100%; padding-bottom: 13px; flex-wrap: wrap; gap: 12px; }
  .site-nav > a:not(.button) { padding-block: 8px; }
  .enhanced-nav .menu-toggle { display: inline-flex; gap: 7px; align-items: center; min-height: 42px; border: 1px solid #8d998b; border-radius: 3px; background: transparent; color: var(--ink); padding: 7px 11px; font-weight: 700; font-size: 0.83rem; }
  .menu-toggle .icon { width: 18px; height: 18px; }
  .menu-toggle[aria-expanded="false"] .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .enhanced-nav .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 13px 20px #15251b1c; }
  .enhanced-nav .site-nav:not(.is-open) { display: none; }
  .enhanced-nav .site-nav > a:not(.button) { padding: 12px 2px; }
  .enhanced-nav .button-header { margin: 6px 0 0; align-self: flex-start; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 45px var(--gutter) 48px; }
  .hero h1 { font-size: clamp(3.05rem, 10.3vw, 5.65rem); }
  .hero-intro { margin-top: 20px; }
  .hero-actions { margin-top: 25px; }
  .hero-visual { border-left: 0; border-top: 1px solid #718071; min-height: 0; aspect-ratio: 1.55; }
  .hero-caption { left: var(--gutter); bottom: 15px; }
  .section-heading { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 25px; }
  .section-heading > p { max-width: 525px; }
  .section-label { margin-bottom: 10px; }
  .service-grid { gap: 12px; }
  .service-card { padding: 21px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .renovation-feature { grid-template-columns: 1fr; gap: 20px; margin-top: 31px; padding-top: 28px; }
  .renovation-copy h3, .renovation-copy > p:last-child { max-width: 520px; }
  .quote-inner { grid-template-columns: 1fr; }
  .quote h2 em { display: inline; }
}

@media (max-width: 600px) {
  .section { padding-block: 56px; }
  .fact-list { padding: 9px 0; gap: 0; }
  .fact-list li { min-height: 52px; flex-direction: column; text-align: center; gap: 4px; padding-inline: 4px; font-size: 0.66rem; line-height: 1.32; }
  .fact-list .icon { width: 17px; height: 17px; }
  .service-grid, .step-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 21px; }
  .service-icon { margin-bottom: 13px; }
  .service-card p { margin-bottom: 12px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
  .gallery-filters { gap: 5px; }
  .gallery-filters button { min-height: 37px; padding-inline: 9px; font-size: 0.75rem; }
  .gallery-card-copy { padding: 10px 10px 13px; }
  .photo-label { font-size: 0.59rem; }
  .photo-expand { width: 28px; height: 28px; inset: 6px 6px auto auto; }
  .photo-expand .icon { width: 15px; height: 15px; }
  .stage-grid { gap: 8px; }
  .stage-caption { gap: 6px; padding: 8px; }
  .stage-index { width: 24px; height: 24px; }
  .step-grid { gap: 18px; }
  .step-grid li { padding-top: 13px; }
  .step-number { margin-bottom: 7px; }
  .quote h2 em { display: block; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .company-number { grid-row: 2; grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 420px) {
  .hero-visual { aspect-ratio: 1.29; }
  .hero-caption { bottom: 10px; padding: 7px 9px; gap: 8px; }
  .hero-caption-index { width: 28px; height: 28px; font-size: 0.82rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-form { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
