* { box-sizing: border-box; }

:root {
  color-scheme: light;
  --background: #f3f2ee;
  --surface: #ffffff;
  --surface-subtle: #e9e7e0;
  --text: #18181b;
  --muted: #52525b;
  --accent: #c25934;
  --border: #dedcd5;
  --header-height: 76px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--surface-subtle); color: var(--text); }

.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: var(--header-height);
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  white-space: nowrap;
}
.primary-nav, .footer-links { display: flex; align-items: center; gap: 28px; }
.primary-nav a, .footer-links a, .header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a:hover, .footer-links a:hover, .header-phone:hover, .contact-details a:not(.button):hover { color: var(--accent); }
.header-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-toggle { display: none; }

h1, h2, h3, p { margin-top: 0; }
figure { margin: 0; }
h1, h2, h3 {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: -.02em;
}
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(48px, 6vw, 82px); line-height: .99; }
h2 { margin-bottom: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
h3 { margin-bottom: 0; font-size: 23px; line-height: 1.2; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.4;
}

.hero {
  min-height: 660px;
  padding-block: 74px 82px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.hero-copy { padding-block: 20px; }
.hero-intro { max-width: 570px; margin-bottom: 28px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: color 120ms, background-color 120ms, border-color 120ms;
}
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.button-primary:hover { background: var(--text); border-color: var(--text); }
.button-text { padding-inline: 0; color: var(--text); }
.button-text:hover { color: var(--accent); }
.button-outline { border-color: var(--border); background: transparent; }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.proof-strip {
  max-width: 610px;
  margin: 45px 0 0;
  padding: 17px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-top: 1px solid var(--border);
  list-style: none;
}
.proof-strip li { font-size: 13px; font-weight: 500; line-height: 1.35; }
.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--surface-subtle);
}
.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.hero-image { width: 100%; aspect-ratio: 4 / 3; }

.section { padding-block: 100px; scroll-margin-top: calc(var(--header-height) + 18px); }
.section-subtle { background: var(--surface-subtle); }
.section-heading {
  margin-bottom: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.section-heading .eyebrow { margin-bottom: 13px; }
.section-intro { max-width: 400px; margin-bottom: 3px; color: var(--muted); }
.filter-row { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: color 120ms, background-color 120ms, border-color 120ms;
}
.filter-button:hover, .filter-button.is-active { border-color: var(--text); background: var(--text); color: var(--surface); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; }
.project-card[hidden] { display: none; }
.project-image { aspect-ratio: 16 / 10; margin-bottom: 17px; }
.project-title-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.project-title-line span { color: var(--muted); font-size: 13px; }
.project-facts {
  margin: 11px 0 9px;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.project-scope { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.empty-projects { margin: 20px 0 0; color: var(--muted); }

.pricing-table-wrap { overflow-x: auto; }
.pricing-table { width: 100%; border-collapse: collapse; background: var(--surface); text-align: left; }
.pricing-table th, .pricing-table td { padding: 19px 20px; border: 1px solid var(--border); vertical-align: top; }
.pricing-table thead th { background: var(--surface-subtle); font-size: 12px; font-weight: 600; letter-spacing: .07em; }
.pricing-table tbody th { width: 27%; font-weight: 600; }
.pricing-table td { color: var(--muted); }
.pricing-table td.price { min-width: 195px; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.estimator-layout { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--border); background: var(--surface); }
.estimator-form { padding: 34px; display: grid; align-content: start; grid-template-columns: 1fr; gap: 10px; }
.estimator-form > label:not(.checkbox-label) { margin-top: 9px; font-size: 14px; font-weight: 600; }
.field-with-unit { position: relative; }
.field-with-unit input { padding-right: 52px; }
.field-with-unit > span { position: absolute; inset-block: 0; right: 14px; display: flex; align-items: center; color: var(--muted); pointer-events: none; }
.estimator-form input:not([type="checkbox"]), .estimator-form select, .form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
}
input, select, textarea { accent-color: var(--accent); }
.checkbox-label { min-height: 44px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.checkbox-label input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: 0 0 auto; margin: 0; }
.estimator-checkbox { margin-top: 12px; }
.estimator-limit { margin: 0; color: var(--muted); font-size: 13px; }
.estimate-output { padding: 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-left: 1px solid var(--border); }
.estimate-output .eyebrow { margin-bottom: 8px; }
.estimate-price { margin: 0 0 10px; font-family: "Jost", sans-serif; font-size: clamp(34px, 4vw, 54px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.estimate-meta { margin: 0; color: var(--muted); font-size: 14px; }
.estimate-meta strong { margin-left: 6px; color: var(--text); font-variant-numeric: tabular-nums; }
.estimate-disclaimer { margin: 16px 0 22px; color: var(--muted); font-size: 13px; }

.process-list { margin: 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.process-list li { min-height: 104px; padding: 22px 4px; display: grid; grid-template-columns: 70px minmax(190px, .75fr) 1.25fr; align-items: start; gap: 20px; border-bottom: 1px solid var(--border); }
.process-number { padding-top: 3px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.process-list h3 { font-size: 22px; }
.process-list p { max-width: 520px; margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.quote-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(42px, 8vw, 120px); }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.contact-details h3 { margin-bottom: 7px; font-size: 18px; }
.contact-details p { margin-bottom: 0; color: var(--muted); }
.contact-details a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.quote-form { position: relative; }
.botcheck { position: absolute; left: -5000px; width: 1px; height: 1px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-field label .unit, .unit { color: var(--muted); font-weight: 400; }
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field-full { margin-top: 18px; }
.gdpr-label { margin-top: 18px; }
.gdpr-label a { text-underline-offset: 3px; }
.form-note { margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; }
.form-note.is-error { border-color: var(--accent); }
.form-note.is-success { border-color: var(--text); }
.submit-button { margin-top: 20px; }
.button:disabled { border-color: var(--border); background: var(--surface-subtle); color: var(--muted); cursor: not-allowed; }

.site-footer { padding-block: 36px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px 32px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { justify-content: flex-end; gap: 20px; }
.footer-links a { font-size: 13px; }
.copyright { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--border); }

.privacy-main { min-height: calc(100vh - var(--header-height) - 145px); padding-block: 80px 110px; }
.privacy-main h1 { max-width: 850px; font-size: clamp(44px, 6vw, 70px); }
.privacy-content { max-width: 800px; overflow-wrap: break-word; }
.privacy-content h2 { margin: 40px 0 12px; font-size: 28px; }
.privacy-content p, .privacy-content li { color: var(--muted); }
.privacy-content a { color: var(--text); text-underline-offset: 3px; }
.privacy-updated { margin: 18px 0 38px; color: var(--muted); font-size: 14px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
[hidden] { display: none !important; }

@media (max-width: 920px) {
  :root { --header-height: 70px; }
  .container { width: min(100% - 48px, 760px); }
  .header-inner { gap: 18px; }
  .primary-nav { gap: 16px; }
  .primary-nav a, .header-phone { font-size: 13px; }
  .hero { min-height: 0; padding-block: 60px 66px; gap: 38px; }
  .proof-strip { gap: 10px; }
  .section { padding-block: 78px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-layout { gap: 46px; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 700px) {
  :root { --header-height: 64px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: var(--header-height); flex-wrap: nowrap; gap: 12px; }
  .wordmark { font-size: 13px; }
  .menu-toggle {
    min-width: 48px;
    min-height: 44px;
    margin-left: auto;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
  }
  .header-phone { font-size: 12px; }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0 20px 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: var(--background);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { min-height: 46px; padding-block: 12px; border-top: 1px solid var(--border); font-size: 15px; }
  .primary-nav a:first-child { border-top: 0; }
  .hero { padding-block: 50px 52px; grid-template-columns: 1fr; gap: 32px; }
  h1 { max-width: 590px; font-size: clamp(36px, 10.5vw, 56px); }
  h2 { font-size: clamp(30px, 7.5vw, 44px); }
  .hero-intro { font-size: 16px; }
  .proof-strip { margin-top: 34px; grid-template-columns: 1fr; gap: 11px; }
  .hero-image { aspect-ratio: 4 / 3; }
  .section { padding-block: 66px; scroll-margin-top: calc(var(--header-height) + 12px); }
  .section-heading { margin-bottom: 28px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-intro { max-width: 540px; }
  .project-grid { gap: 32px 16px; }
  .project-title-line { align-items: flex-start; flex-direction: column; gap: 3px; }
  .project-title-line h3 { font-size: 21px; }
  .pricing-table { display: block; min-width: 0; border: 1px solid var(--border); }
  .pricing-table thead { display: none; }
  .pricing-table tbody { display: block; }
  .pricing-table tbody tr { padding-block: 8px; display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--border); }
  .pricing-table tbody tr:last-child { border-bottom: 0; }
  .pricing-table tbody th, .pricing-table tbody td { width: auto; padding: 7px 14px; border: 0; }
  .pricing-table tbody th { font-size: 16px; }
  .pricing-table tbody td { color: var(--muted); font-size: 14px; }
  .pricing-table tbody td::before { content: attr(data-label); margin-bottom: 2px; display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
  .pricing-table tbody td.price { min-width: 0; color: var(--text); white-space: normal; }
  .estimator-layout { grid-template-columns: 1fr; }
  .estimator-form { padding: 24px; }
  .estimate-output { padding: 25px 24px 28px; border-top: 1px solid var(--border); border-left: 0; }
  .estimate-price { font-size: clamp(34px, 10vw, 48px); }
  .process-list li { grid-template-columns: 42px 1fr; gap: 8px 15px; }
  .process-list p { grid-column: 2; }
  .quote-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .contact-details .button { grid-column: 1 / -1; justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; gap: 13px; }
  .footer-links { grid-column: auto; flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .privacy-main { padding-block: 60px 80px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 8px; }
  .wordmark { font-size: 12px; letter-spacing: .05em; }
  .menu-toggle { font-size: 13px; padding: 8px 9px; }
  .header-phone { font-size: 12px; }
  .primary-nav { right: 0; left: 0; padding: 0 16px 14px; }
  .project-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .button-text { justify-content: flex-start; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details .button { grid-column: auto; }
  #send-estimate, .submit-button, .contact-details .button { width: 100%; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-title-line { flex-direction: row; align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
